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.2 #9

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

jones58
Copy link
Owner

@jones58 jones58 commented Aug 28, 2024

snyk-top-banner

Snyk has created this PR to upgrade mapbox-gl from 3.1.2 to 3.5.2.

ℹ️ 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 10 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: mapbox-gl
  • 3.5.2 - 2024-07-18

    Features and improvements ✨

    • Improve 3D models rendering performance.
    • Slightly improve terrain rendering performance.
    • Improve TypeScript API, including strongly typed Map event listeners, improved type narrowing, and more.

    Bug fixes 🐞

    • 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.
  • 3.5.1 - 2024-07-05

    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.

  • 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
  • 3.3.0 - 2024-04-10
  • 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.2.

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 e525c34 into main Aug 28, 2024
1 of 2 checks passed
@jones58 jones58 deleted the snyk-upgrade-602f276a81303f56b5d17ac8ac9f294c branch August 28, 2024 11:35
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