fluent

4.11.0

Vapor ORM (queries, models, and relations) for NoSQL and SQL databases
vapor/fluent

What's New

4.11.0 - Concurrency updates and database logging APIs

2024-05-30T11:01:37Z

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:) and Request.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 that Database.logging(to:) and its SQLKit counterpart basically don’t work at all.
  • The --auto-migrate and --auto-revert commandline flags no longer call EventLoopFuture.wait() when the app is booted in async 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

Fluent

Documentation Team Chat MIT License Continuous Integration Swift 5.8+


The Fluent package makes it easy to use FluentKit in Vapor applications by tying the FluentKit database abstraction layer into the Vapor application lifecycle. It also provides helpers for mapping FluentKit's models to Vapor's authentication APIs.

For more information, see the Fluent documentation.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Mon Nov 18 2024 22:41:16 GMT-1000 (Hawaii-Aleutian Standard Time)