Skip to content

Releases: mapbox/mapbox-gl-js

v2.4.0-beta.1

15 Jul 23:50
1781ef4
Compare
Choose a tag to compare
v2.4.0-beta.1 Pre-release
Pre-release
Changelog and package.json bumps for  v2.4.0 (#10860)

style-spec@13.21.0-beta.1

15 Jul 23:50
1781ef4
Compare
Choose a tag to compare
Pre-release
Changelog and package.json bumps for  v2.4.0 (#10860)

v2.3.1

21 Jun 20:44
c377a90
Compare
Choose a tag to compare

🐞 Bug fixes

  • Fix fog flickering when the map option optimizeForTerrain is set to false (#10763)
  • Fix collision boxes which were not correctly updated for symbols with text-variable-anchor (#10709)

style-spec@13.20.1

21 Jun 20:46
c377a90
Compare
Choose a tag to compare

🐞 Bug fixes

  • Increase strictness of the style API validation for source types (#10779)
  • Remove strictly-increasing requirement for fog range validation (#10772)

style-spec@13.20.0

02 Jun 16:39
abe8157
Compare
Choose a tag to compare

✨ Features and improvements

  • Add configurable fog as a root style specification (#10564)
  • Add support for data-driven expressions in line-dasharray and line-cap properties. (#10591)
  • Add support for data-driven text-line-height (#10612)

v2.3.0

27 May 17:36
51363c5
Compare
Choose a tag to compare

✨ Features and improvements

  • Add configurable fog as a root style specification (#10564)
  • Add support for data-driven expressions in line-dasharray and line-cap properties. (#10591)
  • Add support for data-driven text-line-height (#10612)
  • Add client-side elevation querying with map.queryTerrainElevation(lngLat) when terrain is active (#10602)
  • Reduce GPU memory footprint when terrain is active by sharing a single depth stencil renderbuffer for all draping (#10611)
  • Optimize tile cover by preventing unnecessary tile loads when terrain is active (#10467)
  • Batch render DOM elements to avoid reflow (#10530, #10567) (h/t zarov)

🐞 Bug fixes

  • Fix style property transitions not invalidating the terrain render cache (#10485)
  • Fix raster tile expiry data not being retained. (#10494) (h/t andycalder)
  • Fix undefined type error when removing line-gradient paint property (#10557)
  • Fix unclustered points in a clustered GeoJSON source incorrectly snapping to a grid at high zoom levels. (#10523)
  • Fix map.loadImage followed with a delay by map.addImage failing in Safari and Firefox. (#10524)
  • Allow conditional display of formatted images in text (#10553)
  • Fix fill-extrusion elevation underflow below sea level (#10570)
  • Fix dashed lines with square line caps. (#9561)
  • Fix markers sometimes throwing an error after being removed from a 3D map. (#10478) (h/t andycalder)
  • Set type=button on attribution button to prevent accidental form submit when map is nested in <form> (#10531)
  • Fix nine documentation typos (#10546, #10548 #10551 #10646) (h/t coliff)

v2.3.0-beta.1

10 May 20:44
0fce63d
Compare
Choose a tag to compare
v2.3.0-beta.1 Pre-release
Pre-release
Release 2.3.0-beta.1 (#10662)

* Specify 2.3.0-beta.1 version numbers

Add changelog entry for 2.3.0

Fix changelog version number

Clarify changelog entry

Add 2.3.0-beta.1 changelog entry for style spec

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Reorder changelog

* Reorder changelog

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Copy edit changelog

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

style-spec@13.20.0-beta.1

10 May 20:39
0fce63d
Compare
Choose a tag to compare
Pre-release
Release 2.3.0-beta.1 (#10662)

* Specify 2.3.0-beta.1 version numbers

Add changelog entry for 2.3.0

Fix changelog version number

Clarify changelog entry

Add 2.3.0-beta.1 changelog entry for style spec

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Reorder changelog

* Reorder changelog

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

* Copy edit changelog

Co-authored-by: Karim Naaji <karim.naaji@gmail.com>

v2.2.0

25 Mar 23:32
ef5f932
Compare
Choose a tag to compare

Features and improvements

  • Add testMode Map option that silences errors and warnings generated due to an invalid accessToken. It may be useful when using the library to write unit tests. (#10445)
  • Improve geojsonSource.setData(...) performance in Safari (#10417)
  • Add map.getTerrain() method (#10413)
  • Add showTerrainWireframe map debug option for displaying terrain wireframe (#10406)
  • Document the default limit and offset of geojsonSource.getClusterLeaves(...) (#10403) (h/t henk23)
  • (Development) Update dev environment to native ES modules to support Node 14+ (#10367)

Bug fixes

  • Fix map.getBounds() to return the inset bounds when map padding is set (#10386)
  • Support flat roofs for fill-extrusions when using custom data sources with terrain (#10347)
  • Fix flickering accuracy circle in GeolocateControl. (#10334) (h/t anderswi)
  • Show Mapbox logo if no style is provided for the map (#10361)
  • Switch to using alphabetic baseline for locally-rendered glyphs to avoid misalignment on fonts with large ascenders/descenders. (#10390)
  • Fix incorrect diffing of styles when using raster DEM tile sources (#10418)
  • Fix queryRenderedFeatures(...) for fill-extrusions partly behind the camera (#10428)
  • Fix artifacts caused by negative terrain elevation (#10432)
  • Reset WebGL culling state before drawing custom layers (#10412)
  • Fix DOM event coordinates for scaled containers (#10096) (h/t kawsndriy)
  • Fix collectResourceTiming errors (#10321)

v2.2.0-beta.1

15 Mar 22:17
f2e1c5e
Compare
Choose a tag to compare
v2.2.0-beta.1 Pre-release
Pre-release
fix release version check (#10471)

We cannot rely on the variable being named what it was named.