Skip to content

Releases: maplibre/maplibre-gl-js

v5.0.0-pre.1

30 Sep 07:42
4d8a0f8
Compare
Choose a tag to compare
v5.0.0-pre.1 Pre-release
Pre-release
Bump version to 5.0.0-pre.1 (#4772)

* Bump version to 5.0.0-pre.1

* Update CHANGELOG.md

---------

Co-authored-by: HarelM <3269297+HarelM@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>

v4.7.1

23 Sep 09:03
87486a5
Compare
Choose a tag to compare

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

🐞 Bug fixes

  • Fix circle won't render on mesa 24.1 with AMD GPU (#4062)
  • Fix hash router for urls ending with a hashtag (#4730)
  • Replace rollup-plugin-sourcemaps with rollup-plugin-sourcemaps2 (#4740)

v4.7.0

06 Sep 16:05
5c9227d
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Support multiple layers in map.on, map.once and map.off methods (#4570)
  • Ensure GeoJSON cluster sources emit a console warning if maxzoom is less than or equal to clusterMaxZoom since in this case you may see unexpected results. (#4604)

🐞 Bug fixes

  • Heatmap Fix for 3D terrain (#4571)
  • Fix Map#off to not remove listener with layer(s) registered with Map#once (#4592)
  • Improve types a bit for addSource and getSource (#4616)
  • Fix the color near the horizon when terrain is enabled without any sky (#4607)
  • Fix bug where fitBounds and cameraForBounds would not display across the 180th meridian (antimeridian)
  • Fix white flickering on map resize (#4158)
  • Fixed a performance regression related to symbol placement (#4599)
  • Fix a bug where cloning a Transform instance didn't include the lngRange. This caused a bug where
    using transformCameraUpdate caused the maxBounds to stop working just for east/west bounds. (#4625)

v4.6.0

22 Aug 11:47
b70ac2c
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.2:

✨ Features and improvements

  • Prefer local glyph rendering for all CJKV characters, not just those in the CJK Unified Ideographs, Hiragana, Katakana, and Hangul Syllables blocks. (#4560))

🐞 Bug fixes

  • Fix right-to-left layout of labels that contain characters in the Arabic Extended-B code block. (#4536)
  • Fix 3D map freezing when camera is adjusted against map bounds. (#4537)
  • Fix getStyle() to return a clone so the object cannot be internally changed (#4488)
  • Fix issues with setting sky to undefined (#4587))

v4.5.2

11 Aug 11:07
c207ccb
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.1:

✨ Features and improvements

  • Emit events when the cooperative gestures option has prevented a gesture. (#4470)
  • Enable anisotropic filtering only when the pitch is greater than 20 degrees to preserve image sharpness on flat or slightly tilted maps.

🐞 Bug fixes

  • Fix camera being able to move into 3D terrain (#1542)

v4.5.1

01 Aug 20:12
d9e75d2
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Allow trackpad pinch gestures to break through the cooperativeGestures setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)
  • Expose projection matrix parameters (#3136)
  • Add option to position markers at subpixel coordinates to prevent markers jumping on moveend (#4458)

🐞 Bug fixes

  • Fix lag on fast map zoom (#4366)
  • Fix unguarded read access to possibly undefined object (#4431)
  • Fix remove hash string when map is removed (#4427)
  • Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#4454)
  • Fix style.loadURL abort error being logged when removing style (#4425)
  • Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#4451)

v4.5.0

27 Jun 07:41
eb2d150
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.1:

✨ Features and improvements

  • Add sky implementation according to spec (#3645)

🐞 Bug fixes

  • Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#4024)

v4.4.1

17 Jun 16:19
863541f
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.0:

🐞 Bug fixes

  • Fix terrain listener memory leak when adding and removing Marker (#4284)

v4.4.0

14 Jun 15:24
9b139a8
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.2:

✨ Features and improvements

  • Improve animation curve when easeTo and flyTo with constraints (#3793)
  • For filled extrusions, calculate the elevation per polygon (#3313)
  • Add events to GeolocateControl to allow a more granular interaction (#3847)
  • Make MapOptions.style optional to be consistent with Map.setStyle(null) (#4151)
  • Use Autoprefixer to handle vendor prefixes in CSS (#4165)
  • Make aria-label configurable for Map, Marker and Popup (#4147)
  • Map <canvas> is focusable only when interactive (#4147)
  • "Accept" headers set in Request Transformers are not overwritten (#4210)
  • ⚠️ Rename projMatrix to modelViewProjectionMatrix. Also rename invProjMatrix, alignedProjMatrix accordingly (#4215)
  • Publish an unminified prod build (#4265)

🐞 Bug fixes

  • ⚠️ Allow breaking lines in labels before a left parenthesis (#4138)
  • ⚠️ Fix ignoring embedded line breaks when symbol-placement is line or line-center (#4124)
  • Ensure loseContext exists before calling it (#4245)
  • Update deprecated -ms-high-contrast vendor prefix to (forced-colors: active) and (prefers-color-scheme: light) as appropriate (#4250)

v4.3.2

19 May 09:36
0a04d2a
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.1:

🐞 Bug fixes

  • Fix an issue with moveend zoom being different than the actual current zoom (#4132)