You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump crate and macro versions to 0.8.5 and update docs/examples. Reworked Database::transaction to reinstall the transaction-scoped database override on every poll using a ThreadOverrideGuard and poll_with_thread_override so model/query helpers continue to use the active transaction even if the future is resumed on another thread. Moved inline unit tests out of implementation modules into dedicated files under src/testing/ and added a regression test that polls a transaction-scoped future on two different threads to verify per-poll override behavior. Also updated crate editions to 2021 and refreshed CHANGELOG entries.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,22 @@ All notable changes to TideORM will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.8.5] - 2026-03-20
9
+
10
+
### Fixed
11
+
12
+
- Reworked `Database::transaction()` to restore the transaction-scoped database override on every future poll, so model and query helpers keep using the active transaction even if the async runtime resumes the future on a different thread.
13
+
14
+
### Changed
15
+
16
+
- Moved the remaining inline unit tests out of implementation modules and into dedicated owner test files under `src/testing/`, keeping private-module coverage while making the source files easier to maintain.
17
+
- Refreshed dependency examples and macro-crate docs to use the 0.8.5 release version.
18
+
19
+
### Internal
20
+
21
+
- Added a regression test that manually polls a transaction-scoped future on two different threads to verify the per-poll override behavior.
22
+
- Verified the release prep with `cargo test --lib --features sqlite` and `cargo clippy --workspace --all-targets -- -D warnings`.
23
+
8
24
## [0.8.4] - 2026-03-20
9
25
10
26
### Fixed
@@ -571,7 +587,8 @@ This is the first public release of TideORM, a developer-friendly ORM for Rust w
0 commit comments