版本发布 8
### SemVer Minor * Add new structured `listen` API by @fpseverino in https://github.com/vapor/postgres-nio/pull/619 ### SemVer Patch * Correctly destroy a backing off connection by @adam-fowler in https://github.com/vapor/postgres-nio/pull/620 ### New Contributors * @fpseverino made their first contribution in https://github.com/vapor/postgres-nio/pull/619 **Full Changelog**: https://github.com/vapor/postgres-nio/compare/1.30.1...1.31.0
### SemVer Patch * Fix crash where backoff timer triggers during running state (#617, patch credit to @adam-fowler) **Full Changelog**: https://github.com/vapor/postgres-nio/compare/1.30.0...1.30.1
### SemVer Patch - Require the correct minimum version of swift-crypto (#555) ### Other Changes - Update README.md to reflect current minimum Swift version (#556)
### SemVer Minor - Drop support for Swift 5.9 (#549) ### SemVer Patch - Make ConnectionPool faster (#546) - Ensure ltree works (#548) - Add `@inlinable` to `ConnectionPool.run()` (#552) - Make SASL faster (#553, #554) ### Other Changes - Move ConnectionPool test-utils into separate target (#544) - Add Benchmarks for ConnectionPool (#545, #550)
### SemVer Minor - Add `withTransaction` to `PostgresConnection` and `PostgresClient` (#519, patch credit to @thoven87, #538)
### SemVer Minor - Allow bindings with optional values in PostgresBindings (#520, patch credit to @rgcottrell) - Allow TLS enabled connections when providing an established channel (#526, #527, patch credit to @tkrajacic) - Drop Swift 5.8 support and update CI (#515, #516) - Support `additionalStartupParameters` in PostgresClient (#521) ### SemVer Patch - Handle `EmptyQueryResponse` (#500, patch credit to @MahdiBM) - Fix cross-compilation to the static Linux SDK (#510, patch credit to @leinelissen) ### Other Changes - Fix Flaky Nightly Tests (#503, patch credit to @MahdiBM)
### SemVer Minor - Drop support for Swift 5.7 (#485) ### SemVer Patch - [Fix] Query Hangs if Connection is Closed (#487, patch credit to @MahdiBM) - Enable StrictConcurrency checking (#483) - Update ServiceLifecycle to 2.5.0 (#484) - Explicitly mark the AsyncSequence iterators as non Sendable (#490) - Change 'unsafeDowncast' to 'as!' (#495) ### Other Changes - [CI] Use Ubuntu 24.04 image, more code coverage, disable CodeQL completely (#482)
### SemVer Patch - Change 'unsafeDowncast' to 'as!' (https://github.com/vapor/postgres-nio/pull/495)