Releases: swift-cloud/Compute
Releases · swift-cloud/Compute
v2.4.0 - Export Foundation
This release exports foundation to make it easier to use common types like URL
and JSONEncoder
without always importing both Compute and Foundation
v2.3.1 - ComputeUI
- Support ComputeUI
v2.2.0 - JWT Parsing & Validation
- Introduce a
JWT
struct for parsing and validating JWTs - Parse a JWT from a single token
- Construct a JWT with a set of claims
v2.0.0 - Fetch on macOS
- Add a fetch implementation backed by URLSession. Now you can use this library on any other Apple platform, for example with the swift-cloud/Planetscale library
- Reorganize runtime structs under a Fastly namespace
- Dropped support for Swift 5.6
v1.11.0 - Sorted JSON Keys
- Sort json keys by default
v1.10.0 - Custom Cache Key
- Ability to set a custom cache key on fetch requests -- useful for caching POST graphql requests
- Rename Dictionary to ConfigStore
v1.9.0 - Dynamic Backends
- Add support for dynamic backends when running locally
- This makes it much simpler to develop locally without defining every backend in a fastly.toml
- Requires the latest version of the Fastly CLI (or latest version of Viceroy)
v1.8.0 - Object Store
- Release support for Fastly Object Store
- Rename package to
Compute
for simpler project integration
v1.7.0 - Set-Cookie
Adds the ability to set cookie(s) on outgoing responses.
res
.cookie("foo", "bar")
.cookie("name", "swift", .maxAge(300), .secure, .httpOnly)
.send()
v1.6.0 - Mozilla Public License Version 2.0
v1.6.0 of the Swift Compute Runtime has been released under the Mozilla Public License Version 2.0.