[Snyk] Upgrade mapbox-gl from 3.1.2 to 3.5.2 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Features and improvements ✨
Bug fixes 🐞
fill-extrusion-cutoff-fade-range
.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.Breaking changes⚠️
@ 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 ✨
color-theme
property andMap
setColorTheme
method to enable colorization with a lookup table (LUT) images.updateData
forGeoJSON
sources indynamic
mode.icon-occlusion-opacity
andtext-occlusion-opacity
properties to fade symbols behind models and landmarks.line-occlusion-opacity
property to fade lines behind 3D objects.clip
layer to filter out rendering data.line-z-offset
property for a non-globe view.model-cutoff-fade-range
property to control fade out of faraway 3D buildings.line-pattern
on long lines and higher zooms.line-trim-color
andline-trim-fade-range
properties to customize rendering of lines trimmed withline-trim-offset
.Map
getSlots
method for listing available slots of a style.Bug fixes 🐞
updateData
calls.raster-particle
layer animation.model-front-cutoff
property for Meshopt-encoded models.setTerrain
.style.load
event missingstyle
property.queryRenderedFeatures
on areas with missing DEM tiles when terrain is enabled.Breaking changes⚠️
@ 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 ✨
color-theme
property to enable colorization with a lookup table (LUT) images.icon-occlusion-opacity
andtext-occlusion-opacity
properties to fade symbols behind models and landmarks.line-occlusion-opacity
property to fade lines behind 3D objects.clip
layer to filter out rendering data.line-z-offset
property for a non-globe view.model-cutoff-fade-range
property support to control fade out of faraway 3D buildings.Bug fixes 🐞
updateData
calls.raster-particle
layer animation.flyTo
whenprefers-reduced-motion
is set.Features and improvements ✨
dynamic: true
option for GeoJSON sources that enables partial update API withsource.updateData
method. Further optimizations for this mode are expected in future releases.Map
setConfig
,getConfig
,setSchema
andgetSchema
methods for batch setting of style configuration options.config
option for theMap
constructor andsetStyle
methods for conveniently setting style configuration options on map initialization.icon-color-saturation
,icon-color-contrast
,icon-color-brightness-min
andicon-color-brightness-max
to control symbol layer appearance.line-join
mode:none
to improve line pattern distortions around joins.model-id
property to support URIs (in addition to style-defined model references).devtools
UI.Bug fixes 🐞
flyTo
ignoringpadding
in its options.cameraForBounds
on globe view. (h/t @ jonasnoki) #13126preloadOnly
not preloading tiles from style imports.queryRenderedFeatures
for non-integer ID in non-tiled model sourcesmodel-scale
property for large number of 3D models.raster-particle
layer on globe view.raster-array
data.symbol-z-elevate
.raster-particle
layer on certain Android devices.Important
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: