Update dependency ol to v10 (master) #9427
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:
7.5.2
->10.1.0
Release Notes
openlayers/openlayers (ol)
v10.1.0
Compare Source
Thanks to those who contributed to the 10.1 release! See below for a complete list of new features and fixes.
🎂 features
has
to style expressions (by @bkuster in https://github.com/openlayers/openlayers/pull/16063)line-metric
operator to apply styles/filter along a line (by @romprokop in https://github.com/openlayers/openlayers/pull/15961)attributions
to attribution control constructor options (by @RobQuincey-DC in https://github.com/openlayers/openlayers/pull/16031)🐜 fixes
@override
handling (by @ahocevar in https://github.com/openlayers/openlayers/pull/16114)🚬 dependencies
@types/rbush
as dependency (by @MoonE in https://github.com/openlayers/openlayers/pull/16085)🏆 new contributors
📜 full changelog openlayers/openlayers@v10.0.0...v10.1.0
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
v9.2.4
Compare Source
The 9.2.4 is a patch release that addresses the issue below.
v9.2.3
Compare Source
The 9.2.3 is a patch release that addresses the issue below.
v9.2.2
Compare Source
The 9.2.2 is a patch release that addresses the issues below.
List of all changes
v9.2.1
Compare Source
The 9.2.1 release patches the 9.2.0 release with a fix for a TypeScript issue using vector layers.
List of all changes
See below for a complete list of features and fixes.
v9.2.0
Compare Source
The 9.2 release fixes a number of rendering issues and introduces a few new features. OGC tile sources now support collections selection. Snap events are now more consistent (see below). Type annotations continue to improve, and documentation and examples got a number of updates.
The
snap
event's feature property is now nevernull
Previously, listeners for the
Snap
interaction'ssnap
event receivednull
as value for thefeature
property when snapped to a segment. Now, the value of thefeature
property is always set to the snapped feature.To distinguish between a vertex and a segment snap, look at the
snap
event'ssegment
property. It will set tonull
on a vertex snap, and to the snapped segment on a segment snap.List of all changes
See below for a complete list of features and fixes.
Dependency Updates
New Contributors
Full Changelog: openlayers/openlayers@v9.1.0...v9.2.0
v9.1.0
Compare Source
The 9.1 release fixes a few rendering regressions introduced in v9.0. It introduces bulk feature removal in Vector sources, addresses attribution consistency, includes new style operators, and adds the Alidade Satellite style to the Stamen source. Moreover, it ensures compliance with Google's terms of use for attribution handling of the Google source.
What's Changed
change:size
event in Attributions example by @mike-000 in https://github.com/openlayers/openlayers/pull/15603ZoomToExtent
in breaking changes ofv9.0.0
by @JakobMiksch in https://github.com/openlayers/openlayers/pull/15616Configuration
📅 Schedule: Branch creation - "after 5pm on the first day of the month" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Examples
Storybook
API help
API documentation