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.5.0 #8

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

jones58
Copy link
Owner

@jones58 jones58 commented Jul 26, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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

  • The recommended version was released on 22 days ago.

Release notes
Package name: mapbox-gl
  • 3.5.0 - 2024-07-04

    Breaking changes ⚠️

    • This release marks a significant transition for GL JS, moving from Flow to TypeScript. 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 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.
  • 3.5.0-beta.1 - 2024-06-19

    Breaking changes ⚠️

    • This release marks a significant transition for GL JS, moving from Flow to TypeScript. 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 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 a color-theme property to enable colorization with a lookup table (LUT) images.
    • 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 support to control fade out of faraway 3D buildings.

    Bug fixes 🐞

    • Fix icon rotation during globe transition.
    • Fix GeoJSON data loss due to frequent updateData calls.
    • Improve raster-particle layer animation.
    • Fix padding not being applied on flyTo when prefers-reduced-motion is set.
  • 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
  • 3.2.0 - 2024-03-01
  • 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.

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

See this package in npm:
mapbox-gl

See this project in Snyk:
https://app.snyk.io/org/jones58/project/b84d566b-d795-402e-a011-0c15ba7a7ac5?utm_source=github&utm_medium=referral&page=upgrade-pr
@jones58 jones58 merged commit ff14f43 into main Jul 30, 2024
2 checks passed
@jones58 jones58 deleted the snyk-upgrade-c4bb899a2426800f1ac070ae1e19fed6 branch July 30, 2024 15:58
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