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 from 8.2.0 to 9.0.0 #2388

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Bumps ol from 8.2.0 to 9.0.0.

Release notes

Sourced from ol's releases.

v9.0.0

The 9.0 release adds several new features, including a Google Maps source (finally!), improved WebGL line rendering, and a new symbol and text decluttering implementation. We also improved and broadened flat styles support for both WebGL and Canvas 2D renderers. For better developer experience, we made more types generic and fixed some issues with types.

Backwards incompatible changes

Improved render order of decluttered items

Decluttered items in Vector and VectorTile layers now maintain the render order of the layers and within a layer. They do not get lifted to a higher place in the stack any more.

For most use cases, this is the desired behavior. If, however, you've been relying on the previous behavior, you now have to create separate layers above the layer stack, with just the styles for the declutter items.

Removal of Map#flushDeclutterItems()

It is no longer necessary to call this function to put layers above decluttered symbols and text, because decluttering no longer lifts elements above the layer stack.

To upgrade, simply remove the code where you use the flushDeclutterItems() method.

Changes in ol/style

  • Removed the ol/style/RegularShape's radius1 property. Use radius for regular polygons or radius and radius2 for stars.
  • Removed the shape-radius1 property from ol/style/flat~FlatShape. Use shape-radius instead.

GeometryCollection constructor

ol/geom/GeometryCollection can no longer be created without providing a Geometry array. Empty arrays are still valid.

ol/interaction/Draw

  • The finishDrawing() method now returns the drawn feature or null if no drawing could be finished. Previously it returned undefined.

What's Changed

... (truncated)

Commits
  • 0b6305a Updates for the 9.0.0 release
  • 59ae28e Merge pull request #15561 from openlayers/dependabot/npm_and_yarn/puppeteer-2...
  • ffc0435 Update Puppeteer and expected rendering tests
  • 5b264aa Bump puppeteer from 22.0.0 to 22.1.0
  • 666454b Merge pull request #15573 from openlayers/dependabot/npm_and_yarn/ip-1.1.9
  • 3d08baa Bump ip from 1.1.8 to 1.1.9
  • f2c05af Merge pull request #15570 from ahocevar/defer-all-rendering
  • c5eb087 Add rendering test for deferred render order
  • e59dc5d Also defer rendering of image layers when decluttering is needed
  • e1c086c Merge pull request #15569 from ahocevar/ol-mapbox-style-without-ol-dependency
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 1, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ol-9.0.0 branch 4 times, most recently from 3bfda4f to 2ead3ad Compare March 4, 2024 10:12
Bumps [ol](https://github.com/openlayers/openlayers) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/openlayers/openlayers/releases)
- [Commits](openlayers/openlayers@v8.2.0...v9.0.0)

---
updated-dependencies:
- dependency-name: ol
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ol-9.0.0 branch from 2ead3ad to 798f478 Compare March 7, 2024 09:55
@GermanBluefox GermanBluefox merged commit 4f901d2 into master Mar 12, 2024
5 of 6 checks passed
@GermanBluefox GermanBluefox deleted the dependabot/npm_and_yarn/ol-9.0.0 branch March 12, 2024 10:21
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.

1 participant