Skip to content

Releases: pointfreeco/swift-structured-queries

0.30.0

29 Jan 18:59
d8163b3

Choose a tag to compare

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

28 Jan 19:38

Choose a tag to compare

What's Changed

  • Fixed: Deprecate StructuredQueriesCasePaths and StructuredQueriesTagged traits for explicit modules (#263).
  • Infrastructure: Instrument trigger creation with task local (#260).

Full Changelog: 0.28.0...0.29.0

0.28.0

19 Jan 20:41
4a740db

Choose a tag to compare

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 excluded to updateFilter for appropriate insert(doUpdate:) overloads (thanks @KaiOelfke, #251; #258).
  • Fixed: Parenthesize each where operation to avoid invalid OR behavior (thanks @lucamegh, #252).
  • Optimized: Query builder performance improvements (#253).
  • Infrastructure: Docs fixes (thanks @tgrapperon, #250).

New Contributors

Full Changelog: 0.27.0...0.28.0

0.27.0

13 Jan 20:06
862802b

Choose a tag to compare

What's Changed

  • Added: notIn operator for idiomatic NOT IN (#248).
  • Added: @DatabaseFunction can now be applied to computed properties (#249).

Full Changelog: 0.26.0...0.27.0

0.26.0

29 Dec 18:21
907cd2c

Choose a tag to compare

What's Changed

  • Added: Explicit conformances to member macros (#225).
  • Added: Conditional conformances for Codable.JSONRepresentation (#239).
  • Added: jsonGroupArray support 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 TableAlias docs for selection decoding (#241).

New Contributors

Full Changelog: 0.25.2...0.26.0

0.25.2

04 Nov 18:00
9c84335

Choose a tag to compare

What's Changed

  • Fixed: Prevent QueryExpression<Optional>.map from throwing potential decoding errors (#222).

Full Changelog: 0.25.1...0.25.2

0.25.1

30 Oct 18:42

Choose a tag to compare

What's Changed

  • Fixed: Improve error messaging for invalid @DatabaseFunction applications (#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

27 Oct 20:41
1447ea2

Choose a tag to compare

What's Changed

  • Added: @Columns now supports as parameter (#214).
  • Fixed: Allow values to be bound in createTemporaryView statements (#215).
  • Deprecated: Hard-deprecate SQLite OR conflict resolution (#212).
  • Infrastructure: Docs fixes (thanks @ScottPlease, #213; @juliensagot, #217).
  • Infrastructure: Add test coverage for enum selections (thanks @acosmicflamingo, #216).

New Contributors

Full Changelog: 0.24.0...0.25.0

0.24.0

16 Oct 16:34

Choose a tag to compare

What's Changed

  • Added: You can now define your own aggregate functions (#207).

Full Changelog: 0.23.2...0.24.0

0.23.2

15 Oct 16:57
b4fadef

Choose a tag to compare

What's Changed

  • Fixed: Fix macro-generated code for Swift <6.2 (#211).

Full Changelog: 0.23.1...0.23.2