
Below is an example of an upgraded Package.swift file. The first step to upgrading to Vapor 4 is to update your package's dependencies.

The Install section of the docs goes over installing dependencies. To use Vapor 4, you will need Xcode 11.4 and macOS 10.15 or greater. Issues and pull requests are also appreciated. If you notice anything missing, Vapor's team chat is a great place to ask for help. This guide attempts to cover all of Vapor's official packages as well as some commonly used providers. Xcode’s Core ML model editor now supports the new Core ML package format.This guide shows you how to upgrade an existing Vapor 3.x project to 4.x.A -fobjc-constant-literals flag in the Clang compiler lets developers declare global constant literals and perform optimizations for other literals supported in Objective-C.TextureConverter can be used on the command line to compress textures to all Metal compressed texture formats.Provisioning apps for the TestFlight beta test platform is supported on the Mac.The build system now emits a warning when a script phase or a custom build rule declares an input dependency that is not part of a build input and is not declared as an output dependency of any other task in a build.The CPU counters template is now more reliable and performant.Vim key bindings are introduced to emulate a Vim experience in the source editor combined with existing editor functionality.Crash reports are featured with more filtering capabilities and more statistics.The cktool can be used on the command line to interact with the CloudKit database.



Swift 5.5 natively supports concurrent programming using async/await and actors. Native support for concurrent programming with the Swift language and Swift package collections.
