Skip to content

Commit 72f18c3

Browse files
committed
chore: add CHANGELOG entry
Normally I generate these when cutting the release, but I wanted to take time to editorialize this one.
1 parent 62f145e commit 72f18c3

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,36 @@ This section will be replaced in subsequent alpha releases. See the Git history
1313

1414
### Breaking
1515

16-
* [[#3821]] Groundwork for 0.9.0-alpha.1
17-
* Increased MSRV to 1.86 and set rust-version [@abonander]
16+
* [[#3821]]: Groundwork for 0.9.0-alpha.1 [[@abonander]]
17+
* Increased MSRV to 1.86 and set rust-version
1818
* Deleted deprecated combination runtime+TLS features (e.g. `runtime-tokio-native-tls`)
1919
* Deleted re-export of unstable `TransactionManager` trait in `sqlx`.
2020
* Not technically a breaking change because it's `#[doc(hidden)]`,
2121
but [it _will_ break SeaORM][seaorm-2600] if not proactively fixed.
22+
* [[#3383]]: feat: create `sqlx.toml` format [[@abonander]]
23+
* SQLx and `sqlx-cli` now support per-crate configuration files (`sqlx.toml`)
24+
* New functionality includes, but is not limited to:
25+
* Rename `DATABASE_URL` for a crate (for multi-database workspaces)
26+
* Set global type overrides for the macros (supporting custom types)
27+
* Rename or relocate the `_sqlx_migrations` table (for multiple crates using the same database)
28+
* Set characters to ignore when hashing migrations (e.g. ignore whitespace)
29+
* More to be implemented in future releases.
30+
* Enable feature `sqlx-toml` to use (on by default).
31+
* Reference: sqlx-core/src/config/reference.toml
32+
* Guide: see `sqlx::_config` module in documentation.
33+
* Examples (written for Postgres but can be adapted to other databases; PRs welcome!):
34+
* Multiple databases using `DATABASE_URL` renaming and global type overrides: examples/postgres/multi-database
35+
* Multi-tenant database using `_sqlx_migrations` renaming and multiple schemas: example/postgres/multi-tenant
36+
* Force use of `chrono` when `time` is enabled (e.g. when using `tower-sessions-sqlx-store`): examples/postgres/preferred-crates
37+
* Forcing `bigdecimal` when `rust_decimal` is enabled is also shown, but problems with `chrono`/`time` are more common.
38+
* Breaking change: significant changes to the `Migrate` trait
39+
* Breaking change: `sqlx::migrate::resolve_blocking()` is now `#[doc(hidden)]` and thus SemVer-exempt.
2240

2341
[seaorm-2600]: https://github.com/SeaQL/sea-orm/issues/2600
2442

25-
[#3821]: https://github.com/launchbadge/sqlx/pull/3830
43+
[#3821]: https://github.com/launchbadge/sqlx/pull/3821
44+
[#3383]: https://github.com/launchbadge/sqlx/pull/3383
45+
2646

2747
## 0.8.6 - 2025-05-19
2848

0 commit comments

Comments
 (0)