Releases: vapor/fluent-mysql-driver
4.7.0 - Adopt Async APIs
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
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
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
What's Changed
Update package for Sendable and 100% test coverage by @gwynne in #223
Adds
Sendable
correctness andExistentialAny
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
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
This patch was authored and released by @gwynne.
Drop support for Swift 5.4
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
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
This patch was authored and released by @gwynne.
Improved error reporting via `DatabaseError`
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).