Skip to content

Commit

Permalink
chore: release v10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed May 22, 2024
1 parent 69b37c9 commit 12e3260
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@


# [10.0.0](https://github.com/MelihAltintas/vue3-openlayers/compare/v9.0.3...v10.0.0) (2024-05-22)


### Bug Fixes

* update falsy values "0", "false" and "null" ([b39d0c6](https://github.com/MelihAltintas/vue3-openlayers/commit/b39d0c61c835261b5c99d867302bd34d80128360))


### Code Refactoring

* **composables:** rename composable `useLayerInMapOrLayerGroup` into `useLayer` ([3a7835c](https://github.com/MelihAltintas/vue3-openlayers/commit/3a7835c47421f87afbd5af15fbd4a1e2126f62d7))
* **ol-source-*:** move common setup into `useSource` composable ([56b386d](https://github.com/MelihAltintas/vue3-openlayers/commit/56b386d245e6da47402764fe42a7be93dbc55cfe)), closes [#354](https://github.com/MelihAltintas/vue3-openlayers/issues/354)


### Features

* **ol-layer-*:** support common events on components ([69b37c9](https://github.com/MelihAltintas/vue3-openlayers/commit/69b37c92079d924dbaab414f86c1658835698434))


### BREAKING CHANGES

* **composables:** The composable `useLayerInMapOrLayerGroup` was renamed to `useLayer`
* **ol-source-*:** The created Source class from the corresponding OpenLayers source isn't wrapped in a computed anymore but in a shallowRef. This will improve the performance and prevent unneeded re-computations.
Also, the provided `imageLayer` references is now wrapped in a `Ref` which will make it reactive:
In case the layer changes, the source is updated and applied to the changed layers reference.
This behavior was already default for all layer types:
```diff
-const layer = inject<ImageLayer<Static> | null>("imageLayer");
+const layer = inject<Ref<ImageLayer<Static>> | null>("imageLayer");
```

## [9.0.3](https://github.com/MelihAltintas/vue3-openlayers/compare/v9.0.2...v9.0.3) (2024-05-19)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-openlayers",
"version": "9.0.3",
"version": "10.0.0",
"description": "OpenLayers Wrapper for Vue3",
"repository": {
"type": "git",
Expand Down

0 comments on commit 12e3260

Please sign in to comment.