Manual implementations of PgHasArrayType for enums will conflict with the generated one. Delete the manual impl or add #[sqlx(no_pg_array)] where conflicts occur.
Type equality for PgTypeInfo is now schema-aware.
[#3329]: fix: correct handling of arrays of custom types in Postgres [[@abonander]]
Potential breaking change: PgTypeInfo::with_name() infers types that start with _ to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.
[#3356]: breaking: fix name collision in FromRow, return Error::ColumnDecode for TryFrom errors [[@abonander]]
Breaking behavior change: errors with #[sqlx(try_from = "T")] now return Error::ColumnDecode instead of Error::ColumnNotFound.
Breaking because #[sqlx(default)] on an individual field or the struct itself would have previously suppressed the error.
This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
Instead, create a wrapper implementing From and apply the default explicitly.
Fix a use-after-move error after an EventListener is assigned to listen to
another Event. (#101)
v4.0.0
Breaking: Fix a footgun in the EventListener type. EventListener::new()
now no longer takes an &Event as an argument, and EventListener::listen()
takes the &Event as an argument. Hopefully this should prevent .awaiting
on a listener without making sure it's listening first. (#94)
v3.1.0
Implement UnwindSafe and RefUnwindSafe for EventListener. This was unintentionally removed in version 3 (#96).
v3.0.1
Emphasize that listen() must be called on EventListener in documentation. (#90)
Write useful output in fmt::Debug implementations. (#86)
v3.0.0
Use the parking crate instead of threading APIs (#27)
Fix a use-after-move error after an EventListener is assigned to listen to
another Event. (#101)
Version 4.0.0
Breaking: Fix a footgun in the EventListener type. EventListener::new()
now no longer takes an &Event as an argument, and EventListener::listen()
takes the &Event as an argument. Hopefully this should prevent .awaiting
on a listener without making sure it's listening first. (#94)
Bugfix: LruCache::contains_key should take &self and not move the entry as
though it is accessed.
Add basic CursorMut API to HashMap (thanks @olebedev!)
Bump hashbrown dependency to depend on a version of hashbrown past a
downstream zerocopy dependency.
Don't depend on default features of hashbrown, removes allocator-api2
dependency.
v0.9.0
API incompatible change: Don't panic in reserve and try_reserve in cases where a rehash is needed. Previously would panic, adds the proper bounds on reserve methods to do a rehash (previously bounds were missing, and reserve would result in panics). (Thank you @cuviper)
Bugfix: LruCache::contains_key should take &self and not move the entry as
though it is accessed.
Add basic CursorMut API to HashMap (thanks @olebedev!)
Bump hashbrown dependency to depend on a version of hashbrown past a
downstream zerocopy dependency.
Don't depend on default features of hashbrown, removes allocator-api2
dependency.
[0.9.0]
API incompatible change: Don't panic in reserve and try_reserve in cases
where a rehash is needed. Previously would panic, adds the proper bounds on
reserve methods to do a rehash (previously bounds were missing, and reserve
would result in panics). (Thank you @cuviper!)
Remove non-additive unicode feature. The library now uses char::is_alphanumeric
instead of the unicode-segmentation library to determine word boundaries in all cases.
With v1 Mio is able to bump its MSRV to 1.70, allowing us to implement I/O
safety traits (rust-lang/rust#87074) and replace
SocketAddr with the version found in the standard library.
Implement From for TcpListener, TcpStream, UdpSocket, UnixDatagram,
UnixListener, and UnixStream for their standard library counterpart
(tokio-rs/mio#1767).
The SocketAddr type is removed in favour of std::os::unix::net::SocketAddr
(tokio-rs/mio#1760). All methods on Mio's version
should exist on the version in the standard library.
Changes
MSRV was updated to 1.74, updating to Rust edition edition
(tokio-rs/mio#1733).
UnixDatagram::{local_addr,peer_addr,bind_addr,recv_from},
UnixListener::{local_addr,bind_addr,accept} and
UnixStream::{local_addr,peer_addr,connect_addr} return and/or use
Manual implementations of PgHasArrayType for enums will conflict with the generated one. Delete the manual impl or add #[sqlx(no_pg_array)] where conflicts occur.
Type equality for PgTypeInfo is now schema-aware.
[#3329]: fix: correct handling of arrays of custom types in Postgres [[@abonander]]
Potential breaking change: PgTypeInfo::with_name() infers types that start with _ to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.
[#3356]: breaking: fix name collision in FromRow, return Error::ColumnDecode for TryFrom errors [[@abonander]]
Breaking behavior change: errors with #[sqlx(try_from = "T")] now return Error::ColumnDecode instead of Error::ColumnNotFound.
Breaking because #[sqlx(default)] on an individual field or the struct itself would have previously suppressed the error.
This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
Instead, create a wrapper implementing From and apply the default explicitly.
Manual implementations of PgHasArrayType for enums will conflict with the generated one. Delete the manual impl or add #[sqlx(no_pg_array)] where conflicts occur.
Type equality for PgTypeInfo is now schema-aware.
[#3329]: fix: correct handling of arrays of custom types in Postgres [[@abonander]]
Potential breaking change: PgTypeInfo::with_name() infers types that start with _ to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.
[#3356]: breaking: fix name collision in FromRow, return Error::ColumnDecode for TryFrom errors [[@abonander]]
Breaking behavior change: errors with #[sqlx(try_from = "T")] now return Error::ColumnDecode instead of Error::ColumnNotFound.
Breaking because #[sqlx(default)] on an individual field or the struct itself would have previously suppressed the error.
This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
Instead, create a wrapper implementing From and apply the default explicitly.
[#3337]: allow rename with rename_all (close #2896) [[
Bumps the pointercrate group with 23 updates:
0.7.4
0.8.0
1.38.1
1.39.2
2.5.3
5.3.1
0.8.4
0.9.1
0.4.1
0.5.0
0.27.0
0.28.0
0.8.11
1.0.1
0.36.1
0.36.2
0.23.11
0.23.12
0.6.6
0.6.7
0.7.4
0.8.0
0.7.4
0.8.0
0.7.4
0.8.0
0.7.4
0.8.0
0.7.4
0.8.0
0.7.4
0.8.0
1.0.109
2.0.58
2.3.0
2.4.0
0.8.15
0.8.16
0.6.6
0.6.7
0.22.16
0.22.17
0.9.4
0.9.5
0.6.15
0.6.16
Updates
sqlx
from 0.7.4 to 0.8.0Changelog
Sourced from sqlx's changelog.
... (truncated)
Commits
da0ffd7
chore: bump version to 0.8.09e1aa74
chore: prepare changelog entry for 0.8.0c90a7ff
fix: enableclock
andstd
features of chrono for the workspacec50572e
fix: sqlite update_hook char types (#3288)940d9fb
Add example on how to use Transaction as Executor (#3311)eaad7b2
doc: Minor rust docs fixes (#3312)4fc5b30
breaking: fix name collision inFromRow
, returnError::ColumnDecode
for `...b37b34b
chore:added a testcase forsqlx migrate add ...
(#3352)543395d
fix: build script new line at eof (#3353)4683cc3
Add support for PostgreSQL HSTORE data type (#3343)Updates
tokio
from 1.38.1 to 1.39.2Release notes
Sourced from tokio's releases.
... (truncated)
Commits
f602eae
chore: prepare Tokio v1.39.2 (#6730)438def7
macros: allow temporary lifetime extension in select (#6722)ee8d4d1
chore: fix ci failures (#6725)3297052
ci: test Quinn in CI (#6719)f8fe0ff
chore: prepare Tokio v1.39.1 (#6716)47210a8
time: revert "avoid traversing entries in the time wheel twice" (#6715)29545d9
runtime: ignore many_oneshot_futures test for alt scheduler (#6712)48e35c1
chore: release Tokio v1.39.0 (#6711)dd1d371
macros: acceptIntoFuture
args for macros (#6710)6a1a7b1
chore: prepare tokio-macros v2.4.0 (#6707)Updates
event-listener
from 2.5.3 to 5.3.1Release notes
Sourced from event-listener's releases.
... (truncated)
Changelog
Sourced from event-listener's changelog.
... (truncated)
Commits
f66fb8c
v5.3.15445f25
Document std feature and fix portable-atomic feature (#134)89c9f95
Update portable-atomic-util requirement from 0.1.4 to 0.2.085e3474
bugfix: Disable early-out notify optimizationfdbe437
bugfix: Use loom's thread_local when loom is enabledcd159e6
m: Use Cargo.toml lint fix instead of build.rseb54e95
m: Fix new nightly Clippy warnings2493d3c
ci: Also add MIRI testsc56420d
ci: Add CI tests for dependent cratesdb5857b
v5.3.0Updates
hashlink
from 0.8.4 to 0.9.1Release notes
Sourced from hashlink's releases.
Changelog
Sourced from hashlink's changelog.
Commits
006dc69
prepare for 0.9.1 release039c9b5
move CursorMut declaration closer to implc6097a7
Merge pull request #28 from ErichDonGubler/no-allocator-api2bf20dc2
build: remove unnecessaryallocator-api2
dep.24b87fe
Merge pull request #25 from olebedev/oleg/add-cursors83c137e
makeLruCache::contains_key
take &self, not move entry, fixes #27f4b9a7f
address nitpicksa520781
handle the corner-case when inserting before itself6bcf27c
remove unnecessary closuresdb0b224
attach node before insertUpdates
heck
from 0.4.1 to 0.5.0Changelog
Sourced from heck's changelog.
Commits
Updates
libsqlite3-sys
from 0.27.0 to 0.28.0Release notes
Sourced from libsqlite3-sys's releases.
Commits
26293a1
Merge pull request #1202 from gwenn/0.28.0153d8fb
Prepare for next releasea12cde2
Merge pull request #1200 from gwenn/3.39.0efff01c
Upgrade SQLite bundled version to 3.39.0289a729
Merge pull request #1196 from gwenn/bindgen441b03c
Upgrade bindgen to version 0.60d6780ec
Merge pull request #1194 from gwenn/clean618e9a1
Clean codecf3d9d9
Merge pull request #1193 from gwenn/clippyd9b79a5
Fix clippy warnings (derive_partial_eq_without_eq)Updates
mio
from 0.8.11 to 1.0.1Changelog
Sourced from mio's changelog.
... (truncated)
Commits
Updates
object
from 0.36.1 to 0.36.2Changelog
Sourced from object's changelog.
Commits
12d0948
Release 0.36.28b9e056
Update Cargo.lock836b0ea
Update wasmparser to 0.214.03a396f3
write/elf: fix writing of strtab when symtab is empty (#710)fd84037
Fix tests (#708)e514574
build/elf: include all defined symbols in the GNU hash (#707)decc31d
write/elf: fix alignment for SHT_HASH/SHT_GNU_verdef/SHT_GNU_verneed (#706)7caf97f
build/elf: optimise output of version definitions (#705)Updates
rustls
from 0.23.11 to 0.23.12Commits
ebda385
Update version to 0.23.12127a0a7
build(deps): bump openssl from 0.10.64 to 0.10.663cc2c2d
Support P521 SHA-256/SHA-384 signatures with aws-lc-rs (#2050)e58aaa8
ci: add rebaseWhen to renovate configdfc8ae5
ci: remove stabilityDays from renovate config49c31cb
chore(deps): lock file maintenance63eecac
chore(deps): update rust crate tikv-jemallocator to 0.6Updates
serde_spanned
from 0.6.6 to 0.6.7Commits
4ac61f7
chore: Releasea5eb1ac
chore: Disable serde_toml releasing for now9217e44
chore: Release003ce94
docs: Update changelogb463f3d
Merge pull request #757 from epage/key3d8852b
fix(encode): Be extra sure it can be a literale1bc1c3
refactor(encode): Pull out literal inferencefbb0ac2
test(encode): Add property-based tests for keys/strings0b268f2
fix(encode): Correct encoding for key with mixed quotes82c0195
refactor(encode): Make str repr inferring clearerUpdates
sqlx-core
from 0.7.4 to 0.8.0Changelog
Sourced from sqlx-core's changelog.
... (truncated)
Commits
da0ffd7
chore: bump version to 0.8.09e1aa74
chore: prepare changelog entry for 0.8.0c90a7ff
fix: enableclock
andstd
features of chrono for the workspacec50572e
fix: sqlite update_hook char types (#3288)940d9fb
Add example on how to use Transaction as Executor (#3311)eaad7b2
doc: Minor rust docs fixes (#3312)4fc5b30
breaking: fix name collision inFromRow
, returnError::ColumnDecode
for `...b37b34b
chore:added a testcase forsqlx migrate add ...
(#3352)543395d
fix: build script new line at eof (#3353)4683cc3
Add support for PostgreSQL HSTORE data type (#3343)Updates
sqlx-macros
from 0.7.4 to 0.8.0Changelog
Sourced from sqlx-macros's changelog.