Skip to content

Bump mapbox-gl from 1.9.1 to 2.2.0 #305

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

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps mapbox-gl from 1.9.1 to 2.2.0.

Release notes

Sourced from mapbox-gl's releases.

v2.2.0

Features and improvements

  • Add testMode Map option that silences errors and warnings generated due to an invalid accessToken. It may be useful when using the library to write unit tests. (#10445)
  • Improve geojsonSource.setData(...) performance in Safari (#10417)
  • Add map.getTerrain() method (#10413)
  • Add showTerrainWireframe map debug option for displaying terrain wireframe (#10406)
  • Document the default limit and offset of geojsonSource.getClusterLeaves(...) (#10403) (h/t henk23)
  • (Development) Update dev environment to native ES modules to support Node 14+ (#10367)

Bug fixes

  • Fix map.getBounds() to return the inset bounds when map padding is set (#10386)
  • Support flat roofs for fill-extrusions when using custom data sources with terrain (#10347)
  • Fix flickering accuracy circle in GeolocateControl. (#10334) (h/t anderswi)
  • Show Mapbox logo if no style is provided for the map (#10361)
  • Switch to using alphabetic baseline for locally-rendered glyphs to avoid misalignment on fonts with large ascenders/descenders. (#10390)
  • Fix incorrect diffing of styles when using raster DEM tile sources (#10418)
  • Fix queryRenderedFeatures(...) for fill-extrusions partly behind the camera (#10428)
  • Fix artifacts caused by negative terrain elevation (#10432)
  • Reset WebGL culling state before drawing custom layers (#10412)
  • Fix DOM event coordinates for scaled containers (#10096) (h/t kawsndriy)
  • Fix collectResourceTiming errors (#10321)

v2.2.0-beta.1

No release notes provided.

v2.1.1

🐞 Bug fixes

  • Fixed a font glyphs performance regression on Firefox. (10363)

v2.1.0

✨ Features and improvements

  • Added localFontFamily map option that enables local generation of all font glyphs. (#10298)
  • Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using localIdeographFontFamily or localFontFamily options. (#10298)
  • Added optimizeForTerrain map option allowing to use terrain in layer draw-order or performance priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit. (#10258)
  • Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps. (#10304)
  • Improved evented.once(eventName) to return a promise if no listener function is provided, which allows using async/await with map events for a simpler and more readable code. (#10203)

🐞 Bug fixes

  • Fixed querying of fill-extrusions when terrain is enabled. (#10293)
  • Fixed a bug where close points were sometimes not clustered on higher zoom levels given a small clustering radius. Fixed clusterMaxZoom so that it is not capped by the source maxzoom. (#10300)
  • Fixed blurry map-aligned labels on highly pitched maps with terrain. (#10296)
  • Fixed a race condition when evaluating image expressions by ensuring sprite has loaded before parsing tiles. (#10294)
  • Fixed a bug with fullscreen fill-extrusion querying at low pitch. (#10315)
  • Fixed a regression with the usage of patterns with data-driven styling. (#10284)
  • Ensure evented.listens returns false when no listener is available. (#10281)

v2.1.0-beta.1

... (truncated)

Changelog

Sourced from mapbox-gl's changelog.

2.2.0

Features and improvements

  • Add testMode Map option that silences errors and warnings generated due to an invalid accessToken. It maybe useful when using the library to write unit tests. (#10445)
  • Improve geojsonSource.setData(...) performance in Safari (#10417)
  • Add map.getTerrain() method (#10413)
  • Add showTerrainWireframe map debug option for displaying terrain wireframe (#10406)
  • Document the default limit and offset of geojsonSource.getClusterLeaves(...) (#10403) (h/t henk23)
  • (Development) Update dev environment to native ES modules to support Node 14+ (#10367)

Bug fixes

  • Fix map.getBounds() to return the inset bounds when map padding is set (#10386)
  • Support flat roofs for fill-extrusions when using custom data sources with terrain (#10347)
  • Fix flickering accuracy circle in GeolocateControl. (#10334) (h/t anderswi)
  • Show Mapbox logo if no style is provided for the map (#10361)
  • Switch to using alphabetic baseline for locally-rendered glyphs to avoid misalignment on fonts with large ascenders/descenders. (#10390)
  • Fix incorrect diffing of styles when using raster DEM tile sources (#10418)
  • Fix queryRenderedFeatures(...) for fill-extrusions partly behind the camera (#10428)
  • Fix artifacts caused by negative terrain elevation (#10432)
  • Reset WebGL culling state before drawing custom layers (#10412)
  • Fix DOM event coordinates for scaled containers (#10096) (h/t kawsndriy)
  • Fix collectResourceTiming errors (#10321)

2.1.1

🐞 Bug fixes

  • Fixed a font glyphs performance regression on Firefox. (10363)

2.1.0

✨ Features and improvements

  • Added localFontFamily map option that enables local generation of all font glyphs. (#10298)
  • Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using localIdeographFontFamily or localFontFamily options. (#10298)
  • Added optimizeForTerrain map option allowing to use terrain in layer draw-order or performance priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit. (#10258)
  • Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps. (#10304)
  • Improved evented.once(eventName) to return a promise if no listener function is provided, which allows using async/await with map events for a simpler and more readable code. (#10203)

🐞 Bug fixes

  • Fixed querying of fill-extrusions when terrain is enabled. (#10293)
  • Fixed a bug where close points were sometimes not clustered on higher zoom levels given a small clustering radius. Fixed clusterMaxZoom so that it is not capped by the source maxzoom. (#10300)
  • Fixed blurry map-aligned labels on highly pitched maps with terrain. (#10296)
  • Fixed a race condition when evaluating image expressions by ensuring sprite has loaded before parsing tiles. (#10294)
  • Fixed a bug with fullscreen fill-extrusion querying at low pitch. (#10315)
  • Fixed a regression with the usage of patterns with data-driven styling. (#10284)
  • Ensure evented.listens returns false when no listener is available. (#10281)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants