[Snyk] Upgrade mapbox-gl from 3.1.2 to 3.4.0 #4
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.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
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.Features and improvements ✨
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).Bug fixes 🐞
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.Features and improvements ✨
raster-array
source type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series).raster-particle
layer which animates particles of different speed and color based on underlyingraster-array
data.addImport
,moveImport
,updateImport
, andremoveImport
API methods.getSlot
, andsetSlot
API methods to control layers' slots.queryRenderedFeatures
.raster-elevation
support for tiled raster sources.config
expression support in fog.Bug fixes 🐞
maxZoom
.setStyle
.z
offset when the opacity is evaluated at 0 on the zoom change.format
expression in theconfig
expression.symbol-sort-key
property.Features and improvements ✨
addImport
,moveImport
,updateImport
, andremoveImport
API methods.getSlot
, andsetSlot
API methods to control layers' slots.queryRenderedFeatures
.raster-elevation
support for tiled raster sources.config
expression support in fog.Bug fixes 🐞
maxZoom
.setStyle
.z
offset when the opacity is evaluated at 0 on the zoom change.format
expression in theconfig
expression.Features and improvements ✨
devtools: true
inMap
options.map.areTilesLoaded
.fill-extrusion-flood-light-ground-radius
property.fill-extrusion-cutoff-fade-range
property.Bug fixes 🐞
config
expression chaining through nested styles and other issues related to config scope.map.flyTo
withpadding
option was setting and overriding map's padding.url
ortiles
is missing from source, i.e. in MapTiler source.config
andformat
expressions not working together.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: