fix(deps): update dependency ol to v10 #117
Open
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:
8.2.0
->10.3.1
Release Notes
openlayers/openlayers (ol)
v10.3.1
Compare Source
v10.3.0
Compare Source
In addition to many important bug fixes, the 10.3 release adds several improvements to the recently introduced
ImageTile
source, support for model transformations for theGeoTIFF
source, a newSentinelHub
source, built-in support for UTM coordinate transforms, smart caching of regular shape and icon styles, TypeScript improvements for theVectorImage
layer, and a newWebGLVectorLayer
.Upgrade notes
The
transform
function throws for unknown projectionsPreviously, the
transform()
function from theol/proj
module would apply the identity transform if either the source or the destination projections were unrecognized. Now this function will throw an error if it cannot perform the transform. You can check whether a projection is registered by calling theget()
function fromol/proj
- this function returnsnull
if the projection definition for a provided identifier is not known.The format of the style for
WebGLPointsLayer
has changedSuch a layer would previously be created this way:
From this release on, variables are now set as a separate object at the root of the options object:
List of all changes
See below for a complete list of features and fixes.
background
inol/layer/Tile
options (by @mike-000 in https://github.com/openlayers/openlayers/pull/16371)overlaps
option (by @ahocevar in https://github.com/openlayers/openlayers/pull/16243){-y}
placeholder handling (by @mike-000 in https://github.com/openlayers/openlayers/pull/16233)zDirection
option to ol/source/ImageTile (by @mike-000 in https://github.com/openlayers/openlayers/pull/16231)Dependency Updates
v10.2.1
Compare Source
The 10.2.1 patch release fixes an issue with missing tiles on reprojected tile layers. See the 10.2.0 release notes for a complete list of changes since the previous release.
What's Changed
New Contributors
Full Changelog: openlayers/openlayers@v10.2.0...v10.2.1
v10.2.0
Compare Source
The 10.2 release adds an experimental
Flow
layer to render particle flows (e.g. wind) in WebGL, support for WMS Capabilities v1.1.1, and anol.VERSION
property in the legacy build. Under the hood, it brings several performance improvements, better memory management, bug fixes, type improvements, and the removal of unnecessary tile caching code.List of all changes
See below for a complete list of features and fixes.
['geometry-type']
is correctly interpreted in expressions (by @jahow in https://github.com/openlayers/openlayers/pull/16087)@types/rbush
v3.0.3 (by @ahocevar in https://github.com/openlayers/openlayers/pull/16194)Dependency Updates
New Contributors
Full Changelog: openlayers/openlayers@v10.1.0...v10.2.0
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)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.