Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dgohman-fastly
Copy link
Contributor

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.

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.
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};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The versions in a use act like a semver requirements. So a use fastly:compute/[email protected].{error} would be compatible with a package declared with fastly:[email protected].

@dgohman-fastly dgohman-fastly merged commit 649f765 into main Dec 10, 2025
13 checks passed
@dgohman-fastly dgohman-fastly deleted the dgohman-fastly/update branch December 10, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants