Skip to content

Releases: swift-cloud/Vercel

v2.3.0

07 Apr 15:49
e6434b3
Compare
Choose a tag to compare
  • Refactor fetch() to use async-http-client for superior performance on Linux
  • Fix various concurrency issues in Swift 6. Note: ExpressHandler.configure signature changed slightly. See updated docs

v2.2.1

06 Apr 20:20
Compare
Choose a tag to compare
  • Fix a regression with VaporHandler

v2.2.0 - Swift v6

05 Apr 00:08
Compare
Choose a tag to compare

Updated for Swift 6

v2.1.0

09 Jan 01:51
Compare
Choose a tag to compare

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 server

v2.0.0 - arm64

28 Aug 18:29
28339fe
Compare
Choose a tag to compare

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

23 Aug 21:36
Compare
Choose a tag to compare

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

21 Jun 20:27
bf811eb
Compare
Choose a tag to compare

The dev server now supports serving static files in the ./public folder

v1.12.0 - base64 Request Bodies

30 May 14:30
3048743
Compare
Choose a tag to compare
  • Handle base64-encoded request bodies #10

Thanks @summertriangle-dev

v1.11.0 - CDN Cache Control

15 May 14:32
Compare
Choose a tag to compare
  • Support cdn-cache-control header

v1.10.0 - Env

01 May 17:21
Compare
Choose a tag to compare
  • Add support for reading environment values from a local .env file
  • Makes it trivial to work with Vercel's new storage products after running vercel env pull