Releases: vapor/fluent
4.12.0 - Async Lifecycle
What's Changed
Async Lifecycle by @0xTim in #781
- Drop support for 5.8
- Adopt new async lifecycle APIs
This patch was released by @0xTim
Full Changelog: 4.11.0...4.12.0
4.11.0 - Concurrency updates and database logging APIs
What's Changed
Concurrency updates and database logging APIs by @gwynne in #775
This update contains the following changes:
- Two new APIs are available:
Application.db(_:logger:)
andRequest.db(_:logger:)
. These work exactly the way the respective.db(_:)
methods do, except the database’s logger will be set to the one provided rather than the default. These APIs will hopefully make it easier to work around the unfortunate fact thatDatabase.logging(to:)
and its SQLKit counterpart basically don’t work at all.- The
--auto-migrate
and--auto-revert
commandline flags no longer callEventLoopFuture.wait()
when the app is booted inasync
mode (no more crash risk).- The
migrate
command now has nicer console output.- All tests have been updated to be fully
async
.
This patch was released by @gwynne
Full Changelog: 4.10.0...4.11.0
4.10.0 - Fix up Fluent provider for Sendable-correct FluentKit
What's Changed
Fix up Fluent provider for Sendable-correct FluentKit by @gwynne in #774
Updates the Fluent provider for the 1.48.0 release of FluentKit, which adds mostly-complete
Sendable
-correctness. Also bumps minimum Swift version to 5.8, matching FluentKit.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 4.9.0...4.10.0
4.9.0 - Asyncification of Fluent provider
What's Changed
Asyncification of Fluent provider by @gwynne in #772
Updates the Fluent provider package to be (mostly)
Sendable
-correct and switchesMigrateCommand
to being async to avoid dangerous misuse ofEventLoopFuture.wait()
.Bumps minimum Swift version to 5.7 (matching Vapor).
This patch was released by @gwynne
Full Changelog: 4.8.0...4.9.0
Update min Swift version to 5.6 and make platform versions consistent
This patch was authored and released by @gwynne.
Update to match FluentKit's declared version minimums
This patch was authored and released by @gwynne.
This should help fix building in Xcode.
Also bumps minimum Swift version to 5.5.2 and removes outdated compiler conditionals on concurrency support, incidentally enabling back-deployment in the process.
Add migrationLogLevel configuration
This patch was authored by @madsodgaard and released by @gwynne.
Adds the possibility to configure the log level for migrations with:
app.fluent.migrationLogLeveL = .debug
Update minimum Swift version to 5.5
This patch was authored and released by @gwynne.
Also updates very ancient CI.
Add `asyncCredentialsAuthenticator` to `ModelCredentialsAuthenticatable`
Add support for async/await
This patch was authored and released by @0xTim.
Adds initial support for async/await