Sourced from maplibre-gl's releases.
v5.21.0
✨ Features and improvements
- Add compatibility for ES2020 (#7283) (by
@claudiobgit)- Add
referrerPolicyoption toRequestParametersto allow controlling the referrer policy for tile requests (#7278) (by@Bingtagui404)- Wait for the GPU to finish its callstack for rendering benchmarks (#7285) (by
@xavierjs)- Remove Edge 18 WebP detection workaround; always send
Accept: image/webpheader for image requests (#7293) (by@johanrd)- Remove legacy browser compatibility code targeting IE11 and pre-2016 browsers (#7294) (by
@johanrd)- Remove legacy
DOM.remove()andDOM.mouseButton()wrappers; use native APIs directly (baseline 2015) (#7295) (by@johanrd)- Make
setTransformRequestaccept an async function in addition to a sync function. (#7184) (by@kikuomax)🐞 Bug fixes
- Fix incorrect popup location in case of terrain and
jumpTo(#7267) (by@HarelM)- Fix memory leak in VideoSource: remove
playingevent listener and pause video on source removal (#7279) (by@johanrd)- Fix memory leak where typed array views retained StructArray buffers after GPU upload, preventing garbage collection (#7280) (by
@johanrd)- Fix raster DEM tiles getting stuck in
"reloading"state (#7284) (by@katemihalikova)- Fix
GeolocateControlleaking amovestartlistener on the map after removal, which could also crash if the control was in active tracking state when removed (#7286) (by@johanrd)- Cap tile texture reuse pool to prevent unbounded VRAM growth during rapid zoom/pan (#7289) (by
@johanrd)- Fix Marker
clicklistener not removed onremove(), leaking the handler added in #7028 (#7287) (by@johanrd)- Fix Terrain GPU resource leak: free FBO, textures, and meshes when terrain is disabled via
setTerrain(null)(#7288) (by@johanrd)- Fix guard against partial layout in
PauseablePlacement(#7079) (by@garethbowker)- Fix missing tile encoding for MLT queryRenderedFeatures (#7056) (by
@dannoteand@ted-piotrowski)- Fix 3D Tiles example (#7275) (by
@hh-hang)
Sourced from maplibre-gl's changelog.
5.21.0
✨ Features and improvements
- Add compatibility for ES2020 (#7283) (by
@claudiobgit)- Add
referrerPolicyoption toRequestParametersto allow controlling the referrer policy for tile requests (#7278) (by@Bingtagui404)- Wait for the GPU to finish its callstack for rendering benchmarks (#7285) (by
@xavierjs)- Remove Edge 18 WebP detection workaround; always send
Accept: image/webpheader for image requests (#7293) (by@johanrd)- Remove legacy browser compatibility code targeting IE11 and pre-2016 browsers (#7294) (by
@johanrd)- Remove legacy
DOM.remove()andDOM.mouseButton()wrappers; use native APIs directly (baseline 2015) (#7295) (by@johanrd)- Make
setTransformRequestaccept an async function in addition to a sync function. (#7184) (by@kikuomax)🐞 Bug fixes
- Fix incorrect popup location in case of terrain and
jumpTo(#7267) (by@HarelM)- Fix memory leak in VideoSource: remove
playingevent listener and pause video on source removal (#7279) (by@johanrd)- Fix memory leak where typed array views retained StructArray buffers after GPU upload, preventing garbage collection (#7280) (by
@johanrd)- Fix raster DEM tiles getting stuck in
"reloading"state (#7284) (by@katemihalikova)- Fix
GeolocateControlleaking amovestartlistener on the map after removal, which could also crash if the control was in active tracking state when removed (#7286) (by@johanrd)- Cap tile texture reuse pool to prevent unbounded VRAM growth during rapid zoom/pan (#7289) (by
@johanrd)- Fix Marker
clicklistener not removed onremove(), leaking the handler added in #7028 (#7287) (by@johanrd)- Fix Terrain GPU resource leak: free FBO, textures, and meshes when terrain is disabled via
setTerrain(null)(#7288) (by@johanrd)- Fix guard against partial layout in
PauseablePlacement(#7079) (by@garethbowker)- Fix missing tile encoding for MLT queryRenderedFeatures (#7056) (by
@dannoteand@ted-piotrowski)- Fix 3D Tiles example (#7275) (by
@hh-hang)
44a48f8
Bump js version to 5.21.0 (#7304)7aae226
feat: async RequestTransformFunction (#7184)901b3af
fix: guard against unhydrated layout in PauseablePlacement (#7079)bab57d5
fix: store encoding when caching raw tile data for MLT
queryRenderedFeatures ...bf4735e
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#7302)ff37d1f
chore(deps): bump actions/download-artifact from 8.0.0 to 8.0.1 (#7261)80a8628
chore(deps-dev): bump @types/murmurhash-js from 1.0.6 to
1.0.7 (#7300)4e21c3f
chore(deps-dev): bump @typescript-eslint/parser from
8.57.0 to 8.57.1 (#7301)16bde40
chore(deps-dev): bump nise from 6.1.3 to 6.1.4 (#7297)c1c4252
chore(deps-dev): bump jsdom from 28.1.0 to 29.0.0 (#7298)