Release v0.8.0

This commit is contained in:
Danila Poyarkov 2026-03-08 00:20:47 +03:00
parent c2710d11fb
commit 9882375b4f
10 changed files with 19 additions and 9 deletions

View file

@ -149,6 +149,7 @@ jobs:
- name: Publish packages to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: |
publish_if_new() {
local dir=$1
@ -157,7 +158,7 @@ jobs:
if npm view "${name}@${version}" version 2>/dev/null; then
echo "${name}@${version} already published, skipping"
else
npm publish "./$dir" --access public
cd "$dir" && pnpm publish --no-git-checks --access public && cd -
fi
}
publish_if_new packages/core

View file

@ -1,6 +1,6 @@
# Changelog
## Unreleased
## 0.8.0 — 2026-03-07
### Features
@ -17,6 +17,8 @@
- Refactor mobile drawer tabs, layout sizing dropdowns, and inline rename to use Reka UI primitives
- Add shared UI style helpers with tailwind-variants for menus, selects, buttons, and surfaces
- Unified tool definitions — define once in `packages/core/src/tools/`, automatically available in AI chat, CLI, and MCP
- Harden FigmaAPI — hide internals via Symbols, freeze arrays, fix `layoutSizing`, 30+ new properties and methods
- Split tools into domain files (read, create, modify, structure, variables, vector, analyze) — easier to navigate and extend
- Replace inline type definitions with named types (`Color`, `Vector`, `SceneNode`) across the codebase
- Split 3200-line `renderer.ts` into `packages/core/src/renderer/` with 10 focused files (scene, overlays, fills, strokes, shapes, effects, rulers, labels)
@ -32,6 +34,11 @@
- Fix all oxlint warnings and tsgo errors — replace `!` non-null assertions in `use-collab.ts` with local const captures
- Fix broken test imports — stale `../../src/engine/` paths updated to `@open-pencil/core`
- Fix flaky E2E tests: layers panel navigates to `/demo`, zoom-to-fit test zooms in first, snapshot rendering stabilized with `workers: 1` and `colorScheme: dark`
- Fix bogus .fig import mappings for `expanded` and `strokeMiterLimit` fields
- Fix PWA manifest error in dev mode, handle invalid font data gracefully
- Fix eval response unwrapping and `export_jsx` page selection in RPC bridge
- Fix automation commands not recomputing layouts after mutations
- Fix workspace dependency not resolved when installing from npm (switch CI to pnpm publish)
### Internal

View file

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

View file

@ -1,7 +1,7 @@
{
"name": "open-pencil-app",
"private": true,
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"type": "module",
"workspaces": [

View file

@ -1,6 +1,6 @@
{
"name": "@open-pencil/acp",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"type": "module",
"main": "./src/agent.ts",

View file

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

View file

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

View file

@ -19,7 +19,7 @@ const schema = JSON.stringify({
url: 'https://app.openpencil.dev',
description:
'Open-source, AI-native design editor. Figma-compatible with full .fig file support.',
softwareVersion: '0.7.0',
softwareVersion: '0.8.0',
license: 'https://opensource.org/licenses/MIT',
screenshot: 'https://openpencil.dev/screenshot.png',
downloadUrl: 'https://github.com/open-pencil/open-pencil/releases/latest',

View file

@ -1,6 +1,6 @@
{
"name": "@open-pencil/mcp",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"type": "module",
"main": "./src/server.ts",

2
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,2 @@
packages:
- "packages/*"