Releases: swift-cloud/Vercel
v2.3.0
v2.2.1
- Fix a regression with
VaporHandler
v2.2.0 - Swift v6
Updated for Swift 6
v2.1.0
Introduces a new server command to run the local proxy server without building and running the application. This allows for running the main application in Xcode with full debugging support.
To start just the local proxy server:
swift package --disable-sandbox vercel serverv2.0.0 - arm64
Vercel now supports arm64 serverless functions, allowing us to build and deploy without cross-compiling. This makes for significantly faster deploys on M1 Macs, and also allows deploying arm64 binaries from Github actions arm64 runners.
v1.14.0 - Vapor
This release adds support for running Vapor application on Vercel. To get started you need to add both Vercel and VercelVapor packages to your project:
.product(name: "Vercel", package: "Vercel"),
.product(name: "VercelVapor", package: "Vercel")Then you can define a VaporHandler like so:
import Vapor
import VercelVapor
@main
struct App: VaporHandler {
static func configure() async throws -> Application {
let app = Application()
app.get { _ in
"Hello, Vapor"
}
return app
}
}v1.13.0 - Dev Server Public Folder Support
The dev server now supports serving static files in the ./public folder
v1.12.0 - base64 Request Bodies
- Handle base64-encoded request bodies #10
Thanks @summertriangle-dev
v1.11.0 - CDN Cache Control
- Support
cdn-cache-controlheader
v1.10.0 - Env
- Add support for reading environment values from a local
.envfile - Makes it trivial to work with Vercel's new storage products after running
vercel env pull