| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.11.0 - Concurrency updates and database logging APIs source code.tar.gz | 2024-05-30 | 14.3 kB | |
| 4.11.0 - Concurrency updates and database logging APIs source code.zip | 2024-05-30 | 29.2 kB | |
| README.md | 2024-05-30 | 936 Bytes | |
| Totals: 3 Items | 44.5 kB | 0 | |
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-migrateand--auto-revertcommandline flags no longer callEventLoopFuture.wait()when the app is booted inasyncmode (no more crash risk).- The
migratecommand now has nicer console output.- All tests have been updated to be fully
async.
This patch was released by @gwynne
Full Changelog: https://github.com/vapor/fluent/compare/4.10.0...4.11.0