the-coder-o / a-bd.me

My personal website made with Next.js 14 (App Router). Features blog posts, gear list, dark theme and more. Tailwind CSS, Radix, Framer Motion, and Vercel.
https://www.a-bd.me
MIT License
8 stars 0 forks source link

Update dependency mapbox-gl to v3.7.0 #127

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mapbox-gl 3.2.0 -> 3.7.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.

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



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

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
a-bd-me ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 1:37pm