Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mapbox-gl from 1.6.1 to 1.9.0.

Release notes

Sourced from mapbox-gl's releases.

v1.9.0

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)

🍏 Improvements

  • Results from queryRenderedFeatures now have evaluated property values rather than raw expressions (#9198)
  • Improve scaling of patterns used in line-pattern on all device resolutions and pixel ratios (#9266)
  • Slightly improve GPU memory footprint (#9377)
  • LngLatBounds.extend is more flexible because it now accepts objects with lat and lon properties as well as arrays of coordinates (#9293)
  • Reduce bundle size and improve visual quality of showTileBoundaries debug text (#9267)

🐞 Bug fixes

  • Correctly adjust patterns added with addImage(id, image, pixelRatio) by the asset pixel ratio, not the device pixel ratio (#9372)
  • Allow needle argument to in expression to be false (#9295)
  • Fix exception thrown when trying to set feature-state for a layer that has been removed, fixes #8634 (#9305)
  • Fix a bug where maps were not displaying inside elements with dir=rtl (#9332)
  • Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended (#9349)
  • Prevent exception resulting from line-dash-array of empty length (#9385)
  • Fix a bug where icon-image expression that evaluates to an empty string ('') produced a warning (#9380)
  • Fix a bug where certain popup methods threw errors when accessing the container element before it was created, fixes #9429(#9433)

v1.9.0-beta.1

No release notes provided.

v1.8.1

  • Fixed a bug where all labels showed up on a diagonal line on Windows when using an integrated Intel GPU from the Haswell generation (#9327, fixed by reverting #9229)

v1.8.0

✨ Features and improvements

  • Reduce size of line atlas by removing unused channels (#9232)
  • Prevent empty buffers from being created for debug data when unused (#9237)
  • Add space between distance and unit in scale control (#9276) (h/t gely) and (#9284) (h/t pakastin)
  • Add a showAccuracyCircle option to GeolocateControl that shows the accuracy of the user's location as a transparent circle. Mapbox GL JS will show this circle by default. (#9253) (h/t Meekohi)
  • Implemented a new tile coverage algorithm to enable level-of-detail support in a future release (#8975)

🐞 Bug fixes

  • line-dasharray is now ignored correctly when line-pattern is set (#9189)
  • Fix line distances breaking gradient across tile boundaries (#9220)
  • Fix a bug where lines with duplicate endpoints could disappear at zoom 18+ (#9218)
  • Fix a bug where Ctrl-click to drag rotate the map was disabled if the Alt, Cmd or Windows key is also pressed (#9203)
... (truncated)
Changelog

Sourced from mapbox-gl's changelog.

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)

🍏 Improvements

  • Results from queryRenderedFeatures now have evaluated property values rather than raw expressions (#9198)
  • Improve scaling of patterns used in line-pattern on all device resolutions and pixel ratios (#9266)
  • Slightly improve GPU memory footprint (#9377)
  • LngLatBounds.extend is more flexible because it now accepts objects with lat and lon properties as well as arrays of coordinates (#9293)
  • Reduce bundle size and improve visual quality of showTileBoundaries debug text (#9267)

🐞 Bug fixes

  • Correctly adjust patterns added with addImage(id, image, pixelRatio) by the asset pixel ratio, not the device pixel ratio (#9372)
  • Allow needle argument to in expression to be false (#9295)
  • Fix exception thrown when trying to set feature-state for a layer that has been removed, fixes #8634 (#9305)
  • Fix a bug where maps were not displaying inside elements with dir=rtl (#9332)
  • Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended (#9349)
  • Prevent exception resulting from line-dash-array of empty length (#9385)
  • Fix a bug where icon-image expression that evaluates to an empty string ('') produced a warning (#9380)
  • Fix a bug where certain popup methods threw errors when accessing the container element before it was created, fixes #9429(#9433)

1.8.1

  • Fixed a bug where all labels showed up on a diagonal line on Windows when using an integrated Intel GPU from the Haswell generation (#9327, fixed by reverting #9229)

1.8.0

✨ Features and improvements

  • Reduce size of line atlas by removing unused channels (#9232)
  • Prevent empty buffers from being created for debug data when unused (#9237)
  • Add space between distance and unit in scale control (#9276) (h/t gely) and (#9284) (h/t pakastin)
  • Add a showAccuracyCircle option to GeolocateControl that shows the accuracy of the user's location as a transparent circle. Mapbox GL JS will show this circle by default. (#9253) (h/t Meekohi)
  • Implemented a new tile coverage algorithm to enable level-of-detail support in a future release (#8975)

🐞 Bug fixes

  • line-dasharray is now ignored correctly when line-pattern is set (#9189)
  • Fix line distances breaking gradient across tile boundaries (#9220)
  • Fix a bug where lines with duplicate endpoints could disappear at zoom 18+ (#9218)
  • Fix a bug where Ctrl-click to drag rotate the map was disabled if the Alt, Cmd or Windows key is also pressed (#9203)
  • Pass errors to getClusterExpansionZoom, getClusterChildren, and getClusterLeaves callbacks (#9251)
  • Fix a rendering performance regression (#9261)
... (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.9.0.
- [Release notes](https://github.com/mapbox/mapbox-gl-js/releases)
- [Changelog](https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md)
- [Commits](mapbox/mapbox-gl-js@v1.6.1...v1.9.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 Mar 23, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #156.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mapbox-gl-1.9.0 branch April 3, 2020 22:05
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