Update dependency mapbox-gl to v3.27.0 - #177
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
2 times, most recently
from
March 6, 2024 21:47
4d18587 to
c7e7435
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
April 10, 2024 12:11
c7e7435 to
ce89b48
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
April 21, 2024 11:08
ce89b48 to
ec1660b
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
May 24, 2024 10:03
ec1660b to
b187f17
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
3 times, most recently
from
June 22, 2024 22:59
f9e53e6 to
ca94aed
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
July 4, 2024 18:15
ca94aed to
e91bcf4
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
July 5, 2024 14:11
e91bcf4 to
8b5149a
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
July 18, 2024 18:05
8b5149a to
d3de03c
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
July 29, 2024 19:18
d3de03c to
701cc0f
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
August 14, 2024 17:47
701cc0f to
e3922f0
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
September 27, 2024 10:46
e3922f0 to
a6691c9
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
November 2, 2024 18:20
a6691c9 to
d771e00
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
November 12, 2024 17:17
d771e00 to
c4192e6
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
2 times, most recently
from
December 23, 2024 12:48
2ff8b55 to
5318431
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
January 7, 2025 18:13
5318431 to
3618981
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
May 8, 2025 15:39
e758c5e to
e2e4ebc
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
June 17, 2025 17:15
e2e4ebc to
4266367
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
August 7, 2025 11:34
4266367 to
a239a0e
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
September 10, 2025 18:04
a239a0e to
d515a50
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
September 25, 2025 16:28
d515a50 to
b75d2a8
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
October 23, 2025 16:38
b75d2a8 to
17b9fa3
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
December 3, 2025 21:36
17b9fa3 to
a3e60b8
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
January 14, 2026 13:33
a3e60b8 to
239be69
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
January 22, 2026 12:54
239be69 to
deeca04
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
February 12, 2026 15:13
deeca04 to
c4aeac0
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
2 times, most recently
from
February 25, 2026 14:53
a54d6e4 to
cb36e3e
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
March 4, 2026 10:51
cb36e3e to
01ecb2d
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
March 12, 2026 14:02
01ecb2d to
2385415
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
April 2, 2026 17:58
2385415 to
28c7768
Compare
renovate
Bot
force-pushed
the
renovate/mapbox-gl-3.x-lockfile
branch
from
April 17, 2026 14:38
28c7768 to
cde4ff7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.2→3.27.03.1.0→3.5.0Release Notes
mapbox/mapbox-gl-js (mapbox-gl)
v3.27.0Compare Source
Features and improvements ✨
Bug fixes 🐞
number-formatdroppingmin/max-fraction-digitswhen they were 0Style#{get,set,remove}FeatureStatewith{target: {layerId}}so imported-layer targets resolve against their own fragment's sources instead of the root style'ssetPaintPropertyon symbol properties with a transition duration of 0v3.26.0Compare Source
Breaking changes⚠️
transitionandinterpolatedflags from thecamera-projectionstyle property — enum properties cannot be transitioned, so these flags were incorrect.Features and improvements ✨
skipLibCheck: false.Bug fixes 🐞
hd-road-markupelevated lines rendering flat with zero-exaggeration terrain.viewport-ysymbol sorting causing aVertex buffer is not big enough for the draw callerror when a symbol bucket had multiple segments.v3.25.0Compare Source
Breaking changes⚠️
import * as mapboxgl from 'mapbox-gl/esm') so that modern bundlers can eliminate small unused parts of the code. Replacemapboxgl.accessTokenwithMapaccessTokenoption. Most of the bundle still can't be statically eliminated, but this release also improves lazy loading of code at runtime, with more improvements on the way.v3.24.1Compare Source
Bug fixes 🐞
line-emissive-strength.v3.24.0Compare Source
v3.23.1Compare Source
Bug fixes 🐞
fill-extrusionlayers when terrain is enabled in specific edge cases.v3.23.0Compare Source
Features and improvements ✨
TileProviderfor raster and raster-dem sources, adding support for PMTiles with raster tiles.import mapboxgl from 'mapbox-gl/esm').Bug fixes 🐞
line-dasharraynot working.scale-factorbeing applied twice to icons with feature-dependenticon-size.v3.22.0Compare Source
Bug fixes 🐞
baseApiUrlis not a Mapbox host.v3.21.0Compare Source
Features and improvements ✨
TileProviderAPI, a mechanism for extending GL JS with custom vector tile providers.TileProviderAPI and an official plugin (``mapbox-gl-pmtiles-provider.js`) that loads on demand.line-blend-modeproperty for rendering lines usingadditiveormultiplyblending.Bug fixes 🐞
setWorldviewnot updating layout properties correctly.*-cutoff-fade-rangeproperties.cliplayer not clippingfill-extrusionambient occlusion.v3.20.0Compare Source
Features and improvements ✨
Bug fixes 🐞
v3.19.1Compare Source
Bug fixes 🐞
@types/mapbox__point-geometrypackage that was causing some Typescript builds to fail.v3.19.0Compare Source
Features and improvements ✨
line-z-offsetandline-elevation-reference.text-size-scale-rangeandicon-size-scale-rangestyle properties.Map#setScaleFactor/Map#getScaleFactormethods for controlling symbol layer scaling.text-field.raster-elevation-referencepaint property to elevate raster layers relative to ground instead of sea level.line-elevation-ground-scalelayout property to scale elevated lines with terrain exaggeration.browserslist.pitchanddistanceexpressions in filters.setFeatureState.Map#setNearClipOffset/Map#getNearClipOffsetmethods to control the near clip offset when ortohographic projections are used.Bug fixes 🐞
RasterArrayTileSource#reload()not working correctly.ModelSource.NavigationControl.visibility: nonein case properties were changed.fill-extrusionlayer, overriding clip layer's behaviour.v3.18.1Compare Source
Features and improvements ✨
visibilityproperty in clip layers.raster-colorprecision for fine-grained value ranges.Bug fixes 🐞
icon-size.v3.18.0Compare Source
Features and improvements ✨
scaleFactorsupport for images withintext-field.showButtonoption toGeolocateControlthat allows hiding the control button.followUserLocationoption andsetFollowUserLocationmethod toGeolocateControlto control whether the map follows the user's location.GeolocateControltimeout handling.text-rotate,text-size, andtext-offsetproperties in appearances.shadow-draw-before-layerproperty to directional light, allowing control over shadow draw order in the layer stack.model-allow-density-reductionproperty to model layers. (h/t @JoshuaJMoore)Bug fixes 🐞
icon-text-fitrendering with an incorrect size.icon-sizenot working correctly withcoalesceexpressions.raster-colorinterpolation when usingnearestraster-resampling.GeolocateControlerror event (h/t @lucavb).dynamic: truemode.AttributionControllinks sanitization.icon-sizeusing the default value instead of the layout-defined one.ModelSource.setModelswhile models are still loading.map.getStyle()output.@mapbox/mapbox-gl-style-specfor direct imports.v3.17.0Compare Source
Features and improvements ✨
line-emissive-strengthdata-driven.extra_boundsproperty of raster and vector sources.modellayer.buildinglayer.buildinglayer performance.Bug fixes 🐞
raster-arraylayers not working on iOS < 18.4.setData.AttributionControl.v3.16.0Compare Source
Features and improvements ✨
MapsetLayerPropertythat combinessetLayoutProperty&setPaintPropertyinto one method for convenience.modelsource and layer.sourcedataevent data.Bug fixes 🐞
queryRenderedFeaturesfor model layers.GeolocationPositiontogeolocateevent listeners.scaleFactor.v3.15.0Compare Source
Features and improvements ✨
queryRasterValuemethod for querying values inraster-arraylayers.icon-image-use-themeproperty.hslaexpression performance.queryRasterValueresults to 12 decimal digits to fix precision issues.Bug fixes 🐞
"Infinity"and similar ids.GL_INVALID_VALUEconsole warning on Mapbox Satellite Standard and a few other styles.*-occlusion-opacityproperties didn't have any effect.v3.14.0Compare Source
Breaking changes⚠️
glyphsURL template from the root style instead of their own.Features and improvements ✨
splitexpression to divide a string into an array of substrings based on a specified delimiter.Bug fixes 🐞
icon-image-cross-fade.rasterlayers from a singleraster-arraysource.setDataon large datasets.v3.13.0Compare Source
Breaking changes⚠️
interpolateexpression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color,line-gradient, andheatmap-color.rgbexpression will return non-premultiplied-alpha color.Features and improvements ✨
["worldview"]expression, which returns the currentworldviewof the map.model-translationsupport for batched model layers.Bug fixes 🐞
mapbox-gl-rtl-textv0.3.0 plugin not loading in certain configurations.text-variable-anchordisappearing.mouseleavewithoutmouseenter.color-use-themeproperty of 3D lights.configexpressions (h/t @brncsk) #13453.setStylewith the same URL of an import.Workflow 🛠️
v3.12.0Compare Source
Features and improvements ✨
wrapTileIdproperty toCustomLayerInterfaceto control whether tile IDs are wrapped across world copies during rendering.line-pattern-cross-fade,fill-pattern-cross-fade, andfill-extrusion-pattern-cross-fadeproperties for smooth transitions between pattern images.extra_boundsin TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage.Bug fixes 🐞
setDataon symbol layers could cause flickering.CustomSourceInterfaceTypeScript type that was missing in the public interface.line-gradientvalidation to work not only on GeoJSON, but also on vector tile sources if they havemapbox_clip_startandmapbox_clip_endproperties precomputed.styleimagemissingevent not firing in certain scenarios.v3.11.1Compare Source
undefinedpassed inMarkeroptions not falling back to default values.v3.11.0Compare Source
Breaking changes⚠️
atexpression does not interpolate anymore. Please useat-interpolatedif you want to keep the old behavior.Features and improvements ✨
at-interpolatedexpression as the interpolated counterpart to theatexpression.altitudemarker property to adjust elevation. (h/t @yangtanyu) #13335.getCooperativeGesturesandsetCooperativeGesturesmap methods to control cooperative gestures logic after the map is initialized.getGlyphsUrlandsetGlyphsUrlmap methods to manage the glyphs endpoint URL.pitchRotateKeymap option to override the modifier key for rotate and pitch handlers.Bug fixes 🐞
v3.10.0Compare Source
Features and improvements ✨
*-use-themeproperties.Bug fixes 🐞
queryRenderedFeaturesnot working on duplicated model layers.mouseenterandmouseleavewith Interactions API.icon-size.v3.9.4Compare Source
v3.9.3Compare Source
v3.9.2Compare Source
v3.9.1Compare Source
queryRenderedFeaturesnot working on styles with custom layers.line-join: none.queryRenderedFeaturesandquerySourceFeatureswithfeatureset, fixfilteroption to apply tofeaturesetselectors rather than original properties, and addfeatureNamespacevalidation.queryRenderedFeaturesmissingsource,sourceLayerandlayerproperties in resulting features where they should be present.v3.9.0Compare Source
Breaking changes⚠️
featuresetproperty totargetinaddInteractionandqueryRenderedFeaturesoptions.Features and improvements ✨
snowandrainstyle properties.to-hslaexpression.*-use-themeproperty to override the color theme for specific layers.color-themeoverrides in imports.mouseenter,mouseover,mouseleave, andmouseoutevents foraddInteraction.featuresetsandlayersin theMap#queryRenderedFeatures.cliplayer is now stable and no longer marked experimental.Bug fixes 🐞
line-z-offsetwould sometimes break layer rendering order.v3.8.0Compare Source
Features and improvements ✨
featuresets, an upcoming way to query features in Mapbox Standard and other fragment-based styles.MapaddInteraction/removeInteractionmethods that make it easier to manage map interactions like clicking and hovering over features.line-cross-slopeandline-elevation-referenceproperties.scaleFactormap option andsetScaleFactormethod to increase map label size (useful for improving accessibility or adjusting text size for different devices).line-progressexpression in non-data-driven line properties.Bug fixes 🐞
addImportcalls.symbol-z-offsetnot working properly.line-emissive-strengthnot being applied to patterned lines.v3.7.0Compare Source
Features and improvements ✨
background-pitch-alignmentproperty of thebackgroundlayer, which is set tomapby default but can now be set toviewport. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.top,right,bottom, andleft) (h/t @Ethan-Guttman).retainPaddingoption for camera movement methods, which can be set tofalsefor pre-v3.4 padding behavior.configexpression support in layer filter.symbol-z-offsetandsymbol-elevation-reference.fill-z-offsetproperty for fill layers.Map#fitBoundsfor the alternative projections.Map#setPaintPropertyandMap#setLayoutPropertymethods.stringevent type in Map event handlers.RequestTransformFunction,ResourceType, andRequestParameterstypes.Bug fixes 🐞
fill-extrusion-line-widthrendering for large polygonssymbol-z-orderis set toauto.minzoomandmaxzoomproperties were ignored bycliplayers.cliplayers.cast-shadowsproperty type.setStencilMode-related error in the console with the dev build.v3.6.0Compare Source
Features and improvements ✨
fill-exturionlayer by introducingfill-extrusion-line-widthandfill-extrusion-line-alignmentproperties. Setfill-extrusion-line-widthto a non-zero value to render walls instead of a solid extrusion.circle-blurvalues.datafield.clip-layer-scopeproperty to limitcliplayer to a specific style fragment.Mapidlemethod to check whether a map is idle.Bug fixes 🐞
isSourceLoadedflag onsourcedataevent for already loaded sources.loadevent when all tiles fail to load.dynamicmode is updated too frequently.dynamicmode.MapgetLayernot working properly with custom layers.line-trim-offseton very long lines.v3.5.2Compare Source
fill-extrusion-cutoff-fade-range.v3.5.1Compare Source
icon-occlusion-opacity/text-occlusion-opacityproperties to opt-in to new occlusion behavior.v3.5.0Compare Source
Breaking changes⚠️
@types/mapbox-glare not fully compatible with the new first-class typings. Users relying on the community typings may experience breaking changes. Please remove the@types/mapbox-gldependency and refer to the v3.5.0 migration guide for instructions on upgrading, resolving common issues, and asking questions regarding the migration to the first-class typings. We welcome your feedback and contributions to make Mapbox GL JS better.Features and improvements ✨
color-themeproperty andMapsetColorThememethod to enable colorization with a lookup table (LUT) images.updateDataforGeoJSONsources indynamicmode.icon-occlusion-opacityandtext-occlusion-opacityproperties to fade symbols behind models and landmarks.line-occlusion-opacityproperty to fade lines behind 3D objects.cliplayer to filter out rendering data.line-z-offsetproperty for a non-globe view.model-cutoff-fade-rangeproperty to control fade out of faraway 3D buildings.line-patternon long lines and higher zooms.line-trim-colorandline-trim-fade-rangeproperties to customize rendering of lines trimmed withline-trim-offset.MapgetSlotsmethod for listing available slots of a style.Bug fixes 🐞
updateDatacalls.raster-particlelayer animation.model-front-cutoffproperty for Meshopt-encoded models.setTerrain.style.loadevent missingstyleproperty.queryRenderedFeatureson areas with missing DEM tiles when terrain is enabled.v3.4.0Compare Source
Features and improvements ✨
dynamic: trueoption for GeoJSON sources that enables partial update API withsource.updateDatamethod. Further optimizations for this mode are expected in future releases.MapsetConfig,getConfig,setSchemaandgetSchemamethods for batch setting of style configuration options.configoption for theMapconstructor andsetStylemethods for conveniently setting style configuration options on map initialization.icon-color-saturation,icon-color-contrast,icon-color-brightness-minandicon-color-brightness-maxto control symbol layer appearance.line-joinmode:noneto improve line pattern distortions around joins.model-idproperty to support URIs (in addition to style-defined model references).devtoolsUI.Bug fixes 🐞
flyToignoringpaddingin its options.cameraForBoundson globe view. (h/t @jonasnoki) #13126preloadOnlynot preloading tiles from style imports.queryRenderedFeaturesfor non-integer ID in non-tiled model sourcesmodel-scaleproperty for large number of 3D models.raster-particlelayer on globe view.raster-arraydata.symbol-z-elevate.raster-particlelayer on certain Android devices.v3.3.0Compare Source
Features and improvements ✨
raster-arraysource type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series).raster-particlelayer which animates particles of different speed and color based on underlyingraster-arraydata.addImport,moveImport,updateImport, andremoveImportAPI methods.getSlot, andsetSlotAPI methods to control layers' slots.queryRenderedFeatures.raster-elevationsupport for tiled raster sources.configexpression support in fog.Bug fixes 🐞
maxZoom.setStyle.zoffset when the opacity is evaluated at 0 on the zoom change.formatexpression in theconfigexpression.symbol-sort-keyproperty.v3.2.0Compare Source
Features and improvements ✨
devtools: trueinMapoptions.map.areTilesLoaded.fill-extrusion-flood-light-ground-radiusproperty.fill-extrusion-cutoff-fade-rangeproperty.Bug fixes 🐞
map.flyTowithpaddingoption was setting and overriding map's padding.urlortilesis missing from source, i.e. in MapTiler source.configexpression chaining through nested styles and other issues related to config scope.configandformatexpressions not working together.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.