github pointfreeco/swift-structured-queries 0.33.2

9 hours ago

What's Changed

Important

StructuredQueries 0.33.1 was untagged to avoid rolling out a bug affecting runtime query decoding. I you already upgraded to 0.33.1, upgrade to 0.33.2.

  • Fixed: QueryExpression<Optional>.map now takes a query expression, not a statement, fixing overload issues that expand to the wrong SQL (#303).
  • Fixed: Better support for nested @Table/@Selection (#306).
  • Fixed: QueryExpression<Optional>.map now works for multi-column @Selections (#305).
  • Fixed: Table.update no longer crashes when updating a nested @Selection column (thanks @IanKeen, #269).
  • Fixed: Address 0.33.1 regression in decoding optional representations (#319).
  • Fixed: Address regression in @Table-generated drafts that reference nested types (#315).
  • Deprecated: A few "Swifty" APIs have been deprecated in favor of their SQL equivalents (e.g. contains, hasPrefix, hasSuffix are now deprecated in favor of like) (#307).
  • Deprecated: @Columns is deprecated in favor of @Column (#318).
  • Infrastructure: Add documentation badge to README (#304)
  • Infrastructure: Document how to define a public constructor for a draft (#313).

Full Changelog: 0.33.0...0.33.2

Don't miss a new swift-structured-queries release

NewReleases is sending notifications on new releases.