[openstreetmap/openstreetmap-website] Bump maplibre-gl from 5.24.0 to 6.0.0 in the dependencies group (PR #7258)
dependabot[bot]
notifications at github.com
Wed Jul 22 23:13:35 UTC 2026
Bumps the dependencies group with 1 update: [maplibre-gl](https://github.com/maplibre/maplibre-gl-js).
Updates `maplibre-gl` from 5.24.0 to 6.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/releases">maplibre-gl's releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<p>The following incorporates all the pre-releases for version 6 changes.
Check-out our <a href="https://github.com/maplibre/maplibre-gl-js/blob/HEAD/docs/guides/v5-to-v6-migration-guide.md">migration guide from v5 to v6</a> for more information.</p>
<h3>✨ Features and improvements</h3>
<ul>
<li>⚠️ Switch to an ESM-only distribution (<code>maplibre-gl.mjs</code>). The UMD bundles (<code>maplibre-gl.js</code>, <code>maplibre-gl-csp.js</code>) are no longer published. The CSP-specific bundle is also dropped: the ESM build loads its worker as a real URL, so <code>worker-src blob:</code> is no longer required. Consumers using <code><script src=".../maplibre-gl.js"></code> must switch to <code><script type="module"></code>, and consumers using <code>import maplibregl from 'maplibre-gl'</code> must switch to <code>import * as maplibregl from 'maplibre-gl'</code> or named imports. See the docs ESM section or our <a href="https://github.com/maplibre/maplibre-gl-js/blob/HEAD/docs/guides/v5-to-v6-migration-guide.md">migration guide</a> for migration steps. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/6254">#6254</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>⚠️ Interpolate the light position in spherical coordinates instead of cartesian ones, so that a transition keeps its radial distance. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7919">#7919</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ <code>styleimagemissing</code> is now a notify-only event instead of the previous callback that allowed to provide an image. This aligns the event with standard event semantics (notify, not resolve). Use <code>Map.setMissingStyleImageResolver</code> to on-demand supply images instead via an function that can now also be async. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7892">#7892</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>⚠️ <code>Map</code> now composes a <code>Camera</code> instead of extending it (<code>Map</code> extends <code>Evented</code> directly and forwards the camera API). The internal <code>map.transform</code> was removed — use map's public API instead or open a PR if you need something that's not exposed. Removed the internal <code>transform.getMatrixForModel</code> helper (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7800">#7800</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ All map events are now real classes that are instantiated when they are fired. Renamed the <code>Map</code>s' <code>BoxZoom</code> handler from <code>MapLibreZoomEvent</code> to <code>MapBoxZoomEvent</code>, added the <code>rollstart</code>/<code>roll</code>/<code>rollend</code> and <code>style.load</code> (as <code>MapStyleLoadEvent</code>) events to <code>MapEventType</code>, and added event classes and type-map for <code>Marker</code>, <code>Popup</code>, <code>GeolocateControl</code> and <code>FullscreenControl</code>. Removed <code>MapDataEvent</code>: the <code>data</code>/<code>dataloading</code>/<code>dataabort</code> events are now <code>MapSourceDataEvent | MapStyleDataEvent</code>, so source data events carry the full source info (<code>sourceId</code>, <code>tile</code>, <code>sourceDataType</code>, …). Added <code>MapMovementEvent</code> as the type for all camera-transition events (<code>move</code>/<code>zoom</code>/<code>rotate</code>/<code>pitch</code>/<code>roll</code>/<code>drag</code> and their <code>start</code>/<code>end</code> variants). <code>Evented</code> is now generic over an event-type map (<code>Evented<EventType></code>) and is <code>abstract</code>, so subclasses get strongly-typed <code>on</code>/<code>once</code>/<code>off</code> automatically without re-declaring overloads — this also types the events on <code>Camera</code>/<code>Style</code> (via <code>MapEventType</code>) and on the sources (via the new <code>SourceEventType</code>) (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7789">#7789</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Update maplibre-gl-style-spec to version 25, which now throws an error with warning severity instead of silently failing on encoutering legacy expressions (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7792">#7792</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Removed the remaining mapbox references in the code and in the tests. This changes the <code>#pragma mapbox</code> to <code>#pragma maplibre</code> in case you have shader code that relied on it. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7761">#7761</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ <code>zoomLevelsToOverscale</code> default value was changed to 4 to support better handling of high level zoom with dense labels. This might have a side effect of changing a bit the results of <code>queryRenderedFeatures</code> and some rendering of polygon center label. To revert this change, set the value to <code>undefined</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7537">#7537</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Remove the second parameter from <code>GeoJSONSource.setData</code> (<code>waitForCompletion</code>) and remove the return value of <code>this</code> to allow future changes to the API (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7538">#7538</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ The TypeScript target has been updated to ES2022.
This results in smaller bundles and improved runtime performance by relying on modern JavaScript features and reducing transpilation. Consumers targeting browsers or using some tooling released before 2022 may need to transpile MapLibre or update. This change also aligns all internal build configurations to a single target instead of ES2016 + ES2019, avoiding inconsistencies in emitted code. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7404">#7404</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ WebGL (v1) support has been removed; WebGL2 is now required.
In practical terms, this will not change how you interact with the map.
This enables performance improvements (e.g. line opacity), Terrain3D enhancements, and several bug fixes.
WebGL2 support has been widely available for years, and usage of the legacy path had plateaued, so maintaining it no longer justified the added complexity.
To ease this breaking change, we have also refactored how we handle the case that no webgl is avaliable (e.g. due to browser restrictions).
You can now listen to the webgl error via <code>.on("error")</code>.
See <a href="https://caniuse.com/webgl2">caniuse.com/webgl2</a> for ecosystem support and <a href="https://github.com/maplibre/maplibre-gl-js/discussions/6017">our RFC for details</a>. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7453">#7453</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ Support geojson nested objects, this is a breaking change as it encodes <code>__$json__</code> before properties that used to be an object. It also parses them back, but this is still a breaking change if you assumed this bug existed. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/6992">#6992</a>) (by <a href="https://github.com/HarelM">HarelM</a>)</li>
<li>⚠️ Improve types for <code>{get,set}LayoutProperty</code>, <code>{get,set}PaintProperty</code> to be the actual type instead of <code>string</code>/<code>any</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7481">#7481</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ Refactored the <code>Hash</code>-based location control (the option that syncs map state to the URL like <code>#map=5/1/2</code>) to use <code>URLSearchParams</code> internally. This improves extensibility for custom use cases, but may break existing code that relies on the previous implementation. It also changes how certain edge cases are parsed—for example, strings like <code>[#10](https://github.com/maplibre/maplibre-gl-js/issues/10)%2F3.00%2F-1.00</code> are now accepted, and hashes like <code>#foo</code> are normalized to <code>#foo=</code>. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7073">#7073</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Validate the terrain passed to <code>map.setTerrain</code>, which was previously applied unchecked (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7941">#7941</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>Improve runtime error warnings to point at the offending style location (e.g. <code>layers[3].paint.line-color</code>, <code>layers[3].filter</code>) instead of just logging the bare error message (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7869">#7869</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Improve terrain render-to-texture preparation performance by skipping sources that are not rendered to terrain textures (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7863">#7863</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Add <code>Map.setMissingStyleImageResolver</code> for resolving missing style images with sync or async callbacks (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7850">#7850</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Add <code>RasterTileSource#setPremultiplyAlpha(false)</code> to preserve raw RGBA tile values when alpha is used for data instead of opacity (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7235">#7235</a>) (by <a href="https://github.com/plantain"><code>@plantain</code></a>).</li>
<li>Drop the archived <code>@mapbox/whoots-js</code> dependency by inlining its single <code>getTileBBox</code> helper (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7838">#7838</a>) (by <a href="https://github.com/qorexdevs"><code>@qorexdevs</code></a>)</li>
<li>Debounce <code>setImages</code> broadcast to once per animation frame, fixing O(n²) serialization overhead when adding many images (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7614">#7614</a>) (by <a href="https://github.com/bradymadden97"><code>@bradymadden97</code></a>)</li>
<li>Improve terrain rendering performance by avoiding unnecessary terrain data lookups during Mercator render-to-texture passes (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7833">#7833</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Reduce allocation pressure while constructing DEM data and sampling terrain elevations (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7814">#7814</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Reuse terrain DEM texture when preparing terrain (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7813">#7813</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Add <code>fill-layer-opacity</code> and <code>line-layer-opacity</code> paint properties, which apply opacity to the entire layer output uniformly (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7570">#7570</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Build main and worker in same build context to extract shared chunk (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7745">#7745</a>) (by <a href="https://github.com/dangkyokhoang"><code>@dangkyokhoang</code></a>)</li>
<li>Revert the <code>line-opacity</code>-driven offscreen rendering introduced in <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7490">#7490</a> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7764">#7764</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>). The overlap-artefact fix is now driven by <code>line-layer-opacity</code> instead.</li>
<li>Improve <code>ProjectionData</code> matrix backing types for renderer and custom layer projection matrices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6316">#6316</a>) (by <a href="https://github.com/cat0825"><code>@cat0825</code></a>)</li>
<li>Optimization: vertex shader opacity culling for lines and fills <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7711">#7711</a> (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li>
<li>Use a shared FBO for the terrain cache render to texture <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7637">#7637</a> (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li>
<li>Use <code>flat</code> to opt out of interpolation for constant shader varyings (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7661">#7661</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Replace texImage2D with texStorage2D for immutable textures (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7643">#7643</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Enable mipmaps for non-power-of-two raster tiles, reducing aliasing at high pitch (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7641">#7641</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Use GLSL ES 3.00 layout qualifiers for vertex attribute locations, replacing runtime <code>bindAttribLocation</code> calls (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7644">#7644</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Adopt isolatedDeclarations and switch dts emitter from tsgo to oxc (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7566">#7566</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Improve 3D terrain performance (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7549">#7549</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md">maplibre-gl's changelog</a>.</em></p>
<blockquote>
<h2>6.0.0</h2>
<p>The following incorporates all the pre-releases for version 6 changes.
Check-out our <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/docs/guides/v5-to-v6-migration-guide.md">migration guide from v5 to v6</a> for more information.</p>
<h3>✨ Features and improvements</h3>
<ul>
<li>⚠️ Switch to an ESM-only distribution (<code>maplibre-gl.mjs</code>). The UMD bundles (<code>maplibre-gl.js</code>, <code>maplibre-gl-csp.js</code>) are no longer published. The CSP-specific bundle is also dropped: the ESM build loads its worker as a real URL, so <code>worker-src blob:</code> is no longer required. Consumers using <code><script src=".../maplibre-gl.js"></code> must switch to <code><script type="module"></code>, and consumers using <code>import maplibregl from 'maplibre-gl'</code> must switch to <code>import * as maplibregl from 'maplibre-gl'</code> or named imports. See the docs ESM section or our <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/docs/guides/v5-to-v6-migration-guide.md">migration guide</a> for migration steps. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/6254">#6254</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>⚠️ Interpolate the light position in spherical coordinates instead of cartesian ones, so that a transition keeps its radial distance. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7919">#7919</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ <code>styleimagemissing</code> is now a notify-only event instead of the previous callback that allowed to provide an image. This aligns the event with standard event semantics (notify, not resolve). Use <code>Map.setMissingStyleImageResolver</code> to on-demand supply images instead via an function that can now also be async. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7892">#7892</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>⚠️ <code>Map</code> now composes a <code>Camera</code> instead of extending it (<code>Map</code> extends <code>Evented</code> directly and forwards the camera API). The internal <code>map.transform</code> was removed — use map's public API instead or open a PR if you need something that's not exposed. Removed the internal <code>transform.getMatrixForModel</code> helper (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7800">#7800</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ All map events are now real classes that are instantiated when they are fired. Renamed the <code>Map</code>s' <code>BoxZoom</code> handler from <code>MapLibreZoomEvent</code> to <code>MapBoxZoomEvent</code>, added the <code>rollstart</code>/<code>roll</code>/<code>rollend</code> and <code>style.load</code> (as <code>MapStyleLoadEvent</code>) events to <code>MapEventType</code>, and added event classes and type-map for <code>Marker</code>, <code>Popup</code>, <code>GeolocateControl</code> and <code>FullscreenControl</code>. Removed <code>MapDataEvent</code>: the <code>data</code>/<code>dataloading</code>/<code>dataabort</code> events are now <code>MapSourceDataEvent | MapStyleDataEvent</code>, so source data events carry the full source info (<code>sourceId</code>, <code>tile</code>, <code>sourceDataType</code>, …). Added <code>MapMovementEvent</code> as the type for all camera-transition events (<code>move</code>/<code>zoom</code>/<code>rotate</code>/<code>pitch</code>/<code>roll</code>/<code>drag</code> and their <code>start</code>/<code>end</code> variants). <code>Evented</code> is now generic over an event-type map (<code>Evented<EventType></code>) and is <code>abstract</code>, so subclasses get strongly-typed <code>on</code>/<code>once</code>/<code>off</code> automatically without re-declaring overloads — this also types the events on <code>Camera</code>/<code>Style</code> (via <code>MapEventType</code>) and on the sources (via the new <code>SourceEventType</code>) (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7789">#7789</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Update maplibre-gl-style-spec to version 25, which now throws an error with warning severity instead of silently failing on encoutering legacy expressions (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7792">#7792</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Removed the remaining mapbox references in the code and in the tests. This changes the <code>#pragma mapbox</code> to <code>#pragma maplibre</code> in case you have shader code that relied on it. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7761">#7761</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ <code>zoomLevelsToOverscale</code> default value was changed to 4 to support better handling of high level zoom with dense labels. This might have a side effect of changing a bit the results of <code>queryRenderedFeatures</code> and some rendering of polygon center label. To revert this change, set the value to <code>undefined</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7537">#7537</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ Remove the second parameter from <code>GeoJSONSource.setData</code> (<code>waitForCompletion</code>) and remove the return value of <code>this</code> to allow future changes to the API (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7538">#7538</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>⚠️ The TypeScript target has been updated to ES2022.
This results in smaller bundles and improved runtime performance by relying on modern JavaScript features and reducing transpilation. Consumers targeting browsers or using some tooling released before 2022 may need to transpile MapLibre or update. This change also aligns all internal build configurations to a single target instead of ES2016 + ES2019, avoiding inconsistencies in emitted code. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7404">#7404</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ WebGL (v1) support has been removed; WebGL2 is now required.
In practical terms, this will not change how you interact with the map.
This enables performance improvements (e.g. line opacity), Terrain3D enhancements, and several bug fixes.
WebGL2 support has been widely available for years, and usage of the legacy path had plateaued, so maintaining it no longer justified the added complexity.
To ease this breaking change, we have also refactored how we handle the case that no webgl is avaliable (e.g. due to browser restrictions).
You can now listen to the webgl error via <code>.on("error")</code>.
See <a href="https://caniuse.com/webgl2">caniuse.com/webgl2</a> for ecosystem support and <a href="https://github.com/maplibre/maplibre-gl-js/discussions/6017">our RFC for details</a>. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7453">#7453</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ Support geojson nested objects, this is a breaking change as it encodes <code>__$json__</code> before properties that used to be an object. It also parses them back, but this is still a breaking change if you assumed this bug existed. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/6992">#6992</a>) (by <a href="https://github.com/HarelM">HarelM</a>)</li>
<li>⚠️ Improve types for <code>{get,set}LayoutProperty</code>, <code>{get,set}PaintProperty</code> to be the actual type instead of <code>string</code>/<code>any</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7481">#7481</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>⚠️ Refactored the <code>Hash</code>-based location control (the option that syncs map state to the URL like <code>#map=5/1/2</code>) to use <code>URLSearchParams</code> internally. This improves extensibility for custom use cases, but may break existing code that relies on the previous implementation. It also changes how certain edge cases are parsed—for example, strings like <code>[#10](https://github.com/maplibre/maplibre-gl-js/issues/10)%2F3.00%2F-1.00</code> are now accepted, and hashes like <code>#foo</code> are normalized to <code>#foo=</code>. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7073">#7073</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Validate the terrain passed to <code>map.setTerrain</code>, which was previously applied unchecked (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7941">#7941</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li>
<li>Improve runtime error warnings to point at the offending style location (e.g. <code>layers[3].paint.line-color</code>, <code>layers[3].filter</code>) instead of just logging the bare error message (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7869">#7869</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Improve terrain render-to-texture preparation performance by skipping sources that are not rendered to terrain textures (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7863">#7863</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Add <code>Map.setMissingStyleImageResolver</code> for resolving missing style images with sync or async callbacks (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7850">#7850</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Add <code>RasterTileSource#setPremultiplyAlpha(false)</code> to preserve raw RGBA tile values when alpha is used for data instead of opacity (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7235">#7235</a>) (by <a href="https://github.com/plantain"><code>@plantain</code></a>).</li>
<li>Drop the archived <code>@mapbox/whoots-js</code> dependency by inlining its single <code>getTileBBox</code> helper (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7838">#7838</a>) (by <a href="https://github.com/qorexdevs"><code>@qorexdevs</code></a>)</li>
<li>Debounce <code>setImages</code> broadcast to once per animation frame, fixing O(n²) serialization overhead when adding many images (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7614">#7614</a>) (by <a href="https://github.com/bradymadden97"><code>@bradymadden97</code></a>)</li>
<li>Improve terrain rendering performance by avoiding unnecessary terrain data lookups during Mercator render-to-texture passes (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7833">#7833</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Reduce allocation pressure while constructing DEM data and sampling terrain elevations (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7814">#7814</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Reuse terrain DEM texture when preparing terrain (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7813">#7813</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li>
<li>Add <code>fill-layer-opacity</code> and <code>line-layer-opacity</code> paint properties, which apply opacity to the entire layer output uniformly (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7570">#7570</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>)</li>
<li>Build main and worker in same build context to extract shared chunk (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7745">#7745</a>) (by <a href="https://github.com/dangkyokhoang"><code>@dangkyokhoang</code></a>)</li>
<li>Revert the <code>line-opacity</code>-driven offscreen rendering introduced in <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7490">#7490</a> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7764">#7764</a>) (by <a href="https://github.com/CommanderStorm"><code>@CommanderStorm</code></a>). The overlap-artefact fix is now driven by <code>line-layer-opacity</code> instead.</li>
<li>Improve <code>ProjectionData</code> matrix backing types for renderer and custom layer projection matrices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6316">#6316</a>) (by <a href="https://github.com/cat0825"><code>@cat0825</code></a>)</li>
<li>Optimization: vertex shader opacity culling for lines and fills <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7711">#7711</a> (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li>
<li>Use a shared FBO for the terrain cache render to texture <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7637">#7637</a> (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li>
<li>Use <code>flat</code> to opt out of interpolation for constant shader varyings (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7661">#7661</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Replace texImage2D with texStorage2D for immutable textures (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7643">#7643</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Enable mipmaps for non-power-of-two raster tiles, reducing aliasing at high pitch (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7641">#7641</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Use GLSL ES 3.00 layout qualifiers for vertex attribute locations, replacing runtime <code>bindAttribLocation</code> calls (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7644">#7644</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Adopt isolatedDeclarations and switch dts emitter from tsgo to oxc (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7566">#7566</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li>
<li>Improve 3D terrain performance (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7549">#7549</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/14dfbcf427bbfa191375628c003936561de62fa2"><code>14dfbcf</code></a> Bump js version to 6.0.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7983">#7983</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/422815f2aad2016e27b70a43f2fd63fccd4f38b5"><code>422815f</code></a> chore(deps-dev): bump shell-quote from 1.8.4 to 1.10.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7982">#7982</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/e8e8999fead79221ce50a971c3180410307e98b9"><code>e8e8999</code></a> chore(deps-dev): bump autoprefixer from 10.5.2 to 10.5.4 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7969">#7969</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/d28b4f9d807231ed7fe01732316fac99e2510669"><code>d28b4f9</code></a> chore(deps): bump github/codeql-action/autobuild from 4.37.0 to 4.37.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7978">#7978</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/ed0909f2e0300e997405b9bc8978b9abbee94b61"><code>ed0909f</code></a> chore(deps): bump github/codeql-action/init from 4.37.0 to 4.37.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7972">#7972</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/8959eeef61b735c63fe9be48844e8399187f81e6"><code>8959eee</code></a> docs: Vite worker snippet needs ?worker&url, not ?url (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7981">#7981</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/7997dbdfa0949701698243d5005c3b305514ec32"><code>7997dbd</code></a> chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7979">#7979</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/c2bb9e63de2aea6075b50e9c80426513d5f91c76"><code>c2bb9e6</code></a> chore(deps-dev): bump vite from 8.1.4 to 8.1.5 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7975">#7975</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/91c9dc46a0cac78dbb462e7ae7932741ba6a2006"><code>91c9dc4</code></a> chore(deps): bump zensical/zensical from 0.0.50 to 0.0.51 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7977">#7977</a>)</li>
<li><a href="https://github.com/maplibre/maplibre-gl-js/commit/fa56dd50959350e946f98f4c4a797d35c4610acc"><code>fa56dd5</code></a> chore(deps): bump github/codeql-action/analyze from 4.37.0 to 4.37.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7976">#7976</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v5.24.0...v6.0.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/7258
-- Commit Summary --
* Bump maplibre-gl from 5.24.0 to 6.0.0 in the dependencies group
-- File Changes --
M package.json (2)
M yarn.lock (168)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/7258.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7258.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7258
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7258 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260722/f3915cee/attachment-0001.htm>
More information about the rails-dev
mailing list