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

Update dependency ol to v10 #3806

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Update dependency ol to v10 #3806

merged 2 commits into from
Jul 29, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 27, 2024

Mend Renovate

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


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

Dependency Updates

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

Test Links:

Landing Page
MoreCast
Percentile Calculator
C-Haines
FireBat
FireBat bookmark
Auto Spatial Advisory (ASA)
HFI Calculator

Copy link

codecov bot commented Jul 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.35%. Comparing base (1663519) to head (8ae67d2).

Files Patch % Lines
web/src/features/map/VectorLayer.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3806   +/-   ##
=======================================
  Coverage   79.35%   79.35%           
=======================================
  Files         297      297           
  Lines       10886    10886           
  Branches      525      525           
=======================================
  Hits         8639     8639           
  Misses       2102     2102           
  Partials      145      145           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Jul 29, 2024

Copy link
Contributor Author

renovate bot commented Jul 29, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@conbrad conbrad temporarily deployed to production July 29, 2024 18:33 Inactive
@conbrad conbrad merged commit d8238ac into main Jul 29, 2024
29 checks passed
@conbrad conbrad deleted the renovate/ol-10.x branch July 29, 2024 18:46
dgboss pushed a commit that referenced this pull request Aug 14, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Conor Brady <[email protected]>
vanislekahuna pushed a commit to vanislekahuna/wps that referenced this pull request Sep 19, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Conor Brady <[email protected]>
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.

1 participant