2.16.0 - Fix handling of array bindings containing optional values
What's Changed
Fix handling of array bindings containing optional values by @gwynne in #279
- Now requires Swift 6.1
- We now use SQLKit’s
SomeCodingKeyinstead of redefining it.- Encoding of
nilbinds toNULLis now on the fastest possible path instead of the slowest.- Values that conform to
Postgres[Throwing]DynamicTypeEncodablebut notPostgres[NonThrowing]Encodableare now handled on the fast path.nilvalues in bound arrays having optional element types (which they should, as all arrays in Postgres have NULLable values) are now handled correctly instead of causing crashes.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 2.15.1...2.16.0