bcgov / nr-gwells

Groundwater Wells and Aquifers
Apache License 2.0
1 stars 0 forks source link

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

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mapbox-gl ^1.10.0 -> ^3.0.0 age adoption passing confidence

Release Notes

mapbox/mapbox-gl-js (mapbox-gl) ### [`v3.7.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#v370) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.6.0...v3.7.0) ##### 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](https://redirect.github.com/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`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#360) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.5.2...v3.6.0) ##### 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 a non-zero value to render walls instead of a solid extrusion. - Improve initial load performance. - Add inner glow effect for negative `circle-blur` values. - Add support for inlining TileJSON in style source definitions using `data` field. - Improve 3D models' shadow appearance. - Improve performance of updating config values of a style. - Add more descriptive expression evaluation error messages. - Improve TypeScript typings. - Improve performance of symbol occlusion (visibility checks against terrain and 3D objects). - Add `clip-layer-scope` property to limit `clip` layer to a specific style fragment. - Add `Map` `idle` method to check whether a map is idle. ##### Bug fixes 🐞 - Fix `isSourceLoaded` flag on `sourcedata` event for already loaded sources. - Fix firing `load` event when all tiles fail to load. - Fix performance issues when GeoJSON in `dynamic` mode is updated too frequently. - Fix GeoJSON line rendering in `dynamic` mode. - Fix rasterarray layer flickering from stale tiles cache. - Fix spikes when viewing terrain-enabled maps in certain environments. - Fix `Map` `getLayer` not working properly with custom layers. - Fix custom layer rendering issues on globe with high pitch. - Fix an issue with `line-trim-offset` on very long lines. - Fix rendering issues when ground effects overlap with line layers. - Fix landmark visibility issues near tile borders. - Fix accessibility issues with compact attribution button and logo. ### [`v3.5.2`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#352) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.5.1...v3.5.2) - Improve 3D models rendering performance. - Slightly improve terrain rendering performance. - Fix raster particle data decoding and improve rendering quality. - Fix 3D lighting rendering when lookup tables (LUT) image is applied. - Fix shadows rendering artifacts on `fill-extrusion-cutoff-fade-range`. - Improve TypeScript API, including strongly typed Map event listeners, improved type narrowing, and more. ### [`v3.5.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#351) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.5.0...v3.5.1) - Revert default behavior of symbol occlusion behind terrain to maintain compatibility. Set `icon-occlusion-opacity`/`text-occlusion-opacity` properties to opt-in to new occlusion behavior. ### [`v3.5.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#350) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.4.0...v3.5.0) ##### Breaking changes ⚠️ - This release marks a significant transition for GL JS, moving from [Flow](https://flow.org/) to [TypeScript](https://www.typescriptlang.org/). While we have maintained backward compatibility where possible, the community typings `@types/mapbox-gl` are not fully compatible with the new first-class typings. Users relying on the community typings may experience breaking changes. Please remove the `@types/mapbox-gl` dependency and refer to the [v3.5.0 migration guide](https://redirect.github.com/mapbox/mapbox-gl-js/issues/13203) 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 ✨ - Add `color-theme` property and `Map` `setColorTheme` method to enable colorization with a lookup table (LUT) images. - Significantly improve performance of `updateData` for `GeoJSON` sources in `dynamic` mode. - Add `icon-occlusion-opacity` and `text-occlusion-opacity` properties to fade symbols behind models and landmarks. - Add `line-occlusion-opacity` property to fade lines behind 3D objects. - Add experimental `clip` layer to filter out rendering data. - Add experimental `line-z-offset` property for a non-globe view. - Add `model-cutoff-fade-range` property to control fade out of faraway 3D buildings. - Improve precision of `line-pattern` on long lines and higher zooms. - Add experimental `line-trim-color` and `line-trim-fade-range` properties to customize rendering of lines trimmed with `line-trim-offset`. - Add `Map` `getSlots` method for listing available slots of a style. ##### Bug fixes 🐞 - Fix a performance regression in Standard style introduced in v3.4.0. - Fix icon rotation during globe transition. - Fix GeoJSON data loss due to frequent `updateData` calls. - Improve `raster-particle` layer animation. - Fix `model-front-cutoff` property for Meshopt-encoded models. - Fix errors in the console on empty 3D tiles. - Fix not properly detecting fingerprinting protection when adding terrain through `setTerrain`. - Fix `style.load` event missing `style` property. - Fix errors when using `queryRenderedFeatures` on areas with missing DEM tiles when terrain is enabled. ### [`v3.4.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#340) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.3.0...v3.4.0) ##### Features and improvements ✨ - Add `dynamic: true` option for GeoJSON sources that enables partial update API with `source.updateData` method. Further optimizations for this mode are expected in future releases. - Add `Map` `setConfig`, `getConfig`, `setSchema` and `getSchema` methods for batch setting of style configuration options. - Add `config` option for the `Map` constructor and `setStyle` methods for conveniently setting style configuration options on map initialization. - Add `icon-color-saturation`, `icon-color-contrast`, `icon-color-brightness-min` and `icon-color-brightness-max` to control symbol layer appearance. - Introduce a new `line-join` mode: `none` to improve line pattern distortions around joins. - Extend `model-id` property to support URIs (in addition to style-defined model references). - Expose more parameters in map `devtools` UI. ##### Bug fixes 🐞 - Fix an issue with `flyTo` ignoring `padding` in its options. - Respect padding in `cameraForBounds` on globe view. (h/t [@​jonasnoki](https://redirect.github.com/jonasnoki)) [#​13126](https://redirect.github.com/mapbox/mapbox-gl-js/pull/13126) - Fix `preloadOnly` not preloading tiles from style imports. - Fix `queryRenderedFeatures` for non-integer ID in non-tiled model sources - Fix `model-scale` property for large number of 3D models. - Fix flickering of `raster-particle` layer on globe view. - Improve rendering of low-resolution `raster-array` data. - Fix an issue with GL JS bundle not building locally on Windows. - Fix multiple edge cases when using `symbol-z-elevate`. - Fix rendering issues with `raster-particle` layer on certain Android devices. - Fix shadow and lighting rendering issues in certain areas when using Mapbox Standard. ### [`v3.3.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.2.0...v3.3.0) ##### Features and improvements ✨ - Add a new `raster-array` source type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series). - Add a new `raster-particle` layer which animates particles of different speed and color based on underlying `raster-array` data. - Add `addImport`, `moveImport`, `updateImport`, and `removeImport` API methods. - Add `getSlot`, and `setSlot` API methods to control layers' slots. - Add landmarks and models support in `queryRenderedFeatures`. - Add `raster-elevation` support for tiled raster sources. - Add `config` expression support in fog. - Improve map loading performance. ##### Bug fixes 🐞 - Fix zooming with the pitched camera and `maxZoom`. - Fix memory leak after removing the map. (h/t [@​kamil-sienkiewicz-asi](https://redirect.github.com/kamil-sienkiewicz-asi)) [#​13110](https://redirect.github.com/mapbox/mapbox-gl-js/pull/13110), [#​13116](https://redirect.github.com/mapbox/mapbox-gl-js/pull/13116) - Fix broken horizon line for some camera values. - Fix broken globe draping after updating style with `setStyle`. - Fix the `z` offset when the opacity is evaluated at 0 on the zoom change. - Fix the `format` expression in the `config` expression. - Fix adding a marker to the map that is not loaded when fog is enabled. - Fix symbol and icon rendering order when using `symbol-sort-key` property. ### [`v3.2.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.1.2...v3.2.0) ##### Features and improvements ✨ - Improve map loading performance. - Add a debug UI for the development build of GL JS, enabled with `devtools: true` in `Map` options. - Add imports support in `map.areTilesLoaded`. - Add support of rotation of elevated raster layers. - Add support of negative values for `fill-extrusion-flood-light-ground-radius` property. - Improve visual cutoff behavior of buildings when using `fill-extrusion-cutoff-fade-range` property. ##### Bug fixes 🐞 - Fix an issue where `map.flyTo` with `padding` option was setting and overriding map's padding. - Issue a warning instead of a validation error if `url` or `tiles` is missing from source, i.e. in MapTiler source. - Fix the moirΓ© effects on patterns in tilted map views. - Remove role attribute for non-visible alerts. (h/t [@​jakubmakielkowski](https://redirect.github.com/jakubmakielkowski)) [#​13051](https://redirect.github.com/mapbox/mapbox-gl-js/pull/13051) - Fix an elevation of symbols above multiple fill extrusions, when some of them hidden or lowered. - Fix `config` expression chaining through nested styles and other issues related to config scope. - Fix a small callback-related memory leak. (h/t [@​temas](https://redirect.github.com/temas)) [#​13074](https://redirect.github.com/mapbox/mapbox-gl-js/pull/13074) - Fix `config` and `format` expressions not working together. ### [`v3.1.2`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#312) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.1.1...v3.1.2) ##### Bug fixes 🐞 - Fix attribution not being displayed for imported fragments (reintroducing the fix from v3.0.1 that was accidentally missing in v3.1.0). ### [`v3.1.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.1.0...v3.1.1) ##### Bug fixes 🐞 - Fix `fill-extrusions` not being displayed in alternative projections. - Fix an issue when WebGL might randomly crash to an unrecoverable state on some mobile devices, specifically Safari on iOS. ### [`v3.1.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.0.1...v3.1.0) ##### Features and improvements ✨ - Improve performance for maps with many textures (such as styles with satellite imagery), fixing excessive memory usage. (h/t [@​tristan-morris](https://redirect.github.com/tristan-morris)) [#​12924](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12924) - Add `raster-elevation` property for elevating raster layers to a constant height (e.g. clouds over globe). - Add `raster-emissive-strength` and `fill-extrusion-emissive-strength` properties for controlling 3D lighting on buildings and raster layers. - Add `Map` `getConfigProperty` method for getting current style config values. - Add `config` support in terrain options. - Improve performance for pitched views with many fill extrusions on higher zoom levels. - Allow turning off the terrain that is defined in the imports on the root-level Style by setting it to `null`. - Allow the partial terrain exaggeration update without specifying the source. - Respect style schema restrictions (`minValue`, `maxValue`, `stepValue`, `values`, `type`) when evaluating config options. ##### Bug fixes 🐞 - Fix an issue where `center: [0, 0]` and `zoom: 0` map options were ignored in favor of style settings. - Fix an issue with the camera not taking the short route when animating between locations across the anti-meridian. - Fix an issue where a style with imports sometimes loaded in incomplete state. - Fix an issue with rendering styles with nested imports. - Fix an issue with sources not reloading when changing language and worldview. - Fix an issue where updating a style fragment URL didn't work correctly. - Fix an issue when adding a layer with explicit `slot` not taking precedence over the `before` parameter for layer order. - Fix an issue where updating an image before initial image is loaded produced an error. (h/t [@​maciejmatu](https://redirect.github.com/maciejmatu)) [#​12928](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12928) - Fix an issue with incorrect collisions for elevated symbols. - Fix an issue with `"camera-projection": "orthographic"` not working in styles with imports. - Fix an issue with tiles sometimes missing in terrain mode on views from a hill down on a valley. - Fix compact attribution style when using global CSS that sets `box-sizing: border-box`. (h/t [@​simondriesen](https://redirect.github.com/simondriesen)) [#​12982](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12982) - Remove redundant `aria-label` attribute in attribution control that fails accessibility conformance. (h/t [@​maggiewachs](https://redirect.github.com/maggiewachs)) [#​12981](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12981) - Disable terrain and hillshade when browser fingerprinting protection (e.g. in private browsing mode) prevents it from rendering correctly. - Fix layer rendering when import requests are failing. - Fix map `load` event not firing for the sources whose tiles are 404s. - Require either `url` or `tiles` for tiled sources during validation. - Validate for empty layer and source IDs in runtime. ### [`v3.0.1`](https://redirect.github.com/mapbox/mapbox-gl-js/releases/tag/v3.0.1) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v3.0.0...v3.0.1) Mapbox GL JS v3 enables the [Mapbox Standard Style](https://www.mapbox.com/blog/standard-core-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](https://docs.mapbox.com/mapbox-gl-js/guides/migrate-to-v3/). #### v3.0.1 ##### Bug fixes 🐞 - Fix attribution not being displayed for imported fragments. ### [`v3.0.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.15.0...v3.0.0) Mapbox GL JS v3 enables the [Mapbox Standard Style](https://www.mapbox.com/blog/standard-core-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](https://docs.mapbox.com/mapbox-gl-js/guides/migrate-to-v3/). ##### Breaking changes ⚠️ - Discontinue WebGL 1 support. WebGL 2 is now mandatory for GL JS v3 usage, aligned with universal [browser support](https://caniuse.com/webgl2). - Remove the `optimizeForTerrain` map option (layer rendering on globe and terrain is always optimized now). ##### ✨ Features and improvements - Introduced a new 3D Lights API that supports directional and ambient light sources to give you control of lighting and shadows in your map when using 3D objects. - Add new `*-emissive-strength` properties for styling layers with the new lighting API. - Introduced flood lighting for the extruded buildings' walls and the ground beneath them. - Introduced ambient occlusion to affect the ground beneath the extruded buildings. - Introduced `measureLight` expression lights configuration property: Create dynamic styles based on lighting conditions. - Added support for shadows cast from fill extrusions. - Introduced `hsl` and `hsla` color expressions: These expressions allow you to define colors using hue, saturation, and lightness format. - Add support for fading out 3D layers in the distance with `fill-extrusion-cutoff-fade-range` and `model-cutoff-fade-range` style properties. - Introducing support for nested and configurable styles. You can now import other styles into your main style, with updates to imported styles automatically reflected in your main style. Configuration properties can be set for imported styles, making them customizable. - Introduced concept of `slot`s, pre-specified locations in the style, where your layer can be added (e.g., on top of existing land layers but below all labels). - Introduced `config` expression: Retrieves the configuration value for the given option. - When no `style` option is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default. - Add a `style.import.load` event to track the loading of imported style fragments. - Improve terrain sampling accuracy. - Improve zooming and panning over dynamic terrain so that it feels smooth. - Improve performance for styles that use both hillshade layers and terrain. - Introduced raster colorization via `raster-color` paint properties. - Introduced `raster-value` expression: Returns the raster value of a pixel computed via `raster-color-mix`. - Add support for controlling the vertical fog range with `vertical-range` style property. - Introduced rounding fill extrusion edges for a smoother appearance. - Introduced the `icon-image-cross-fade` property, which controls the transitioning between the two variants of an icon image. - Introduced `random` expression: 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. - Introduced `distance` expression: Returns the shortest distance in meters between the evaluated feature and the input geometry. - Add support for elevating symbols over buildings & other 3D layers with `symbol-z-elevate` style property. - Improve rendering of stars on globe view. - Add the `renderstart` event, which, combined with the `render` event, can be used to measure rendering frame duration. - Enable zoom-based expressions for model rotation, scale, and translation. - Optimize shader compilation to reduce stuttering on complex 3D styles. - Reduce flickering of symbols along lines due to rounding errors. ##### Bug fixes 🐞 - Fix the accuracy of the atmosphere gradient when rendering the globe. - Fix a bug with horizon placement when map `padding` is used. - Fix a bug with horizon rendering on Windows/NVidia. - Accessibility fixes: remove `tabindex` when the map is not interactive; remove `role="list"` from the attribution control; add `role="img"` to markers (h/t [@​kumiko-haraguchi](https://redirect.github.com/kumiko-haraguchi) and [@​aviroopjana](https://redirect.github.com/aviroopjana)). - Fix the order of layers in `queryRenderedFeatures` results on maps with globe and terrain. - Fix an error when zooming out on certain globe views using the GL JS development bundle. - Fix an error on `map` `hasImage` and `updateImage` after the map was removed. - Fix rendering of line layers with data-driven `line-border`. - Fix an issue with symbols sometimes not rendering correctly over the terrain on a top-down view. - Remove duplicate frag precision qualifiers ### [`v2.15.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2150) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.14.1...v2.15.0) ##### Features ✨ and improvements 🏁 - Improve performance of symbol layers with identical or no text. Eliminate stuttering when zooming on maps with many identical symbols. ([#​12669](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12669)) - Improve performance of clustered sources: 20% faster loading & 40–60% less memory overhead. Improve performance of symbol collisions. ([#​12682](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12682)) - Add `respectPrefersReducedMotion` map option ([#​12694](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12694)) - Add the `isPointOnSurface` map method to determine if the given point is located on a visible map surface. ([#​12695](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12695)) ##### Bug fixes 🐞 - Fix inconsistent spacing in the Scale control ([#​12644](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12644)) (h/t [kathirgounder](https://redirect.github.com/kathirgounder)) - Fix tiles preloading when a source is not yet loaded ([#​12699](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12699)) ### [`v2.14.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2141) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.14.0...v2.14.1) ##### Bug fixes 🐞 - Fix a bug where certain bundling configurations involving Vite or ESBuild could produce a broken build. [#​12658](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12658) ### [`v2.14.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2140) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.13.0...v2.14.0) ##### Features ✨ and improvements 🏁 - Support `referrerPolicy` option for the `transformRequest` function when using fetch ([#​12590](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12590)) (h/t [robertcepa](https://redirect.github.com/robertcepa)) ##### Bug fixes 🐞 - Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps. ([#​12577](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12577)) - Fix LngLatBounds.extend() with literal LngLat object. ([#​12605](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12605)) - Add arrow characters to the map of verticalized character ([#​12608](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12608)) (h/t [kkokkojeong](https://redirect.github.com/kkokkojeong)) - Disable panning inertia if `prefers-reduced-motion` is enabled ([#​12631](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12631)) ### [`v2.13.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2130) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.12.1...v2.13.0) ##### Features ✨ and improvements 🏁 - Improve rendering performance of terrain slightly by reducing its GPU memory footprint. ([#​12472](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12472)) - Add methods for changing a raster tile source dynamically (e.g. `setTiles`, `setUrl`). ([#​12352](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12352)) ##### Bug fixes 🐞 - Fix `line-border-color` when used with `line-trim-offset` ([#​12461](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12461)) - Fix potential infinite loop when calling `fitBounds` with globe projection ([#​12488](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12488)) - Fix `map.getBounds()` returning incorrect bounds with adaptive projections. ([#​12503](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12503)) - Introduce skirts for terrain globe mode ([#​12523](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12523)) - Fix blur on draped lines while zoom-in ([#​12510](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12510)) - Fix map pan speed while pinching in ([#​12543](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12543)) - Fix negative-width diacritics handling ([#​12554](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12554)) - Fixes `undefined is not an object` in `coalesceChanges` ([#​12497](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12497)) (h/t [nick-romano](https://redirect.github.com/nick-romano)) ### [`v2.12.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2121) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.12.0...v2.12.1) ##### Bug fixes 🐞 - Fix a rare bug where certain diacritical characters could break the rendering of a symbol layer. ([#​12554](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12554)) ### [`v2.12.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2120) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.11.1...v2.12.0) ##### Features ✨ and improvements 🏁 - Improve performance of patterns and line dashes and improve their appearance when zooming. ([#​12326](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12326)) - Improve performance of text and icon placement. ([#​12351](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12351)) - Improve performance of loading terrain data ([#​12397](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12397)) - Allow zooming towards terrain at a safe distance without pitching the camera ([#​12354](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12354)) - Allow for pitch override in `cameraForBounds`, `fitBounds` and `fitScreenCoordinates` camera APIs. ([#​12367](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12367)) ##### Bug fixes 🐞 - Fix `getBounds` when used around the poles with a globe projection. ([#​12315](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12315)) - Fix incorrect transition flag in `*-pattern` and `line-dasharray` properties ([#​12372](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12372)) - Fix symbols filtering when using `center-to-distance` along with terrain. ([#​12413](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12413)) - Fix fog rendering artifact on lower resolution terrain tiles ([#​12423](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12423)) - Fix an issue where Geolocate control would throw an error if it's removed before determining geolocation support ([#​12332](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12332)) (h/t [tmcw](https://redirect.github.com/tmcw)) ### [`v2.11.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2111) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.11.0...v2.11.1) ##### Bug fixes 🐞 - Fix support for line breaks in labels that follow line geometries ([#​12377](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12377)) ### [`v2.11.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2110) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.10.0...v2.11.0) ##### Features ✨ and improvements 🏁 - Add support for `cameraForBounds` with globe projection ([#​12138](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12138)) - Add support for `fitBounds` and `fitScreenCoordinates` with globe projection ([#​12211](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12211)) - Improve support for `getBounds` with globe projection. ([#​12286](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12286)) - Improve symbol placement performance with globe projection ([#​12105](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12105)) - Add new marker styling option `occludedOpacity` allowing the user to set the opacity of a marker that's behind 3D terrain (h/t [jacadzaca](https://redirect.github.com/jacadzaca)) ([#​12258](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12258)) - Cancel `ImageSource` image request when underlying resource is no longer used ([#​12266](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12266)) (h/t [maciejmatu](https://redirect.github.com/maciejmatu)) - Add object literal support in `LngLatBounds.extend` ([#​12270](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12270)) (h/t [stampyzfanz](https://redirect.github.com/stampyzfanz)) - Add live performance counters. Mapbox-gl-js v2.11.0 collects certain performance and feature usage counters so we can better benchmark the library and invest in its performance. The performance counters have been carefully designed so that user-level metrics and identifiers are not collected. ([#​12343](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12343)) ##### Bug fixes 🐞 - Fix elevation of pole geometry when exaggerated terrain is used ([#​12133](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12133)) - Fix `GeolocateControl` sometimes not working in iOS16 WebView ([#​12239](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12239)) - Fix map crashing on conformal projections at the south pole ([#​12172](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12172)) - Fix pixel flickering between tiles on darker styles in globe view. ([#​12145](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12145)) - Fix occasional missing tiles at bottom of screen during globe-mercator transition ([#​12137](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12137)) - Fix incorrectly requiring three finger drags to change pitch with cooperative gestures while in fullscreen. ([#​12165](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12165)) - Fix jumping when scrolling with mouse when crossing the antimeridian on projections that wrap. ([#​12238](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12238)) - Fix terrain error being fired when using `map.getStyle()` with globe view ([#​12163](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12163)) - Fix occasional artifacts appearing in the ocean with terrain or globe enabled. ([#​12279](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12279)) - Fix invalid AABB calculation as part of the globe tile cover ([#​12207](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12207)) - Fix incorrect shading of corners in fill extrusions when ambient occlusion is enabled. ([#​12214](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12214)) - Fix potential performance regression on image source updates ([#​12212](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12212)) - Fix memory leak when removing maps ([#​12224](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12224)) (h/t [joewoodhouse](https://redirect.github.com/joewoodhouse)) - Fix updating marker position when toggling between world copied projections and projections without ([#​12242](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12242)) - Fix missing icons in some styles. ([#​12299](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12299)) - Fix overwriting all feature ids while setting promoteIds on other layers with an object. ([#​12322](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12322)) (h/t [yongjun21](https://redirect.github.com/yongjun21)) - Fix cursor returning to original state after a popup with `trackPointer` is removed ([#​12230](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12230)) (h/t [camouflagedName](https://redirect.github.com/camouflagedName)) ### [`v2.10.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#2100) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.9.2...v2.10.0) ##### Features ✨ and improvements 🏁 - Add new marker styling option `rotationAlignment: 'horizon'` allowing marker rotation to match the curvature of the horizon in globe view. ([#​11894](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11894)) - Improve panning precision on Globe View and relax constraints on lower zoom levels. ([#​12114](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12114)) - Add unit option to number-format expression. ([#​11839](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11839)) (h/t [varna](https://redirect.github.com/varna)) - Add screen reader alert for cooperative gestures warning message. ([#​12058](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12058)) - Improve rendering performance on globe view. ([#​12050](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12050)) - Improve tile loading performance on low zoom levels. ([#​12061](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12061)) - Improve globe-mercator transition and map load performance with globe projection. ([#​12039](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12039)) ##### Bug fixes 🐞 - Fix a bug where `id` expression didn't correctly handle a value of 0. ([#​12000](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12000)) - Fix precision errors in depth pack/unpack. ([#​12005](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12005)) - Fix `cooperativeGestures` preventing panning on mobile while in fullscreen. ([#​12058](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12058)) - Fix misplaced raster tiles after toggling `setStyle` with a globe projection. ([#​12049](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12049)) - Fix exception on creating map in an iframe with sandbox attribute. ([#​12101](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12101)) - Fix "improve map" link in the attribution to include location even if map hash is disabled. ([#​12122](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12122)) - Fix Chrome console warnings about ignored event cancel on touch interactions. ([#​12121](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12121)) (h/t [jschaf](https://redirect.github.com/jschaf)) ### [`v2.9.2`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#292) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.9.1...v2.9.2) ##### Bug fixes 🐞 - Add a workaround in `ScaleControl` to support localization in browsers without `NumberFormat` support. ([#​12068](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12068)) - Fix `GeolocateControl` not working in Safari. ([#​12080](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12080)) ### [`v2.9.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#291) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.9.0...v2.9.1) ##### Bug fixes 🐞 - Fix missing lines on some Windows devices. ([#​12017](https://redirect.github.com/mapbox/mapbox-gl-js/pull/12017)) ### [`v2.9.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#290) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.8.2...v2.9.0) ##### Features ✨ - Add `globe` projection. This new projection displays the map as a 3d globe and can be enabled by either passing `projection: globe` to the map constructor or by calling `map.setProjection('globe')`. All layers are supported by globe except for Custom Layers and Sky. - Extend atmospheric `fog` with three new style specification properties: `high-color`, `space-color` and `star-intensity` to allow the design of atmosphere around the globe and night skies. ([#​11590](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11590)) - Add a new line layer paint property in the style specification: `line-trim-offset` that can be used to create a custom fade out with improved update performance over `line-gradient`. ([#​11570](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11570)) - Add an option for providing a geolocation adapter to `GeolocateControl`. ([#​10400](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10400)) (h/t [behnammodi](https://redirect.github.com/behnammodi)) - Add `Map.Title` property to locale options to localise the map `aria-label`. ([#​11549](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11549)) (h/t [andrewharvey](https://redirect.github.com/andrewharvey)) - Allow duplicated coordinates in tile request URLs. ([#​11441](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11441)) (h/t [ozero](https://redirect.github.com/ozero)) ##### Bug fixes 🐞 - Fix an issue which causes line layers to occasionally flicker. ([#​11848](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11848)) - Fix markers in fog sometimes becoming more visible when behind terrain. ([#​11658](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11658)) - Fix an issue where setting terrain exageration to 0 could prevent the zoom to be resolved. ([#​11830](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11830)) - Copy stylesheet to allow toggling different styles using setStyle without overwriting some of the properties. ([#​11942](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11942)) ### [`v2.8.2`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#282) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.8.1...v2.8.2) ##### Bug fixes 🐞 - Fix an issue where the special bundle for CSP-restricted environments was not compatible with further minification in some bundling setups. ([#​11790](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11790)) ### [`v2.8.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#281) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.8.0...v2.8.1) ##### Bug fixes 🐞 - Fix the special bundle for CSP-restricted environments that broke in the 2.8.0 release. ([#​11739](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11739)) ### [`v2.8.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#280) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.7.1...v2.8.0) ##### Performance improvements 🏁 - Improve memory usage by freeing memory more eagerly after loading tiles. ([#​11434](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11434)) - Improve memory usage by reducing repeated line labels on overscaled tiles. ([#​11414](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11414)) - Improve performance when placing many symbols on terrain. ([#​11466](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11466)) ##### Bug fixes 🐞 - Fix `map.fitBounds()`, `map.fitScreenCoordinates()`, and `map.cameraForBounds()` incorrectly matching bounds with non-zero bearing. ([#​11568](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11568)) (h/t [TannerPerrien](https://redirect.github.com/TannerPerrien)) - Improve control button appearance by applying `border-radius` more consistently. ([#​11423](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11423)) (h/t [nagix](https://redirect.github.com/nagix)) - Fix `ScaleControl` displaying incorrect units with some projections.([#​11657](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11657)) - Fix performance regression when animating image sources. ([#​11564](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11564)) - Fix `MapDataEvent.isSourceLoaded()` to check if specific source has loaded. ([#​11393](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11393)) - Fix map not wrapping after moving the map with no inertia. ([#​11448](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11448)) - Fix popup not removing event listeners when `closeOnClick:true`. ([#​11540](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11540)) - Fix camera occasionally intersecting terrain when DEM data loads while zooming. ([#​11461](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11461), [#​11578](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11578)) - Increase clarity of line layers with the terrain on high DPI devices. ([#​11531](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11531)) - Fix canvas size if more than one parent container has a transform CSS property. ([#​11493](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11493)) - Fix error on calling `map.removeImage()` on animated image. ([#​11580](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11580)) - Fix occasional issue with `fill-extrusion` layers not rendering on tile borders when used with terrain. ([#​11530](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11530)) ##### Workflow πŸ› οΈ - Upgrade Flow from `v0.108.0` to `v0.142.0` and enable type-first mode, greatly improving performance of type-checking. ([#​11426](https://redirect.github.com/mapbox/mapbox-gl-js/issues/11426)) ### [`v2.7.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#271) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.7.0...v2.7.1) ##### 🐞 Bug fixes - Work around a [Safari rendering bug](https://bugs.webkit.org/show_bug.cgi?id=237918#c3) by disabling WebGL context antialiasing for Safari 15.4 and 15.5. ([#​11615](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11615)) - Fix disabling cooperative gesture handling when map is fullscreen in Safari. ([#​11619](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11619)) ### [`v2.7.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#270) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.6.1...v2.7.0) ##### Features ✨ and improvements 🏁 - Enable preloading tiles for camera animation. ([#​11328](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11328)) - Improve quality of transparent line layers by removing overlapping geometry artifacts. ([#​11082](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11082)) - Add perspective correction for non-rectangular image, canvas and video sources. ([#​11292](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11292)) - Improve performance of default markers. ([#​11321](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11321)) - Add marker methods `setSnapToPixel` and `getSnapToPixel` to indicate rounding a marker to pixel. ([#​11167](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11167)) (h/t [malekeym](https://redirect.github.com/malekeym)) - Add a default `aria-label` for interactive markers for improved user accessibility. ([#​11349](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11349)) - Add support for sparse tile sets to DEM data sources, when served tiles don't go up to the full `maxzoom`. ([#​11276](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11276)) - Allow users to set order of custom attribution. ([#​11196](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11196)) - Add function call chaining to function `map.setProjection` ([#​11279](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11279)) (h/t [lpizzinidev](https://redirect.github.com/lpizzinidev)) ##### 🐞 Bug fixes - Fix canvas size to evaluate to expected value when applying the CSS transform property. ([#​11310](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11310)) - Fix `getBounds` sometimes returning invalid `LngLat` when zooming on a map with terrain. ([#​11339](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11339)) (h/t [@​ted-piotrowski](https://redirect.github.com/ted-piotrowski)) - Fix rendering of denormalized strings with diacritics. ([#​11269](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11269)) - Remove redundant title attribute from `Improve this Map` attribution element. ([#​11360](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11360)) - Fix a rare terrain flickering issue when using terrain with multiple vector data sources. ([#​11346](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11346)) ### [`v2.6.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#261) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.6.0...v2.6.1) ##### 🐞 Bug fixes - Remove Object spread syntax to ensure older build systems continue to work as expected. ([#​11295](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11295)) ### [`v2.6.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#260) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.5.1...v2.6.0) ##### ✨ Features and improvements - Add support for a variety of new map projections beyond the standard Web Mercator. Alternate projections can be used together with all existing styles and sources. The projections eliminate distortion as you zoom to make them useful at every scale. Supported projections include `albers`, `equalEarth`, `equirectangular`, `lambertConformalConic`, `naturalEarth` and `winkelTripel`. Change the projection by setting it in the map constructor: `new Map({ projection: 'winkelTripel', ... })`. ([#​11124](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11124)) - Limitations: Non-mercator projections do not yet support terrain, fog, free camera or CustomLayerInterface. - Add a new `"cooperativeGestures": true` map option that prevents the map from capturing page scrolling and panning. When enabled, scroll zooming requires `ctrl` or `⌘` to be pressed and touch panning requires two fingers ([#​11029](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11029), [#​11116](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11116)) - Add support for dynamic filtering of symbols based on pitch and distance to map center. `["pitch"]` and `["distance-from-camera"]` expressions can now be used within the `filter` of a symbol layer. ([#​10795](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10795)) - Improve user accessibility: conveying only `aria-label` in controls, replace `aria-pressed`with `aria-expanded` in the attribution control, interactive markers with popups express an `aria-expanded` state, and interactive markers have the role "button". ([#​11064](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11064)) - Add support for conditionally styling most paint properties according to the presence or absence of specific images. ([#​11049](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11049)) - Add support for attaching events to multiple layers with `map.on()`, allowing users to retrieve features under the mouse or touch event based on the order in which they are rendered. ([#​11114](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11114))(h/t [@​omerbn](https://redirect.github.com/omerbn)) ##### 🐞 Bug fixes - Fix `map.setFeatureState(...)` not updating rendering when terrain is enabled. ([#​11209](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11209)) - Fix marker positioning before initial map load ([#​11025](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11025)) - Fix slow tile loading performance on maps with CJK glyphs on certain Chrome/GPU combinations. ([#​11047](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11047)) - Update NavigationControl when `min` and `max` zoom are changed ([#​11018](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11018)) - Prevent video sources from entering fullscreen on iOS Safari ([#​11067](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11067)) - Fix a rare triangulation issue that could cause an infinite loop ([#​11110](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11110)) - Fix `null` feature values returned as `"null"` by `queryRenderedFeatures(...)` ([#​11110](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11110)) - Fix rendering issue with power of two square images and `'raster-resampling': 'nearest'` ([#​11162](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11162)) ### [`v2.5.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#251) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.5.0...v2.5.1) ##### 🐞 Bug fixes - Fix an iOS 15 issue where the iOS Safari tab bar interrupts touch interactions. ([#​11084](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11084)) ### [`v2.5.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#250) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.4.1...v2.5.0) ##### Features ✨ and improvements 🏁 - Added `queryRenderedFeatures` support to heatmap layers. ([#​10996](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10996)) - Added support for using `line-gradient` and `line-dasharray` paint properties together on line layers. ([#​10894](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10894)) - Added `preclick` event allowing popups to close and open in a new location on one click. ([#​10926](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10926)) - Improved collision detection for labels along lines, slightly improving label density. ([#​10918](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10918)) - Improved Popup `addClassName`, `removeClassName` and `toggleClassName` methods to work on popup instances that are not added to the map. ([#​10889](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10889)) - ⚠️ Note: Direct modifications to the popup container CSS class no longer persist. These methods should be used instead. ##### 🐞 Bug fixes - Fixed `maxBounds` property not working across the 180th meridian. ([#​10903](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10903)) - Fixed `map.getBounds()` returning too-large bounds under some conditions. ([#​10909](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10909)) - Fixed markers not updating position when toggling terrain. ([#​10985](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10985)) - Fixed gap on edge of map on retina displays. ([#​10936](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10936)) - Fixed SDF images rendering inside text. ([#​10989](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10989)) - Fixed an issue with slow tile loading performance on maps with CJK glyphs on certain Chrome/GPU combinations. ([#​11047](https://redirect.github.com/mapbox/mapbox-gl-js/pull/11047)) ### [`v2.4.1`](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.4.0...v2.4.1) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.4.0...v2.4.1) ### [`v2.4.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#240) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.3.1...v2.4.0) ##### ✨ Features and improvements - Add `showUserHeading` option to `GeolocateControl` that draws a triangle in front of the dot to denote both the user's location, and the direction they're facing.([#​10817](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10817)) (h/t to [@​tsuz](https://redirect.github.com/tsuz)) - Add support for `text-writing-mode` property when using `symbol-placement: line` text labels. ([#​10647](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10647)) - Note: This change will bring the following changes for CJK text blocks: - 1. For vertical CJK text, all the characters including Latin and Numbers will be vertically placed now. Previously, Latin and Numbers were horizontally placed. - 2. For horizontal CJK text, there may be a slight horizontal shift due to the anchor shift. - Improve character alignment in labels with mixed CJK and Latin characters by adding support for `descender` and `ascender` font metrics.([#​8781](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10652)) - Improve terrain performance by reducing number of framebuffer switches during draping.([#​10701](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10701)) - Improve behavior of vertically aligned line labels with horizontal text by adding stickiness to their flip state, preventing them from flickering. ([#​10622](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10622)) ##### 🐞 Bug fixes - Fix a potential rendering artifact when using custom `fill-extrusion` dataset with terrain. ([#​10812](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10812)) - Fix anchor calculation for `line-center` line labels when the anchor is very near to line segment endpoints. ([#​10776](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10776)) - Fix `ImageSource` breaking in Firefox/Safari if it's not immediately visible.([#​10698](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10698)) - Fix gradient skybox rendering issue on some ARM Mali GPU's.([#​10703](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10703)) ### [`v2.3.1`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#231) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.3.0...v2.3.1) ##### 🐞 Bug fixes - Fix fog flickering when the map option `optimizeForTerrain` is set to false ([#​10763](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10767)) - Fix collision boxes which were not correctly updated for symbols with `text-variable-anchor` ([#​10709](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10709)) ### [`v2.3.0`](https://redirect.github.com/mapbox/mapbox-gl-js/blob/HEAD/CHANGELOG.md#230) [Compare Source](https://redirect.github.com/mapbox/mapbox-gl-js/compare/v2.2.0...v2.3.0) ##### ✨ Features and improvements - Add configurable fog as a root style specification ([#​10564](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10564)) - Add support for data-driven expressions in `line-dasharray` and `line-cap` properties. ([#​10591](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10591)) - Add support for data-driven `text-line-height` ([#​10612](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10612)) - Add client-side elevation querying with `map.queryTerrainElevation(lngLat)` when terrain is active ([#​10602](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10602)) - Reduce GPU memory footprint when terrain is active by sharing a single depth stencil renderbuffer for all draping ([#​10611](https://redirect.github.com/mapbox/mapbox-gl-js/pull/10611)) - Optimize tile cover by pr

Configuration

πŸ“… 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 is behind base branch, 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.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

renovate[bot] commented 1 week ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

β™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: frontend/package-lock.json
ERROR: npm v10.8.2 is known not to run on Node.js v14.21.3.  This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/opt/containerbase/tools/npm/10.8.2/14.21.3/node_modules/npm/lib/utils/error-message.js:11
  er.message &&= replaceInfo(er.message)
             ^^^

SyntaxError: Unexpected token '&&='
    at wrapSafe (internal/modules/cjs/loader.js:1029:16)
    at Module._compile (internal/modules/cjs/loader.js:1078:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.<anonymous> (/opt/containerbase/tools/npm/10.8.2/14.21.3/node_modules/npm/lib/cli/exit-handler.js:2:48)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
renovate[bot] commented 1 week ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.