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.1.2 to 3.4.0 #4

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

Conversation

abdelaliem
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mapbox-gl from 3.1.2 to 3.4.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 6 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Release notes
Package name: mapbox-gl
  • 3.4.0 - 2024-05-24

    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) #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.
  • 3.4.0-beta.1 - 2024-05-10

    Features and improvements ✨

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

    Bug fixes 🐞

    • Respect padding in cameraForBounds on globe view. (h/t @ jonasnoki) #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.
  • 3.3.0 - 2024-04-10

    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) #13110, #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.
  • 3.3.0-beta.1 - 2024-04-02

    Features and improvements ✨

    • Add raster particles layer.
    • Add raster-array source.
    • 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) #13110, #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.
  • 3.2.0 - 2024-03-01

    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 the moiré effects on patterns in tilted map views.
    • Fix occasional rendering issues with semitransparent raster tiles on globe view.
    • Fix config expression chaining through nested styles and other issues related to config scope.
    • 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.
    • Remove role attribute for non-visible alerts. (h/t @ jakubmakielkowski) #13051
    • Fix an elevation of symbols above multiple fill extrusions, when some of them hidden or lowered.
    • Fix a small callback-related memory leak. (h/t @ temas) #13074
    • Fix config and format expressions not working together.
    • Improve error reporting when a user environment doesn't support WebGL 2.
  • 3.2.0-beta.1 - 2024-02-16
  • 3.1.2 - 2024-01-25
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.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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.1.2 to 3.4.0.

See this package in npm:
mapbox-gl

See this project in Snyk:
https://app.snyk.io/org/abdelaliem/project/374d6e9a-b920-4337-9dbf-763802a9d317?utm_source=github&utm_medium=referral&page=upgrade-pr
@abdelaliem abdelaliem self-assigned this Jul 25, 2024
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