Skip to content

Bump ol from 8.2.0 to 10.5.0 #5772

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[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps ol from 8.2.0 to 10.5.0.

Release notes

Sourced from ol's releases.

v10.4.0

With more than 40 pull requests, the 10.4 release brings performance improvements, bug fixes, better TypeScript generics and new features. New features include a convenience Image layer loader for debugging MapServer map files using the MapServer CGI API, and an experimental WebGLVectorTile layer.

Upgrade notes

Deprecation of ol/layer/WebGLPoints

Use ol/layer/WebGLVector instead. Besides rendering points it will also render lines and polygons. In most cases this is a drop-in replacement. To use filtering the style and filter have to be in a nested object.

// Before
new WebGLPointsLayer({
  filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var', 'maxYear']],
  style: {
    'circle-radius': 8,
    'circle-fill-color': 'blue',
  },
  source: vectorSource,
})
// After
new WebGLVectorLayer({
style: [{
filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var', 'maxYear']],
style: {
'circle-radius': 8,
'circle-fill-color': 'blue',
},
}],
source: vectorSource,
})

ol/style/webgl module removal

WebGL renderers used to rely on the WebGLStyle type in the ol/style/webgl module. This is not the case anymore, all renderers now rely on FlatStyle from ol/style/flat.

-import type { WebGLStyle } from 'ol/style/webgl';
+import type { FlatStyle } from 'ol/style/flat';

ol-mapbox-style compatibility

This version of OpenLayers is only compatible with [email protected] or higher.

Returning false from a one-time listener added with once

Returning false from the listener function will now stop propagation, when the listener is added with once. Previously this only worked with the on method.

... (truncated)

Commits
  • df31170 Updates for the 10.5.0 release
  • 896e2a7 Merge pull request #16766 from openlayers/dependabot/npm_and_yarn/serve-stati...
  • 9eb08ae Merge pull request #16771 from ltkum/add-numbers-to-font-family-regex
  • 4b61188 Bump serve-static from 1.16.2 to 2.2.0
  • f7f3b4f Merge pull request #16770 from openlayers/dependabot/npm_and_yarn/sinon-20.0.0
  • d2e79c8 Merge pull request #16768 from openlayers/dependabot/npm_and_yarn/typescript-...
  • 6202a68 Merge pull request #16769 from openlayers/dependabot/npm_and_yarn/rollup-4.38.0
  • 26b956a Merge pull request #16767 from openlayers/dependabot/npm_and_yarn/webpack-dev...
  • 0c57f2c Adding numbers to font family regex
  • cedf93a Bump sinon from 19.0.4 to 20.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 1, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ol-10.5.0 branch 5 times, most recently from 4dbabf5 to 3ce4714 Compare April 9, 2025 14:19
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ol-10.5.0 branch 2 times, most recently from 60a2acd to 650c43a Compare April 21, 2025 15:08
Bumps [ol](https://github.com/openlayers/openlayers) from 8.2.0 to 10.5.0.
- [Release notes](https://github.com/openlayers/openlayers/releases)
- [Commits](openlayers/openlayers@v8.2.0...v10.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ol-10.5.0 branch from 650c43a to 3a60946 Compare April 23, 2025 14:37
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.

0 participants