Skip to content

Commit 12e3260

Browse files
committed
chore: release v10.0.0
1 parent 69b37c9 commit 12e3260

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

Diff for: CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11

22

3+
# [10.0.0](https://github.com/MelihAltintas/vue3-openlayers/compare/v9.0.3...v10.0.0) (2024-05-22)
4+
5+
6+
### Bug Fixes
7+
8+
* update falsy values "0", "false" and "null" ([b39d0c6](https://github.com/MelihAltintas/vue3-openlayers/commit/b39d0c61c835261b5c99d867302bd34d80128360))
9+
10+
11+
### Code Refactoring
12+
13+
* **composables:** rename composable `useLayerInMapOrLayerGroup` into `useLayer` ([3a7835c](https://github.com/MelihAltintas/vue3-openlayers/commit/3a7835c47421f87afbd5af15fbd4a1e2126f62d7))
14+
* **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)
15+
16+
17+
### Features
18+
19+
* **ol-layer-*:** support common events on components ([69b37c9](https://github.com/MelihAltintas/vue3-openlayers/commit/69b37c92079d924dbaab414f86c1658835698434))
20+
21+
22+
### BREAKING CHANGES
23+
24+
* **composables:** The composable `useLayerInMapOrLayerGroup` was renamed to `useLayer`
25+
* **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.
26+
Also, the provided `imageLayer` references is now wrapped in a `Ref` which will make it reactive:
27+
In case the layer changes, the source is updated and applied to the changed layers reference.
28+
This behavior was already default for all layer types:
29+
```diff
30+
-const layer = inject<ImageLayer<Static> | null>("imageLayer");
31+
+const layer = inject<Ref<ImageLayer<Static>> | null>("imageLayer");
32+
```
33+
334
## [9.0.3](https://github.com/MelihAltintas/vue3-openlayers/compare/v9.0.2...v9.0.3) (2024-05-19)
435

536

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-openlayers",
3-
"version": "9.0.3",
3+
"version": "10.0.0",
44
"description": "OpenLayers Wrapper for Vue3",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)