Releases: pointfreeco/swift-structured-queries
Releases · pointfreeco/swift-structured-queries
0.6.0
0.5.1
What's Changed
- Fixed: Disfavor some operator overloads to avoid ambiguity (#62).
- Fixed: Add missing
Select.selectoverload (#64). - Infrastructure. Documentation fixes (thanks @agarrharr, #58).
- Infrastructure: Improve release workflow (thanks @mackoj, #59).
New Contributors
- @agarrharr made their first contribution in #58
Full Changelog: 0.5.0...0.5.1
0.5.0
What's Changed
- Added:
StructuredQueriesTaggedpackage trait, for StructuredQueries bindings to swift-tagged (#13). - Added:
DISTINCTsupport forjsonGroupArray(thanks @mackoj, #57). - Added: Missing conditional conformances to
TableAlias(#54). - Fixed: Ensure
Codable.JSONRepresentationdates decode using the correct format (thanks @rosskimes, #53). - Infrastructure: New table definition documentation (#55).
New Contributors
- @rosskimes made their first contribution in #53
- @mackoj made their first contribution in #57
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- Added:
DateandUUIDare now directly bindable in queries (#37). - Fixed: A macro expansion issue affecting optional primary keys has been addressed (#51).
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
- Added: Support for explicit schema names (#43).
- Fixed: Broaden SwiftSyntax dependency (#32).
- Fixed: Require
jsonGroupArraytake a bindable argument to avoid generating invalid SL (#34). - Fixed:
PrimaryKeyedTable.findtakes a UUID now (instead of the representation) (#35). - Fixed: Use
StructuredQueriesCoremodule name in macro expansion (#42). - Fixed: Chaining
limits will no longernilout the current offset (#48). - Fixed:
betweenno longer generates invalid SQL (#47). - Infrastructure: Fix anchor link in Query cookbook docs (thanks @juliensagot, #38).
- Infrastructure: Add important note about Safe SQL strings docs (#41).
- Infrastructure: Add more docs for
#bind(#46).
New Contributors
- @juliensagot made their first contribution in #38
Full Changelog: 0.2.0...0.3.0
0.2.0
What's Changed
- Renamed:
JSONRepresentation<CodableType>is nowCodableType.JSONRepresentation(#27). - Added:
TableColumn.defaultValue, for runtime introspection of a table struct column's default value (#9). - Added:
@Tablewill now generate a compiler error for structs with no column fields (#14). - Added:
havingnow employs a result builder for conditionally building predicates (thanks @natemann, #21). - Added: A
Seedstype for preparing seeds for a database (#29). - Added: Automatic synthesis of
QueryBindableforLosslessStringConvertibletypes (#28). - Added: An overload of
jsonGroupArrayon table columns that can preload a has-many association via JSON (#24). - Fixed: Address compiler error with
@Tablemacro-generated code when applied to structs fields with trailing comments (#19). - Fixed: Upserts now specify the primary key as conflict target (#22).
- Fixed: Fixed issue with outer join tables and optional fields causing nested optionals (#23).
- Fixed: Case expressions can return non-optional expressions from a when clause (#26).
- Fixed: Improve interplay between query representable strategies and optional values (#27).
- Fixed: Work around release build compiler crash related to dynamic member lookup on outer join tables (#31).
- Infrastructure: Documentation fixes (thanks @ScottPlease, #7; @marcprux, #11; #17)
- Infrastructure: Reminders demo updates (#25).
New Contributors
- @ScottPlease made their first contribution in #7
- @marcprux made their first contribution in #11
- @natemann made their first contribution in #21
Full Changelog: 0.1.1...0.2.0
0.1.1
What's Changed
- Fixed: Allow dynamic member lookup on optional table definitions to chain into non-column expressions (#2).
- Fixed: Define
==in terms ofany QueryExpressionto work around resolution bug in update clauses (#3). - Infrastructure: Add GitHub actions (#1).
- Infrastructure: Documentation fixes (thanks @tevelee, #4).
New Contributors
Full Changelog: 0.1.0...0.1.1
0.1.0
- Initial release