Skip to content

0.7.0

Compare
Choose a tag to compare
@stephencelis stephencelis released this 17 Jun 20:17
· 101 commits to main since this release
6bd8700

What's Changed

  • Added: PrimaryKeyedTable now has a PrimaryKey primary associated type (#69).
  • Added: QueryExpression<Optional>.map,flatMap for unwrapping optional expressions (#80).
  • Added: QueryFragment.prepare, for preparing SQL and bindings for a database driver (#78).
  • Added: Drafts can now use many of the helpers defined on their parent table type, including find and various dynamic member lookup helpers (#84).
  • Added: jsonGroupArray improvements, including isDistinct and an overload for automatically filtering optionals (#60).
  • Added: where and having can now return optional booleans (#61).
  • Fixed: Remove trailing comma to restore Swift 6.0 support (#75).
  • Fixed: Allow group(by:) to work with #sql strings without qualifying the expression type (#79).
  • Fixed: QueryExpression.min,max() now work with any type, not just integers (thanks @Graveion, #76).

New Contributors

Full Changelog: 0.6.0...0.7.0