build(deps): update dependency mapbox-gl to v3#155
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
build(deps): update dependency mapbox-gl to v3#155renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
2252bd6 to
f79b9bd
Compare
3375ba2 to
0e38fd0
Compare
0e38fd0 to
d597183
Compare
d597183 to
2d9bc69
Compare
2d9bc69 to
48d023a
Compare
48d023a to
7315569
Compare
7315569 to
a87b0fe
Compare
79ed822 to
f3eb740
Compare
f3eb740 to
41b3b4d
Compare
41b3b4d to
2e90bf3
Compare
2e90bf3 to
56c8cd7
Compare
56c8cd7 to
0bf168e
Compare
0aa9e13 to
4ae093f
Compare
4ae093f to
c4aecf4
Compare
c4aecf4 to
3b07ab8
Compare
3b07ab8 to
def34eb
Compare
def34eb to
9f08c1b
Compare
9f08c1b to
d31ee92
Compare
d31ee92 to
c77c959
Compare
c77c959 to
f19facf
Compare
f19facf to
6531f6b
Compare
6531f6b to
273042b
Compare
273042b to
b99fffc
Compare
5b94fff to
c5dab28
Compare
c5dab28 to
e1af204
Compare
e1af204 to
b66069e
Compare
b66069e to
f951e1f
Compare
f951e1f to
37f5d56
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:
2.8.1→3.19.0Release Notes
mapbox/mapbox-gl-js (mapbox-gl)
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.v3.1.2Compare Source
Bug fixes 🐞
v3.1.1Compare Source
Bug fixes 🐞
fill-extrusionsnot being displayed in alternative projections.v3.1.0Compare Source
Features and improvements ✨
raster-elevationproperty for elevating raster layers to a constant height (e.g. clouds over globe).raster-emissive-strengthandfill-extrusion-emissive-strengthproperties for controlling 3D lighting on buildings and raster layers.MapgetConfigPropertymethod for getting current style config values.configsupport in terrain options.null.minValue,maxValue,stepValue,values,type) when evaluating config options.Bug fixes 🐞
center: [0, 0]andzoom: 0map options were ignored in favor of style settings.slotnot taking precedence over thebeforeparameter for layer order."camera-projection": "orthographic"not working in styles with imports.box-sizing: border-box. (h/t @simondriesen) #12982aria-labelattribute in attribution control that fails accessibility conformance. (h/t @maggiewachs) #12981loadevent not firing for the sources whose tiles are 404s.urlortilesfor tiled sources during validation.v3.0.1Compare Source
Bug fixes 🐞
v3.0.0Compare Source
Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the Mapbox GL JS v3 migration guide.
Breaking changes⚠️
optimizeForTerrainmap option (layer rendering on globe and terrain is always optimized now).✨ Features and improvements
*-emissive-strengthproperties for styling layers with the new lighting API.measureLightexpression lights configuration property: Create dynamic styles based on lighting conditions.hslandhslacolor expressions: These expressions allow you to define colors using hue, saturation, and lightness format.fill-extrusion-cutoff-fade-rangeandmodel-cutoff-fade-rangestyle properties.slots, pre-specified locations in the style, where your layer can be added (e.g., on top of existing land layers but below all labels).configexpression: Retrieves the configuration value for the given option.styleoption is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default.style.import.loadevent to track the loading of imported style fragments.raster-colorpaint properties.raster-valueexpression: Returns the raster value of a pixel computed viaraster-color-mix.vertical-rangestyle property.icon-image-cross-fadeproperty, which controls the transitioning between the two variants of an icon image.randomexpression: Generate random values using this expression. Use this expression to generate random values, which can be particularly helpful for introducing randomness into your map data.distanceexpression: Returns the shortest distance in meters between the evaluated feature and the input geometry.symbol-z-elevatestyle property.renderstartevent, which, combined with therenderevent, can be used to measure rendering frame duration.Bug fixes 🐞
paddingis used.tabindexwhen the map is not interactive; removerole="list"from the attribution control; addrole="img"to markers (h/t @kumiko-haraguchi and @aviroopjana).queryRenderedFeaturesresults on maps with globe and terrain.maphasImageandupdateImageafter the map was removed.line-border.v2.15.0Compare Source
Features ✨ and improvements 🏁
respectPrefersReducedMotionmap option (#12694)isPointOnSurfacemap method to determine if the given point is located on a visible map surface. (#12695)Bug fixes 🐞
v2.14.1Compare Source
Bug fixes 🐞
v2.14.0Compare Source
Features ✨ and improvements 🏁
referrerPolicyoption for thetransformRequestfunction when using fetch (#12590) (h/t robertcepa)Bug fixes 🐞
prefers-reduced-motionis enabled (#12631)v2.13.0Compare Source
Features ✨ and improvements 🏁
setTiles,setUrl). (#12352)Bug fixes 🐞
line-border-colorwhen used withline-trim-offset(#12461)fitBoundswith globe projection (#12488)map.getBounds()returning incorrect bounds with adaptive projections. (#12503)undefined is not an objectincoalesceChanges(#12497) (h/t nick-romano)v2.12.1Compare Source
Bug fixes 🐞
v2.12.0Compare Source
Features ✨ and improvements 🏁
cameraForBounds,fitBoundsandfitScreenCoordinatescamera APIs. (#12367)Bug fixes 🐞
getBoundswhen used around the poles with a globe projection. (#12315)*-patternandline-dasharrayproperties (#12372)center-to-distancealong with terrain. (#12413)v2.11.1Compare Source
Bug fixes 🐞
v2.11.0Compare Source
Features ✨ and improvements 🏁
cameraForBoundswith globe projection (#12138)fitBoundsandfitScreenCoordinateswith globe projection (#12211)getBoundswith globe projection. (#12286)occludedOpacityallowing the user to set the opacity of a marker that's behind 3D terrain (h/t jacadzaca) (#12258)ImageSourceimage request when underlying resource is no longer used (#12266) (h/t maciejmatu)LngLatBounds.extend(#12270) (h/t stampyzfanz)Bug fixes 🐞
GeolocateControlsometimes not working in iOS16 WebView (#12239)map.getStyle()with globe view (#12163)trackPointeris removed (#12230) (h/t camouflagedName)[
v2.10.0](https://redirect.github.com/mConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.