Update to the latest WITs and adapter.#564
Merged
dgohman-fastly merged 1 commit intomainfrom Dec 10, 2025
Merged
Conversation
Changes: - Make backends be a resource, rather than always identified by string. - Similarly, make `rate-counter` and `penalty-box` be resources too. - Rename `get-session-id` to `get-sandbox-id`. - Change `cache-override-details.surrogate-key` from `list<u8>` to `string`. - Support `prefer_ipv6` and max connections/uses/lifetime on dynamic backends - Give the `fastly:compute` version number 0.0.0-prerelease.0.
d8d614b to
58ea791
Compare
chenyan2002
approved these changes
Dec 10, 2025
| interface adapter-http-req { | ||
| use fastly:compute/types.{error, ip-address}; | ||
| use fastly:compute/http-req.{client-cert-verify-result, request}; | ||
| use fastly:compute/types@0.0.0-prerelease.0.{error, ip-address}; |
Contributor
There was a problem hiding this comment.
Just curious, is there a reason to pin the version here? I was hoping we can rely on the semantic versioning. So only put the version in package name, but not in use.
Contributor
Author
There was a problem hiding this comment.
The versions in a use act like a semver requirements. So a use fastly:compute/types@1.0.0.{error} would be compatible with a package declared with fastly:types@1.2.3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
rate-counterandpenalty-boxbe resources too.get-session-idtoget-sandbox-id.cache-override-details.surrogate-keyfromlist<u8>tostring.prefer_ipv6and max connections/uses/lifetime on dynamic backendsfastly:computeversion number 0.0.0-prerelease.0.