Skip to content

fix(deps): update dependency maplibre-gl to v5 (21.x)#2730

Open
sbb-angular-renovate[bot] wants to merge 1 commit into21.xfrom
renovate/21.x-maplibre-gl-5.x
Open

fix(deps): update dependency maplibre-gl to v5 (21.x)#2730
sbb-angular-renovate[bot] wants to merge 1 commit into21.xfrom
renovate/21.x-maplibre-gl-5.x

Conversation

@sbb-angular-renovate
Copy link
Copy Markdown
Contributor

@sbb-angular-renovate sbb-angular-renovate bot commented Dec 15, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
maplibre-gl (source) 4.7.15.23.0 age confidence

Release Notes

maplibre/maplibre-gl-js (maplibre-gl)

v5.23.0

Compare Source

✨ Features and improvements
  • Add touchZoomRotate.setZoomRate() and touchZoomRotate.setZoomThreshold() to customize touch zoom speed and pinch sensitivity (#​7271)
  • Improve ability to communicate with imported scripts in workers and use makeRequest in workres as well (#​7451) (by @​HarelM)
  • Allow opacity and opacityWhenCovered in Marker and MarkerOptions to accept number in addition to string, and add maplibregl-marker-covered CSS class to Marker element when covered by 3D terrain or a globe (#​7433) (by @​YuChunTsao)
  • perf: add a bench for terrain rendering and fix _demMatrixCache lookup being wasted cycles by actually using the cache (#​7400) (by @​CommanderStorm)
🐞 Bug fixes
  • Fix polygon text label placement drifting far from center for convex polygons at high zoom due to coordinate rounding in geojson-vt (#​7380) (by @​CommanderStorm)
  • Ensure that a successful ArrayBuffer response from a custom protocol that is null/undefined is set to an empty ArrayBuffer (#​7427) (by @​neodescis)
  • Fix error in _contextRestored when map was initialized without a style (#​7432) (by @​mvanhorn)
  • Fix issue with the cache used for zoomLevelsToOverscale feature (#​7450) (by @​HarelM)
  • Update stylelint and fix old issues with the CSS (mainly change rgb to use spaces) (#​7365) (by @​HarelM)

v5.22.0

Compare Source

✨ Features and improvements
  • Make line-cap, line-miter-limit, and line-round-limit data-driven properties, allowing per-feature values (#​7351) (by @​CommanderStorm)
  • GPU performance optimization: early culling of transparent symbols in vertex shaders (#​7364) (by @​xavierjs)
  • Add example showing how to measure map performance using built-in events (load, idle, render) (#​7077) (by @​CommanderStorm)
  • UX: Clarify error message language so if layout and paint properties are confused in setPaintProperty or setLayoutProperty (#​6954) (by @​Willjfield and @​CommanderStorm)
🐞 Bug fixes
  • Fix startup crash caused by a stale async style load completing after the style was cleared or replaced (#​7377)
  • Make fitBounds and fitScreenCoordinates respect the zoomSnap map option by snapping the zoom level down to keep bounds fully visible (#​7332 (by @​CommanderStorm)
  • Make jumpTo, easeTo, and flyTo respect the zoomSnap map option by snapping the zoom level to the nearest valid increment (#​7333 (by @​CommanderStorm)
  • Fix setState crash when switching styles while globe projection is active (#​7314) (by @​ashwinuae)
  • Prevent crashes when calling map.remove() immediately after creation by canceling in-flight style URL loads (#​7368) (by @​CommanderStorm)
  • Fixed symbol collision flickering by adding tolerance to GridIndex AABB comparison (#​7360) (by @​kkokkoejong)
  • Fix fitBounds ignoring maxZoom option in vertical-perspective projection (#​7372) (by @​CommanderStorm)
  • Prevent stale async style loads from completing after style clear (#​7378) (by @​Lievesley)
  • Fix broken example for fill-pattern (#​7326) (by @​k-yle)

v5.21.1

Compare Source

🐞 Bug fixes
  • Add missing promoteId parameter to geojson worker and refactor communication object (#​7320) (by @​HarelM)

v5.21.0

Compare Source

✨ Features and improvements
  • Add compatibility for ES2020 (#​7283) (by @​claudiobgit)
  • Add referrerPolicy option to RequestParameters to 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/webp header for image requests (#​7293) (by @​johanrd)
  • Remove legacy browser compatibility code targeting IE11 and pre-2016 browsers (#​7294) (by @​johanrd)
  • Remove legacy DOM.remove() and DOM.mouseButton() wrappers; use native APIs directly (baseline 2015) (#​7295) (by @​johanrd)
  • Make setTransformRequest accept 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 playing event 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 GeolocateControl leaking a movestart listener 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 click listener not removed on remove(), 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 @​dannote and @​ted-piotrowski)
  • Fix 3D Tiles example (#​7275) (by @​hh-hang)

v5.20.2

Compare Source

🐞 Bug fixes
  • Fix update GeoJSON when using diff update by updating geojson-vt package (#​7257) (by @​HarelM)

v5.20.1

Compare Source

🐞 Bug fixes
  • Fix cannot read properties of undefined (reading 'range') by updating geojson-vt package (#​7245) (by @​HarelM)
  • Fix a bug where raster-resampling: nearest was not applied as expected (#​7247) (by @​yano-h)

v5.20.0

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Fix: Distance to tile is calculated incorrectly in globe projection for high pitch angles (#​7219) (by @​jtfedd)
  • Fix: Tiles are not cleared when using vector tile source setUrl/setTiles (#​7185) (by @​madoci)
  • Fix: Allow opaque origins ("null") in Actor message filtering (#​7047) (by @​pcardinal)

v5.19.0

Compare Source

✨ Features and improvements
  • Change the return type of LngLatBounds.toArray() to use a more precise type (#​7156) (by @​n4n5)
  • Add anisotropicFilterPitch map option to set the pitch above which the anisotropic filter is applied to all raster layers, the default of which is 20° (#​7134) (by @​larsmaxfield)
  • Add source id to error message (#​7107) (by @​HarelM)
🐞 Bug fixes

v5.18.0

Compare Source

✨ Features and improvements
🐞 Bug fixes

v5.17.0

Compare Source

✨ Features and improvements
  • Refactor _updateWorkerData (#​6983) (by @​wayofthefuture)
  • ⚠️ Add zoomSnap option to Map to allow snapping zoom levels to a grid when zooming in and out; aligns the behavior across all UI patterns (keyboard, scroll wheel, on-screen zoom buttons, double-click, double-tap). Previously, pressing +/- on the keyboard zoomed to rounded whole integers, more or less than 1 zoom level when starting from a fractional zoom. Now any number can be specified for zoomSnap; a value of 1.0 produces the rounded whole integer behavior across all UI patterns. (#​6941) (by @​mizmay)
  • Add support for container elements from different windows (e.g., popup or iframe) (#​6969) (by @​Syncret)
  • Migrate to @​maplibre/geojson-vt (#​6995) (by @​HarelM)
🐞 Bug fixes
  • Fix incorrect shader selection for text labels with inline images (#​6956) (by @​ciscorn)
  • Fix marker positions not updating when zoom or pitch are changed following a change in constraints (#​6925) (by @​auspicus)

v5.16.0

Compare Source

✨ Features and improvements
🐞 Bug fixes

v5.15.0

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Fix LngLatBounds#intersects returning false for bounds spanning 360° or more (#​6863) (by @​lucaswoj)
  • Fix getting the right zoom for getElevationForLngLat (#​6825) (by @​HarelM)
  • Fix stale transform state being applied after changing minZoom or maxZoom due to old copies from transformCameraUpdate taking precedence. transformCameraUpdate is now called from setMinZoom and setMaxZoom to allow user to control subsequent changes to zoom (#​6766) (by @​Auspicus)
  • Fix GeoJSON source throwing with undefined properties (#​6730) (by @​wayofthefuture)

v5.14.0

Compare Source

✨ Features and improvements
  • Prevent redundant DEM border backfilling by tracking state, moved tile manager logic to helper files (#​6756) (by @​HarelM)
  • Improve performance of GeoJSON updateData, setData, and overzoomed tiles (#​6738, #​6772) (by @​lucaswoj)
🐞 Bug fixes
  • Handle consecutive duplicate points in offsetLine to avoid null values in the output. (#​5431) (by @​mmc1718)
  • ⚠️ Gracefully handle internal AbortErrors (e.g., when a TileJSON URL is updated while a request in flight). Previously, such aborted requests would throw an AbortError in an unhandled rejection that was not easily caught in user code. Since aborted requests are fully handled internally, these unhandled rejections were superfluous and resulted in unhelpful client errors. (#​6747) (by @​andrewda)
  • Fix canvas sources with power-of-2 dimensions rendering as black squares (#​6607) (by @​Omkarthipparthi)
  • Fix queryTerrainElevation to use higher zoom level tiles when possible (#​6791) (by @​HarelM)
  • Fix unwanted movement when moving a pitched terrain map at high latitudes; fix freezes when moving a pitched and rotated terrain map at low zoom (#​6775) (by @​larsmaxfield)
  • Fix issue with static modifier as part of mlt package (#​6796) (by @​HarelM)
  • Fix GeoJSONSource tile reloading when updating data (#​6800) (by @​HarelM)
  • LngLatBounds#intersects now returns true when bounds touch along an edge or at a corner (#​6802) (by @​lucaswoj)

v5.13.0

Compare Source

✨ Features and improvements
  • Text labels can now include relatively uncommon Chinese, Japanese, Korean, and Vietnamese characters, as well as characters from historical writing systems. When using server-side fonts, the map may request glyph PBFs beyond U+FFFF from the server instead of throwing an error as before. (#​6640) (by @​1ec5)
  • GeoJSON Source Diff: improve, abstract, refactor, optimize, and fix regressions. (#​6681) (by @​wayofthefuture)
  • GeoJSONSource setData and updateData waitForCompletion option (#​6688) (by @​wayofthefuture)
  • Improve performance of GeoJSONSource#updateData (#​6668) (by @​lucaswoj)
  • GeoJSON Worker Refactor (#​6702) (by @​wayofthefuture)
🐞 Bug fixes

v5.12.0

Compare Source

✨ Features and improvements
  • Add support for MapLibre Tiles (MLT) by using encoding: 'mlt' in vector source definition (#​6570) (by @​Salkin975 and @​HarelM)
  • Slice vector tiles to improve over scale vector handling (#​6521). It adds the experimentalZoomLevelsToOverscale flag to MapOptions to allow controlling how many zoom levels to slice and how many to scale. It seems to have better performance at high zoom levels. It can prevent Safari crashes in some scenarios by setting it to 4 or less. (by @​HarelM)
  • Add reduceMotion option to Map Options (#​6661) (by @​wayofthefuture)
🐞 Bug fixes

v5.11.0

Compare Source

✨ Features and improvements
  • Improve performance of GeoJSONSource#updateData when called on small diffs (#​6562) (by @​lucaswoj)
  • If the stylesheet lacks a glyphs property at the root level, interpret the text-font property as a cascading fallback list of font names and render all text using local or system fonts. (#​4564) (by @​1ec5)
  • ⚠️ Refactor SourceCache to TileManager (#​6635) - this is not a breaking change since SourceCache is not part of the public API, but if you have a plugin that uses internal stuff, it might break... (by @​wayofthefuture)
🐞 Bug fixes
  • If a required glyph PBF is unavailable or it lacks a glyph for a character in a text-field, try to render it locally instead of crashing. (#​4564) (by @​1ec5)
  • Export now() function in timeControl API to complete the API and enable external code to read controlled time (#​6644) (by @​bjperson)
  • ScaleControl CSS styling contains white-space: nowrap to prevent wrapping (#​6647) (by @​stroebjo)
  • Fix edge fading for unloaded tiles (#​6650) (by @​wayofthefuture)

v5.10.0

Compare Source

✨ Features and improvements
  • Add time control API (setNow, restoreNow, isTimeFrozen) for deterministic rendering, enabling frame-by-frame video export and deterministic testing (#​6544) (by @​bjperson)
  • Use styles isHidden logic in the worker by adding a new optional roundMinZoom parameter (#​6547) (by @​HarelM)
  • Add transformConstrain callback to the Map options to override the transform's constrain with new type TransformConstrainFunction; refactor transform constructor options to a TransformOptions object (#​6484) (by @​larsmaxfield)
  • Use timeControl.now() instead of browser.now() (#​6573) (by @​bjperson)
🐞 Bug fixes

v5.9.0

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Added button role to marker div to fix accessibility issues with the aria-label (#​6435) (by @​cmburcus)
  • Fix a crash on iOS when there are too many symbols to render (#​6526) (by @​HarelM)

v5.8.0

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Fix raster flickering when using terrain 3D and optimize terrain logic. (#​6446) (by @​wayofthefuture)
  • Fix issue where parent tiles are retained when deeper descendant tiles already cover the missing ideal tile. (#​6442) (by @​wayofthefuture)
  • Fix an issue when GeolocateControl fires outofmaxbounds event with trackUserLocation disabled (#​6464) (by @​sorami)
  • Fix an issue with globe+terrain "zooming" in when dragging towards the poles (#​6470) (by @​birkskyum)
  • Fix integer overflow in symbol placement (#​6476) (by @​HarelM)

v5.7.3

Compare Source

🐞 Bug fixes

v5.7.2

Compare Source

🐞 Bug fixes
  • Fix _updateRetainedTiles checking for children when children length is 1 overscaled tile "child" (#​6388) (by @​NathanMOlson)
  • Fix evaluating global-state for layers added after loading style (#​6361) (by @​melitele)
  • Change the pathway for passing global-state object from Style to expression to fix a hack that was introduced in previous versions (#​6366) (by @​melitele)
  • Fix triggering load and idle events when source TileJSON fails to load (#​5430) (by @​melitele)
  • Fix mouse events on heatmap features (#​714) (by @​melitele)

v5.7.1

Compare Source

🐞 Bug fixes

v5.7.0

Compare Source

✨ Features and improvements
  • Pass document's lang to Tiny-SDF to render Simplified and Traditional Chinese characters (#​6223) (by @​mapmeld)
  • Enable global-state expressions in layout properties (#​6209) (by @​melitele)
  • Align typescript types generation with docs generation and avoid exporting non-exported types (#​6217) (by @​HarelM)
  • Add coveringTiles method to the public API of the map object (#​6292) (by @​HarelM)
🐞 Bug fixes

v5.6.2

Compare Source

🐞 Bug fixes

v5.6.1

Compare Source

🐞 Bug fixes

v5.6.0

Compare Source

✨ Features and improvements
🐞 Bug fixes

v5.5.0

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Fix scroll min zoom on globe view (#​5775) (by @​msbarry)
  • ⚠️ Fix hillshade appearance change between 256x256 and 512x512 tiles. This will change the appearance of hillshade layers using 512x512 tiles. (#​5768) (by @​NathanMOlson)
  • Fix tile expiry logic for raster and raster-dem tiles (#​5798) (by @​NathanMOlson)
  • Fix opacityWhenCovered not working to hide the marker behind the globe if terrain is enabled. (#​5838) (by @​acalcutt)
  • Fix transparent vector tiles sometimes showing geometry beyond tile borders when terrain is active (#​5746) (by @​kubapelc)

v5.4.0

Compare Source

✨ Features and improvements
🐞 Bug fixes

v5.3.1

Compare Source

🐞 Bug fixes
  • Only add aria-label on the Marker's element if it does not already has one (#​5298) (by @​liorchamla)
  • The state of glPixelStore is now properly cleaned after texture updates to avoid glTexSubImage2D calls made on the same gl context acting differently at random (#​5730) (by @​kubapelc)
  • Fixes an issue with popup close button not working (#​5754) (by @​HarelM)

v5.3.0

Compare Source

✨ Features and improvements
  • Added getBounds to GeoJSON source to allow getting the boundaries of the data in it (#​5575) (by @​HarelM)
  • Add a check for MouseEvent, to avoid errors when bot were crawling on website using Event instance instead of MouseEvent instance for types like mouseover, mouseout etc.. (#​5466). (by @​ToHold)
🐞 Bug fixes

v5.2.0

Compare Source

✨ Features and improvements
  • Allow opacity to be set when location becomes invisible in the globe projection. (#​5532) (by @​geekdenz)
🐞 Bug fixes

v5.1.1

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Fix how padding is applied when using flyTo() with Globe (#​5406) (by [@​pjamessteven](htt

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch from 51a5f0e to 5313d69 Compare December 17, 2025 07:50
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch 2 times, most recently from b67e611 to 6fdea1e Compare January 12, 2026 10:18
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch from 6fdea1e to 5c0c306 Compare January 27, 2026 15:52
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch from 5c0c306 to d46a7c8 Compare February 10, 2026 16:36
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch from d46a7c8 to 6c3c447 Compare February 23, 2026 08:28
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch 4 times, most recently from 3d552d1 to fd5c47d Compare March 17, 2026 14:05
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch 2 times, most recently from 5e14f92 to 1d352db Compare March 25, 2026 10:08
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch 2 times, most recently from c60aca4 to fc8f76d Compare April 9, 2026 01:17
@sbb-angular-renovate sbb-angular-renovate bot force-pushed the renovate/21.x-maplibre-gl-5.x branch from fc8f76d to 7c39ce0 Compare April 13, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants