|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## [1.8.1](https://github.com/fastly/js-compute-runtime/compare/v1.8.0...v1.8.1) (2023-04-12) |
| 3 | +## 1.8.1 (2023-04-12) |
4 | 4 |
|
5 | 5 |
|
6 |
| -### Bug Fixes |
| 6 | +### Fixed |
7 | 7 |
|
8 | 8 | * Mark NodeJS 19 and 20 as supported ([#492](https://github.com/fastly/js-compute-runtime/issues/492)) ([27b3428](https://github.com/fastly/js-compute-runtime/commit/27b34289988b6ef55ea3ce703b878dbd1da68d7a))
|
9 | 9 |
|
10 |
| -## [1.8.0](https://github.com/fastly/js-compute-runtime/compare/v1.7.1...v1.8.0) (2023-04-12) |
| 10 | +## 1.8.0 (2023-04-12) |
11 | 11 |
|
12 | 12 |
|
13 |
| -### Features |
| 13 | +### Added |
14 | 14 |
|
15 | 15 | * Add high-resolution timing function "fastly.now()" behind feature flag "--enable-experimental-high-resolution-time-methods" ([f090838](https://github.com/fastly/js-compute-runtime/commit/f0908384d48d0bc2e5c29083e8a20bed041d47ed))
|
| 16 | + |
| 17 | +### Changed |
| 18 | + |
16 | 19 | * replace tree-sitter with acorn + magic string ([08a0695](https://github.com/fastly/js-compute-runtime/commit/08a0695a00088fe51c289ea783a771b4f3b993f8))
|
17 | 20 |
|
18 |
| -## [1.7.1](https://github.com/fastly/js-compute-runtime/compare/v1.7.0...v1.7.1) (2023-04-11) |
| 21 | +## 1.7.1 (2023-04-11) |
19 | 22 |
|
20 | 23 |
|
21 |
| -### Bug Fixes |
| 24 | +### Fixed |
22 | 25 |
|
23 | 26 | * Lower the supported NodeJS version from 18 or greater to only 18 ([5cc1cd6](https://github.com/fastly/js-compute-runtime/commit/5cc1cd6e5bfb8926944457e81c045682b0a37e4c))
|
24 | 27 | * When converting a URL to a string, do not add a `?` if there are no query string parameters ([73cdc27](https://github.com/fastly/js-compute-runtime/commit/73cdc279fa8c038a012c050000960577dda21280))
|
25 | 28 |
|
26 |
| -## [1.7.0](https://github.com/fastly/js-compute-runtime/compare/v1.6.0...v1.7.0) (2023-04-11) |
| 29 | +## 1.7.0 (2023-04-11) |
27 | 30 |
|
28 | 31 |
|
29 |
| -### Features |
| 32 | +### Added |
30 | 33 |
|
31 | 34 | * BYOB streams, basic usage, _pending WPT_ ([ab97e75](https://github.com/fastly/js-compute-runtime/commit/ab97e75e3b595911432327b35fcf4716675a0dd0))
|
32 | 35 | * Implement subset of crypto.subtle.importKey which can import a JSONWebKey using RSASSA-PKCS1-v1_5 ([#472](https://github.com/fastly/js-compute-runtime/issues/472)) ([110e7f4](https://github.com/fastly/js-compute-runtime/commit/110e7f42c1a86c4b4b722ea4b6780bb68f7f4523))
|
33 | 36 |
|
34 |
| -## [1.6.0](https://github.com/fastly/js-compute-runtime/compare/v1.5.2...v1.6.0) (2023-03-28) |
| 37 | +## 1.6.0 (2023-03-28) |
35 | 38 |
|
36 | 39 |
|
37 |
| -### Features |
| 40 | +### Added |
38 | 41 |
|
39 | 42 | * Implement JS CryptoKey Interface ([adb31f7](https://github.com/fastly/js-compute-runtime/commit/adb31f7197acf869af1852c0656847e4ab240089))
|
40 | 43 |
|
41 |
| -## [1.5.2](https://github.com/fastly/js-compute-runtime/compare/v1.5.1...v1.5.2) (2023-03-23) |
| 44 | +## 1.5.2 (2023-03-23) |
42 | 45 |
|
43 | 46 |
|
44 |
| -### Bug Fixes |
| 47 | +### Fixed |
45 | 48 |
|
46 | 49 | * Add documentation for FetchEvent, FetchEvent.prototype.respondWith, and FetchEvent.prototype.waitUntil ([78e6d92](https://github.com/fastly/js-compute-runtime/commit/78e6d925d1ec6cdedd4f2678997e333aba9ebae6))
|
47 | 50 | * fix typo in geolocation example ([f53a06e](https://github.com/fastly/js-compute-runtime/commit/f53a06ecb46c5ad1f91806c1c13ce6215a254192))
|
48 | 51 |
|
49 |
| -## [1.5.1](https://github.com/fastly/js-compute-runtime/compare/v1.5.0...v1.5.1) (2023-03-10) |
| 52 | +## 1.5.1 (2023-03-10) |
50 | 53 |
|
51 | 54 |
|
52 |
| -### Bug Fixes |
| 55 | +### Fixed |
53 | 56 |
|
54 | 57 | * handle fallthrough of regex parser bugs ([#447](https://github.com/fastly/js-compute-runtime/issues/447)) ([8f38980](https://github.com/fastly/js-compute-runtime/commit/8f389805d6a88e476f0281df974cb971d7e78896))
|
55 | 58 |
|
56 |
| -## [1.5.0](https://github.com/fastly/js-compute-runtime/compare/v1.4.2...v1.5.0) (2023-03-10) |
| 59 | +## 1.5.0 (2023-03-10) |
57 | 60 |
|
58 | 61 |
|
59 |
| -### Features |
| 62 | +### Added |
60 | 63 |
|
61 | 64 | * support unicode patterns via precompilation ([87a0dce](https://github.com/fastly/js-compute-runtime/commit/87a0dce62115cfd6d665f1d2aa617cf53a8b6b01))
|
62 | 65 |
|
63 |
| -## [1.4.2](https://github.com/fastly/js-compute-runtime/compare/v1.4.1...v1.4.2) (2023-03-09) |
| 66 | +## 1.4.2 (2023-03-09) |
64 | 67 |
|
65 | 68 |
|
66 |
| -### Bug Fixes |
| 69 | +### Fixed |
67 | 70 |
|
68 | 71 | * console logging support improvements ([#434](https://github.com/fastly/js-compute-runtime/issues/434)) ([7a74d76](https://github.com/fastly/js-compute-runtime/commit/7a74d76ed1d03c1c588caf664f471eab226c10a6))
|
69 | 72 |
|
|
159 | 162 | ## 0.7.0 (2022-12-10)
|
160 | 163 |
|
161 | 164 |
|
162 |
| -### ⚠ BREAKING CHANGES |
163 |
| - |
164 |
| -* compute runtime component build ([#326](https://github.com/fastly/js-compute-runtime/issues/326)) |
165 |
| - |
166 | 165 | ### Added
|
167 | 166 |
|
168 | 167 | * compute runtime component build ([#326](https://github.com/fastly/js-compute-runtime/issues/326)) ([197504c](https://github.com/fastly/js-compute-runtime/commit/197504c4192e019264011d732a7009786a7a38d0))
|
169 | 168 |
|
| 169 | +#### BREAKING CHANGES |
| 170 | + |
| 171 | +* compute runtime component build ([#326](https://github.com/fastly/js-compute-runtime/issues/326)) |
| 172 | + |
170 | 173 |
|
171 | 174 | ### Changed
|
172 | 175 |
|
|
175 | 178 | ## 0.6.0 (2022-12-09)
|
176 | 179 |
|
177 | 180 |
|
178 |
| -### ⚠ BREAKING CHANGES |
179 |
| - |
180 |
| -* Disable JS iterator helpers as the feature is at Stage 3 and we should only enable by default Stage 4 features |
181 |
| - |
182 | 181 | ### Added
|
183 | 182 |
|
184 | 183 | * Disable JS iterator helpers as the feature is at Stage 3 and we should only enable by default Stage 4 features ([c90c145](https://github.com/fastly/js-compute-runtime/commit/c90c14570a0375692da62eb11811e01babe28de8))
|
|
188 | 187 |
|
189 | 188 | * Throw TypeErrors in config-store if supplied with invalid parameters or the config-store does not exist ([6b70180](https://github.com/fastly/js-compute-runtime/commit/6b70180560b0c28bbc009af49fa7b25bd890d4a2))
|
190 | 189 |
|
| 190 | +### Removed |
| 191 | + |
| 192 | +* Disable JS iterator helpers as the feature is at Stage 3 and we should only enable by default Stage 4 features |
| 193 | + |
191 | 194 | ## 0.5.15 (2022-12-08)
|
192 | 195 |
|
193 | 196 |
|
|
270 | 273 |
|
271 | 274 | * implement setTimeout, setInterval, clearTimeout, and clearInterval ([128bca9](https://github.com/fastly/js-compute-runtime/commit/128bca901c9ad4b6d6c1084bf13c5c474ef63a41))
|
272 | 275 |
|
273 |
| -## 0.5.5-v0.5.5) (2022-11-23) |
| 276 | +## 0.5.5 (2022-11-23) |
274 | 277 |
|
275 | 278 |
|
276 | 279 | ### Added
|
|
285 | 288 |
|
286 | 289 | ## 0.5.4 (2022-09-28)
|
287 | 290 |
|
| 291 | +### Added |
| 292 | + |
| 293 | +* Add ConfigStore class ([#270](https://github.com/fastly/js-compute-runtime/pull/270)) |
| 294 | +* Add Dynamic Backends support ([#250](https://github.com/fastly/js-compute-runtime/issues/250)) |
| 295 | +* Improved performance when constructing a ObjectStore instance ([#272](https://github.com/fastly/js-compute-runtime/pull/272) |
| 296 | + |
288 | 297 | #### Dynamic Backend support
|
289 | 298 |
|
290 | 299 | Note: This feature is disabled by default for Fastly Services. Please contact [Fastly Support](https://support.fastly.com/hc/en-us/requests/new?ticket_form_id=360000269711) to request the feature be enabled on the Fastly Services which require Dynamic Backends.
|
@@ -355,18 +364,11 @@ addEventListener("fetch", event => {
|
355 | 364 | ```
|
356 | 365 |
|
357 | 366 |
|
358 |
| -### Added |
359 |
| - |
360 |
| -* Add ConfigStore class ([#270](https://github.com/fastly/js-compute-runtime/pull/270)) |
361 |
| -* Add Dynamic Backends support ([#250](https://github.com/fastly/js-compute-runtime/issues/250)) |
362 |
| -* Improved performance when constructing a ObjectStore instance ([#272](https://github.com/fastly/js-compute-runtime/pull/272) |
363 |
| - |
364 |
| - |
365 | 367 | ## 0.5.3 (2022-09-16)
|
366 | 368 |
|
367 |
| -### Security Fixes |
| 369 | +### Security |
368 | 370 |
|
369 |
| -* [CVE-2022-39218](https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-cmr8-5w4c-44v8): |
| 371 | +* [CVE-2022-39218](https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-cmr8-5w4c-44v8): |
370 | 372 | Fixed `Math.random` and `crypto.getRandomValues` methods to always use sufficiently random values. The previous versions would use a PRNG (pseudorandom number generator) which we would seed with a random value however due to our use of [Wizer](https://github.com/bytecodealliance/wizer), the initial value to seed the PRNG was baked-in to the final WebAssembly module meaning the sequence of numbers generated was predictable for that specific WebAssembly module. The new implementations of both `Math.random` and `crypto.getRandomValues` do not use a PRNG and instead pull random values from WASI (WebAssembly System Interface) libc’s `random_get` function, which is always a sufficiently random value.
|
371 | 373 |
|
372 | 374 | An attacker with access to the same WebAssembly module that calls the affected methods could use the fixed seed to predict random numbers generated by these functions. This information could be used to bypass cryptographic security controls, for example to disclose sensitive data encrypted by functions that use these generators.
|
@@ -399,6 +401,10 @@ addEventListener("fetch", event => {
|
399 | 401 |
|
400 | 402 | ### Added
|
401 | 403 |
|
| 404 | +* Implemented ObjectStore and ObjectStoreEntry classes for interacting with Fastly ObjectStore ([#110](https://github.com/fastly/js-compute-runtime/issues/110)) |
| 405 | +* add btoa and atob native implementations ([#227](https://github.com/fastly/js-compute-runtime/issues/227)) ([8b8c31f](https://github.com/fastly/js-compute-runtime/commit/8b8c31fa9ad70337b1060a3242b8e3495ae47df3)) |
| 406 | + |
| 407 | + |
402 | 408 | #### Object-store support
|
403 | 409 |
|
404 | 410 | This release adds support for Fastly [Object-store](https://developer.fastly.com/reference/api/object-store/), which is globally consistent key-value storage accessible across the Fastly Network. This makes it possible for your Compute@Edge application to read and write from Object-stores.
|
@@ -460,12 +466,6 @@ const request = new Request('https://www.fastly.com', {body:'I am the body', met
|
460 | 466 | console.log(request); // outputs `Request: {method: POST, url: https://www.fastly.com/, version: 2, headers: {}, body: null, bodyUsed: false}`.
|
461 | 467 | ```
|
462 | 468 |
|
463 |
| - |
464 |
| -### Added |
465 |
| - |
466 |
| -* Implemented ObjectStore and ObjectStoreEntry classes for interacting with Fastly ObjectStore ([#110](https://github.com/fastly/js-compute-runtime/issues/110)) |
467 |
| -* add btoa and atob native implementations ([#227](https://github.com/fastly/js-compute-runtime/issues/227)) ([8b8c31f](https://github.com/fastly/js-compute-runtime/commit/8b8c31fa9ad70337b1060a3242b8e3495ae47df3)) |
468 |
| - |
469 | 469 | ### Changed
|
470 | 470 |
|
471 | 471 | * Improved console output for all types ([#204](https://github.com/fastly/js-compute-runtime/issues/204))
|
@@ -502,7 +502,7 @@ console.log(request); // outputs `Request: {method: POST, url: https://www.fastl
|
502 | 502 | - Fix the behavior of `console.debug`
|
503 | 503 | - Allow builtin classes to be extended
|
504 | 504 |
|
505 |
| -## 0.2.5 (2022-04-20) |
| 505 | +## 0.2.5 (2022-04-20) |
506 | 506 |
|
507 | 507 | ### Changed
|
508 | 508 |
|
@@ -537,8 +537,6 @@ console.log(request); // outputs `Request: {method: POST, url: https://www.fastl
|
537 | 537 | - Avoid waiting for async tasks that weren't passed to `FetchEvent#waitUntil`
|
538 | 538 | - Significantly improve spec-compliance of Request and Response builtins
|
539 | 539 |
|
540 |
| -### Changed |
541 |
| - |
542 | 540 | ## 0.2.1 (2021-11-10)
|
543 | 541 |
|
544 | 542 | ### Added
|
@@ -566,6 +564,8 @@ console.log(request); // outputs `Request: {method: POST, url: https://www.fastl
|
566 | 564 |
|
567 | 565 | ## 0.1.0 (2021-07-28)
|
568 | 566 |
|
| 567 | +### Added |
| 568 | + |
569 | 569 | - Initial Release
|
570 | 570 | - Includes TypeScript type definitions for Compute@Edge flavored ServiceWorkers APIs
|
571 | 571 | - Also includes the `js-compute-runtime` CLI for bundling JavaScript applications
|
0 commit comments