Skip to content

fix(deps): update dependency mapbox-gl to v3 - #483

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mapbox-gl-3.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mapbox-gl-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 29, 2023 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mapbox-gl ^2.11.1 → ^3.36.0 age adoption passing confidence
@​types/mapbox-gl ^2.7.10 → ^3.5.0 age adoption passing confidence

Release Notes

mapbox/mapbox-gl-js (mapbox-gl)

v3.36.0

Compare Source

Features and improvements ✨
  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.
  • Add experimental Map#startPerformanceStatisticsCollection and Map#stopPerformanceStatisticsCollection to collect render time, render pass and layer timings, and draw call counters.
  • Remove unreachable shader code from the bundle.
Bug fixes 🐞
  • Fix clean-up of telemetry classes.
  • Fix map-aligned icons (such as road and one-way arrows) shimmering at high pitch.
  • Fix the docs and the warning for Map#getFreeCameraOptions and Map#setFreeCameraOptions, which said that free camera does not support the globe projection.
  • Fix raster array sampling on Android.
  • Fix HD road rendering in vector tiles with an extent other than 8192.
  • Fix a line-dasharray of [] to consistently draw a solid line.
  • Fix order-dependent symbol and fill-extrusion border rendering.
  • Fix a performance regression where fill layers were re-uploaded every frame, which was especially slow with many feature states.
  • Fix fill extrusion ground effect vertex & fragment shaders attribute mismatch.
  • Fix scale factor being applied twice to symbols with zoom- and data-dependent text-size or icon-size between zoom stops.

v3.35.3

Compare Source

Full Changelog: mapbox/mapbox-gl-js@v3.35.2...v3.35.3

v3.35.2

Compare Source

v3.35.1

Compare Source

  • Fix map-aligned icons (such as road and oneway arrows) shimmering at high pitch.

v3.35.0

Compare Source

Features and improvements ✨
  • Improve map load performance on lower zooms via faster polygon triangulation.
  • Add setMinzoom and setMaxzoom methods to vector and raster tile sources, which change the zoom range of a source after it is added.
  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.
  • Introduce cross-tile fade state support for global placement.
  • Release tiles after fade completes for sources from imported styles.
Bug fixes 🐞
  • Fix transformRequest headers missing from requests for glTF buffers and textures.
  • Fix Map#setGlyphsUrl not changing the glyphs of labels that are already loaded.
  • Fix the setters of raster-array and model sources that throw an error before a layer uses the source.
  • Fix zoom-step line-dasharray disappearing on some tiles.
  • Fix zero-length cap in SVG not being drawn in various browsers.
  • Fix thin lines fading and flickering at high pitch.
  • Revert fix line geometry: clamp fake-round join anchor on short segments.
  • Fix a thin unlit line in the fill-extrusion flood light at very sharp polygon corners.
  • Fix visibility of the logo control based on imported source.

v3.34.4

Compare Source

v3.34.3

Compare Source

  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.

v3.34.2

Compare Source

v3.34.1

Compare Source

Features and improvements ✨
  • Improve performance on map views with CJK glyphs by moving CJK rasterization offscreen.
  • Improve tile load performance via optimization of style property values recalculation.
  • Improve rendering performance via per-frame main thread work optimizations.
  • Add support of *-ignore-placement and *-allow-overlap in global placement.
  • Add raster-mask and raster-mask-mode paint properties so a raster layer can be clipped to, or excluded from, the geometry of a fill layer
Bug fixes 🐞
  • Fix coverage stencil marks including polygons for other road classes, which hid roads that should stay visible.
  • Fix imported styles silently rendering nothing when the import fires a non-fatal error while loading.
  • Fix raster tiles occasionally showing the image of a different tile after zooming or panning on a slow network.
  • Fix building layer filters that use distance, within or worldview dropping buildings.
  • Fix a sudden camera jump at the end of long flyTo camera animations.
  • Fix 0 fadeDuration symbol placement offset.
  • Fix projection documentation incorrectly stating that custom layers are not supported on globe.
  • Fix per-feature symbol/line paint value update based on light changes.

v3.33.0

Compare Source

Breaking changes ⚠️
  • 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, getRTLTextPluginStatus and the PluginStatus type are removed.
  • The base size of icons in the text-field property 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.
Features and improvements ✨
  • Improve memory use & map load time, especially for 3D layers.
  • Improve line rendering performance by using a uniform instead of a shader permutation for line-dasharray.
  • Add support for offsetting a control from its corner via map.addControl(control, {position, offset: {x, y}}).
  • Improve 3D Lanes map load performance.
  • Avoid placing parent-tile symbols when using the global placement.
  • Extend global placement debug info.
Bug fixes 🐞
  • Fix a severe performance regression when updating data-driven line layers with setPaintProperty.
  • Fix a rendering issue when drawing thousands of data-driven lines and symbols.
  • Fix transparent building and fill-extrusion layers blending the same pixel twice where they cover the same buildings, making the overlap look more opaque than either layer's opacity asks for.
  • Fix an issue with GeoJSON geometries past longitude -+360 or latitude +-85 rendering incorrectly.
  • Fix map-aligned icon-rotate and text-rotate not being measured from true north in projections other than Mercator or globe, which misrotated symbols such as crosswalks.
  • Fix collision boxes not matching rotated symbols that use appearances with a layout icon-rotate or text-rotate.
  • Fix symbol fading not finishing when using global placement.

v3.32.0

Compare Source

Features and improvements ✨
  • Slightly improve map load time via more aggressive chunk preloading.
  • Improve style parsing performance.
  • Preload Meshopt decoder earlier to improve 3D styles load time.
  • Improve map load time by requesting the icon set earlier and lazy parsing icons on-demand.
  • Add support for the globe to mercator transition when using the global placement.
  • Add support for symbol fading when using the global placement.
  • Add debug visualization support when using the global placement.
  • CustomLayerInterface#render/#prerender now receive a CustomLayerRenderParameters object as an 8th argument, exposing projectionMatrix (camera→clip), viewMatrix (world→camera) pair, plus the globe horizon globeClippingPlane and the globe center's screen position globeCenterInScreenPixels.
Bug fixes 🐞
  • Fix raster-array chunk loading when unused.
  • Fix transformRequest headers and credentials being dropped from PMTiles requests.
  • Fix transformRequest headers/credentials being dropped when loading GL model (GLTF) resources.
  • Fix features rendering at the wrong position when a layer uses a within filter and the map uses a projection other than Mercator or globe.
  • Fix global placement throwing an error when placing symbols with no text.
  • Fix setting padding as a sideeffect in a preloadOnly animation.
  • Respect extra_bounds on all TileJSON source types.
  • Fix a regression with map.remove() where it could retain the map instance in memory.
  • Fix light/fog/snow/rain transitions.

v3.31.0

Compare Source

Features and improvements ✨
  • Significantly improve GeoJSON memory footprint.
  • Reduce landmark model memory usage.
  • Remove the experimental flag from raster-allow-draping.
  • Add support for emissive MRT in custom layers.
Bug fixes 🐞
  • Fix removeSource throwing under globe projection. (h/t @​mhayk)

v3.30.0

Compare Source

Breaking changes ⚠️
  • Make pitch and rotation states independent. Previously, disabling rotation also disabled pitch. Now, pitch can be enabled independently of rotation.
Features and improvements ✨
  • Extract the terrain from the core ESM module.
  • Reduce shader size by removing unused code paths.
  • Upgrade Supercluster to v9 (optimize clustering memory footprint).
  • Add support for client-side overzooming for raster-array sources.
  • Add AnimationFrameProvider (MapOptions.animationFrameProvider) to support driving the render loop from an external library.
  • Enable landmark model LOD mesh download when the server provides such data.
  • Raise the maximum number of sources in a style to 64.
Bug fixes 🐞
  • Fix dark line artifacts on non-standard procedural building geometry.
  • Fix ESM terrain module loading for elevated-lines requiring terrain.
  • Fix validation of style light transition properties.
  • Fix symbol layer related errors after GL context loss.
  • Skip rings with zero area on fill-extrusions.

v3.29.0

Compare Source

Breaking changes ⚠️
  • Remove legacy undocumented Map addSourceType API which was superceded by CustomSourceInterface.
Features and improvements ✨
  • Add new raster-color-scale property, which can be set to "log" to improve color ramp precision when visualizing long-tailed raster datasets.
  • Add new raster-allow-draping property that can be set to false to disable raster layer draping over globe/terrain.
  • Move symbol-z-offset property out of experimental.
  • Extend distance expression to accept an expression as a second argument.
  • Extend config expression to support object literals as values.
  • Improve dashed line rendering in pitched views.
  • Added APIs for more granular control of interaction handlers:
    • map.keyboard: disablePitch, enablePitch, isPitchEnabled, disableBearing, enableBearing, isBearingEnabled, isEnabled
    • map.dragRotate: disableRotation, enableRotation, isRotationEnabled
    • map.touchZoomRotate: isRotationEnabled, isTapDragZoomEnabled
    • For all three, isEnabled is changed from AND to OR semantics
Bug fixes 🐞
  • Fix rare line artifacts on sharp corners with short segments and non-bevel joins.
  • Fix ambient occlusion to not render for elevated (non-zero-base) extrusions.
  • Fix Map resetFeatureStates not working properly in some scoped styles.
Dev workflow improvements
  • Increase strict TypeScript coverage and added tooling to keep improving it.

v3.28.1

Compare Source

Bug fixes 🐞
  • Fix iconsets icons rendering with ESM bundle.

v3.28.0

Compare Source

Breaking changes ⚠️
  • Disable text-variable-anchor when appearances are present.
Features and improvements ✨
  • Introduce experimental map.getVerticalFieldOfView(), map.setVerticalFieldOfView(), and read-only map.getHorizontalFieldOfView() and an animatable fov camera option.
  • Expose line-border-width and line-border-color as public paint properties.
  • Introduce experimental line-border-gradient property for rendering gradient borders on lines.
  • Add support for Meshopt v1 compressed models.
  • Support string color values for the model-color in a model source.
  • Add map.resetFeatureStates() to clear all feature states for a featureset or layer.
  • Expose map.getSchema()/map.setSchema() for managing the imported style's schema.
  • Extract development and debug code from the ESM bundle into a separate module.
  • Extract more model code from the ESM core bundle.
  • Extract raster-array layer as a separate ESM module.
  • Reduce the bundle size by restructuring style, program, symbol, and expression code.
  • Remove experimental flag from layer appearances.
  • Improve symbol layer performance.
  • Reduce redundant repaints and checks during initial load.
Bug fixes 🐞
  • Fix double rotation of the FF5C character in vertical text rendering.
  • Preserve live gesture when camera setter is called from inside a drag/move handler.
  • Stop overwriting the pointerEvents of markers set by the user.
  • Fix models with vertex alpha 0 appearing black.
  • Fix incorrect rendering of fill extrusions with fill-extrusion-edge-radius at low zoom levels in some cases.

v3.27.0

Compare Source

Features and improvements ✨
  • Upgrade to Typescript 7
  • Add cross-source HD roads elevation for symbols
  • Improve character rotation logic for some CJK characters in vertical text rendering mode
Bug fixes 🐞
  • Fix raster-array out of bounds assertion error for non-mecator projections
  • Fix error when object-property strings were used in expressions
  • Fix wrong access token used on multi-map environments
  • Fix number-format dropping min/max-fraction-digits when they were 0
  • Fix line-aligned label placement during globe-mercator transition
  • Fix crash when using style expressions with prototype-derived keys
  • Fix atlas cache returning another scope images
  • Fix Style#{get,set,remove}FeatureState with {target: {layerId}} so imported-layer targets resolve against their own fragment's sources instead of the root style's
  • Fix missing building along tile borders
  • Fix dynamic imports in UMD
  • Fix import.meta crash under modern bundlers
  • Fix setPaintProperty on symbol properties with a transition duration of 0

v3.26.0

Compare Source

Breaking changes ⚠️
  • Remove transition and interpolated flags from the camera-projection style property — enum properties cannot be transitioned, so these flags were incorrect.
Features and improvements ✨
  • Make published TypeScript declarations self-contained, fixing consumer builds that failed with skipLibCheck: false.
  • Improve terrain raycast accuracy for mouse events, camera fitting, and other pointer interactions.
  • Improve landmark model LOD switching with size-based distance heuristics for better rendering performance.
Bug fixes 🐞
  • Fix hd-road-markup elevated lines rendering flat with zero-exaggeration terrain.
  • Fix viewport-y symbol sorting causing a Vertex buffer is not big enough for the draw call error when a symbol bucket had multiple segments.
  • Fix multilinestrings not displaying labels correctly.
  • Fix parametric colors sometimes loading the wrong cached image.

v3.25.0

Compare Source

Breaking changes ⚠️
  • Switch the ESM entry point to named exports (import * as mapboxgl from 'mapbox-gl/esm') so that modern bundlers can eliminate small unused parts of the code. Replace mapboxgl.accessToken with Map accessToken option. 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.1

Compare Source

Bug fixes 🐞

  • Fix an issue with custom layer rendering alongside data-driven line-emissive-strength.

v3.24.0

Compare Source

v3.23.1

Compare Source

Bug fixes 🐞
  • Fix a rendering error occurring with fill-extrusion layers when terrain is enabled in specific edge cases.

v3.23.0

Compare Source

Features and improvements ✨
  • Improve the performance of symbol layers on old devices.
  • Add TileProvider for raster and raster-dem sources, adding support for PMTiles with raster tiles.
  • Enable client-side fontstack compositing by default. When multiple fonts are requested they are now fetched individually and composited on the client.
  • Promote interactions API to stable.
  • Add a bundler-friendly ESM bundle in the NPM package (import mapboxgl from 'mapbox-gl/esm').
  • Lazy-load procedural buildings and precipitation code when using the ESM entry point.
Bug fixes 🐞
  • Fix values smaller than 1 in line-dasharray not working.
  • Fix a render issue where black boxes could appear instead of symbols briefly in some environments.
  • Fix scale-factor being applied twice to icons with feature-dependent icon-size.
  • Fix redundant WASM requests on map load when using the Standard style.
  • Fix hillshade rendering issue when using Safari in private browsing mode.

v3.22.0

Compare Source

Bug fixes 🐞
  • Fix a crash on PowerVR devices.
  • Fix nested scopes support in clip layers.
  • Skip sub-pixel line dilution for intentionally thin lines.
  • Skip map-sessions request when baseApiUrl is not a Mapbox host.

v3.21.0

Compare Source

Features and improvements ✨
  • Introduce the TileProvider API, a mechanism for extending GL JS with custom vector tile providers.
  • Add first-class support for PMTiles via the new TileProvider API and an official plugin (``mapbox-gl-pmtiles-provider.js`) that loads on demand.
  • Add experimental line-blend-mode property for rendering lines using additive or multiply blending.
  • Slightly improve overall map loading times.
  • Improve symbol layer rendering performance (by adopting Uniform Buffer Objects for data-driven properties).
  • Improve indoor maps loading performance.
Bug fixes 🐞
  • Fix dragging gesture not working on the compass control.
  • Various fixes and improvements for the Appearances API.
  • Fix an edge case when combining custom icons with images included in the style's sprite.
  • Fix setWorldview not updating layout properties correctly.
  • Fix an issue when rendering stacked underground 3D roads.
  • Fix line dashes with non-integer total array lengths.
  • Fix various rendering issues when using *-cutoff-fade-range properties.
  • Fix clip layer not clipping fill-extrusion ambient occlusion.

v3.20.0

Compare Source

Features and improvements ✨
  • Improve memory efficiency by sharing image resources for symbol layers across map tiles.
Bug fixes 🐞
  • Fix icons disappearing when changing the color theme.
  • Fix display of symbols added via the Appearances runtime API.

v3.19.1

Compare Source

Bug fixes 🐞
  • Removed the unused @types/mapbox__point-geometry package that was causing some Typescript builds to fail.

v3.19.0

Compare Source

Features and improvements ✨
  • Promote elevated lines properties to stable: line-z-offset and line-elevation-reference.
  • Add experimental text-size-scale-range and icon-size-scale-range style properties.
  • Add experimental Map#setScaleFactor/Map#getScaleFactor methods for controlling symbol layer scaling.
  • Apply global scale factor to images within text-field.
  • Fix z-fighting for elevated raster layers.
  • Add raster-elevation-reference paint property to elevate raster layers relative to ground instead of sea level.
  • Add line-elevation-ground-scale layout property to scale elevated lines with terrain exaggeration.
  • Use native async/await when loading models. Note: Please ensure GL JS is excluded from transpilation in your build setup.
  • Explicitly state minimum supported browser versions in browserslist.
  • Support pitch and distance expressions in filters.
  • Support incremental updates when using setFeatureState.
  • Add experimental Map#setNearClipOffset/Map#getNearClipOffset methods to control the near clip offset when ortohographic projections are used.
Bug fixes 🐞
  • Fix RasterArrayTileSource#reload() not working correctly.
  • Add request cancellation support to the ModelSource.
  • Fix flickering of aliased thin lines.
  • Fix elevated line bevel join artifacts at sharp corners.
  • Fix regressions in NavigationControl.
  • Fix namespace conflicts in different featuresets' selectors.
  • Recalculate layers with visibility: none in case properties were changed.
  • Fix bug in border update logic of fill-extrusion layer, overriding clip layer's behaviour.
  • Fix empty tiles on non-integer maxZoom when terrain was used.
  • Fix prototype pollution via Style JSON.

v3.18.1

Compare Source

Features and improvements ✨
  • Add support for visibility property in clip layers.
  • Improve raster-color precision for fine-grained value ranges.
Bug fixes 🐞
  • Fix color interpolation throwing errors in edge cases.
  • Fix appearances with no icon-size.
  • Fix disappearing symbols when used with elevated raster layers.

v3.18.0

Compare Source

Features and improvements ✨
  • Add scaleFactor support for images within text-field.
  • Add showButton option to GeolocateControl that allows hiding the control button.
  • Add followUserLocation option and setFollowUserLocation method to GeolocateControl to control whether the map follows the user's location.
  • Improve GeolocateControl timeout handling.
  • Add support for text-rotate, text-size, and text-offset properties in appearances.
  • Add shadow-draw-before-layer property to directional light, allowing control over shadow draw order in the layer stack.
  • Add model-allow-density-reduction property to model layers. (h/t @​JoshuaJMoore)
Bug fixes 🐞
  • Fix interaction handlers not working on model layers.
  • Fix stretchable icons without icon-text-fit rendering with an incorrect size.
  • Fix icon-size not working correctly with coalesce expressions.
  • Fix raster-color interpolation when using nearest raster-resampling.
  • Fix render cut off for elevated raster-layer rendering in ortho projection range.
  • Fix symbol placement with optional and missing parts.
  • Expose all error properties for GeolocateControl error event (h/t @​lucavb).
  • Fix an error when querying multipolygons in dynamic: true mode.
  • Fix AttributionControl links sanitization.
  • Fix appearances with no icon-size using the default value instead of the layout-defined one.
  • Fix updates to model source via ModelSource.setModels while models are still loading.
  • Fix polygon clipping precision errors causing rendering artifacts in elevated structures.
  • Preserve featuresets in map.getStyle() output.
  • Expose TypeScript types from @mapbox/mapbox-gl-style-spec for direct imports.

v3.17.0

Compare Source

Features and improvements ✨
  • Add experimental ESM support.
  • Make line-emissive-strength data-driven.
  • Remove experimental flag from the extra_bounds property of raster and vector sources.
  • Remove experimental flag from model layer.
  • Remove experimental flag from building layer.
  • Improve vector icons rasterization performance.
  • Improve shadow rendering performance.
  • Improve building layer performance.
  • Improve shader initialization performance.
Bug fixes 🐞
  • Fix polygon rendering for dynamic GeoJSON sources.
  • Fix raster-array layers not working on iOS < 18.4.
  • Fix a performance issue for symbol layers with zero fade duration and static camera.
  • Fix occasional WebGL texture warnings when rendering terrain.
  • Fix features not being localized in dynamic filters when a worldview is set.
  • Fix an issue with clipping models on Standard.
  • Fix an issue with models flashing on setData.
  • Fix an issue with incorrect scoping of models added during runtime.
  • Fix line patterns not elevating properly on HD roads.
  • Sanitize attributions in AttributionControl.
  • Correctly support filtered features in appearances.
  • Fix an issue occuring when expressions are used in appearances.
  • Fix appearance optimization that resulted in wrong appearances being rendered.
  • Fix appearance icons not changing when feature state changed multiple times.
  • Improve TypeScript types.

v3.16.0

Compare Source

Features and improvements ✨
  • Introduce experimental Appearances API for managing layer styling based on feature state.
  • Add Map setLayerProperty that combines setLayoutProperty & setPaintProperty into one method for convenience.
  • Add support for node/material overrides & other improvements to model source and layer.
  • Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).
  • Add response headers to the sourcedata event data.
  • Improve TypeScript types for style specification.
Bug fixes 🐞
  • Fix raster particle layer not rendering correctly on styles with emissive light.
  • Fix icons of different sizes rendering incorrectly in appearances.
  • Fix worldview filtering with dynamic expressions.
  • Improve accuracy of queryRenderedFeatures for model layers.
  • Fix a bug with heatmap sometimes disappearing after switching projection.
  • Fix rendering of model layer with vector source on globe projection.
  • Fix flickering of fill-extrusion buildings when using clip layers.
  • Fix inaccuracies in 3D model query intersection.
  • Fix the passing of GeolocationPosition to geolocate event listeners.
  • Fix the placement of line-aligned text with a non-default scaleFactor.

v3.15.0

Compare Source

Features and improvements ✨
  • Add queryRasterValue method for querying values in raster-array layers.
  • Add icon-image-use-theme property.
  • Add support for Mapbox vector tiles with precalculated line metrics (for line gradients).
  • Improve HD Roads loading performance.
  • Optimize applying LUT when updating images at runtime.
  • Improve TypeScript types in Style Spec validation methods.
  • Slightly improve hsla expression performance.
  • Optimize applying LUT for patterns.
  • Round queryRasterValue results to 12 decimal digits to fix precision issues.
  • Improvements on typing and testing.
Bug fixes 🐞
  • Fix an issue with refreshing expired raster array tiles.
  • Fix an error on GeoJSON with "Infinity" and similar ids.
  • Fix GL_INVALID_VALUE console warning on Mapbox Satellite Standard and a few other styles.
  • Fix model layer positioning during globe to mercator transition.
  • Fix an issue with incorrect transparency for some icons with LUT applied.
  • Fix an issue where updating *-occlusion-opacity properties didn't have any effect.
  • Fix an issue with MRT layers throwing an error when reloading.
  • Fix occlusion layer ordering.
  • Fix an issue where using too many data-driven properties on the symbol layer could break the map.
  • Fix gradients and interpolations with fully-transparent colors.
  • Fix model layer density reduction.
  • Fix performance regression on styles that use feature-state expressions.

v3.14.0

Compare Source

Breaking changes ⚠️
  • Imported styles will use the glyphs URL template from the root style instead of their own.
Features and improvements ✨
  • Add a split expression to divide a string into an array of substrings based on a specified delimiter.
  • Improve memory usage for GeoJSON sources.
Bug fixes 🐞
  • Fix an issue with querying rendered features during the globe-to-Mercator transition.
  • Fix resources cleanup when removing a map with a terrain or/and vector icons.
  • Fix an issue where a single primary image was not rendered correctly with icon-image-cross-fade.
  • Fix an edge case involving the mixing of vertical and horizontal writing modes.
  • Fix rendering of multiple raster layers from a single raster-array source.
  • Fix restoration of maps with background patterns, heatmap, image, video, or raster sources after WebGL context loss.
  • Fix memory spike when calling setData on large datasets.

v3.13.0

Compare Source

Breaking changes ⚠️
  • interpolate expression will interpolate between non-alpha-premultiplied colors. The change might affect raster-particle-color, line-gradient, and heatmap-color.
  • rgb expression will return non-premultiplied-alpha color.
Features and improvements ✨
  • Add the ["worldview"] expression, which returns the current worldview of the map.
  • Add model-translation support for batched model layers.
  • Improve indoor level interaction.
  • Add support of gradient transforms in the fill style of vector icons.
Bug fixes 🐞
  • Fix querying and styling issues with multiple model layers referencing the same source.
  • Fix mapbox-gl-rtl-text v0.3.0 plugin not loading in certain configurations.
  • Fix icons with text-variable-anchor disappearing.
  • Fix minor distortions on vector icons in some cases.
  • Fix zooming over terrain with negative altitude values.
  • Fix interactions to not throw on mouseleave without mouseenter.
  • Fix shadow rendering issues on underground structures.
  • Fix striping artifacts when rendering shadows on some GPU configurations.
  • Fix errors when viewing a style with filtered model layers.
  • Fix parsing of color-use-theme property of 3D lights.
  • Fix feature-dependent config expressions (h/t @​brncsk) #​13453.
  • Fix reset of the indoor floorplan selection after moving the camera.
  • Fix excessive rerendering of the map after setStyle with the same URL of an import.
  • Fix source reloading during mercator-globe transition with terrain.
  • Fix color of semi-transparent vector icons.
Workflow 🛠️
  • Switched from CircleCI to GitHub Actions for continuous integration tests.

v3.12.0

Compare Source

Features and improvements ✨
  • Add experimental support for rendering 3D road intersections.
  • Add shadow rendering support for elevated lines.
  • Add wrapTileId property to CustomLayerInterface to control whether tile IDs are wrapped across world copies during rendering.
  • Add line-pattern-cross-fade, fill-pattern-cross-fade, and fill-extrusion-pattern-cross-fade properties for smooth transitions between pattern images.
  • Add support for extra_bounds in TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage.
  • Improve performance by lazy loading 3D models.
  • Slightly improve JS bundle sizes.
  • Various TypeScript types improvements.
Bug fixes 🐞
  • Fixed an issue where calling setData on symbol layers could cause flickering.
  • Expose CustomSourceInterface TypeScript type that was missing in the public interface.
  • Fix some edge cases related to rendering of elevated structures.
  • Relax line-gradient validation to work not only on GeoJSON, but also on vector tile sources if they have mapbox_clip_start and mapbox_clip_end properties precomputed.
  • Fix styleimagemissing event not firing in certain scenarios.

v3.11.1

Compare Source

  • Improve icon loading performance, in particular for landmark icons.
  • Fix undefined passed in Marker options not falling back to default values.

v3.11.0

Compare Source

Breaking changes ⚠️
  • The at expression does not interpolate anymore. Please use at-interpolated if you want to keep the old behavior.
Features and improvements ✨
  • Add landmark icons. Landmark icons are stylized, uniquely designed POI icons that indicate the most popular and recognizable landmarks on the map. At the time of this release, we have landmarks for 5 cities: London, Berlin, New York City, San Francisco, and Tokyo.
  • Add at-interpolated expression as the interpolated counterpart to the at expression.
  • Add altitude marker property to adjust elevation. (h/t @​yangtanyu) #​13335.
  • Add getCooperativeGestures and setCooperativeGestures map methods to control cooperative gestures logic after the map is initialized.
  • Add getGlyphsUrl and setGlyphsUrl map methods to manage the glyphs endpoint URL.
  • Add pitchRotateKey map option to override the modifier key for rotate and pitch handlers.
  • Add filtering support for model layers.
  • Add support for vector icons color parameters with alpha values.
Bug fixes 🐞
  • Hide labels with unreadable angles.
  • Fix rendering of vector image in text on HiDPI screens.
  • Ensure Katakana and CJK symbols render correctly in vertical writing mode.
  • Fix popup position update on map move. (h/t @​ThugRaven) #​13412
  • Fix rendering of self-intersecting elevated lines.
  • Prevent line pattern from turning black at certain zoom levels when shadows are enabled.
  • Fix missing triangles in variable-width lines.
  • Improve Style-Spec validator types.
  • Fix reloading of tiles in style imports.
  • Fix issue where updated images were never cleared after patching them.
  • Fix rendering performance regression related to use-theme.

v3.10.0

Compare Source

Features and improvements ✨
  • Add support for data-driven *-use-theme properties.
  • Improve rendering of complex SVG clip paths for vector icons.
Bug fixes 🐞
  • Fix some mouse gestures for Firefox 136 and later on Mac OS.
  • Fix issue where the close popup button was hidden from screen readers.
  • Fix updating of schema config values of imported styles.
  • Fix line placement symbol disappearing issue during transition from globe.
  • Fix queryRenderedFeatures not working on duplicated model layers.
  • Fix in-place update for SDF image.
  • Fix LUT not being applied to in-place updated image.
  • Fix various issues with using mouseenter and mouseleave with Interactions API.
  • Fix error with interactible map elements during interaction with a map that wasn't fully loaded.
  • Fix rendering of elevated and non-elevated lines on the same layer.
  • Fix pixel ratio handling for patterns with vector icons.
  • Fix positioning of vector icons with modified icon-size.
  • Fix a blank map issue after WebGL context loss.
  • Fix loss of precision for close to camera models.
  • Fix transparent models not being culled when terrain is enabled.

v3.9.4

Compare Source

  • Fix vector icons rendering with stretch areas on high DPI devices.

v3.9.3

Compare Source

  • Fix issues when updating feature state on symbol layers.
  • Fix canvas source not rendering correctly after a canvas resize.

v3.9.2

Compare Source

  • Fix display of user-rendered images.
  • Fix a broken build issue in specific bundling configurations using Vite or ESBuild.
  • Fix console error issue that sometimes occur during map initialization.

v3.9.1

Compare Source

  • Fix an error when using background patterns on styles with vector icons enabled.
  • Fix queryRenderedFeatures not working on styles with custom layers.
  • Fix small rendering artifacts on line corners when using patterns with line-join: none.
  • When using queryRenderedFeatures and querySourceFeatures with featureset, fix filter option to apply to featureset selectors rather than original properties, and add featureNamespace validation.
  • Fix queryRenderedFeatures missing source, sourceLayer and layer properties in resulting features where they should be present.

v3.9.0

Compare Source

Breaking changes ⚠️
  • Rename featureset property to target in addInteraction and queryRenderedFeatures options.
Features and improvements ✨
  • Add experimental vector icons support.
  • Add experimental precipitation support through snow and rain style properties.
  • Add experimental features for interactive indoor maps.
  • Add to-hsla expression.
  • Add *-use-theme property to override the color theme for specific layers.
  • Add support for color-theme overrides in imports.
  • Add per-feature mouseenter, mouseover, mouseleave, and mouseout events for addInteraction.
  • Enable mixing featuresets and layers in the Map#queryRenderedFeatures.
  • Improve landmark rendering performance.
  • The clip layer is now stable and no longer marked experimental.
Bug fixes 🐞
  • Fix crash on devices with PowerVR GPUs.
  • Fix dark shade of fill-extrusion buildings caused by specific light directions.
  • Fix double shadowing on lines at ground level.
  • Fix shadow acne from 3D structures close to the ground.
  • Fix update of state-dependent features during brightness changes.
  • Fix an edge case with fill extrusions around tile borders not being updated correctly on terrain load.
  • Fix a race condition where using line-z-offset would sometimes break layer rendering order.

v3.8.0

Compare Source

Features and improvements ✨
  • Add experimental support for style-defined featuresets, an upcoming way to query features in Mapbox Standard and other fragment-based styles.
  • Add experimental Map addInteraction/removeInteraction methods that make it easier to manage map interactions like clicking and hovering over features.
  • Add experimental support for elevated lines with line-cross-slope and line-elevation-reference properties.
  • Add experimental scaleFactor map option and setScaleFactor method to increase map label size (useful for improving accessibility or adjusting text size for different devices).
  • Add support for using line-progress expression in non-data-driven line properties.
  • Improve performance of dynamic brightness changes.
  • Minor optimizations to reduce load time.
Bug fixes 🐞
  • Fix localization when setting a worldview on the Mapbox Standard style.
  • Fix raster array rendering on some Android devices.
  • Fix an issue where fill-extrusion buildings would disappear when zooming out.
  • Fix line joins for thick semi-transparent or blurred lines.
  • Improve appearance of line corners with densely placed vertices.
  • Fix anti-alising aftifacts on blurred lines.
  • Fix call stack overflow caused by repeated addImport calls.
  • Fix failures when handling non-renderable characters.
  • Fix rendering of Osage script.
  • Fix certain edge cases when using config expression in filter properties.
  • Fix patterned fill extrusions being visible with zero opacity alpha.
  • Fix data-driven symbol-z-offset not working properly.
  • Fix fill extrusions on terrain producing WebGL warnings in some cases.
  • Fix line-emissive-strength not being applied to patterned lines.

v3.7.0

Compare Source

Features and improvements ✨
  • Add background-pitch-alignment property of the background layer, which is set to map by default but can now be set to viewport. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.
  • Add new control positions (top, right, bottom, and left) (h/t @​Ethan-Guttman).
  • Add retainPadding option for camera movement methods, which can be set to false for pre-v3.4 padding behavior.
  • Add config expression support in layer filter.
  • Add symbol elevation properties: symbol-z-offset and symbol-elevation-reference.
  • Add the fill-z-offset property for fill layers.
  • Improve Map#fitBounds for the alternative projections.
  • Improve terrain hillshade lighting anchored to viewport.
  • Improve shadow casting from 3D models.
  • Improve error messages for invalid expressions.
  • Skip landmarks rendering when the camera is inside them.
  • Improve type checking for the Map#setPaintProperty and Map#setLayoutProperty methods.
  • Allow the string event type in Map event handlers.
  • Expose RequestTransformFunction, ResourceType, and RequestParameters types.
  • Improve texture memory footprint on some platforms.
Bug fixes 🐞
  • Fix feature filtering when using 3D lights.
  • Fix pattern rendering issues on some devices at high zoom levels.
  • Fix fill-extrusion-line-width rendering for large polygons
  • Fix symbol placement ordering when symbol-z-order is set to auto.
  • Fix the issue where minzoom and maxzoom properties were ignored by clip layers.
  • Fix handling previously hidden models in clip layers.
  • Fix directional light cast-shadows property type.
  • Fix an edge case that could produce setStencilMode-related error in the console with the dev build.
  • Fix an issue where some fill extrusions could temporarily disappear when zooming quickly in certain areas.
  • Fix an edge case that could cause flickering on a far plane on high zooms.

v3.6.0

Compare Source

Features and improvements ✨
  • Add wall rendering mode to the fill-exturion layer by introducing fill-extrusion-line-width and fill-extrusion-line-alignment properties. Set fill-extrusion-line-width to

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 2d913f9 to 576d3f4 Compare December 8, 2023 15:12
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 3505672 to d985f08 Compare January 25, 2024 15:32
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from d985f08 to a62f32c Compare January 25, 2024 19:48
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from a62f32c to 836df5e Compare February 23, 2024 01:48
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 836df5e to dc1cbe5 Compare March 1, 2024 13:49
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from dc1cbe5 to edcaa52 Compare April 10, 2024 11:58
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from edcaa52 to 58a617f Compare May 24, 2024 09:25
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 1a131ac to 047c4ce Compare July 5, 2024 16:32
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 047c4ce to e8f5ca5 Compare July 18, 2024 16:53
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from e8f5ca5 to f4931e2 Compare July 29, 2024 19:36
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from f4931e2 to 10e65b0 Compare August 14, 2024 17:55
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 10e65b0 to 95a15bf Compare September 27, 2024 10:28
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 95a15bf to 5871167 Compare November 2, 2024 18:08
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 5871167 to 29626f4 Compare November 12, 2024 18:27
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from d51d4d7 to f28995c Compare December 23, 2024 12:57
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from f28995c to dfeba08 Compare January 3, 2025 14:14
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from dfeba08 to 5bd6762 Compare January 15, 2025 10:01
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 5bd6762 to 2c29691 Compare January 27, 2025 12:22
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 2c29691 to 7d283ab Compare February 13, 2025 18:46
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 7d283ab to 04ba899 Compare April 1, 2025 14:02
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 04ba899 to 9d2914a Compare April 24, 2025 14:46
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 9d2914a to b5995ce Compare May 8, 2025 18:38
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from b5995ce to be977ec Compare June 17, 2025 13:44
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from be977ec to dbe2081 Compare July 30, 2025 12:02
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from dbe2081 to d9ce773 Compare August 10, 2025 14:51
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from d9ce773 to b279f4f Compare September 10, 2025 18:38
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from b279f4f to c9418ea Compare October 23, 2025 16:44
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from edd1278 to d322294 Compare March 4, 2026 10:33
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from d322294 to 09aaa25 Compare March 12, 2026 12:52
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 977791d to e59bb9f Compare April 8, 2026 20:35
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from e59bb9f to 3154bcc Compare April 17, 2026 16:17
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 087961a to 5471732 Compare May 4, 2026 13:50
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 7ebaa99 to 28d98f8 Compare May 18, 2026 20:49
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 28d98f8 to c3e7aa9 Compare May 28, 2026 16:08
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 3 times, most recently from 97e4b9d to 66753ec Compare June 17, 2026 18:15
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 66753ec to f5c5be1 Compare July 9, 2026 17:04
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from f5c5be1 to aaaa5cb Compare July 23, 2026 15:35
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from c84b146 to 995d7ab Compare August 7, 2026 11:27
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 995d7ab to cb185cc Compare August 22, 2026 19:53
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from cb185cc to bc7d8fe Compare September 4, 2026 00:26
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from bc7d8fe to 318abd3 Compare September 17, 2026 22:12
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 318abd3 to 9ffddd1 Compare September 29, 2026 19:27
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 9ffddd1 to f5c44db Compare October 13, 2026 16:31
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 4583803 to 7aae29f Compare November 3, 2026 21:58
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch 2 times, most recently from 38d8be8 to 160509e Compare November 18, 2026 15:52
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 160509e to 590401a Compare November 20, 2026 19:02
@renovate
renovate Bot force-pushed the renovate/mapbox-gl-3.x branch from 590401a to 134adbf Compare November 26, 2026 11:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants