Skip to content

Commit 0c7597e

Browse files
committed
Update v0.3.0
1 parent 2935b04 commit 0c7597e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Unreleased
22

3+
- -
4+
5+
# v0.3.0
6+
37
- Added component event typings. This should significantly improve autocompletion and suggestions when using the on:event syntax for Konva events
48
- Added strong typings for component event payloads. This change might break your typings in case you used a wrong type for the event payload in your event handlers. To fix this, type the event payload of your function using the new payload types exported by svelte-konva: `KonvaMouseEvent`, `KonvaWheelEvent`, `KonvaTouchEvent`, `KonvaPointerEvent` and `KonvaDragTransformEvent`
5-
- Tighten peer dependencies to only match specific major versions instead of matching all major versions starting from a certain version. This avoids svelte-konva being used in future major versions of Svelte or Konva which might break it
9+
- Tightened peer dependencies to only match specific major versions instead of matching all major versions starting from a certain version. This avoids svelte-konva being used in future major versions of Svelte or Konva which might break it
610
- Updated to Svelte 4 (the library is still fully compatible with Svelte v3)
7-
- Change Testing from Jest to Vitest which simplifies the configuration a lot
11+
- Change Testing from Jest to Vitest which simplifies the configuration
812
- Various dependency updates
913

1014
# v0.2.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ svelte-konva is a component-based svelte wrapper for the [Konva HTML5 2D canvas
77

88
## Compatibility
99

10-
Currently compatible with Svelte v3, SvelteKit v1 and Konva v8+.
10+
Currently compatible with Svelte v3 & 4, SvelteKit v1 and Konva v8 & 9.
1111

1212
## Install
1313

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-konva",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"author": {
55
"name": "TeyKey1",
66
"url": "https://github.com/TeyKey1"

0 commit comments

Comments
 (0)