Skip to content

Releases: maplibre/maplibre-gl-js

v5.10.0

26 Oct 08:15
Immutable release. Only release title and notes can be modified.
93634b0

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.9.0:

✨ Features and improvements

  • Add time control API (setNow, restoreNow, isTimeFrozen) for deterministic rendering, enabling frame-by-frame video export and deterministic testing (6544)
  • Use styles isHidden logic in the worker by adding a new optional roundMinZoom parameter (#6547)
  • 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)
  • Use timeControl.now() instead of browser.now() (6573)

🐞 Bug fixes

  • Contextmenu events not blocked by scrolling (#5683
  • Mousemove events are not blocked by scrolling (#6302)
  • Dashed lines have blurry rounded caps (#6554)
  • Preserve flyTo padding when prefers-reduced-motion is enabled (#6576)
  • Fix setClusterOptions not triggering recluster when no data changes are pending (#6603)

v5.9.0

09 Oct 11:49
Immutable release. Only release title and notes can be modified.
14f56b0

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.8.0:

✨ Features and improvements

  • Improve fading - dynamic bi-directional raster cross-fading and self fading (#6469)
  • Support for usage of line-gradient together with line-dasharray (#6487)

🐞 Bug fixes

  • Added button role to marker div to fix accessibility issues with the aria-label (#6435)
  • Fix a crash on iOS when there are too many symbols to render (#6526)

v5.8.0

30 Sep 13:02
Immutable release. Only release title and notes can be modified.
f71040d

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.3:

✨ Features and improvements

  • Enable documentation admonitions in Material for MkDocs. (#6455)
  • Switch MapEventType from type to interface to allow declaration merging (#6436)
  • Implement data-driven styling support for line-dasharray (#5812)

🐞 Bug fixes

  • Fix raster flickering when using terrain 3D and optimize terrain logic.
  • Fix issue where parent tiles are retained when deeper descendant tiles already cover the missing ideal tile. (#6442)
  • Fix an issue when GeolocateControl fires outofmaxbounds event with trackUserLocation disabled (#6464)
  • Fix an issue with globe+terrain "zooming" in when dragging towards the poles (#6470)
  • Fix integer overflow in symbol placement (#6476)

v5.7.3

19 Sep 12:41
8895e41

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.2:

✨ Features and improvements

🐞 Bug fixes

  • Fix case where retain loaded children does not retain uppermost loaded children (#6399)
  • Fix an issue with spread operator that caused issues in Angular and esbuild (#6438)

v5.7.2

17 Sep 09:24
ad231b1

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.1:

🐞 Bug fixes

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

v5.7.1

05 Sep 06:49
11ef4f7

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.0:

🐞 Bug fixes

  • Fix accuracy circle on locate user control (#5432)
  • Fix evaluating global-state in paint ...-pattern properties (6301)
  • Fix pan moving in the wrong direction when map is pitched (#6111)
  • Fix evaluation of text-color when using format within step (#5833)
  • Fix regression in mergeSourceDiffs: handle add/remove/removeAll (#6342)
  • Fix evaluating global-state in layout properties icon-size and text-size (#6308)

v5.7.0

25 Aug 07:47
6d02b8f

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.2:

✨ Features and improvements

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

🐞 Bug fixes

  • Prevent original input style JSON from being mutated by Style.set* methods (#6216)
  • Fix evaluating global-state in paint properties with other subexpressions (#6048)
  • Fix enabling terrain while transitioning (#6011)

v5.6.2

06 Aug 13:52
7887f2c

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.1:

🐞 Bug fixes

  • Fix white artifacts when using non-zero elevation (#6032)
  • Fix geolocate control lock loss on window resize and zoom (#3504)
  • Fix a memory leak in GeoJSONSource when rapidly updating data (#6163)
  • Fix Map.setTransformRequest parameter type to include null (#6179)
  • Fix typo _rotatePitchHandler in the navigation_control.ts file (#6207)

v5.6.1

02 Jul 07:52
1a8ef7f

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.0:

🐞 Bug fixes

  • Fix use of textureSize call in color relief shader (#5980)
  • Fix Y axis transformation in projectFromLabelPlaneToClipSpace (#6021)
  • Alpha-sort all examples (#6049)
  • Ensure opacity is reset for popups when locationOccludedOpacity no longer applicable (#6088)

v5.6.0

03 Jun 21:16
b3e282b

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.5.0:

✨ Features and improvements

  • Add setGlobalStateProperty() and getGlobalState() to the map public API (#5613)
  • Improve tile frustum culling for globe, leading to better performance and faster loading times. (#5865)
  • Add new color-relief layer type to render hypsometric tint from terrain-RGB tiles. (#5742)

🐞 Bug fixes

  • Fix queryRenderedFeatures bounding box crossing antimeridian in globe view. (#5856)
  • Fix handling invalid glyph placement results along lines (#5118)
  • Fix refreshTiles() for vector tiles (#5875)
  • Revert changes to polygon intersection detection (#5590 caused issue 5864)
  • Fix breaking clusters when non-integer value provided for clusterMaxZoom (warning is shown) (#5929) + clarify API docs