Releases: pointfreeco/swift-structured-queries
Releases · pointfreeco/swift-structured-queries
0.21.0
What's Changed
- Added:
createTemporaryView
now supports common table expressions (#176). - Added: Support
INSTEAD OF
triggers (#179). - Added: Support defaults in
@Selection.Columns.init
(#180). - Added:
PrimaryKeyedTable.find([id])
for finding multiple rows by primary keys (#181). - Fixed: Silence warning on Swift 6.0 (#183).
- Fixed: Properly handle SQL comments in
#sql
macro diagnostics (#187). - Infrastructure: Update docs on temporary views (#182).
Full Changelog: 0.20.0...0.21.0
0.20.0
0.19.1
What's Changed
- Fixed: Ensure macro-generated code for multiline
@DatabaseFunction
signature is formatted correctly (#166).
Full Changelog: 0.19.0...0.19.1
0.19.0
0.18.0
What's Changed
Important
See the migration guide for more information.
- Added:
Table.tableFragment
to enable basic virtual table syntax (#160, #161). - Fixed: Move SQLite functionality into the SQLite module (#157).
- Fixed: Prefer explicit initialization in
selectStar
over bit-cast (#159). - Infrastructure: Fix sample snippet for
Select/map(_:)
(thanks @johankool, #158).
New Contributors
- @johankool made their first contribution in #158
Full Changelog: 0.17.1...0.18.0
0.17.1
What's Changed
- Fixed: User-defined functions with custom query representable types can no longer be called with invalid query expressions to the query output type (#156).
- Fixed: User-defined functions that take booleans as arguments are now properly bound to the function (#156).
Full Changelog: 0.17.0...0.17.1
0.17.0
What's Changed
- Added: Support for
Void
-returning database functions (#155).
Full Changelog: 0.16.0...0.17.0
0.16.0
What's Changed
Important
See the migration guide for more information.
- Added:
@DatabaseFunction
has a newas
parameter for working with custom query representations (e.g. JSON) (#154).
Full Changelog: 0.15.0...0.16.0
0.15.0
What's Changed
- Added:
@DatabaseFunction
for defining custom SQLite functions (#151). - Added: Allow
createTemporaryTrigger
's date-time function to be customized (thanks @connor-ricks, #143).
New Contributors
- @connor-ricks made their first contribution in #143
Full Changelog: 0.14.0...0.15.0