Skip to content

Releases: fastly/js-compute-runtime

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)

v3.6.0

22 Sep 20:20
cd8e8df
Compare
Choose a tag to compare

3.6.0 (2023-09-22)

Features

  • add support for ECDSA keys to be used with SubtleCrypto.prototype.sign and SubtleCrypto.prototype.verify (#667) (51bb170)

v3.5.0

20 Sep 12:43
4331762
Compare
Choose a tag to compare

3.5.0 (2023-09-19)

Features