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

fix(deps): update dependency ol to v10 #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ol (source) 8.2.0 -> 10.3.1 age adoption passing confidence

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 the GeoTIFF source, a new SentinelHub source, built-in support for UTM coordinate transforms, smart caching of regular shape and icon styles, TypeScript improvements for the VectorImage layer, and a new WebGLVectorLayer.

Upgrade notes
The transform function throws for unknown projections

Previously, the transform() function from the ol/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 the get() function from ol/proj - this function returns null if the projection definition for a provided identifier is not known.

The format of the style for WebGLPointsLayer has changed

Such a layer would previously be created this way:

// Before
new WebGLPointsLayer({
  style: {
    // variables were part of the `style` object
    variables: {
      minYear: 1850,
      maxYear: 2015,
    },
    filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var', 'maxYear']],
  },
  source: vectorSource,
})

From this release on, variables are now set as a separate object at the root of the options object:

// Now
new WebGLPointsLayer({
  style: {
    filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var', 'maxYear']],
  },
  variables: {
    minYear: 1850,
    maxYear: 2015,
  },
  source: vectorSource,
})
List of all changes

See below for a complete list of features and fixes.

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 an ol.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.

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

🐜 fixes

🚬 dependencies

🏆 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 to ol/layer/VectorTile

The getFeaturesInExtent() method of ol/source/VectorTile has been moved to ol/layer/VectorTile. The signature and behavior have not changed, so all that needs to be done is change code from e.g.

layer.getSource().getFeaturesInExtent(extent);

to

layer.getFeaturesInExtent(extent);
Flat styles: Removal of Type hints in 'get' expressions

For 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 a get expression, you have to change the expression from e.g.

['get', 'foo', 'number[]']

to

['get', 'foo']
Other changes
Removal of the opaque option from all Tile sources

The 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.


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ol-10.x branch 2 times, most recently from 904d6c7 to 67a0742 Compare August 23, 2024 08:20
@renovate renovate bot force-pushed the renovate/ol-10.x branch 2 times, most recently from 3d39c17 to dadab8b Compare September 26, 2024 23:14
@renovate renovate bot force-pushed the renovate/ol-10.x branch from dadab8b to 72d84b0 Compare November 22, 2024 20:33
@renovate renovate bot force-pushed the renovate/ol-10.x branch 2 times, most recently from 3d2224e to faeb5a6 Compare December 5, 2024 13:54
@renovate renovate bot force-pushed the renovate/ol-10.x branch from faeb5a6 to faeafa2 Compare December 13, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants