Skip to content

Commit

Permalink
Update v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyKey1 committed Jun 24, 2023
1 parent 2935b04 commit 0c7597e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Unreleased

- -

# v0.3.0

- Added component event typings. This should significantly improve autocompletion and suggestions when using the on:event syntax for Konva events
- 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`
- 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
- 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
- Updated to Svelte 4 (the library is still fully compatible with Svelte v3)
- Change Testing from Jest to Vitest which simplifies the configuration a lot
- Change Testing from Jest to Vitest which simplifies the configuration
- Various dependency updates

# v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ svelte-konva is a component-based svelte wrapper for the [Konva HTML5 2D canvas

## Compatibility

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

## Install

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-konva",
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "TeyKey1",
"url": "https://github.com/TeyKey1"
Expand Down

0 comments on commit 0c7597e

Please sign in to comment.