Releases: fastly/compute-sdk-go
Releases · fastly/compute-sdk-go
v1.6.1
What's Changed
- fsthttp: fix panic when calling certain methods on non-client requests; fix HandoffFanout (#220)
- fsthttp: handle invalid 1xx status codes in client responses (#218)
- fsthttp: translate badf errors on responseWriter write to a new ErrClosed (#217)
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
1.6.0 (2025-11-17)
- fsthttp,interal,x: Add v2 versions of Handoff Websocket and Fanout (#210)
- fsthttp: support sending StatusEarlyHints (#201)
- fsthttp: expose SendError in the fsthttp package (#205, #207)
- device: expose UserAgent fields
- fsthttp: add support for image optimization
- fsthttp: add more downstream info hostcalls
- all: Deprecate remaining Limits, make all buffers adaptive
- fsthttp: warn if WriteHeader is called multiple times
- fsthttp: add support for reusable sandboxes
- Many other small usability and optimization fixes
Full Changelog: v1.5.0...v1.6.0
1.5.0
Changes in this release:
- fsthttp: override old values in header.Apply()
- fsthttp: Respect range during cache streaming
- all: add support for shielding hostcalls
- fsthttp: ensure OverrideKey has the correct format
- all: http-me.glitch.me -> http-me.fastly.dev
- fsthttp: ensure swr goroutines have completed before exiting
- internal: mark body returned from HTTPCacheTransactionInsert as closable
- configstore: handle config store values larger than 8k
- fsthttp: fix max header value len for GetHeaderValues() call
- fsthttp: Reject out-of-order ranges
- fsthttp: Add a String method to BackendHealth
Plus some other non-user-visible cleanups.
v1.4.2
fsthttp: fix internal debugging call
This change fixes the regression we were seeing internally that caused 1.4.0 to be retracted. Note that external users should not have seen any issues with 1.4.0 or 1.4.1, but we retracted them anyway while we determined the root cause.
v1.4.1 - Retract v1.4.0
Retract v1.4.0 (and v1.4.1 along with it). See #156 for more details.
v1.4.0: Merge pull request #155 from fastly/dgryski/release-1.4.0
1.4.0 (2025-04-07)
Added
- fsthttp: make response polling frequency configurable
- fsthttp: add http cache API support
- secretstore: add Plaintext toplevel convenience function
- acl: add ACL hostcalls
Readthrough HTTP Cache Support
Customizing cache behaviour with the readthrough cache is an opt-in feature; enable it by adding -tags=fsthttp_guest_cache to the build line of your fastly.toml.
[scripts]
build = "tinygo build -target=wasip1 -tags=fsthttp_guest_cache -o bin/main.wasm ."
v1.3.3
Added
- kvstore: add ErrTooManyRequests
- fsthttp: add ServerAddr to Request
- fsthttp: add pluggable URL parser
- fsthttp: add TCP and HTTP keepalives configuration for backends
- fsthttp: add RemoteAddr to Response
- fsthttp: add pooling connection configuration for backends
- compute: add GetVCPUMilliseconds
- fsthttp: add client certificate configuration for backends
- fsthttp: add grpc flag for backends
Changed
- configstore: switch to new configstore hostcalls
v1.3.2
v1.3.1
What's Changed
- add Request.CloneWithBody and Request.SetBody by @joeshaw in #105
- Implement KVStore delete method by @athomason in #110
New Contributors
- @athomason made their first contribution in #110
Full Changelog: v1.3.0...v1.3.1