Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mapbox-gl from 3.6.0 to 3.7.0 #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucentlabz
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mapbox-gl from 3.6.0 to 3.7.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: mapbox-gl
  • 3.7.0 - 2024-09-27

    Features and improvements ✨

    • Add background-pitch-alignment property of the background layer, which is set to map by default but can now be set to viewport. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.
    • Add new control positions (top, right, bottom, and left) (h/t @ Ethan-Guttman).
    • Add retainPadding option for camera movement methods, which can be set to false for pre-v3.4 padding behavior.
    • Add config expression support in layer filter.
    • Add symbol elevation properties: symbol-z-offset and symbol-elevation-reference.
    • Add the fill-z-offset property for fill layers.
    • Improve Map#fitBounds for the alternative projections.
    • Improve terrain hillshade lighting anchored to viewport.
    • Improve shadow casting from 3D models.
    • Improve error messages for invalid expressions.
    • Skip landmarks rendering when the camera is inside them.
    • Improve type checking for the Map#setPaintProperty and Map#setLayoutProperty methods.
    • Allow the string event type in Map event handlers.
    • Expose RequestTransformFunction, ResourceType, and RequestParameters types.
    • Improve texture memory footprint on some platforms.

    Bug fixes 🐞

    • Fix feature filtering when using 3D lights.
    • Fix pattern rendering issues on some devices at high zoom levels.
    • Fix fill-extrusion-line-width rendering for large polygons
    • Fix symbol placement ordering when symbol-z-order is set to auto.
    • Fix the issue where minzoom and maxzoom properties were ignored by clip layers.
    • Fix handling previously hidden models in clip layers.
    • Fix directional light cast-shadows property type.
    • Fix an edge case that could produce setStencilMode-related error in the console with the dev build.
    • Fix an issue where some fill extrusions could temporarily disappear when zooming quickly in certain areas.
    • Fix an edge case that could cause flickering on a far plane on high zooms.
  • 3.7.0-beta.1 - 2024-09-12

    Features and improvements ✨

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

    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.
  • 3.6.0 - 2024-08-14

    Features and improvements ✨

    • Add wall rendering mode to the fill-extrusion 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 raster-particle-elevation property.
    • 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.
from mapbox-gl GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade mapbox-gl from 3.6.0 to 3.7.0.

See this package in npm:
mapbox-gl

See this project in Snyk:
https://app.snyk.io/org/lucentlabz/project/cfa2b9f5-5eb1-4548-a90c-57aac4fdc676?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants