Releases: vapor/async-kit
1.20.0 - Add `shutdownAsync`
What's Changed
Add shutdownAsync
by @0xTim in #109
Even calling Dispatch’s
.wait()
can cause the concurrency pool to deadlock meaning the connection pool never returns. This provides a proper async version ofshutdown()
.Annotates the offending functions with
@noasync
See https://swift-open-source.slack.com/archives/C9MMT6VGB/p1722432257179729 for more context
Reviewers
Thanks to the reviewers for their help:
This patch was released by @0xTim
Full Changelog: 1.19.1...1.20.0
1.19.1 - Fix typo in connection request error message
What's Changed
Fix typo in connection request error message by @rausnitz in #108
There’s a parenthesis missing in the connection request error message.
This fixes vapor/async-kit#107.
This patch was released by @0xTim
Full Changelog: 1.19.0...1.19.1
1.19.0 - Clean up and soft-deprecate AsyncKit
What's Changed
Clean up and soft-deprecate AsyncKit by @gwynne in #106
This update starts the official soft-deprecation of AsyncKit. It should not be used in new code (although it will remain included in Vapor and Fluent 4 for compatibility). It is not expected to receive new updates other than security fixes.
Other changes in this update:
- Require the current Vapor minimum Swift version of 5.7
- The
~
operator onEventLoopFuture
is nowpublic
as was intended (not that anyone noticed it wasn’t 🙂)- The tests run faster
- CI’s been updated
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 1.18.0...1.19.0
1.18.0 - Heavily revise the implementation of EventLoopConnectionPool
What's Changed
Heavily revise the implementation of EventLoopConnectionPool by @gwynne in #102
Overview
This is a temporary stopgap measure to clean up some of the more extant issues with the existing implementation, pending the integration of a much more robust and advanced connection pool solution.
While technically there is no change in the public API surface, this is nonetheless being marked as semver-minor due to the significant changes in behavior. This PR has already revealed a query ordering bug in the Fluent benchmarks just by behaving more correctly.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 1.17.0...1.18.0
Update min Swift version to 5.6 and make platform versions consistent
This patch was authored and released by @gwynne.
Deprecate EventLoop.performWithTask() in favor of NIO's version
This patch was authored and released by @gwynne.
Back deploy concurrency to older Apple Platforms
Fix NIO "Lock" deprecation warnings
Enable compilation on iOS
Update Supported Swift Versions
This patch was authored and released by @0xTim.
This removes support for Swift 5.2 and Swift 5.3, making Swift 5.4 the earliest supported version as
announced