mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 0.39.0 to 3.34.2
133 releases in betweennotes for 131
- 54+
- changes to make
- 0
- advisories fixed
- 634+
- new
- 830+
- fixes
Counted from 131 of 133 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- breaking3.33.0
- breaking3.33.0
- breaking3.31.0
- breaking3.30.0
- breaking3.29.0
- breaking3.28.0
- breaking3.28.0
- breaking3.26.0
- breaking3.25.0
- breaking3.21.0
Security
- 3.25.0
Fix minor vulnerabilities related to Object prototype pollution from an untrusted style or tiles.
- 3.19.0
Fix prototype pollution via Style JSON.
- 1.13.3
Upgrade minimist to ^1.2.7 to avoid CVE-2021-44906 (#12442) (h/t @Spasfonx)
- 1.10.0
Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)
Release by release
3.34.2no release note
- new
Improve performance on map views with CJK glyphs by moving CJK rasterization offscreen.
- new
Improve tile load performance via optimization of style property values recalculation.
- new
Improve rendering performance via per-frame main thread work optimizations.
- new
Add support of *-ignore-placement and *-allow-overlap in global placement.
- new
- breaking
Right-to-left text (such as Arabic and Hebrew) is now supported out of the box, loading a small WebAssembly module the first time it appears on the map.
setRTLTextPlugin,getRTLTextPluginStatusand thePluginStatustype are removed. - breaking
The base size of icons in the
text-fieldproperty is now calculated at the tile zoom level with the largest text size. As a result, the icons can be smaller when the text size depends on the zoom level. - new
Improve memory use & map load time, especially for 3D layers.
- new
Improve line rendering performance by using a uniform instead of a shader permutation for
line-dasharray.
- breaking
- new
Slightly improve map load time via more aggressive chunk preloading.
- new
Improve style parsing performance.
- new
Preload Meshopt decoder earlier to improve 3D styles load time.
- new
Improve map load time by requesting the icon set earlier and lazy parsing icons on-demand.
- new
- breaking
Remove the experimental flag from
raster-allow-draping. - new
Significantly improve GeoJSON memory footprint.
- new
Reduce landmark model memory usage.
- new
Add support for emissive MRT in custom layers.
- fixed
Fix
removeSourcethrowing under globe projection. (h/t @mhayk)
- breaking
- breaking
Make pitch and rotation states independent. Previously, disabling rotation also disabled pitch. Now, pitch can be enabled independently of rotation.
- new
Extract the terrain from the core ESM module.
- new
Reduce shader size by removing unused code paths.
- new
Upgrade Supercluster to v9 (optimize clustering memory footprint).
- breaking
- breaking
Remove legacy undocumented
MapaddSourceTypeAPI which was superceded byCustomSourceInterfaceand experimentalTileProviderAPI. - new
Add new
raster-color-scaleproperty, which can be set to"log"to improve color ramp precision when visualizing long-tailed raster datasets. - new
Add new
raster-allow-drapingproperty that can be set tofalseto disable raster layer draping over globe/terrain. - new
Move
symbol-z-offsetproperty out of experimental.
- breaking
- fixed
Fix
iconsetsicons rendering with ESM bundle.
- fixed
14 other lines we could not sort, mostly version bumps
- 3.9.1
When using
queryRenderedFeaturesandquerySourceFeatureswithfeatureset, fixfilteroption to apply tofeaturesetselectors rather than original properties, and addfeatureNamespacevalidation. - 2.8.0
Upgrade Flow from
v0.108.0tov0.142.0and enable type-first mode, greatly improving performance of type-checking. - 2.0.0
Run render tests in browser.
- 1.12.0
Renamed the default development branch from
mastertomain. - 1.10.0
It's now possible to interact with multiple maps on the same page at the same time
- 1.10.0
A camera change can no longer be prevented by disabling the interaction handler within the camera change event. Selectively prevent camera changes by listening to the
mousedownortouchstartmap event and calling .preventDefault() - 1.10.0
Undocumented properties on the camera change events fired by the
doubleClickZoomhandler have been removed - 0.51.0
Disallow expressions as stop values
- 0.51.0
Disallow
feature-stateexpressions in filters - 0.46.0
Upgrade ESM dependency to ^3.0.39
6 internal lines (docs, tests, tooling) left out.