github vapor/vapor 4.98.0
4.98.0 - Mark all functions that use `wait` as `noasync`

latest releases: 4.100.1, 4.100.0, 4.99.3...
10 days ago

What's Changed

Mark all functions that use wait as noasync by @0xTim in #3168

⚠️ WARNING: If you have strict concurrency checking enabled you should migrate to the async Application.make()

NIO’s EventLoopFuture.wait() is marked as noasync because is can cause issues when used in a concurrency context. All places where we call .wait() should also be marked as noasync to avoid this issue.

This adds async alternatives for those functions and adds noasync annotations where appropriate.

Also adds an async Application.make to replace the old initialiser that is now noasync

This patch was released by @0xTim

Full Changelog: 4.97.1...4.98.0

Don't miss a new vapor release

NewReleases is sending notifications on new releases.