Skip to content

Conversation

@mgoldenberg
Copy link
Owner

@mgoldenberg mgoldenberg commented Sep 5, 2025

This is a pull request for checking that all C.I. tests are passing. The real pull request exists in Alorel#72.

…pgrade needed callback

BREAKING CHANGE: The callback provided to
`OpenDbRequestBuilder::with_on_upgrade_needed` must now accept a
reference to a `Transaction` rather than a `Database`. For most cases,
existing code can be made compatible by calling `Transaction::database`
in order to get access to the underlying database. The caveat is that
the `Transaction::database` provides a reference, rather than ownership
of the `Database`.
…back

BREAKING CHANGE: `AsyncFnOnce` was stabilized in version 1.85.0 of Rust,
so the MSRV had to be bumped to accommodate this. Additionally,
synchronous closures that use `async move` blocks are not drop-in
replacements for `async` closures, so users of
`OpenDbRequestBuilder::with_on_upgrade_needed_fut` will have to make minor
changes to their invocations.
…sync upgrade needed callback

BREAKING CHANGE: The callback provided to
`OpenDbRequestBuilder::with_on_upgrade_needed_fut` must now accept a
reference to a `Transaction` rather than a `Database`. For most cases,
existing code can be made compatible by calling `Transaction::database`
in order to get access to the underlying database. The caveat is that
the `Transaction::database` provides a reference, rather than ownership
of the `Database`.
@mgoldenberg mgoldenberg closed this Sep 7, 2025
@mgoldenberg mgoldenberg changed the title Expose version change transaction Provide access to active transaction in callback provided to OpenDbRequestBuilder::with_on_upgrade_needed{_fut} Sep 7, 2025
@mgoldenberg mgoldenberg changed the title Provide access to active transaction in callback provided to OpenDbRequestBuilder::with_on_upgrade_needed{_fut} TEST: Provide access to active transaction in callback provided to OpenDbRequestBuilder::with_on_upgrade_needed{_fut} Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants