Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mapbox-gl from 1.6.1 to 1.10.0.

Release notes

Sourced from mapbox-gl's releases.

v1.10.0

✨ Features

  • Add mapboxgl.prewarm() and mapboxgl.clearPrewarmedResources() methods to allow developers to optimize load times for their maps (#9391)
  • Add index-of and slice expressions to search arrays and strings for the first occurrence of a specified value and return a section of the original array or string (#9450) (h/t lbutler)
  • Correctly set RTL text plugin status if the plugin URL could not be loaded. This allows developers to add retry logic on network errors when loading the plugin (#9489)

🍏 Gestures

This release significantly refactors and improves gesture handling on desktop and mobile. Three new touch gestures have been added: two-finger swipe to adjust pitch, two-finger double-tap to zoom out, and tap then drag to adjust zoom with one finger (#9365). In addition, this release brings the following changes and bug fixes:

  • It's now possible to interact with multiple maps on the same page at the same time (#9365)
  • Fix map jump when releasing one finger after pinch zoom (#9136)
  • Stop mousedown and touchstart from interrupting easeTo animations when interaction handlers are disabled (#8725)
  • Stop mouse wheel from interrupting animations when map.scrollZoom is disabled (#9230)
  • A camera change can no longer be prevented by disabling the interaction handler within the camera change event. Selectively prevent camera changes by listening to the mousedown or touchstart map event and calling .preventDefault() (#9365)
  • Undocumented properties on the camera change events fired by the doubleClickZoom handler have been removed (#9365)

🐞 Improvements and bug fixes

  • Line labels now have improved collision detection, with greater precision in placement, reduced memory footprint, better placement under pitched camera orientations (#9219)
  • Fix GlyphManager continually re-requesting missing glyph ranges (#8027, fixed by #9375) (h/t oterral)
  • Avoid throwing errors when calling certain popup methods before the popup element is created (#9433)
  • Fix a bug where fill-extrusion features with colinear points were not returned by map.queryRenderedFeatures(...) (#9454)
  • Fix a bug where using feature state on a large input could cause a stack overflow error (#9463)
  • Fix exception when using background-pattern with data driven expressions (#9518, fixed by #9520)
  • Fix a bug where UI popups were potentially leaking event listeners (#9498) (h/t mbell697)
  • Fix a bug where the within expression would return inconsistent values for points on tile boundaries (#9411, #9428)
  • Fix a bug where the within expression would incorrectly evaluate geometries that cross the antimeridian (#9440)
  • Fix possible undefined exception on paint variable of style layer (#9437) (h/t mannnick24)
  • Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)

v1.10.0-beta.1

No release notes provided.

v1.9.1

🐞 Bug fixes

  • Fix a bug #9477 in Map#fitBounds(..) wherein the padding passed to options would get applied twice.
  • Fix rendering bug #9479 caused when data-driven *-pattern properties reference images added with Map#addImage(..).
  • Fix a bug #9468 in which an exception would get thrown when updating symbol layer paint property using setPaintProperty.

v1.9.0

With this release, we're adding a new changelog policy to our contribution guidelines.

This release also fixes several long-standing bugs and unintentional rendering behavior with line-pattern. The fixes come with a visual change to how patterns added with line-pattern scale. Previously, patterns that became larger than the line would be clipped, sometimes distorting the pattern, particularly on mobile and retina devices. Now the pattern will be scaled to fit under all circumstances. #9266 showcases examples of the visual differences. For more information and to provide feedback on this change, see #9394.

✨ Features

  • Add within expression for testing whether an evaluated feature lies within a given GeoJSON object (#9352).
    • We are aware of an edge case in which points with wrapped coordinates (e.g. longitude -185) are not evaluated properly. See (#9442) for more information.
    • An example of the within expression:
      "icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, ["==", ["within", "some-polygon"], false], 0]
  • Map API functions such as easeTo and flyTo now support padding: PaddingOptions which lets developers shift a map's center of perspective when building floating sidebars (#8638)
... (truncated)
Changelog

Sourced from mapbox-gl's changelog.

1.10.0

✨ Features

  • Add mapboxgl.prewarm() and mapboxgl.clearPrewarmedResources() methods to allow developers to optimize load times for their maps (#9391)
  • Add index-of and slice expressions to search arrays and strings for the first occurrence of a specified value and return a section of the original array or string (#9450) (h/t lbutler)
  • Correctly set RTL text plugin status if the plugin URL could not be loaded. This allows developers to add retry logic on network errors when loading the plugin (#9489)

🍏 Gestures

This release significantly refactors and improves gesture handling on desktop and mobile. Three new touch gestures have been added: two-finger swipe to adjust pitch, two-finger double tap to zoom out, and tap then drag to adjust zoom with one finger (#9365). In addition, this release brings the following changes and bug fixes:

  • It's now possible to interact with multiple maps on the same page at the same time (#9365)
  • Fix map jump when releasing one finger after pinch zoom (#9136)
  • Stop mousedown and touchstart from interrupting easeTo animations when interaction handlers are disabled (#8725)
  • Stop mouse wheel from interrupting animations when map.scrollZoom is disabled (#9230)
  • A camera change can no longer be prevented by disabling the interaction handler within the camera change event. Selectively prevent camera changes by listening to the mousedown or touchstart map event and calling .preventDefault() (#9365)
  • Undocumented properties on the camera change events fired by the doubleClickZoom handler have been removed (#9365)

🐞 Improvements and bug fixes

  • Line labels now have improved collision detection, with greater precision in placement, reduced memory footprint, better placement under pitched camera orientations (#9219)
  • Fix GlyphManager continually re-requesting missing glyph ranges (#8027, fixed by #9375) (h/t oterral)
  • Avoid throwing errors when calling certain popup methods before the popup element is created (#9433)
  • Fix a bug where fill-extrusion features with colinear points were not returned by map.queryRenderedFeatures(...) (#9454)
  • Fix a bug where using feature state on a large input could cause a stack overflow error (#9463)
  • Fix exception when using background-pattern with data driven expressions (#9518, fixed by #9520)
  • Fix a bug where UI popups were potentially leaking event listeners (#9498) (h/t mbell697)
  • Fix a bug where the within expression would return inconsistent values for points on tile boundaries (#9411, #9428)
  • Fix a bug where the within expression would incorrectly evaluate geometries that cross the antimeridian (#9440)
  • Fix possible undefined exception on paint variable of style layer (#9437) (h/t mannnick24)
  • Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)

1.9.1

🐞 Bug fixes

  • Fix a bug #9477 in Map#fitBounds(..) wherein the padding passed to options would get applied twice.
  • Fix rendering bug #9479 caused when data-driven *-pattern properties reference images added with Map#addImage(..).
  • Fix a bug #9468 in which an exception would get thrown when updating symbol layer paint property using setPaintProperty.

1.9.0

With this release, we're adding a new changelog policy to our contribution guidelines.

This release also fixes several long-standing bugs and unintentional rendering behavior with line-pattern. The fixes come with a visual change to how patterns added with line-pattern scale. Previously, patterns that became larger than the line would be clipped, sometimes distorting the pattern, particularly on mobile and retina devices. Now the pattern will be scaled to fit under all circumstances. #9266 showcases examples of the visual differences. For more information and to provide feedback on this change, see #9394.

✨ Features

  • Add within expression for testing whether an evaluated feature lies within a given GeoJSON object (#9352).
    • We are aware of an edge case in which points with wrapped coordinates (e.g. longitude -185) are not evaluated properly. See (#9442) for more information.
    • An example of the within expression:
      "icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, ["==", ["within", "some-polygon"], false], 0]
  • Map API functions such as easeTo and flyTo now support padding: PaddingOptions which lets developers shift a map's center of perspective when building floating sidebars (#8638)
... (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)

Bumps [mapbox-gl](https://github.com/mapbox/mapbox-gl-js) from 1.6.1 to 1.10.0.
- [Release notes](https://github.com/mapbox/mapbox-gl-js/releases)
- [Changelog](https://github.com/mapbox/mapbox-gl-js/blob/v1.10.0/CHANGELOG.md)
- [Commits](mapbox/mapbox-gl-js@v1.6.1...v1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 27, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #163.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mapbox-gl-1.10.0 branch May 19, 2020 01:04
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.

1 participant