Skip to content

Releases: vapor/fluent-mysql-driver

4.7.0 - Adopt Async APIs

06 Oct 01:38
c1422fd
Compare
Choose a tag to compare

What's Changed

Adopt Async APIs by @0xTim in #226

Fixes an issue where Fluent MySQL would hang, especially when installing the NIO Event Loop executor.

Drops support for Swift 5.8

This patch was released by @0xTim

Full Changelog: 4.6.0...4.7.0

4.6.0 - Actually support query logging

29 May 19:01
93e7254
Compare
Choose a tag to compare

What's Changed

Actually support query logging by @gwynne in #225

Now supports query logging with the same semantics as the other drivers.

Also cleans up some Sendable issues and fixes some warnings in the tests.

This patch was released by @gwynne

Full Changelog: 4.5.1...4.6.0

4.5.1 - Shut down the driver's connection pool safely

24 May 10:56
4f07d7f
Compare
Choose a tag to compare

What's Changed

Shut down the driver's connection pool safely by @gwynne in #224

Specifically, don’t use the soft-deprecated AsyncKit API that calls EventLoopFuture.wait() internally; use the one that at least does it with Dispatch (best we can do without changing Fluent’s driver interface).

Also updates dependency version requirements.

This patch was released by @gwynne

Full Changelog: 4.5.0...4.5.1

4.5.0 - Update package for Sendable and 100% test coverage

01 May 08:46
26f142d
Compare
Choose a tag to compare

What's Changed

Update package for Sendable and 100% test coverage by @gwynne in #223

Adds Sendable correctness and ExistentialAny compliance, bumps min Swift version to 5.8, leverages the new SQLKit functionality, throws errors instead of crashes, updates CI, modernizes README, and achieves 100% test and documentation coverage.

This patch was released by @gwynne

Full Changelog: 4.4.0...4.5.0

4.4.0 - Update for the nested subpath changes in FluentKit

11 Jul 07:47
acfd0e7
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

vapor/fluent-kit#572 takes advantage of the new support added to SQLKit in vapor/sql-kit#169, so remove the obsolete legacy support here.

Also does some minor tidying.

(Note: Since we now depend on a version of FluentKit that is multiple minor versions newer than before, this must also be semver-minor.) #218

Update min Swift version to 5.6 and make platform versions consistent

14 Apr 01:01
829ae8f
Compare
Choose a tag to compare

Drop support for Swift 5.4

07 Nov 11:45
62f90ee
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

Also incudes a round of CI modernizations.

There are no API or functional changes in this version, but the minimum Swift version bump nonetheless requires this to be a semver-minor release.

Explicitly handle a custom ID key set to the empty string

13 Jun 16:15
549eb75
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

Treat it as meaning not to retrieve an inserted ID value. This is in support of upcoming FluentKit feature work.

Support the models-with-spaces FluentKit work

11 May 01:55
dc9765f
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

See vapor/fluent-kit#503

Improved error reporting via `DatabaseError`

13 Dec 18:23
f86bf9c
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

DatabaseError's isSyntaxError and isConnectionClosed properties now correctly respect MySQLError.invalidSyntax and MySQLError.closed errors. A unit tests for these behaviors is included.

Also avoids double-running the FluentBenchmark tests (same change as fluent-sqlite-driver#75).