Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up and soft-deprecate AsyncKit #106

Merged
merged 6 commits into from
Oct 31, 2023
Merged

Clean up and soft-deprecate AsyncKit #106

merged 6 commits into from
Oct 31, 2023

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Oct 31, 2023

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 on EventLoopFuture is now public as was intended (not that anyone noticed it wasn't 🙂)
  • The tests run faster
  • CI's been updated
  • README and docs updated

@gwynne gwynne added the semver-minor Contains new APIs label Oct 31, 2023
@gwynne gwynne requested review from 0xTim, jdmcd, MahdiBM and ptoffy October 31, 2023 12:27
@gwynne gwynne self-assigned this Oct 31, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #106 (1f59f18) into main (eab9edf) will increase coverage by 1.10%.
The diff coverage is 96.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
+ Coverage   95.63%   96.74%   +1.10%     
==========================================
  Files          19       19              
  Lines         963      860     -103     
==========================================
- Hits          921      832      -89     
+ Misses         42       28      -14     
Files Coverage Δ
...ces/AsyncKit/EventLoop/EventLoop+Concurrency.swift 0.00% <ø> (ø)
Sources/AsyncKit/EventLoop/EventLoop+Flatten.swift 100.00% <ø> (ø)
Sources/AsyncKit/EventLoop/EventLoop+Future.swift 60.00% <ø> (ø)
...syncKit/EventLoop/EventLoopGroup+Concurrency.swift 50.00% <ø> (ø)
...s/AsyncKit/EventLoop/EventLoopGroup+Throwing.swift 100.00% <ø> (ø)
.../AsyncKit/EventLoopFuture/Collection+Flatten.swift 100.00% <ø> (ø)
...ventLoopFuture/EventLoopFutureQueue+Sequence.swift 100.00% <ø> (ø)
...syncKit/EventLoopFuture/EventLoopFutureQueue.swift 100.00% <ø> (ø)
...s/AsyncKit/EventLoopFuture/Future+Collection.swift 100.00% <ø> (ø)
...AsyncKit/EventLoopFuture/Future+Conjunctions.swift 99.69% <ø> (ø)
... and 5 more

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@gwynne gwynne merged commit 7ece208 into main Oct 31, 2023
11 of 12 checks passed
@gwynne gwynne deleted the soft-deprecate branch October 31, 2023 15:06
@penny-for-vapor
Copy link

These changes are now available in 1.19.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-minor Contains new APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants