Skip to content

Releases: vapor/fluent

4.11.0 - Concurrency updates and database logging APIs

30 May 11:01
dfcbeba
Compare
Choose a tag to compare

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

4.10.0 - Fix up Fluent provider for Sendable-correct FluentKit

27 Apr 22:34
d831ac5
Compare
Choose a tag to compare

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

11 Jan 03:40
a586a5d
Compare
Choose a tag to compare

What's Changed

Asyncification of Fluent provider by @gwynne in #772

Updates the Fluent provider package to be (mostly) Sendable-correct and switches MigrateCommand to being async to avoid dangerous misuse of EventLoopFuture.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

14 Apr 01:01
4b4d8bf
Compare
Choose a tag to compare

Update to match FluentKit's declared version minimums

20 Mar 06:46
8d60150
Compare
Choose a tag to compare
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

12 Feb 13:56
4db22cc
Compare
Choose a tag to compare
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

27 Nov 02:53
2da106f
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

Also updates very ancient CI.

Add `asyncCredentialsAuthenticator` to `ModelCredentialsAuthenticatable`

16 Aug 16:22
26c4460
Compare
Choose a tag to compare
This patch was authored by @fatto and released by @0xTim.

Adds asyncCredentialsAuthenticator to ModelCredentialsAuthenticatable to allow it to be overridden if needs be

Add support for async/await

26 Oct 16:13
ea707ee
Compare
Choose a tag to compare
This patch was authored and released by @0xTim.

Adds initial support for async/await

Fix conditional Codable conformance

03 Jun 07:58
5810a40
Compare
Choose a tag to compare
This patch was authored and released by @siemensikkema.

This fixes an issue introduced in vapor/fluent-kit#435 where Page does not automatically conform to Codable anymore (#730)