mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 1.2.0 to 1.13.3
25 releases in betweenevery note read
Security
- 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
- security
Upgrade minimist to ^1.2.7 to avoid CVE-2021-44906 (#12442) (h/t @Spasfonx)
- fixed
Fix incorrect billing when
customAccessTokenis provided along with non-Mapbox tiles - fixed
Prevent video sources from entering fullscreen on iOS Safari
- security
- fixed
Backport a fix for an iOS 15 issue where the iOS Safari tab bar interrupts touch interactions.
- fixed
- new
Improve accessibility by fixing issues reported by WCAG 2.1. #9991
- new
Improve accessibility when opening a popup by immediately focusing on the content. #9774 (h/t @watofundefined)
- new
Improve rendering performance of symbols with
symbol-sort-key. #9751 (h/t @osvodef) - new
Add
MarkerclickToleranceoption. #9640 (h/t @ChristopherChudzicki)
- new
- new
Add methods for changing a vector tile source dynamically (e.g.
setTiles,setUrl). #8048 (h/t @stepankuzmin) - new
Add a
filteroption for GeoJSON sources to filter out features prior to processing (e.g. before clustering). #9864 - new
Vastly increase precision of
line-gradientfor long lines. #9694 - new
Improve
raster-demsources to properly support themaxzoomoption and overzooming. #9789 (h/t @brendan-ward) - fixed
Fix a bug where bearing snap interfered with
easeToandflyToanimations, freezing the map. #9884 (h/t @andycalder) - fixed
Fix a bug where a fallback image was not used if it was added via
addImage. #9911 (h/t @francois2metz) - fixed
Fix a bug where
promoteIdoption failed for fill extrusions with defined feature ids. #9863
- new
- fixed
Fix a bug that caused
map.loaded()to incorrectly returnfalseafter a click event.
- fixed
- new
Add an option to scale the default
Markericon.(#9414) (h/t adrianababakanian) - new
Improving the shader compilation speed by manually getting the run-time attributes and uniforms.
- new
Added
clusterMinPointsoption for clustered GeoJSON sources that defines the minimum number of points to form a cluster. - fixed
Fix a bug where map got stuck in a DragRotate interaction if it's mouseup occurred outside of the browser window or iframe.
- new
- fixed
Fix zooming with a double tap in iOS Safari 13
- fixed
4 other lines we could not sort, mostly version bumps
- 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