Releases: vapor/fluent-sqlite-driver
4.8.0
4.7.4 - Fixes typo in `FluentSQLiteConfiguration.swift`
What's Changed
Fixes typo in FluentSQLiteConfiguration.swift
by @tjbarber in #96
Fixes typo in
FluentSQLiteConfiguration.swift
.I hate to be this person but my editor was yelling at me, so I decided to be the change that I want to see in the world.
This patch was released by @0xTim
Full Changelog: 4.7.3...4.7.4
4.7.3 - Log transaction start and end queries
What's Changed
Log transaction start and end queries by @gwynne in #95
We now route transaction control queries through the SQLKit interface so they get logged properly. This matches the existing behavior of the Postgres driver.
This patch was released by @gwynne
Full Changelog: 4.7.2...4.7.3
4.7.2 - Shut down the driver's connection pool safely
What's Changed
Shut down the driver's connection pool safely by @gwynne in #94
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).
This patch was released by @gwynne
Full Changelog: 4.7.1...4.7.2
4.7.1 - Allow using DatabaseSchema.deleteField(_:)` with SQLite
What's Changed
Allow using DatabaseSchema.deleteField(_:)` with SQLite by @gwynne in #92
SQLite has supported
ALTER TABLE ... DROP COLUMN ...
since SQLite 3.35.0, so Fluent no longer needs to restrict this functionality. Fixes #91 - thanks to @wojexe for reporting!Also fixes a DocC warning and updates dependency requirements.
This patch was released by @gwynne
Full Changelog: 4.7.0...4.7.1
4.7.0 - Leverage improvements in SQLKit, SQLiteNIO, and SQLiteKit
What's Changed
Leverage improvements in SQLKit, SQLiteNIO, and SQLiteKit by @gwynne in #90
Several improvements:
- Swift minimum version is now 5.8, minimum dependency versions updated
Sendable
andExistentialAny
correctness- README and docs cleanup, updated CI
- Added support for custom JSON encoders and decoders
- Added working support for setting the query logging level
- Most operations are now routed through SQLiteKit rather than duplicating code, making behavior more consistent (and very slightly faster)
- The new extended SQLite errors are now supported correctly (
DatabaseError.isConstraintFailure
works again).- The
maxConnectionsPerEventLoop
setting is now ignored, as increasing it beyond 1 increases thread contention with no additional parallelism.
This patch was released by @gwynne
Full Changelog: 4.6.0...4.7.0
4.6.0 - Miscellaneous tidying
What's Changed
Miscellaneous tidying by @gwynne in #88
Minimum Swift version has been bumped to 5.7 to match Vapor and Fluent; everything else is cosmetic or behind the scenes.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 4.5.0...4.6.0
4.5.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.) #87