Releases: pointfreeco/swift-structured-queries
Releases · pointfreeco/swift-structured-queries
0.30.0
What's Changed
- Fixed: Properly map Boolean bindings for non-SQLite dialects (thanks @IanKeen, #264).
- Fixed: Revert "Deprecate traits for explicit modules (#263)" (#266). Traits are once again the preferred way to extend StructuredQueries with CasePaths/Tagged.
New Contributors
Full Changelog: 0.29.0...0.30.0
0.29.0
What's Changed
- Fixed: Deprecate
StructuredQueriesCasePathsandStructuredQueriesTaggedtraits for explicit modules (#263). - Infrastructure: Instrument trigger creation with task local (#260).
Full Changelog: 0.28.0...0.29.0
0.28.0
What's Changed
Important
This release contains a breaking change for inserts with conflict doUpdate and where filters. See the migration guide for more information.
- Added: Provide
excludedtoupdateFilterfor appropriateinsert(doUpdate:)overloads (thanks @KaiOelfke, #251; #258). - Fixed: Parenthesize each
whereoperation to avoid invalidORbehavior (thanks @lucamegh, #252). - Optimized: Query builder performance improvements (#253).
- Infrastructure: Docs fixes (thanks @tgrapperon, #250).
New Contributors
- @KaiOelfke made their first contribution in #251
- @lucamegh made their first contribution in #252
Full Changelog: 0.27.0...0.28.0
0.27.0
What's Changed
- Added:
notInoperator for idiomaticNOT IN(#248). - Added:
@DatabaseFunctioncan now be applied to computed properties (#249).
Full Changelog: 0.26.0...0.27.0
0.26.0
What's Changed
- Added: Explicit
conformancesto member macros (#225). - Added: Conditional conformances for
Codable.JSONRepresentation(#239). - Added:
jsonGroupArraysupport for non-primary keyed tables (#243). - Fixed: Address a couple
@Selection-based update bugs (thanks @rcarver, #233). - Infrastructure: Fix triggers documentation typo (thanks @tgrapperon, #236).
- Infrastructure: Update Package.swift to use GitHub Action env var (#237; thanks @rcarver, #238)
- Infrastructure: CI Updates (#242).
- Infrastructure: Add
TableAliasdocs for selection decoding (#241).
New Contributors
- @tgrapperon made their first contribution in #236
Full Changelog: 0.25.2...0.26.0
0.25.2
What's Changed
- Fixed: Prevent
QueryExpression<Optional>.mapfrom throwing potential decoding errors (#222).
Full Changelog: 0.25.1...0.25.2
0.25.1
What's Changed
- Fixed: Improve error messaging for invalid
@DatabaseFunctionapplications (#219). - Fixed: Resolved an issue where tables with enum selections may fail to decode in certain scenarios (#220).
Full Changelog: 0.25.0...0.25.1
0.25.0
What's Changed
- Added:
@Columnsnow supportsasparameter (#214). - Fixed: Allow values to be bound in
createTemporaryViewstatements (#215). - Deprecated: Hard-deprecate SQLite
ORconflict resolution (#212). - Infrastructure: Docs fixes (thanks @ScottPlease, #213; @juliensagot, #217).
- Infrastructure: Add test coverage for enum selections (thanks @acosmicflamingo, #216).
New Contributors
- @acosmicflamingo made their first contribution in #216
Full Changelog: 0.24.0...0.25.0
0.24.0
What's Changed
- Added: You can now define your own aggregate functions (#207).
Full Changelog: 0.23.2...0.24.0
0.23.2
What's Changed
- Fixed: Fix macro-generated code for Swift <6.2 (#211).
Full Changelog: 0.23.1...0.23.2