Update dependency ol to v10 (master) #436
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.2.4
->10.0.0
Release Notes
openlayers/openlayers (ol)
v10.0.0
Compare Source
10.0.0
The 10.0 release brings several significant improvements, including a new base source for image tile sources with improved performance and simplified code. Flat styles handling has been reworked, removing the need to specify type hints among other internal improvements. In the WebGL renderer, a memory allocation issue has been fixed. For better developer experience, we improved generic types and fixed some issues with types, stabilizing the back and forth on generics in v9.x.
Breaking changes are very minor, so we recommend upgrading to v10.x for all v9.x users.
Backwards incompatible changes
ol/source/VectorTile
:getFeaturesInExtent()
method moved tool/layer/VectorTile
The
getFeaturesInExtent()
method ofol/source/VectorTile
has been moved tool/layer/VectorTile
. The signature and behavior have not changed, so all that needs to be done is change code from e.g.to
Flat styles: Removal of Type hints in
'get'
expressionsFor the Canvas renderer, additional arguments to the
'get'
call expression now mean access to nested properties or array items. The expression system has been improved so type hints are no longer needed. If you were previously using a type hint in aget
expression, you have to change the expression from e.g.to
Other changes
Removal of the
opaque
option from allTile
sourcesThe
opaque
option was previously used to hint the renderer to perform some optimizations on layers known to be fully opaque. This is no longer needed, and the option has been removed.List of all changes
See below for a complete list of features and fixes.
setStyle()
(by @mike-000 in https://github.com/openlayers/openlayers/pull/16006)@inheritDoc
(by @MoonE in https://github.com/openlayers/openlayers/pull/15996)Dependency Updates
Configuration
📅 Schedule: Branch creation - "after 5pm on the first day of the month" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.