Skip to content

Release 7.0.0

Compare
Choose a tag to compare
@d-koppenhagen d-koppenhagen released this 13 Apr 05:16
· 113 commits to main since this release

7.0.0 (2024-04-13)

Bug Fixes

  • ol-*-control: make sure control is updated on property changes (507220d)
  • ol-map: use correct typings for exposed function forEachFeatureAtPixel (8db77a0)
  • ol-webgl-vector-layer: pass internal style prop to styles (e3baa82)

chore

  • set minimum peerDependency of OpenLayers to version 9.1.0 (77e022b)
  • set minimum peerDependency of vue to version 3.4.15 (cc35ae8)

Code Refactoring

  • ol-animation-feature: remove unused exported component ol-animation-feature (4190325)

Features

  • allow to define global options for child plugins and via provide (55f4c1f)

Performance Improvements

  • prevent watching reactive props continously (7e13440)

BREAKING CHANGES

  • ol-animation-feature: The component ol-animation-feature was simply exposing the map, vectorLayer and it's passed properties. There was no need to use this component at all and therefore it has been removed. However, when the component was used in the past, make sure to remove it from your template and move the ref's for map and the layer to the correct components.
  • The minimum version of Vue is now 3.4.15 (npm i vue@^3.4.15)
  • The minimum version of OpenLayers is now 9.1.0 (npm i ol@^9.1.0)
  • the composable usePropsAsObjectProperties which is used as foundation in all components has been refactored.
    Props were watched always deeply and for lot's of components this was done multiple times since the components implement watchers by themselves.
    However, even if not expected, this may cause some side effects with reactive changes which must be applied for individual components when not implemented and therefore considered as a breaking change.
    Please check your app carefully when updating to the new major version.