Skip to content
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

Bump ol-mapbox-style from 9.7.0 to 10.1.0 #14551

Merged
merged 1 commit into from Mar 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2023

Bumps ol-mapbox-style from 9.7.0 to 10.1.0.

Release notes

Sourced from ol-mapbox-style's releases.

v10.1.0

Summary

  • New removeMapboxLayer() function
  • Substantial fixes to the addMapboxLayer() function
  • Manage OpenLayers layer visibility based on the visibility of its Mapbox layers

What's Changed

New Contributors

Full Changelog: openlayers/ol-mapbox-style@v10.0.0...v10.1.0

v10.0.0

Summary

Breaking changes

BBOX templates for geojson sources

Previously, the {bbox-epsg-3857} and {bbox-epsg-[custom projection srs code]} template replacement included the projection's SRS identifier, e.g. 1234,4567,4321,7654,EPSG:9876. Now, the template replacement just includes the bounding box. This means that e.g. WFS source URLs need to be changed in the Mapbox style.

If you previously had a source definition like

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857}"
}

you have to change it to

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857},EPSG:3857"
}

The reason for this breaking change is compatibility with OCG API Features and other services that do not accept the SRS identifier as additional BBOX parameter.

What's Changed

... (truncated)

Changelog

Sourced from ol-mapbox-style's changelog.

10.1.0

  • New removeMapboxLayer() function
  • Substantial fixes to the addMapboxLayer() function
  • Manage OpenLayers layer visibility based on the visibility of its Mapbox layers

10.0.0

Breaking changes

BBOX templates for geojson sources

Previously, the {bbox-epsg-3857} and {bbox-epsg-[custom projection srs code]} template replacement included the projection's SRS identifier, e.g. 1234,4567,4321,7654,EPSG:9876. Now, the template replacement just includes the bounding box. This means that e.g. WFS source URLs need to be changed in the Mapbox style.

If you previously had a source definition like

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857}"
}

you have to change it to

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857},EPSG:3857"
}

The reason for this breaking change is compatibility with OCG API Features and other services that do not accept the SRS identifier as additional BBOX parameter.

Commits
  • d39b1d4 Add dist for v10.1.0
  • 7be3082 Changes for v10.1.0
  • 7475d02 Merge pull request #829 from openlayers/manage-layer-visibility
  • e703e53 Set OpenLayers layer visibility to false when no layers are visible
  • d1fb949 Merge pull request #828 from openlayers/remove-mapbox-layer
  • 1fe2ce5 Add removeMapboxLayer function
  • af5b534 Merge pull request #827 from openlayers/fix-addmapboxlayer
  • 33ed188 Fix addMapboxLayer
  • c38d942 Merge pull request #822 from utagawal/patch-1
  • 6e1b083 Update CHANGELOG.md
  • Additional commits viewable in compare view

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)

Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 9.7.0 to 10.1.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](openlayers/ol-mapbox-style@v9.7.0...v10.1.0)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 6, 2023
@github-actions
Copy link

github-actions bot commented Mar 6, 2023

📦 Preview the website for this branch here: https://deploy-preview-14551--ol-site.netlify.app/.

@ahocevar ahocevar merged commit 9c2a6d5 into main Mar 6, 2023
@ahocevar ahocevar deleted the dependabot/npm_and_yarn/ol-mapbox-style-10.1.0 branch March 6, 2023 13:36
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant