Release v0.3.2

This commit is contained in:
Danila Poyarkov 2026-03-02 11:33:49 +03:00
parent 527be98f2a
commit 518ddb0c5b
6 changed files with 20 additions and 6 deletions

View file

@ -1,5 +1,16 @@
# Changelog
## 0.3.2 (2026-03-02)
### Performance
- Re-apply SkPicture scene caching for ~7x faster pan/zoom (0.98ms vs 6.8ms per frame at 500 nodes)
### Tests
- Visual regression tests for SkPicture cache: hover on/off cycle, multiple cycles, mouse hover, scene change + hover
- Type `window.__OPEN_PENCIL_STORE__` globally, remove ad-hoc casts from tests
## 0.3.1 (2026-03-02)
### Fixes

View file

@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenPencil",
"version": "0.3.1",
"version": "0.3.2",
"identifier": "net.dannote.open-pencil",
"build": {
"beforeDevCommand": "bun run dev",

View file

@ -1,7 +1,7 @@
{
"name": "open-pencil-app",
"private": true,
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"type": "module",
"workspaces": [
@ -9,7 +9,7 @@
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsgo --noEmit && vite build",
"preview": "vite preview",
"tauri": "tauri",
"lint": "oxlint -c oxlint.json src/",

View file

@ -1,6 +1,6 @@
{
"name": "@open-pencil/cli",
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"type": "module",
"bin": {

View file

@ -1,6 +1,6 @@
{
"name": "@open-pencil/core",
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"type": "module",
"exports": {

5
src/global.d.ts vendored
View file

@ -29,5 +29,8 @@ interface Window {
>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
__OPEN_PENCIL_SET_TRANSPORT__?(factory: () => any): void
__OPEN_PENCIL_STORE__?: import('./stores/editor').EditorStore
// Typed as `any` to avoid circular reference with EditorStore.
// The assignment in EditorView.vue is type-safe; test code uses `!` assertion.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
__OPEN_PENCIL_STORE__?: any
}