@@ -13,16 +13,36 @@ This section will be replaced in subsequent alpha releases. See the Git history
13
13
14
14
### Breaking
15
15
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
18
18
* Deleted deprecated combination runtime+TLS features (e.g. ` runtime-tokio-native-tls ` )
19
19
* Deleted re-export of unstable ` TransactionManager ` trait in ` sqlx ` .
20
20
* Not technically a breaking change because it's ` #[doc(hidden)] ` ,
21
21
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.
22
40
23
41
[ seaorm-2600 ] : https://github.com/SeaQL/sea-orm/issues/2600
24
42
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
+
26
46
27
47
## 0.8.6 - 2025-05-19
28
48
0 commit comments