From 3320353da653fb32f40fb9ba94f3ce99925b685d Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Wed, 31 Jan 2024 23:09:16 +0800 Subject: [PATCH] JS 3.0.0-alpha.2 (#342) --- js/CHANGELOG.md | 7 +++++-- js/examples/leaflet.html | 2 +- js/examples/maplibre.html | 2 +- js/examples/maplibre_raster_dem.html | 2 +- js/package-lock.json | 4 ++-- js/package.json | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/js/CHANGELOG.md b/js/CHANGELOG.md index 81e1c05..19f63ac 100644 --- a/js/CHANGELOG.md +++ b/js/CHANGELOG.md @@ -1,8 +1,11 @@ -3.0.1-alpha.1 +3.0.1-alpha.2 * FileApiSource renamed to FileSource -* package.json defaults to ES6 module, fixing issues related to named imports [#317, #248] +* package.json defines **ES6 module only** (no CommonJS), fixing issues related to named imports [#317, #248] * support MapLibre GL v4.x +* `Source` API changed to take ETag, making conditional `If-Match` requests possible [#90] +* FetchSource includes cachebuster logic for browser cache only on ETag change +* Ignore weak ETags, greatly simplify ETag logic * Internal code has consistent naming and style conventions, change to biome linter [#287] 2.11.0 diff --git a/js/examples/leaflet.html b/js/examples/leaflet.html index cb3719d..b00f3f4 100644 --- a/js/examples/leaflet.html +++ b/js/examples/leaflet.html @@ -4,7 +4,7 @@ - +