All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
4.0.0 (2025-01-27)
- rename CACHE option to CACHE_ENABLE
- rename CACHE option to CACHE_ENABLE (83db5aa)
3.0.5 (2025-01-23)
- remove
connection
header (91e3f94)
3.0.4 (2025-01-23)
- normalize accept-encoding header (a98a18d)
3.0.3 (2025-01-22)
- upgrade to @esroyo/[email protected] (8bc6302)
3.0.2 (2025-01-21)
3.0.1 (2025-01-21)
- health endpoint should work with BASE_PATH (6a0262f)
3.0.0 (2025-01-21)
- replace custom cache with Cache API persistence
- replace custom cache with Cache API persistence (69bb0e1)
2.0.4 (2024-11-21)
2.0.3 (2024-11-21)
2.0.2 (2024-11-21)
- handle impossible routes (shorter than BASE_PATH) (de17d82)
2.0.1 (2024-11-05)
- introduce a new line after rollup output to protect sourcemap URL (21870ff)
2.0.0 (2024-10-22)
- remove SOURCEMAP_MAX_RETRY config
- remove SOURCEMAP_MAX_RETRY config (e96995c)
1.25.1 (2024-10-20)
- add tracing to workers acquire (1822e0f)
- fix lineending (1ac908d)
1.25.0 (2024-10-20)
- add max and min workers support (34e87ba)
1.24.2 (2024-10-18)
1.24.1 (2024-10-18)
- default to pesimistic build es2015 (f722243)
1.24.0 (2024-10-17)
- split global instrumentation into a module (df3ea30)
1.23.3 (2024-10-17)
1.23.2 (2024-10-16)
1.23.1 (2024-10-15)
- simplify fastpath handling (7c4365c)
1.23.0 (2024-10-14)
- add config for cache max min cache conn (c1a4d3e)
1.22.1 (2024-10-11)
1.22.0 (2024-10-11)
- add cache pool (a7977a9)
1.21.3 (2024-06-27)
- make some retries to fetch the sourcemap (1f6f4bb)
1.21.2 (2024-06-27)
1.21.1 (2024-06-27)
1.21.0 (2024-06-27)
- add suport for sourcemaps as URL (if CACHE enabled) (4f2e2dd)
1.20.0 (2024-06-26)
- remove rollup-plugin-virtual dep (c6ebd08)
1.19.1 (2024-05-23)
- do not expose uneeded precison on server-timing (8d92b89)
1.19.0 (2024-05-22)
- allow usage of
?raw
param (65aac31)
1.18.10 (2024-05-09)
1.18.9 (2024-05-09)
- only convert monotonic to wall upon export (1ab8077)
1.18.8 (2024-05-09)
- use monotonic clock for span times (39ada10)
1.18.7 (2024-05-09)
- complete patch of TracerProvider (1715d53)
1.18.6 (2024-05-09)
- remove explicit usage passing of start/end time for spans (c3d0d90)
1.18.5 (2024-05-09)
- test using hr dates (15dffcc)
1.18.4 (2024-05-09)
1.18.3 (2024-05-09)
1.18.2 (2024-05-09)
- migrate instrumentation to opentelemetry (96833e5)
1.18.1 (2024-04-26)
- add cache-control header on redirects when missing from upstream (c7b13f4)
1.18.0 (2024-04-26)
- upgrade to [email protected] (4c51400)
1.17.2 (2024-04-26)
1.17.1 (2024-04-26)
- use CACHE_REDIRECT value as the expire time fallback (ca50324)
1.17.0 (2024-04-25)
- new options for finegrained control of caching (b82b341)
1.16.3 (2024-04-10)
- cover all fast-path cases and Worker (df52d5c)
- cover basic get/set from cache (36e22cb)
- cover fast-path basic case (c6b3841)
1.16.2 (2024-03-03)
- replace UPSTREAM origin in non-js body responses (cafbed6)
1.16.1 (2024-03-02)
1.16.0 (2024-02-29)
- take advantage of redis EX (5395db1)
1.15.3 (2024-02-28)
- include upstream 403 responses in the cache (54b0e87)
1.15.2 (2024-02-27)
- 404 should be cached (4bc28d7)
1.15.1 (2024-02-27)
- handle redis connection failure (4b47e0c)
1.15.0 (2024-02-27)
- add option to disable Worker
WORKER_ENABLE
(9f6b565) - add redis cache via option CACHE_REDIS_HOSTNAME (624ea09)
1.14.8 (2024-02-27)
- ensure clearing of performance is done after response is created (2346ab3)
1.14.7 (2024-02-27)
- clear performance entries once serverTiming is build (0c912bf)
- ensure clearing of performance is done at the end (fe4540f)
1.14.6 (2024-02-23)
1.14.5 (2024-02-23)
1.14.4 (2024-02-22)
- correct the calc of the public final url manually (8859d12)
1.14.3 (2024-02-22)
1.14.2 (2024-02-22)
- cache key should use final canonized url (e4e787d)
1.14.1 (2024-02-22)
- remove x-forwarded-for header (e356e4a)
1.14.0 (2024-02-22)
- CACHE_CLIENT_REDIRECT will enable a fast-path response (1cbc475)
- remove upstream Date header (cd93961)
1.13.0 (2024-02-19)
- add CACHE_CLIENT_REDIRECT option (default 600) (dfbbf3e)
1.12.0 (2024-02-14)
- perform caching based on upstream max-age (rename env var to CACHE) (e95ffde)
- use server-timing API to report duration (611798b)
- only output cache hit/miss if CACHE is enabled (4c9d25a)
1.11.1 (2024-02-03)
- typo on toSystemjs ref (4368246)
1.11.0 (2024-02-03)
- enable usage of rollup@4 (93cb4ea)
1.10.2 (2024-02-02)
- cache is partitioned by target/user-agent (9baa3ad)
1.10.1 (2024-02-01)
- make sure BASE_PATH is honored on URL without origin (absolute paths) on dyn imports (3e3093a)
1.10.0 (2024-01-31)
- enable/disable cache with env var CACHE_MAXAGE (7336a4d)
1.9.3 (2024-01-31)
- add header "access-control-allow-origin" is not exists (4d49deb)
1.9.2 (2024-01-31)
- make sure BASE_PATH is honored on URL without origin (absolute paths) (8c67c6f)
1.9.1 (2024-01-31)
1.9.0 (2024-01-31)
- do code transpilation on worker if possible (380000f)
1.8.1 (2024-01-31)
- handle kv set errors (14ab7ca)
1.8.0 (2024-01-31)
- implement a simple cache using Kv (eb4b2e5)
1.7.3 (2024-01-30)
- prevent some headers propagation (53f49f6)
1.7.2 (2023-11-24)
1.7.1 (2023-11-21)
- ensure custom
X-
headers are not passed to ESM upstream (da75efd)
1.7.0 (2023-11-21)
- add more debug on final stage (b480c7d)
1.6.1 (2023-11-21)
- handles different hosts on actual request and X-Real-Origin (3dfc18b)
1.6.0 (2023-11-20)
- allow to return debug info using
X-Debug
header (972ac79)
1.5.0 (2023-11-16)
- add response
X-Debug-Performance
info (00586fe)
1.4.0 (2023-11-16)
- add repsonse
X-Real-Origin
debug header (3db9860)
1.3.1 (2023-11-16)
- use X-Real-Origin after homepage redirect discard (15d26e6)
1.3.0 (2023-11-15)
- enable option to detect redirections (curl, node, none) (cae206b)
1.2.0 (2023-11-14)
- request may use
X-Real-Origin
header as origin (0940f91)