Skip to content

Releases: vapor/fluent-mysql-driver

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).

Fix deprecation warnings for TLSConfiguration

09 Sep 02:00
2d1cbdd
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

A bit of simple cleanup for the deprecations in NIOSSL.

FluentMySQLDriver 4.0.0

29 Jul 14:55
699e164
Compare
Choose a tag to compare

Fix .references field constraint

29 Jul 01:44
7901123
Compare
Choose a tag to compare
Pre-release
This patch was authored and released by @tanner0101.

Adds a fix for a MySQL syntax quirk that caused .references constraints to be ignored (#191, fixes #170).

MySQL does not allow the REFERENCES foreign_table (column_name) syntax like Fluent's other drivers do. When it sees this syntax, it simply ignores it with no warning. The only supported method for declaring for keys is to declare them as "table level" constraints. In other words, as a separate item in the create list.

This change causes MySQL's SQLSchemaConverter to automatically translate field-level foreign key constraints (.references) to their table-level counterparts.