Skip to content

Releases: fastly/js-compute-runtime

v3.8.3

21 Feb 21:36
8b9e8a6
Compare
Choose a tag to compare

3.8.3 (2024-02-21)

Bug Fixes

  • do not use colon character in types for windows support (#726) (25bf1a2)

v3.8.2

25 Jan 22:13
7539e69
Compare
Choose a tag to compare

3.8.2 (2024-01-25)

Bug Fixes

  • ensure we honor first-byte-timeout and between-bytes-timeout for dynamically registered backends (#719) (2851507)
  • If request does not have a static backend defined, return undefined for the Request.prototype.backend getter (#722) (251c037)

v3.8.1

17 Jan 19:56
2c85af8
Compare
Choose a tag to compare

3.8.1 (2024-01-17)

Bug Fixes

  • parse latin-1 encoded field values correctly (#715) (9ebb524)

v3.8.0

11 Jan 16:02
Compare
Choose a tag to compare

3.8.0 (2024-01-11)

Added

  • Add manualFramingHeaders on RequestInit and ResponseInit, and add Request.prototype.setManualFramingHeaders and Response.prototype.setManualFramingHeaders (#705)
  • Add Request.prototype.backend getter to return the name of the backend assigned to the request (9c750e5)
  • Allow URL as input on fetch() on TypeScript typings for compat with Node.js (#707) (4f39943)

v3.7.3

07 Nov 10:37
Compare
Choose a tag to compare

3.7.3 (2023-11-02)

Bug Fixes

  • Make the underlying KVStore.prototype.get implementation be async (a6a5035)

v3.7.2

25 Oct 15:14
Compare
Choose a tag to compare

3.7.2 (2023-10-25)

Bug Fixes

  • Make Response.redirect headers be immutable (3527eaf)
  • return correct error type (TypeError or RangeError instead of Error) in Request and Response methods (4ea7de7)

v3.7.1

24 Oct 22:34
b08ae8d
Compare
Choose a tag to compare

3.7.1 (2023-10-24)

Bug Fixes

  • Add type defintions for the recently added Backend methods (#698) (24f1ba7)

v3.7.0

16 Oct 22:15
3651e3e
Compare
Choose a tag to compare

3.7.0 (2023-10-14)

Added

This release of @fastly/js-compute includes 4 new methods to the Backend class, which enable the Fastly Service to retrieve information about any backend, this is particularly useful for checking if the backend is “healthy”. (#523) (08f816a)

The new methods are:

  • Backend.exists(name) - Check whether a backend with the given name exists for the Fastly Service.
  • Backend.fromName(name) - Check whether a backend with the given name exists for the Fastly Service and if it does, then returns an instance of Backend for the given name.
  • Backend.health(name) - Returns the health of the backend with the given name.
  • Backend.prototype.toName() - Return the name for the Backend instance.

Fixed

  • bring back support for build-time env vars (#691) (c044ac4)
  • raise an error during wizening for async functions given to addEventListener (#689) (e6747a2)

v3.6.2

05 Oct 23:03
Compare
Choose a tag to compare

3.6.2 (2023-10-05)

Bug Fixes

  • improve fetch error messages (58ddb20)

v3.6.1

27 Sep 15:49
a6d4e9b
Compare
Choose a tag to compare

3.6.1 (2023-09-27)

Bug Fixes

  • ensure we throw an error when trying to base64 decode _ via atob (1b2b2f9)