Ir para o conteúdo

OpenPencil Histórico de versões

Danila Poyarkov and OpenPencil contributors · Editor de design de código aberto para arquivos .fig e .pen, com ferramentas de IA e fluxos programáveis.

CaskDesignAtualização integrada 10,2 mil
Comando de instalação
brew install --cask openpencil
Instalações nos últimos 30 dias
616
Appsº lugar: 417
Instalações no último ano
3,2 mil
Total em 365 dias
Versão mais recente
0.17.0
Tamanho do download
20MB
gz
Frequência de atualizações
Diariamente
7 versões nos últimos 30 dias
  1. 0.17.0

    Atualizado

    Editoria OpenNavo Inclusão no Homebrew

    CompatibilidademacOS 13 ou posterior

    O OpenPencil 0.17.0, de 22 de novembro de 2026, adiciona um Cloud próprio para edição ao vivo em equipe e quadros com notas, conectores e importação do draw.io.

    Recursos
    Cloud é um servidor próprio para documentos, salas ao vivo e comentários.Quadros ganham notas, formas, conectores e importação do draw.io.Uma página aberta por URL vira camadas editáveis.
    Ruptura
    Salas usam um formato novo, e esta versão não entra nas antigas.

    O OpenPencil 0.17.0, lançado em 22 de novembro de 2026, é um editor de design de código aberto compatível com o Figma. Esta versão adiciona um Cloud próprio para edição ao vivo em equipe, e quadros com notas, conectores e importação do draw.io.

    Fonte: https://github.com/open-pencil/open-pencil/releases/tag/v0.17.0

    • Cloud é um servidor próprio para documentos, salas ao vivo e comentários.
    • Quadros ganham notas, formas, conectores e importação do draw.io.
    • Uma página aberta por URL vira camadas editáveis.
    • Salas usam um formato novo, e esta versão não entra nas antigas.
  2. 0.17.0-beta.7

    Pré-lançamento

    GitHub Release

    This is a pre-release that lists changes since 0.17.0-beta.6: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.7 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0.

    Breaking changes

    • The editor's design tokens moved from @open-pencil/vue/theme/tokens.css to @open-pencil/theme/tokens.css, a package of their own, since the headless Vue SDK never used them (#2243).

    Added

    • Opening a URL on desktop first renders the page with its scripts in a hidden private window and opens what they built once the page settles, so a page that builds itself with JavaScript, such as a single-page app, usually opens with its content instead of empty; a page that cannot be rendered opens from the HTML its server sends (#2238).
    • Image fills and strokes draw their exposure, contrast, saturation, temperature, tint, highlights, and shadows adjustments on the canvas and in exports, matching Figma's output, and the image fill picker sets them with sliders, as Figma's does (#2241).
    • @open-pencil/theme publishes the editor's design tokens and its button, alert, input, link, focus ring, settings layout, and Cloud portal frame as tailwind-variants configurations, with no framework, so a page beside Cloud, such as its billing pages, can look like the editor (#2243).

    Fixed

    • Exports, previews, the eyedropper, and closing a canvas free the image memory and fonts they used instead of keeping them (#2232).
    • An image fill or stroke keeps Figma's adjustments, such as exposure, contrast, and saturation, when it is edited and the .fig file is saved, instead of losing them (#2233).
    • Deeply nested layers keep their names readable: the layers panel scrolls sideways to the selected layer, as in Figma (#2246).
    • Opening billing from Cloud's plan page signs in, instead of being refused, because Cloud's pages now name their origin to other sites (#2249).
  3. 0.17.0-beta.6

    Pré-lançamento

    GitHub Release

    This is a pre-release that lists changes since 0.17.0-beta.5: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.6 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0.

    Breaking changes

    • Self-hosted Cloud compares minimum_editor_version in SemVer order: a pre-release comes before its release, so "0.18.0" turns away 0.18.0-beta.2, and a minimum may name a pre-release to admit it (#2153).
    • @open-pencil/cloud/client no longer exports createCloudBillingClient, CloudBillingClient, CloudBillingClientOptions, or CloudBillingError: Cloud's plan page now signs the person in to the billing service's own pages instead of calling its API, and the contract's billing schemas remain in @open-pencil/cloud/contract (#2188).
    • The Vue SDK's panel messages replace linearGradient and radialGradient with gradient, the label of the fill picker's gradient tab; a gradient's own type names come from the gradient editor's subtypes (#2201).
    • serializeNode is exported from @open-pencil/dom-css/export only, no longer from the package root (#2164).
    • @open-pencil/html-engine no longer exports HTMLEngineResource and HTMLEngineFetch; use DesignResource and DesignResourceFetch from @open-pencil/dom-css, which the browser runtime's new fetch option takes too (#2210).
    • @open-pencil/scene-graph no longer exports random or arrays, nor the JSONValue, JSONObject, JSONArray, and JSONPrimitive types from primitives. Import them from @open-pencil/std/random, @open-pencil/std/arrays, and @open-pencil/std/json (#2217).
    • createBrowserCSSRuntime() no longer takes sandbox: it always lays markup out in a frame that runs no script, and the shadow-root mode, which ran markup in the host page, is gone (GHSA-x4rx-8c38-9hw8).

    Added

    • get_jsx returns JSX too long to show whole as an outline, with deep layers written with keepChildren and the id to read them by, instead of cutting it mid-text; rendering the outline with replace_id keeps the children it left out (#2118).
    • HTML import keeps blocks centered by margin: auto or <center> in auto layout, and aligns inline-blocks by text-align (#2126).
    • Settings → Prompts lets you write your own instructions for the Design agent, added after OpenPencil's or in their place, and your own prompts for design reviews, chat titles, and compaction summaries as Knap templates, with completion of variables, filters, and tags, a list of what each variable holds that writes one in with a click, errors underlined, a preview, and Reset to default (#2132).
    • Figma's noise and texture effects open from .fig files, render on the canvas and in exports, export to SVG and Design JSX, work through the plugin API, and can be added and edited in the effects panel. Noise matches Figma's grain statistics rather than its exact pattern (#2137).
    • HTML import keeps tables with collapsed borders, captions, or cells spanning rows in auto layout, drawing each collapsed border once, and aligns the items of one-column grids as the page does (#2145).
    • Comments on Cloud documents are kept by the server under each person's account: people who can view a document read them, and those signed in to the server also write them, so a guest following a share link only reads; deleted comments are gone for good, and files saved or downloaded from Cloud still carry them. Typing @ mentions people who can open the document and emails them, threads with new replies show as unread, and the account's Notifications page chooses which comments arrive by email (#2146).
    • Coding agent profiles choose the agent's own thinking level for their model, such as Claude Code's Max or Codex's Ultra, and the chat composer changes it for the next message (#2147).
    • The desktop app can follow nightly builds: Settings → Updates → Update channel switches between Stable and Nightly, and switching back to Stable installs the current stable release at the next check (#2154).
    • HTML import keeps CSS grids of several columns as grid layers, with the page's tracks, gaps, and item areas, instead of placing their items by hand (#2157).
    • Coding agent profiles choose the agent's own modes, such as Claude Code's Plan or Codex's Read-only and its Plan collaboration mode, and the chat composer changes them for the next message; when approving a plan moves the agent to another mode, the chat follows (#2160).
    • HTML import draws inline SVG as vector artwork in the page's colors, reaching icon sprites elsewhere on the page, keeps an icon named by data-icon as that icon, names other inline SVG after the Iconify icon it draws (Settings → Editor and openpencil import --no-icon-names turn this off), and keeps stacks spaced by their children's margins in auto layout (#2164).
    • Cloud: the official server's editor says Cloud is in beta and links the desktop beta (#2165).
    • Cloud: [email] reply_to names where replies to Cloud's emails go, and the admin command's request records an access request for review (#2167).
    • The Icon section sets how Material Symbols are drawn, by their optical size, weight, fill, and grade, and a placed Material Symbol starts at the optical size of its size (#2176).
    • The Icon section sets how SF Symbols are drawn in the macOS app, by weight, scale, rendering, and variable value, and SF Symbols add palette rendering, with secondary and tertiary colors, and multicolor rendering in Apple's own colors (#2176).
    • insert_icon and Design JSX <Icon> take options that set how Material Symbols and SF Symbols are drawn (#2176).
    • Where SF Symbols can't be drawn, in the browser, on Windows and Linux, and on macOS before 14, the icon picker and the Icon section say what they need, with a link to instructions (#2176).
    • Cloud documents send a system notification when someone mentions you in a comment, and, if turned on in Settings › Notifications, when someone replies in a thread you wrote in; clicking it opens the thread (#2178).
    • Cloud: the admin console shows each document's thumbnail with a larger preview on hover, its kind, when it last changed as a relative time, and who beyond its workspace can open it, and lets deployment administrators download a document, which Activity records (#2180).
    • Comments and version history show the exact date and time when you hover a relative time (#2180).
    • Cloud administrators see how each person signs in, filter People by password, Google, or Apple, and can remove a sign-in method other than a person's last, which emails the person.
    • A failed autosave stays shown with Retry save until the document saves, and sends a system notification while you are away; turn it off in Settings › Notifications (#2187).
    • AI on OpenPencil Cloud works as soon as you sign in on a fresh install with a plan that includes it: the app sets up the model the server recommends for each kind of work, with nothing to choose or paste. A model you already set up stays as it is (#2195).
    • Self-hosted Cloud error reports can name the signed-in account and the documents and workspaces involved, with include_ids in [error_tracking]; by default reports omit account and record IDs (#2196).
    • Cloud: a banner over the editor warns when your AI credits run low or run out. On servers that sell credits it links the workspace owner to buying more, and asks other members to go to the owner (#2197).
    • Crowded comment pins gather into one bubble with their count when zoomed out, and clicking it zooms in until they part, as in Figma.
    • Self-hosted Cloud can offer GitHub sign-in through a GitHub App configured under [authentication.providers.github], with its client secret in GITHUB_CLIENT_SECRET; a GitHub account whose verified email matches an existing account links to it once that account has verified its email. Older editors cannot read a server that offers GitHub, so set minimum_editor_version to a release with GitHub sign-in when you turn it on (#2202).
    • Open Cloud files send a system notification while you are away when they were changed in two places and need you to choose a version, or became view only because their owner's storage is full; turn either off in Settings › Notifications (#2205).
    • HTML pages dropped on the canvas of an open document are placed there as editable layers, and File → Place… places images, SVG files, and HTML pages from a file picker; pasted and placed HTML names its icons as HTML import does (#2207).
    • File → Open from URL… opens a web page as editable layers with the stylesheets and pictures it links, and an image, SVG, or design file as File → Open does; the desktop app opens any address, the browser sites that allow it. A page that sends a browser elsewhere at once with <meta http-equiv="refresh"> opens as the page a visitor sees, and openpencil import accepts a web address (#2210).
    • HTML opened or pasted in the app draws CSS mask icons, such as Iconify's and VitePress's, as vector layers in the element's color (#2210).
    • Imported HTML keeps content CSS generates with ::before and ::after, such as separators, list markers drawn as boxes, and the arrow after an external link, as layers named for them (#2210).
    • Generated content in HTML opened or pasted in the app shows the numbers CSS counters give it, such as numbered steps or 1.2 section labels (#2210).
    • Cloud: a billing plan can be priced by the seat. Billing reads how many people can edit across an account's workspaces from the internal API, and Cloud tells it when that changes (#2211).
    • @open-pencil/std, OpenPencil's own standard library beside es-toolkit, with no dependencies: deadlines, backoff, and lengths of time (timing), secure randomness (random), what was thrown (errors), objects to check before reading (records), deferreds and mutexes whose waiters stop when their signal aborts (async), array helpers safe for large inputs (arrays), and JSON types (json) (#2217, #2226).
    • Cloud: the AI services server answers GET /health without a token, for uptime checks (#2219).
    • Cloud administrators can delete an account whose request to join is waiting or was declined, from its menu in People; approved accounts and administrators are left to their owners (#2220).

    Changed

    • The tour opens from the OpenPencil Cloud gallery instead of a copy built into the app, as the version published for your release, so it needs a connection (#2072).
    • render with replace_id updates the layer in place, so it and its descendants that match by type and name keep their ids, and the bindings and links to them (#2118).
    • The chat shows that an agent is working for the whole reply, and Claude Code's thinking appears as summaries instead of being left out (#2147).
    • @open-pencil/cloud's route types take what each route's schema accepts rather than what it outputs, so a typed client may leave out an optional or defaulted field, and query strings are typed as the text they carry. The reference services server answers an Authorization header that is not a bearer token with 400 invalid_request instead of 401 (#2150).
    • Self-hosted Cloud: the admin command that approves and promotes the first deployment administrator needs only DATABASE_URL instead of the whole deployment configuration and its secrets, and stops on a database the server has not migrated yet (#2151).
    • Desktop and browser editors keep connecting to Cloud servers that offer sign-in methods they have no button for, or name a pre-release as their minimum editor version (#2153).
    • Design JSX dashPattern dashes every stroke without a dash of its own, as strokeCap and strokeJoin reach strokes without their own, instead of setting a layer pattern the canvas did not draw (#2186).
    • Cloud: the plan page shows your storage and monthly credits, and opens the server's billing pages to buy, change, or pay for a plan, so Cloud itself has no checkout of its own (#2188).
    • Guided AI setup gives each role the provider's recommended model, unless what you assigned still works, such as a stronger model for design reviews and a fast one for quick tasks, and providers whose main model reads no images review and read them with one that does. The model lists now include Claude Fable 5.2, GPT-6.2 Sol and Astra, GPT-6.1 Terra, and Gemini 4 Carbon and Argon (#2195).
    • The Pi agent in the OpenPencil companion now runs Pi 1.5, which connects to MCP servers itself (#2199).
    • Colour and fill pickers are laid out as Figma's: a square colour area, the eyedropper beside hue and alpha, and the format with all its values in one row. A gradient stop's colour opens in a picker of its own beside the fill picker, the Image tab shows its framing above a square preview, and the Shader tab shows the shader.
    • The desktop sign-in approval page shows the code from its link to compare with the app's, so approving takes one click instead of typing the code.

    Fixed

    • The Comment tool pans with the middle mouse button, and its right-click selects the layer under the pointer and opens a short menu, as in Figma.
    • Letter-spaced text fits and aligns as in Figma: the spacing after the last letter no longer adds an ellipsis or an extra line break, left-aligned lines start at the box edge, and right-aligned and centred lines line up with the box (#1857).
    • The marquee selection rectangle keeps a one-pixel border at every zoom, instead of taking the border width the selection overlay left behind, which made it a thick band on a zoomed-out canvas.
    • Replacing a layer with design JSX keeps the original when the replacement fails to render instead of deleting it, and the replacement takes the original's place among its siblings instead of moving to the end (#1428, #2120).
    • HTML import borders tables by their border attribute, and keeps a border whose color is written with spaces, such as rgb(0 0 0) (#2126).
    • A Fill layer capped by a maximum width sits where its parent aligns its children, as in Figma, instead of at the start (#2126).
    • Text set in a font Windows lists under families of its own, such as Segoe UI Variable's optical sizes or Sitka's, loads that font in the browser, and choosing such a font in the browser saves the family and style Figma and the desktop app use; Segoe UI Variable no longer loads Segoe UI (#2131).
    • The desktop app lists each font family once, under the family its font names, and fonts installed or removed while the app runs show in the font picker and load without a restart (#2131).
    • Vectors with overlapping fill regions, common in imported icons, cast one drop shadow and stroke each edge once instead of once per region (#2133).
    • Deleting a layer inside a group, moving it to another page, or dragging it out in the layers panel fits the group to the layers left, removes a group left empty, and undo brings the group back as it was (#2140).
    • On Linux, the code panel's keys no longer go dead when a menu item uses the same shortcut, Undo and Redo from the menu now reach the code panel's own edits such as indenting and commenting, and Tab and Shift+Tab indent.
    • Undoing a duplicate, a layers panel drag, or a reorder inside an instance's slot takes one step instead of two (#2143).
    • A wrapping auto layout frame places its lines where it aligns its children, as in Figma, instead of at the start (#2145).
    • HTML import reads an aspect-ratio written beside auto, such as auto 16 / 9, as its ratio (#2145).
    • The chat field no longer flashes its placeholder each time a message is sent (#2147).
    • HTML, JSX, and Tailwind export lay letter-spaced text out as the canvas does: a line that fits stays on one line, right-aligned and centred lines line up with the box, and auto-width text takes no extra room for the spacing after its last letter (#2149).
    • Text that ends with a line break saves no baseline for the empty line after it, as Figma saves it, and Home and End work on that line (#2156).
    • HTML and Tailwind export write a letter spacing or line height bound to a variable as its token instead of its value (#2156).
    • Cloud: a wrong or missing two-step code says so instead of reporting a server error or asking to sign in again, and the admin console marks accounts still waiting for approval instead of listing them as members (#2159).
    • Stopping a coding agent's reply while it waits for permission closes the permission dialog instead of leaving it asking about a turn that is over (#2160).
    • Relative times count calendar days, so something from late the day before yesterday reads "2 days ago" instead of "yesterday" (#2162).
    • SVG import and design JSX fit a <symbol> drawn through <use> to its viewBox (#2164).
    • Links, comment mentions, and other accent-colored text meet WCAG AA contrast in both themes, including with a light custom accent (#2166).
    • Windows and Linux have Check for Updates… in the Help menu, which only the macOS application menu had.
    • .pen instances nested in another component take the theme of the screen they are placed in, including theme-bound clips and swapped icons (#2170).
    • Cloud console pages no longer skip a heading level for screen readers, the profile picture's zoom slider has a name screen readers read out, and green "Sent" and other success badges read at WCAG AA contrast in the light theme (#2180).
    • Cloud: signing out, or another account signing in on the same device, now clears the previous account's documents from Recent and removes its local copies that are already uploaded (#2182).
    • On macOS 14 and later, agents can keep editing through MCP while the desktop app is hidden or the screen is locked, instead of every call timing out (#979, #2184).
    • Cloud on Cloudflare Workers reports S3 errors by their code instead of ReferenceError: DOMParser is not defined (#2185).
    • A dashed stroke set in the properties panel keeps its dash pattern when a document is saved and reopened, and so does a stroke weight or dash set on a layer inside an instance (#2186).
    • An instance layer that overrides its stroke weight, alignment, cap, join, or dash keeps it when the component's stroke color changes or the instance is swapped, and still takes the component's later color changes (#2186).
    • Cancelling a change previewed on a layer inside an instance, such as scrubbing its opacity, no longer leaves that property overridden (#2186).
    • .fig files open when an instance leads back into its own component: a swap to the component around it expands once, and a component that would contain itself leaves that instance out, as Figma does (#2191).
    • The web editor learns whether OpenPencil Cloud is open to it, instead of failing on a blocked request each time it starts.
    • Escape closes a fill, stroke, or effect colour picker and keeps what was changed in it; during a drag it puts back only that drag and leaves the picker open. Each drag in a picker is its own undo step, and dragging an effect colour, an OkHCL value, or a shader colour no longer records a step per movement (#1437).
    • The fill picker's gradient tab is labelled Gradient instead of Linear and has its own icon instead of the blend mode one.
    • Switching a fill from Shader back to Solid or Gradient brings back the colour or gradient it had, instead of transparent black.
    • Switching paint types in the fill picker no longer moves the picker: it opens level with its swatch and moves only to stay in the window, as in Figma.
    • Leaving a shader for another paint type in the fill picker stops drawing the shader, and the Image tab then opens an empty image fill instead of the shader again.
    • The loading screen names what it is doing for every kind of document, in the interface language: an HTML import shows laying out the page and naming icons, and other documents no longer say "Decoding Figma document" (#2203).
    • .pen instances show the children their ref places in them, in place of the component's, and size to them (#2193).
    • Pictures an imported HTML page links appear instead of empty layers: PNG, JPEG, GIF, WebP, and AVIF as image fills and SVG served as image/svg+xml as vector layers. HTML opened or pasted in the app brings pictures by web address, and the CLI and pages opened from a URL bring relative ones too (#2210).
    • Imported HTML keeps attributes written without a value, such as hidden or the data-v-… attributes of scoped styles, so the rules that select them still apply (#2210).
    • An imported HTML page with a <script> between its sections lays the sections after it out where the page put them, instead of stacking them over the top of the page (#2210).
    • A list whose items a page lays out as inline-block, such as a row of footer links, imports as a row of layers without bullets (#2210).
    • Text in HTML opened or pasted in the app is set in the first family of its font-family list the editor has a font for, as a browser sets it, instead of being reported missing for a first family such as Helvetica Neue (#2210).
    • HTML imported in the dark-themed app is styled in the light color scheme, as the CLI styles it, instead of mixing a page's dark media rules with its light classes (#2210).
    • Text beside other items in a flex row or grid, such as a label next to an icon, wraps in the room they leave as a browser wraps it, instead of running past its container on one line (#2210).
    • Imported HTML draws a border only on the sides a page gives a width, in that side's color, so a reset such as * { border: 0 solid } no longer turns a transparent border into a visible line (#2210).
    • An SVG paint that refers to a <pattern> falls back to the color written after it, or paints nothing, instead of painting the shape black (#2210).
    • A corner radius given as a percentage, such as border-radius: 50% on a dot or an avatar, rounds the imported layer instead of being dropped (#2210).
    • HTML opened or pasted in the app is set in the fonts its page loads with @font-face, icon fonts among them, as the CLI already did (#2210).
    • An HTML page imported as a document keeps the background a browser paints behind it, its own or white, instead of the editor's grey (#2210).
    • Text fields in HTML opened or pasted in the app show what they hold, their value or else their placeholder in its own style, instead of importing empty (#2210).
    • A shader fill's swatch shows its new frame after a change to the shader.
    • A press while a list or menu is open, such as a picker's colour format list, only closes it; on the canvas or the layers, pages, and assets panels it no longer also clears the selection or closes the picker.
    • Requests to OpenPencil Cloud, the model catalog, and font downloads no longer wait forever on a server that doesn't answer (#2217).
    • The desktop app on older macOS no longer fails opening a design from a link, syncing with S3 storage, or reaching a Cloud server, where its WebKit lacked a browser feature the app relied on (#2217).
    • Cloud: the AI workspace list no longer fails when it lists a workspace the account has since left or that was deleted, and the server answers 404 for that workspace's entitlements instead of an error (#2225).
    • Opening the desktop sign-in page several times no longer turns away new sign-in codes for half an hour, and a page that cannot check its code offers to try again instead of calling the code expired.
    • A document whose page stops drawing before it is first shown stays open in its tab and reports the failure, instead of its tab closing with no message (#2070).
    • Home lists Cloud workspaces made or left elsewhere, on the server's pages or another device, when the window regains focus, every minute while shown, or from the workspace's refresh button, instead of after a restart.

    Performance

    • Deleting, hiding, reordering, or outlining a layer, or moving it to another page, no longer lays out every auto layout frame on its page, including on undo and redo (#2128).

    Security

    • Cloud: two-step sign-in now applies however someone signs in: an account with an authenticator app or a passkey that signs in with Google is asked for its code, a recovery code, or the passkey before it can be used, and an administrator asked to confirm again goes straight to the code instead of an error (#2161).
    • A coding agent the app starts, or any MCP client, gets a token that opens only MCP sessions, where the server's tool switches, file root, and "Share only the selection" apply, instead of the server's own token, which also opened /rpc, /files, and the app's socket; requests sent over the socket now keep to the selection too (GHSA-6r2v-cq7x-fvh6).
    • Opening, dropping, or pasting HTML as layers, and previewing HTML in the Code tab, no longer runs scripts the markup carries, such as an image's onerror: the browser lays it out in a frame that runs no script (GHSA-x4rx-8c38-9hw8).
    • On desktop, the app's window can no longer write to the folders it looks for coding agents and its own companions in, such as %LOCALAPPDATA%\agy\bin on Windows, so nothing it runs could have been put there from inside the window (GHSA-x4rx-8c38-9hw8).
  4. 0.17.0-beta.5

    Expandir

    GitHub Release

    This is a pre-release that lists changes since 0.17.0-beta.4: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.5 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0.

    Breaking changes

    • @open-pencil/scene-graph/text no longer exports textLinesOverflow; textLinesReach gives the rows a text's lines cover, above its box as well as below (#1885).
    • FillSwatch from @open-pencil/vue/primitives/Fill no longer takes the resolved color and state attributes of an enclosing BindableValueRoot, and its slot no longer provides bindingState or stateAttrs; pass the root's resolvedValue as the fill's color and bind its stateAttrs to preview a bound value. It is an image only when given a label; without one it is hidden from assistive technology, and it no longer has an English fallback name or aria-roledescription (#1937, #2049).
    • createPostHogErrorReporter, ErrorReporter, ErrorReportContext, and PostHogErrorReporterOptions move from @open-pencil/cloud/server to @open-pencil/cloud/errors (#2013).
    • OpenPencil services tokens always carry accountId, and services refuse tokens without it; the reference services server counts a month's spend by account only, so usage recorded without an account no longer counts (#2017).
    • The Outline text command, its menu items, the editor's outlineTextSelected, and the selection.outlineText command are removed; text becomes vectors through Flatten or Outline stroke, as in Figma.
    • [billing] takes endpoint, the billing service's address, in place of portal_url, and discovery's billing is { endpoint, contractVersion } instead of { portalURL }. A deployment with [billing] also needs the [services] signing key and [internal_api] (#2027).
    • TextAutoResize from @open-pencil/scene-graph no longer includes TRUNCATE: a truncating text is textAutoResize: 'NONE' with textTruncation: 'ENDING', as Figma stores it. Design JSX no longer accepts textAutoResize="truncate"; use truncate (#2028).
    • Every Cloud deployment now refuses a services or billing endpoint on plain HTTP, not only the official one, since editors send it a token that acts as the account; HTTP to a loopback address (127.0.0.1, [::1]) stays allowed for development, but not to localhost, which is whatever the resolver answers. @open-pencil/cloud/client likewise refuses to send such a token anywhere else, raising CloudServiceInsecureEndpointError (#2039).
    • @open-pencil/dom-css no longer has a headless CSS runtime: createHeadlessCSSRuntime is removed, and createCSSRuntime() throws outside a browser. Pass createHTMLEngineRuntime() from @open-pencil/html-engine as runtime instead; parseHTMLDocument() still parses HTML into DesignDOM without styles (#2065).
    • isWholeArc moves from @open-pencil/core/geometry to @open-pencil/scene-graph/geometry, and isHitPaint from @open-pencil/scene-graph/outline is replaced by paintShows from @open-pencil/scene-graph/paints (#2094).
    • strokeRuns, addStrokeRunToPath and StrokeRun move from @open-pencil/core/vector to @open-pencil/scene-graph/paths, and outlineSVGPath from @open-pencil/scene-graph/polygon to @open-pencil/scene-graph/paths (#2107).

    Added

    • Frames and pages show a row in Appearance for each variable collection with more than one mode, such as Theme, so their theme can be chosen before anything inside binds a variable; what is inside inherits it.
    • The set_variable_mode and get_variable_modes tools switch layers that already exist to a mode, such as a frame to its Dark theme, and tell which mode a layer shows, over MCP, WebMCP, and the AI chat.
    • A Help menu, last in the menu bar on every platform, gathers the documentation, keyboard shortcuts, release notes, the tour, Report a problem, Diagnostics, the Discord community, and the repository; on macOS it includes the system's menu search. Report a problem now opens GitHub's bug report form, filled in with the version and platform, in builds that send no reports of their own, such as a self-hosted Cloud's editor (#2009).
    • @open-pencil/cloud/errors publishes the PostHog error reporter Cloud uses, createPostHogErrorReporter, for services beside Cloud that report errors as it does; it depends only on posthog-node, so importing it leaves the rest of the Cloud server out of a service's bundle (#2013).
    • OpenPencil Cloud accounts can make personal access tokens under Access tokens in their account pages, for scripts and CI: sent as Authorization: Bearer <token>, a token reads and saves documents as its account but never changes how it signs in, makes other tokens, or reaches administration (#2014).
    • A Cloud account that holds its whole storage allowance becomes read-only until space is freed or its plan grows: its files still open, download, and delete, but take no edits, uploads, or new files, and the editor shows Storage full beside the file's name, with Manage plan when the server has a billing portal (#2017).
    • Cloud servers that take plans from the database set the plan an account has until billing stores one, the free plan, with the same keys under [entitlements] as the static form (#2017).
    • Group wraps a single layer and gives layers in different parents a group in each, and Ungroup takes apart frames, boolean operations, and sections as well as groups, keeping their children in place, as in Figma (#2010, #2008, #2007).
    • Cloud servers can open one workspace to everyone as a community gallery: [community] workspace lets anyone, signed in or not, browse its documents at /community, with a page for each showing its preview and named versions and buttons that open it read-only in the browser or the desktop app, with a banner to save a copy. /api/community lists them with thumbnails, and Save to and Home mark the gallery workspace as public and never pick it on their own (#2051, #2085).
    • Cloud servers can advertise a billing service that sells plans and credit packs: a [billing] table names its endpoint, POST /api/billing/token signs a token for the signed-in person's own account, and editors link to the server's plan page when it bills. @open-pencil/cloud/client adds requestBillingToken and createCloudBillingClient (#2027).
    • Coding agents can hold the Vision role as well as the Design agent: an agent profile picks one of the models its agent offers or leaves the choice to the agent, the chat composer switches between agent profiles, and an agent that holds Vision analyzes attached images and inspects rendered designs (#2032).
    • When a coding agent such as Claude Code or Codex hands work to subagents, each one that works on the canvas shows as its own agent, with its own cursor and callsign, and leaves when it finishes; the chat shows a card for each where it started, named and colored as its cursor, which opens what the subagent did as a thread of its own and can follow it on the canvas. This works with agents that report their subagents over ACP through their current adapters (#2033, #2076).
    • Cloud servers that sell plans show the account's Plan page at /account/plan: what the plan includes, the storage its workspaces use, and where to subscribe, buy credits, or manage billing. GET /api/account/entitlements reports the signed-in account's own plan and pooled storage, and @open-pencil/cloud/client adds getAccountEntitlements (#2039).
    • Cloud emails an account's owner once when its workspaces hold all the storage its plan allows and turn read-only, whether it filled its plan or its plan shrank, and again each time it fills after freeing space. The cleanup pass sends it on deployments that send email (#2052).
    • Cloud writes each email in its reader's language: the account's own, which it takes from the app or, failing that, the browser, and for someone without an account the sender's. The email copy is translated into every language the app has, and Storybook previews every email in each (#2062).
    • The app tells each Cloud server its language when signing up and whenever the language changes, so the server's email reads in it (#2063).
    • Cloud servers can set a minimum editor version: older desktop apps offer their update instead of connecting, and the server refuses their requests (#2083).
    • When an administrator blocks a shared document, its workspace's owner gets an email with the reason given and where to contest it, and another when it's restored (#2088).
    • Someone who reports a shared document and leaves an email gets a confirmation that the report arrived, and later what the administrators decided and where to write to disagree (#2090).
    • HTML import keeps tables in auto layout as rows of cells, with border-spacing as their gaps and cells aligned by vertical-align, and centers text by text-align without turning auto layout off (#2105).
    • A model assigned to Fast tasks names each conversation after its first reply and, when it is an API model, writes compaction summaries in place of the Design model; "Same as Design" and no model leave both as they were (#2109).
    • /review asks the model assigned to Review, or the Design model, to review the selection or page as an art director, from the layers' structure and lint findings, with a render when the model reads images; text after it sets the focus, attached images are references to compare against, each AI edit's change preview offers Review this change, and Fix these sends the findings to the Design model (#2119).

    Changed

    • Design JSX's designMode also takes a mode's ID, and a mode name several modes of a collection share is an error instead of picking the first; exported JSX names such a mode by its ID.
    • A new profile opens documents with design-issue markers off. View → Design issues still turns them on, and a profile that already shows them keeps that choice.
    • Download all, before deleting a Cloud account, saves large accounts in Chrome and Edge: it asks where to save the zip and writes the documents into it one at a time, so memory holds about one document instead of the whole zip.
    • Every CLI command that works on one page (tree, find, query, analyze overlaps, export, eval, tool call, and the diff commands that compare layers) takes --page with a page name or --page-id with a page ID, with a file and with the running app alike, and rejects the two together.
    • Auto layout and grid run on Taffy, the engine HTML import already lays pages out with, and size Fill layers in rows as Figma does where they came out narrower before, such as an image that fills its row (#1763).
    • Flatten turns text into a vector that keeps each character's colour, its underlines and strikethroughs, and the text's opacity, blend mode, and effects, named after the layer, and Outline stroke turns text into glyph vectors even without a stroke, as in Figma.
    • A coding agent's capabilities belong to its model profile: image input starts as the agent reports it and can be turned off, and Pi profiles have none (#2032).
    • Outside a room, each of your agents on the canvas has a color of its own instead of all sharing one (#2033).
    • An MCP, CLI, or WebMCP call that names no document works on the document its session last worked on, instead of whichever tab is in front, so agents stay in their own documents while you switch tabs; with none, while the app shows Home or a New file tab, it fails and names the open documents to pass as document_id instead of editing a hidden empty document.
    • Chat replies fade in word by word with layer references fading in alongside, and the copy buttons and link prompt in Markdown are translated (#2074).

    Fixed

    • Text an outer instance overrides on a layer driven by a nested instance's text property stays after component sync, as in Figma.
    • The zoom_to_fit and set_viewport tools and figma.viewport in scripts move the canvas in the app. zoom_to_fit zooms out to fit large layers instead of setting 100%, and figma.viewport sets center and zoom and reads bounds as in Figma (#1390).
    • SVG export draws background blur behind the layer, as Figma's SVG export does, instead of blurring the layer itself, and draws shadow spread, shadows hidden behind the layer, and shadow blend modes. Effects SVG cannot draw, such as glass, are left out and listed in the export's warnings (#1423).
    • Draw.io export lists the effects its shapes leave out in the export's warnings.
    • A document read from a .fig saves again after one of its components swaps a layer for one of the same name before its instances sync.
    • A detached instance keeps the overrides of the instances it holds after saving and reopening, instead of showing them at their components' defaults.
    • Text in a font that is not available draws its fallback at the text's weight instead of an emboldened regular face, and saves the same outlines.
    • A rotated, flipped, shadowed or blurred mask, or a frame mask with a child past its box, masks everything it covers instead of only its unrotated box (#1808).
    • Drop shadows draw out to their faint edge instead of stopping at their blur radius or at the edge of a canvas tile, so a shadowed text whose lines run past its box no longer disappears below the box, and a rotated layer with a layer blur no longer goes missing from parts of the canvas (#1808).
    • draw.io images, page thumbnails and visual diffs hold a drop shadow or a layer blur as far as the canvas draws it, about 1.3 times its radius for an opaque shadow, where they cut it at its radius (#1808).
    • An instance of a library component set copied into a .fig file lists every variant of the set, as in Figma, and switches to any of them. A variant no instance uses is built from the file when an instance first switches to it, so opening costs the same as before (#1811).
    • Selecting a layer inside a nested frame no longer outlines that frame, as in Figma (#1832).
    • A pasted instance keeps the variable mode it pins on a nested layer when pasting into another document copies that mode's collection (#1845).
    • Instance texts that keep their component's text style import with the style's font, size, spacing, case, and decoration, as Figma draws them, even when the instance saved other values beside the style (#1846).
    • Exporting a frame or a masked group no longer grows the image to cover content a mask hides, such as a list scrolled past the frame: a masked group exports at its mask's size, as in Figma (#1847).
    • Video fills and strokes from .fig files draw their poster frame instead of nothing, in the canvas and in PNG, JPG, WebP, SVG and PDF exports, and saving into the opened file keeps the video (#1858).
    • Selection exports, copies, library copies and collaboration rooms keep the poster frame of a video fill (#1858).
    • PNG, JPG and WebP exports no longer blur an image placed at its own size on whole pixels (#1859).
    • Text ranges in imported .fig files are drawn in the paints of the fill style they name (#1871).
    • Nested instances from .fig files keep their own align, grow, absolute positioning and constraints instead of taking their main component's, so a component that fills its parent no longer stretches every nested copy of it (#1883).
    • Centre and bottom aligned text taller than its fixed box overflows up as well as down, as in Figma, instead of hanging from the top of the box (#1885).
    • Each row of the Apply variable picker previews its own variable's color after the field is bound to a variable, instead of every row showing the bound color (#1937).
    • A library that renames a variable mode now renames it in the documents that use the library, so layers set to that mode keep its values instead of a second mode appearing (#1913).
    • A document reloaded from disk returns to the page it showed with that page's layers, where the page showed empty.
    • Opening a .fig file in the macOS app no longer reloads it from disk seconds later.
    • Long agent sessions through the AI chat, MCP, or WebMCP no longer use more memory and slow editing with every tool call (#1984).
    • openpencil tree, find, and query with --page-id read that page of the running app instead of ignoring it.
    • openpencil find and query on a file report a page the document lacks as an error, as tree does, instead of finding nothing.
    • Text scaled with the Scale tool no longer disappears while another layer is rotated or moved, when only the lines past its box are in view (#1995).
    • Text on a path keeps its path when scaled with the Scale tool, and undo brings back the curve (#2004).
    • Large and deeply nested documents no longer exceed the JavaScript argument or call-stack limits during scene-tree traversal.
    • Wrapped auto layout from .fig files whose spacing between rows follows the item spacing lays its rows out that far apart, where they touched before.
    • Undoing a change to how a layer sizes in auto layout, such as setting it to Fill, gives the layer back the size it had.
    • Layout keeps working after a text measurement fails or a grid item has an invalid span, where auto layout could stop until the app was reloaded (#1928).
    • Duplicating a layer inside an auto layout frame places the copy in the flow and resizes a hugging parent immediately, including after undo and redo.
    • Text set to truncate through the plugin API or tools truncates on the canvas and saves as .fig instead of failing with an invalid enum value; the plugin API reads it back as TRUNCATE, and setting another resizing mode stops truncating, as in Figma (#2028).
    • export_image and other image exports work for a document whose canvas is not on screen, such as the one MCP edits while the app shows Home or one in a background tab, instead of failing with "No visible nodes to export", and include text right after a document comes to the front instead of leaving it out until its canvas loads its fonts (#1169).
    • A document opened from a .fig file keeps a recovery copy of its unsaved edits while autosave is off, so a crash no longer loses them; on macOS the desktop window loads the editor again when WebKit ends its page, instead of staying blank (#2037).
    • Outline stroke turns shapes with only a fill into a vector of their fill, alone or inside groups, frames, and components, as in Figma.
    • Underlines and strikethroughs across characters of different colours are drawn as Figma draws them: one line broken only around descenders, each piece in one character's colour.
    • Flatten, Outline stroke, and rounded booleans keep rounded corners and ellipses as one curve each instead of dozens of points.
    • Editing a vector's path no longer stretches its gradient when the drag ends; the gradient stays where it was, as in Figma.
    • Pages with a layer of more than about 120,000 direct children open, lay out, and save in Chrome instead of failing with a stack overflow.
    • Glass effects on rotated or skewed layers fill their edges instead of leaving a transparent band where they sample past the clip.
    • A variable font that forbids subsetting keeps its weight in PDF exports instead of falling back to its default weight.
    • AI tools refuse a size, position, gap, padding, grow factor, rotation, or font size beyond what layout can use, naming the argument and the range it accepts.
    • Design JSX reports a grid placement or track count it cannot lay out in the render's warnings, and refuses a track count above 1,000 before allocating for it.
    • HTML imported in the CLI, MCP server, and other headless hosts keeps boxes that fill their parent or hug their content as Fill and Hug, instead of fixing every size, and every layer lands where the page laid out its element.
    • A paint bound to a color variable takes the variable's color again whenever the mode set for its layer changes, even to a mode giving the same color, as in Figma, and a pasted one keeps its edited color or opacity (#2047).
    • A reply's token usage, shown on hover, stays on one line in a narrow chat instead of spilling over the reply's text: it drops its cached tokens, then the rest, whole rather than cutting a number short, and its fade runs the right way in right-to-left interfaces (#2048).
    • Screen readers no longer announce an untranslated "solid fill" for color swatches in the variable picker, Variables table and inspector, effect previews, and swatch buttons (#2049).
    • Plugin API scripts and MCP tools can no longer set a layer's position, rotation, opacity, stroke weights, corner radii, auto layout spacing, size limits, dash pattern, or transform to NaN or Infinity; they get Figma's validation error instead of a layer that blanks its page. counterAxisSpacing takes null, so wrapped rows follow the item spacing, as in Figma.
    • .fig files whose layers hold a NaN or Infinity, such as stroke weights saved by OpenPencil 0.16, open with those values at their defaults instead of a blank page.
    • CSS, HTML, and JSX exports of a Figma auto layout whose wrapped rows follow the item spacing write that spacing instead of an invalid NaNpx row gap or none.
    • Cloud names accounts by text in its MFA, sign-in and profile picture tables, like every other table it builds (#2053).
    • A reply's text no longer fades out and back in when the reply finishes, or when its thinking ends and the answer starts (#2054).
    • Right-clicking a frame, section, or component name on the canvas selects that layer, locked or not, so the context menu applies to it. Clicking or double-clicking a locked component's or section's name passes through it, as for locked frames.
    • HTML import keeps a link or label in a flex row as text rather than a frame around it, keeps lists in one text layer, and carries a link's underline through the bold or italic text inside it (#2065).
    • HTML import keeps a unitless line height, such as line-height: 1.5, as a percent of the font size (#2065).
    • Long MCP and agent sessions no longer keep growing in memory once undo history is full: steps past the history limit are freed, also in documents that are never saved (#2066).
    • Separate messages from a coding agent show as separate paragraphs in the chat instead of running together (#2067).
    • Italic text in a font that is not available draws in the default font's italic instead of a slanted upright face, and saves the same outlines.
    • A paint picked as an OkHCL solid and then made a gradient draws its stops in their own colors, not the old solid's (#2092).
    • An auto layout frame's gap tick sits in the middle of its content box, where the pointer finds it, as in Figma, and a turned frame's paddings and gaps hover where they are drawn (#2092).
    • The rulers mark a turned layer's bounds on the canvas, as in Figma (#2092).
    • Switching pages in a large .fig after editing it no longer freezes the editor while the page loads, and neither does switching away from a page still loading (#2093).
    • Component sets clip their variants on the canvas, and a section never clips, in hit testing and SVG and PPTX export as on the canvas, as in Figma (#2094).
    • Corners too large for their rectangle draw, export to SVG and hit-test at the radii Figma draws, each scaled by the tighter of its two edges (#2094).
    • A stroke with sides of their own weights bounds exports and shadows by each side's weight, and setting one side from a script keeps the others at the stroke's weight, as in Figma (#2094).
    • An ellipse swept less than 0.001 rad short of a whole turn draws, hit-tests and exports as a whole ellipse, as in Figma (#2094).
    • A drop shadow's spread grows the export bounds only of rectangles, ellipses and frames, and a layer whose paints are all transparent exports nothing, as in Figma (#2094).
    • Layout guides read the same on the canvas, in scripts and in export; a .fig guide without an alignment is dropped and one without a color is transparent, as Figma reads them (#2094).
    • A large .fig page loads without freezing the editor for seconds as it arrives: its layers arrive in pieces the editor keeps responding between (#2095).
    • Switching to a large page on a slow machine no longer fails with "The operation was timed out" while the page is still drawing (#2099).
    • SVG export places an image fill as the canvas draws it: a crop shows the part its transform holds, a tile repeats at its scale, and a turned image stays turned (#2107).
    • SVG export draws an ellipse or arc from the geometry Figma saved for it, as the canvas does (#2107).
    • A vector region whose loop does not connect no longer draws a line across the gap, and clicks follow an open path whose segments are stored out of order (#2107).
    • SVG export no longer paints a stroke twice where Figma saved its geometry, so translucent and dashed borders match the canvas (#2107).
    • Design JSX draws an inline <svg> and an <Icon> at the size their layer takes: width and height scale the artwork as w and h do, an <svg> accepts width="20" as its markup writes it, and an icon sized with w and h fits its box (#2078).
    • A Design JSX layer prop of the wrong kind, such as name={9} or opacity="50%", is left out as its warning says instead of reaching the layer, so one bad name no longer breaks linting for the whole document (#2071).
    • Plugin API setters such as name, characters, visible, blendMode, the auto layout alignments, constraints, and strokeCap refuse a value of the wrong kind with Figma's message instead of storing it.
    • Swapping an icon whose frame is not square draws the new glyph square at the shorter side and centered, as Design JSX draws it, instead of stretching it to the frame.
    • A shadow, outside stroke, or blur reaching into view from a layer just off the canvas is drawn instead of dropped (#2111).
    • A click where a mask cuts a layer away falls through to the layers below it, as in Figma (#2111).
    • Layers in a frame snap to the frame's guides (#2111).
    • Where two vector handles overlap, a press picks the one drawn on top, and handles draw above the points, as in Figma (#2111).
    • Design check no longer reports a shadow, blur, or text layer that already uses a shared effect or text style.
    • Shift-dragging an already selected layer, including a nested frame, moves it, and Alt+Shift-dragging duplicates it, instead of dropping the selection (#2113).
    • MCP get_jsx with a path writes the complete JSX instead of cutting it at 12,000 characters, and JSX returned inline says when it was cut (#2114).
    • JSX export no longer fails for a layer with a Figma noise effect, or for any layer that contains one (#2115).
    • Text set in a font face that Windows lists as a family of its own, such as a Compressed or Condensed cut, loads that face instead of a stand-in, and style names with a width word keep their weight (#2123).

    Performance

    • Opening a large .fig file with many images needs less memory, since each image is kept once instead of twice (#1788).
    • Opening a large .fig file needs less memory, since the file is no longer copied for the reader worker (#1789).
    • Opening .fig documents uses less memory by preparing only the active page, and the canvas tile cache stays within a share of the device's memory where the browser reports it and shrinks to the last view while the window is hidden (#1856).
    • openpencil export --node loads only the page that holds the node (every page for a layer inside an instance), and openpencil eval and openpencil tool call with --page or --page-id load only that page of a .fig and the rest as the script asks for them, so on a 24-page file with 240,000 layers a call takes about 3 seconds instead of 30 (#1988).
    • Undo history keeps only the fields of created and deleted layers that differ from a new layer's, so long agent sessions that render and delete many screens hold about a quarter of the memory (#2037).
    • Saving a document, and keeping its recovery copy, no longer hashes every image again, and a recovery copy draws its cover again only once the cover page changes (#2037).
    • PDF export of long text is much faster: a line of thousands of characters takes milliseconds instead of a large fraction of a second.
    • Glass over an ellipse no longer builds a map of its outline first, so resizing one stays smooth and exporting one takes about a quarter of the time.
    • Large .fig pages load about 15% sooner (#2104).
    • Pages with many component instances load about a quarter sooner (#2116).
  5. 0.17.0-beta.4

    Expandir

    GitHub Release

    This is a pre-release that lists changes since 0.17.0-beta.2: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.4 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0. 0.17.0-beta.3 was not released because of a problem in the release pipeline; this pre-release includes all of its changes.

    Breaking changes

    • EditorRestrictions also has tools and pathEdits; build one from NO_HOST_RESTRICTIONS. computeHandleVisibleVertices moved to @open-pencil/core/vector (#1787).
    • isConstraintEligible moves from @open-pencil/vue/controls/constraints to @open-pencil/scene-graph/constraints (#1835).
    • CanvasRoot now takes pointer input and typing itself; a host that also calls useCanvasInput or useTextEdit on its canvas drops those calls, or passes :input="false" to keep its own (#1838).
    • Cloud's AI service is now OpenPencil services, which will also cover image generation and search, all paid from the same credits. To upgrade:
      • In the Cloud TOML, rename [ai] to [services] and [entitlements.ai] to [entitlements.services], and rename the OPENPENCIL_CLOUD_AI_SIGNING_KEY secret to OPENPENCIL_CLOUD_SERVICES_SIGNING_KEY.
      • Anything that writes entitlements over the internal API sends values.services; values.ai is ignored.
      • A service now accepts tokens with the audience openpencil-services, and editors request them from POST /api/services/token. Upgrade the services server together with Cloud: an older one refuses the new tokens.
      • Editors from earlier betas look for the old discovery field and lose the OpenPencil AI provider against an upgraded Cloud until they update.
    • SDK shortcuts are TanStack Hotkeys chords such as Mod+S instead of tokens such as MOD+S: useEditorKeyboard shortcut keys, EditorCommandMetadata.shortcut and aliases (which replace keybinding; EDITOR_COMMAND_METADATA may hold a { mac, other } pair that editorCommandMetadata resolves per platform), MenuActionNode.paletteShortcut, and TOOL_SHORTCUTS and editor profile toolKeys (keyed by chords such as Shift+S instead of key codes) all hold chords. formatShortcut and formatShortcutKeys take a HotkeyChord and a TanStack HotkeyPlatform; shortcutPlatform, ShortcutPlatform, shortcutCode, and shortcutEvent are removed, in favour of TanStack's detectPlatform and matchesKeyboardEvent (#1844).
    • Scripts run through eval no longer reach the scene graph or raw layers through figma, openpencil, nodes, or styles. SDK code that read figma.graph calls graphOf(figma) from @open-pencil/core/figma-api (#1860).
    • Code that writes into a variable or collection directly, rather than through graph methods, calls SceneGraph.willChangeVariable or willChangeCollection first, as it calls willChangeNode for a layer, so undo records the change. recordEdit and recordEditAsync roll back an edit that throws instead of keeping it as an undo step, and no longer take layerId (#1866).
    • Libraries use schema version 2: libraries published by earlier versions are left out of the library list until they are published again. In @open-pencil/core/library, PublishLibraryInput.assetNodeIds is now assetIds and LibraryAssetDescriptor.sourceNodeId is now sourceId (#1867).
    • @open-pencil/core/clipboard no longer exports buildOpenPencilClipboardHTML, parseOpenPencilClipboard, OpenPencilClipboardData, or TextPictureBuilder, and paste no longer reads the `` HTML format, which OpenPencil stopped writing in March 2026; copy and paste use the Figma clipboard format (#1867).
    • The reference AI relay is now the services server, finishing the rename OpenPencil services started: its command is openpencil-services (node services.mjs in the image and dist-standalone), it reads OPENPENCIL_SERVICES_CONFIG and OPENPENCIL_SERVICES_UPSTREAM_KEY instead of OPENPENCIL_AI_RELAY_*, and the example configuration is openpencil-services.example.toml.
    • Billing and operators set Cloud entitlements per account: PUT /api/internal/accounts/:userId/entitlements replaces PUT /api/internal/workspaces/:workspaceId/entitlements, and the entitlements command takes --account <user id> instead of --workspace <id>.
    • In @open-pencil/core, vector edit mode no longer has a history of its own: nodeEditUndo and nodeEditRedo are removed, as are NodeEditState.history, future, and futureBaseline; use undoAction and redoAction. Entering and leaving a path are now undo steps. The new penPushHistory starts a pen press and penCancelPress takes one back (#1894).
    • @open-pencil/cloud/server renames workspaceAccessControl to accessControl and workspaceStatements to accessStatements, and adds documentRoles with documentRoleCan and workspaceRoleCan for the owner, direct-grant, and workspace permission tables (#1898).
    • usePosition() from @open-pencil/vue/controls/position no longer returns x, y, width, height, and rotation; read each with panelProp('x') and the like, which gives the value the panel shows, to two decimals, or MIXED (#1905).
    • Variable modes come only from pages and layers, as in Figma, so the canvas, exports, and other tools resolve a layer the same way: the document-wide shown mode (SceneGraph.activeMode, getActiveModeId, setActiveMode, the VariableModeFallback parameter), the Vue SDK's setActiveMode, and activeModeId in get_collection output are removed.
    • resolvedPaintBindings (@open-pencil/scene-graph/variables) and outlineColorInMode (@open-pencil/core/canvas) are removed: bound paints hold their colors, so read fills and strokes directly.
    • IconPath from @open-pencil/core/icons carries fills, strokes, and tint (the paints drawn in the icon's color) in place of fill, fillOpacity, stroke, strokeWidth, strokeCap, and strokeJoin strings; providers that build icon paths for a path filled in the icon's color can use tintedIconPath.
    • OpenPencil Cloud starts its database from six migrations, one per domain, and its services server from one, with keys, checks, and indexes named one way. Databases created by pre-release versions cannot be upgraded: recreate them, along with the bucket's documents.
    • enterNodeEditMode's handles option, which picks the points that show their handles, is now showHandles, and its type NodeEditHandles is now ShownHandles, so it no longer shares a word with the pathEdits: 'handles' restriction (#1920).
    • penCancelPress and nodeEditCancelDrag are replaced by cancelGesture, which takes back whichever gesture is in progress (#1922).
    • CanvasKit is @open-pencil/canvaskit, OpenPencil's build of CanvasKit 0.41.1 with Skia's PDF backend: SDK hosts install it in place of canvaskit-wasm and serve @open-pencil/canvaskit/dist/canvaskit.wasm (#1926).
    • exportPDFDocument(graph, specs, { renderer, title }) draws with a renderer, the process's headless one when none is given; the export_pdf tool drops embed_fonts and its font report, since fonts are always embedded; setHarfBuzzSubsetLocator and SVG export's fontAlias are removed (#1926).
    • initCanvasKit is gone from @open-pencil/core/io/formats/raster; headless code loads CanvasKit with getCanvasKit from @open-pencil/core/canvaskit, the one instance Core and the canvas use (#1926).
    • @open-pencil/core/io/formats/fig replaces setFigArchiveAssembler with setFigCanvasCompressor, which compresses only the document data while the archive is written around it, removes compressFigData, and adds exportFigFileStream. In @open-pencil/fig, patchFigArchive and renameFigArchive return a ReadableStream, streamFigArchive writes an archive as one, and compressFigDataSync is removed in favor of writeFigArchive.
    • @open-pencil/oxlint-plugin publishes one plugin per domain, loaded from @open-pencil/oxlint-plugin/<domain> (data, types, runtime, security, imports, structure), in place of the single open-pencil plugin. Rules are named @open-pencil/<domain>/<rule>, and some lost words their domain now carries: no-broad-unknown-type-assertions is @open-pencil/types/no-broad-unknown-assertions, no-duplicate-type-shapes is @open-pencil/types/no-duplicate-shapes, no-ts-suppression-comments is @open-pencil/types/no-suppression-comments, and no-function-alias-imports is @open-pencil/imports/no-function-aliases.
    • Cloud's [error_tracking] reports go to PostHog's EU Cloud, https://eu.i.posthog.com, unless host names another; set host = "https://us.i.posthog.com" to keep a US project.
    • MCP tools that duplicated another tool are merged, and every tool is named verb first: update_node takes rotation and lock, boolean { op } and transform_path replace their families, and delete_nodes, clone_nodes, and ungroup_nodes take ids. Tool access settings name tools, so a tool disabled under its old name is enabled again; check Settings › Tool access after updating.
    • useEditorKeyboard runs a host's shortcut before the editor's on the same key, and a shortcut that returns false leaves the key to the editor's; onEscape is removed in favour of an Escape shortcut that declines when the host has nothing to close (#1964).
    • The selection.setOpacity command, its canSetOpacity capability, and useEditorCommands().setOpacityTarget are removed; call editor.setOpacity(value) instead (#1964).
    • The Vue SDK's panels.toggleExportPreview message is removed in every locale; the export Preview toggle now uses its visible label (#1980).

    Added

    • With several layers selected, the handles on their selection box resize them all together and its rotation handle turns them about its center, as in Figma: the box snaps to other layers, Shift keeps its proportions or snaps the angle, dragging past the opposite edge mirrors the selection, and one undo puts the whole change back. A rotated layer stretched unevenly takes the angle and size Figma reports for it, and with Snap to pixel grid on the box and its layers get whole-pixel sides (#1919).
    • Updating a library redraws the document's copies of its components in place, so instances keep their overrides, also on layers the library renamed: each layer is matched to the library layer it copies, which published revisions now record.
    • The CLI reads the .pen libraries a .pen document imports, so instances of their components and their variables draw as in pen.dev instead of missing or black.
    • SDK hosts can narrow the editor through setHostRestrictions: offer only some tools, and let paths change only by their handles, so points keep their places and connections. enterNodeEditMode keeps a path open until the host ends it and can show every point's handles (#1787).
    • OpenPencil is now available in Brazilian Portuguese (pt-BR), selectable from the Language menu and picked automatically for Portuguese browsers.
    • SDK hosts bind the editor's keyboard with useEditorKeyboard from @open-pencil/vue/editor/keyboard: command shortcuts, tool keys the editor offers, the held Space hand, nudging, Delete, Enter, Escape, and zoom, with the host's own keys added beside them. Editor.getViewportSize() is public (#1809).
    • ⇧⌘\ (Shift + Ctrl + \) splits the canvas view to the right.
    • The desktop app carries the licenses of the npm packages and Rust crates it is built from, under licenses/ in its bundle, and the web app serves those of its npm packages at /THIRD-PARTY-NOTICES.md.
    • The toolbar docks to any edge of the canvas, at either end or centered, from its right-click menu or Settings > Toolbar, and zoom to fit keeps layers clear of it; bottom center stays the default (#1825).
    • MCP set_image_fill fills a layer from image_path, a file inside the MCP root, so a photo no longer goes through the call as Base64 a client can cut short; image_data also takes a data URL (#1830).
    • A single selected layer inside a frame, component, or instance shows its constraints on the canvas as Figma does: dashed lines from its pinned sides to its parent's edges, and a line across the middle of the layer on a centred axis (#1835).
    • CanvasRoot takes pointer input and typing on its canvas, so <CanvasRoot><CanvasSurface /></CanvasRoot> is a working editor canvas; :input="false" keeps one that only draws, and the editor learns the canvas size without a getViewportSize option (#1838).
    • Hosts can keep layers as they are with setHostRestrictions({ layerEdits: 'none' }): the canvas, keys, and editor actions change no layer, while vector edit mode still reshapes paths (#1839).
    • The command palette and menus include New Board, Toggle AI chat, Copy and Paste properties, and Wrap in new section (#1852).
    • Settings → General can turn off the desktop app's update check at startup. The check stays on unless you turn it off, and Check for Updates in the menu still checks.
    • The AI agent and agents using OpenPencil's tools can search the web for current facts, references, and real copy with search_web: with an OpenPencil Cloud model whose workspace's services offer search, paid for with its credits, or in the desktop app with an Exa key under Settings › Integrations. The pages found show as sources in the chat.
    • Published libraries carry the file's styles and variable collections beside its components, and a thumbnail for each component. Inserting or updating a library component brings the styles and variables it uses into the document as read-only library copies, so its tokens keep working (#1471, #1867).
    • Save on a Cloud server's own editor without an account offers signing up or in to keep the file in Cloud, or saving it to this computer; after signing up, the file opens and saves to Cloud, even when an email confirmation opens another tab.
    • SDK hosts report UI floating over the canvas edges with setViewportChrome, which zoom to fit, zoom to selection, and a page's first view keep layers clear of; it defaults to 50 px at the bottom for a Figma-style toolbar (#1889).
    • People who open a Cloud document from a share link can report it to the server's administrators, who can take a document down for everyone until they restore it, revoke its link, or suspend its owner from the console's new Reports and Documents sections.
    • Undo steps through a pen path point by point while it is drawn, and after it ends brings it back to draw on, as in Figma. In vector edit mode each change is its own step of the document's history, and undo after leaving a path opens it again and takes its changes back one at a time (#1894).
    • Hosts can let layers only move with setHostRestrictions({ layerEdits: 'move' }): drags keep layers in their parents, and resizing, rotating, deleting, duplicating, and every other change are refused with a MoveOnlyLayersError (#1909).
    • editor.asHost(run) runs a host's own edit past its restrictions, which narrow what the person does; a read-only document still refuses it (#1909).
    • recordEdit({ joinStep: step }) adds a host's response to the undo step it answers, such as snapping a dropped layer into place, so one undo takes back both; history:changed says whether a step was recorded, joined, undone, redone, or cleared, and passes the recorded step (#1909).
    • Figma Glass effects render on the canvas and in exports, and can be added and edited in the Effects panel: refraction, depth, light angle and intensity, dispersion, and frost. They keep these settings through .fig files, the plugin API, and design JSX (glass()) (#1921, #1942).
    • Hosts follow and refuse the pen as it is used: pen:pressed and pen:released tell what each press does, in page coordinates, before it commits, and editor.cancelGesture() refuses it, or a drag on the canvas, with no undo step (#1922).
    • Hosts add points that the pen and vector edit mode snap to with setSnapTargets({ points }) (#1922).
    • OpenPencil Cloud accounts can be deleted from the account page, after saving the files they would lose as one zip; an account that is the only admin of a workspace other people use hands it on first.
    • Hosts decide where the person's moves put layers with editor.setMovePolicy, which sees each drag while it previews as well as the move it lands, nudges, and X and Y typed in the position panel (#1930).
    • Deleted OpenPencil Cloud documents go to Trash on Home, which shows who deleted each one and how long it stays; restore it, or, as its owner or a workspace admin, delete it forever. A document deleted forever leaves your storage at once; the server keeps it out of sight for purge_grace_days (7 by default), when its administrators can still restore it from the console.
    • The desktop app can use Antigravity CLI (agy) as its design agent, with guided setup and saved chats that continue its session.
    • Drop shadows have a Show behind transparent areas option in the Effects panel (#1942).
    • OpenPencil is now available in Arabic (ar), selectable from the Language menu and picked automatically for Arabic browsers. The interface reads right to left: panels swap sides and menus, lists, and dialogs mirror, while the canvas, numbers, colors, alignment, and code stay left to right. Mirror the interface in General settings turns it off.
    • The Scale tool (K), also offered beside Move, resizes layers with their text, strokes, effects, radii, spacing, and vector geometry in proportion, as in Figma, and its panel section takes a factor and an anchor.
    • Cloud answers every HTTP request with an X-Request-Id (Cloudflare's ray ID behind Cloudflare) and logs errors as structured lines carrying it, as its PostHog reports do.
    • On Cloudflare, createCloudflareCloud(config, { relayJurisdiction: 'eu' }) runs collaboration rooms' Durable Objects in the EU; their updates and snapshots stay where the database and bucket are, so keeping data in the EU needs both there too.
    • Cloud's [object_storage] deleted_prefix keeps each file cleanup deletes under that prefix until a lifecycle rule expires it, so after restoring the database to an earlier time its missing files can be copied back, on buckets without versioning such as R2.
    • Figma's progressive blurs render on the canvas and in exports, keep their settings through .fig files, the plugin API, and design JSX, and can be switched on and edited in the Effects panel, with start and end handles on the canvas (#1965).
    • A host can turn off the width × height label under a selection with editor.state.showSizeLabels = false, and vector edit mode's points and handles follow selectionTheme (#1971).
    • Cloud servers can link their own terms, privacy policy, abuse address, and minimum age through a [legal] table, shown at sign-up and in the portal's footer; with require_acceptance, each account accepts the current terms_version before using the server, and again when it changes.

    Changed

    • HTML imported from the CLI lands where a browser lays it out at 1440×900, as it does in the app: media queries, the page's linked stylesheets, and its own margins apply, and text is set in the page's own @font-face fonts or the first family of its font list that is installed or downloadable.
    • The web app offers a new version in a notification with a Reload button instead of reloading under you; a tab in the background with nothing unsaved updates on its own.
    • Toasts float on the same surface as menus, with an icon only for progress, warnings, and errors, and their actions as regular buttons (#1823).
    • The daily ping also reports how many days the install has pinged, as a doubling step (1, 2, 3–4, 5–8, and so on) rather than the number itself, so returning installs can be told apart from copies of one saved state.
    • Dragging a straight segment in vector edit mode bends it at a new point where it was pressed, as in Figma; a curved segment still moves whole (#1848).
    • A guest following an edit link on a Cloud server that lets guests view but not edit sees the file read-only with Sign in to edit, instead of being sent to sign in first. Shipped Cloud configurations turn guest editing off.
    • Cloud refuses API requests larger than 8 MiB; the editor commits a save's images in batches that fit.
    • A Node Cloud server cancels database queries that run past 30 seconds.
    • OpenPencil Cloud plans belong to accounts: every workspace takes its owner's storage, OpenPencil services credits, and features, so creating more workspaces adds no allowance. Ownership passes to the longest-standing admin when the owner leaves.
    • The Effects panel labels every shadow and blur setting: Position, Blur, Spread, and Color (#1942).
    • Shadow colors use the same color field as fills and strokes (#1942).
    • Each effect type has its own icon in the Effects panel (#1942).
    • Blurs no longer offer a blend mode, which they do not have in Figma (#1942).
    • A coding agent's tool calls in an app chat, including undo, save, and close, go to the chat's document unless they name another, instead of the tab in front.
    • Menus inside panel fields, such as a size's Hug, a line height's Auto, and an export's scale, sit beside the variable button in one compact group and show hover, focus, and open states in both themes (#1970).
    • Colour previews across the properties panel are the same 16 px swatch, show transparency on a checkerboard, and show keyboard focus; colour rows such as an effect's, a layout grid's, and an icon's sit in the same field frame as fills (#1976).
    • Units such as % and px follow the number directly in panel fields, also while typing, instead of sitting at the field's far end (#1976).
    • In the variables inspector, colour, text, and aliased values sit in the same bordered field as number values, with the variable button inside at its end (#1976).
    • Buttons that open a menu or popover in the panel stay highlighted while it is open, the boolean operations button matches the buttons beside it, and the export Preview toggle is a standard collapsible that keyboard and screen-reader users can operate (#1980).
    • Keyboard focus looks the same across the app: fields show it on their border and every other control with a thin ring in the focus colour, instead of the soft accent halo some buttons, lists, and collapsibles drew (#1983).

    Fixed

    • Resizing a layer inside a group or boolean operation fits the group to its children, as moving one does, in the same undo step.
    • Rotated and flipped groups fit their children after a layer inside them moves, resizes, or leaves, keeping their angle, where they kept their old bounds.
    • A rotated layer, or a layer inside a rotated frame, resizes along its own axes with the opposite edge kept in place, and a handle dragged past the opposite edge mirrors the layer, as in Figma.
    • Pressing a resize handle without moving it, or dragging back to the starting size, leaves a vector imported from a .fig file as it was, where it lost its imported geometry or kept the stretched one.
    • Arrow keys no longer also nudge the selected layer while a list, menu, or dialog is open.
    • Hiding and showing the editor UI keeps the canvas as it is instead of starting it again, and keeps split views on screen while the UI is hidden.
    • Layers pinned by constraints inside a Hug auto layout frame move once when the frame resizes, instead of drifting.
    • Negative item spacing in auto layout overlaps siblings, and Hug frames shrink by the overlap, as in Figma.
    • Text that sizes its own width wraps and truncates at its max width, as in Figma, also after it is edited or laid out again.
    • Documents with thousands of texts in a variable font with many glyphs, such as Noto Sans SC, open instead of running out of memory: every paragraph drawn in the font kept about 64 KB, and a .pen file of 24,000 Chinese texts aborted while it opened (#1761).
    • .pen files keep a frame's bottom and left padding when they write it as four values; the bottom took the top's value and the left the right's, so a title with a bottom inset sat low (#1762).
    • Frames that include their strokes in layout leave room for inside strokes, as in Figma.
    • Imported HTML draws closer to the browser: borders take room inside their boxes, generic font families such as sans-serif, system-ui, serif, and monospace use real fonts, CSS transforms turn, mirror, and move layers, and white-space: nowrap text stays on one line.
    • Text with a line height of zero, or a percent one under half a pixel, sets its lines on one baseline and is 0 px tall, as in Figma, and a single line at a fractional line height in pixels takes Figma's height.
    • A file opened in a browser tab in the background is read right away instead of waiting until the tab is shown, and a page switch drawn there no longer fails with "The operation was timed out".
    • Raster text exports, absoluteRenderBounds, and the canvas take a text by the ink of its glyphs, as Figma does, so text without a shadow or blur, once its fonts are loaded, exports at Figma's size, to a pixel in width, and a text 0 px tall draws on the canvas.
    • Text centred or bottom-aligned in its box draws its baseline on the pixel Figma draws it on.
    • Regular 20px text drawn from the glyph outlines saved in a .fig file (while its font loads, when the font is not installed, and for text on a path) has smooth edges instead of stair-stepped ones (#1799).
    • Saving from MCP or the CLI to a path that is not a .fig file, or a .jam file for a board, now fails before writing and names the .fig or .jam path to save to instead. Before, it wrote a Figma archive that could not be opened again.
    • A text drawn from its saved glyphs, because its font is missing or still loading or because it is set on a path, keeps the accents, round tops, and descenders it draws past its box at an opacity below 100% or with a blend mode, as does upper-cased text whose case changes its length and right-to-left text such as Arabic. Text on a path exports and reports absoluteRenderBounds by its glyphs, as in Figma, and .fig files saved from right-to-left text keep the glyphs of its last character (#1805).
    • Exports take a layer at the size Figma exports it: a shadow grows by its radius and spread, a negative spread shrinks it, and a layer in a frame that clips it exports as much as the frame shows.
    • absoluteRenderBounds takes in what a frame that does not clip lets its children draw past it, as in Figma.
    • Each split view's header shows that view's current zoom, and clicking it opens the zoom menu for that view.
    • In split view, a previewing view's header shows that it is previewing, with Reset and Stop, and the Play button toggles preview.
    • CLI exports and absoluteRenderBounds in headless runs size text by its glyphs, as the app does, and exportAsync on a layer that draws nothing returns a blank pixel for PNG and JPG and rejects SVG and PDF, as Figma does (#1812).
    • figma.listAvailableFontsAsync() lists every style of installed and bundled families, and of online families once a font of theirs is loaded, instead of only Regular; in the CLI and the MCP server it lists the bundled and online families instead of none.
    • Canvas shortcuts and arrow-key nudging keep working while a tooltip or hover card is showing (#1818).
    • Canvas shortcuts, arrow-key nudging, and ⌘\ keep working while the selection toolbar shows with the UI hidden, as on boards (#1820).
    • Each mode's "Use a variable" button in the Variables dialog names its mode for screen readers (#1820).
    • Text whose fonts were still loading no longer stays missing from the canvas after they load, as it could when its box or saved glyphs kept its size (#1821).
    • Undoing an edit inside a component back to the last save marks the document saved again (#1822).
    • Resizing a frame or group no longer rounds the layers inside it to whole pixels; constraints move them by the rounded change in the frame's size, as in Figma (#1816).
    • A .pen file keeps image fills whose paths are percent-encoded, such as assets beside a document whose name has spaces.
    • AI chat shows the Option key in the follow-up shortcut hint on macOS.
    • A canvas started on a document that is already read-only draws instead of failing on its first frame, and a host can lift restrictions it set (#1839).
    • A .pen document with many theme axes opens instead of hanging: each axis gets its own variable collection unless a variable combines it with others (#1829).
    • Preview and HTML and Tailwind export keep each layer's constraints, so a layer set to Right, Center, Left and right, or Scale follows its frame as it resizes, such as a slider's range following the thumb.
    • Opacity and zoom digit shortcuts work on layouts such as AZERTY, where the digit row types symbols (#1844).
    • The command palette shows the shortcuts of editor commands such as Duplicate and Tidy Up, writes Control as ⌃, and lists modifiers in macOS order, as menus do (#1844).
    • On Windows and Linux, Distribute Spacing and Tidy Up use Figma's keys, Alt+Shift+H, Alt+Shift+V, and Ctrl+Alt+Shift+T, so Ctrl+Alt+V only pastes properties instead of also distributing (#1844).
    • Saved Claude Code and Codex conversations stay resumable after the app reloads or a resume fails temporarily, and the error offers to try again or start a new chat.
    • A .pen document's bundled fonts are read, so its text draws in them instead of being substituted, and .fig exports name the real family and style, such as Geist SemiBold (#1759).
    • Layers scaled by their constraints in Hug frames and resized instances keep the exact ratio instead of snapping to 1/128 px, as in Figma.
    • Typing a width or height for a frame, group, or instance places the layers inside by their constraints, as dragging its edge does.
    • Undoing an edit no longer lets a later edit move layers pinned inside a Hug frame from the size it had before the undo.
    • ⌘J opens the AI chat while the panels are hidden, as on a board (#1852).
    • Inline SVG in design JSX and Iconify icons place their artwork as pasted SVG does: a viewBox that does not start at zero no longer offsets or clips the artwork, and a viewBox of another aspect ratio is centered in the icon box, following preserveAspectRatio, instead of being stretched.
    • Pasted and imported SVG, and inline SVG in design JSX, apply a transform on the root <svg> about the center of its box after the viewBox, as browsers draw it.
    • Pasted and imported SVG scale stroke weights by the transforms of the elements they are drawn in, so a stroke inside a scaled group keeps its drawn thickness.
    • The pen keeps the last point's handle when it closes a path, closes along the mirror of a drag on the closing press, closes a path of two points, lets a drag bring a handle back to its point, and drags the last point's handle out again when that point is pressed, as in Figma (#1861).
    • .pen rows that hug their children with space_between keep their gap, as in pen.dev (#1402).
    • Curved vector paths export to SVG with their control points on the right side when a path runs through a segment end to start.
    • The contrast lint keeps running on text with very many style runs, and holds text to the base style's threshold when style runs only appear to cover it.
    • Each split pane shows its own shader frames in preview instead of the other pane's.
    • A tour that fails to load says so instead of leaving a blank tab, the welcome dialog stays open to try again, and the tour's tips show both macOS and Windows/Linux shortcuts.
    • An agent's undo step holds only its own changes: edits you, a collaborator, or another agent make while its call runs stay out of it, undoing a step that created a frame keeps layers someone else put into it, and eval scripts take turns with tool calls. A script's own fetch calls and timers are not covered (#1866, #1900).
    • A tool call or eval script that fails part way is rolled back and leaves no undo step, and an MCP call that times out is cancelled in the app instead of editing later. The unsaved dot no longer stays on after an edit is rolled back or a drag is cancelled (#1866).
    • HTML import keeps an SVG <img> data URL as the image source instead of an empty image fill, and HTML bundle export keeps SVG images inline instead of writing .svg files that could run script when opened from the site, and writes AVIF images to .avif files instead of .png (#1869).
    • In the browser, Object → Insert Icon… keeps the icon picker open instead of closing it at once.
    • Saving a .fig document after editing a component no longer moves the component above the other layers on its page, and loading pages no longer reorders the layers on the pages they read components from.
    • Cloud collaboration rooms refuse an edit that would grow the document past 256 MiB, or 32 MiB on Cloudflare, instead of crashing the room; the editor then saves on its own.
    • An outer instance's literal fill on a layer inside a nested instance stays literal when the instance syncs, instead of taking back the main component's color variable.
    • Auto layout frames with negative padding place their children past the frame's edge as Figma does, instead of treating the padding as zero (#1884).
    • A canvas shortcut pressed right after closing a menu, such as Escape then R, works instead of doing nothing while the menu fades out (#1889).
    • Mod+S saves while editing text on the canvas or typing in a field, instead of the browser offering to save the page.
    • AI setup asks again for a design model when a coding agent was chosen where this install cannot run agents, instead of finishing setup on a model chat refuses.
    • Undoing the removal of a variable collection, or of the mode it showed, shows that mode again instead of the default (#1900).
    • OpenPencil is listed under Graphics in Linux app menus.
    • Plugin API scripts see instances follow a component edit at once, as in Figma, and a CLI edit saves instances synced with the components it changed.
    • Overriding the fill of a layer inside a nested instance no longer stops its other paint and effect bindings from following the component.
    • Iconify icons draw in their set's own box: icons from sets without a size, such as Bootstrap Icons, fill the icon instead of two thirds of it, Jam icons are no longer offset, and aliases that flip or turn another icon, as in Font Awesome 4 and Fluent Emoji, draw flipped or turned.
    • SVG currentColor takes the CSS color an element sets, in pasted and imported SVG, icons, and design JSX <svg>, and matches in any letter case, so currentcolor in an icon follows the icon color instead of drawing black.
    • Design panel fields and the canvas size label show fractional values to two decimals, as in Figma, instead of rounding them to whole numbers (#1905).
    • Resizing a layer by its handles with Snap to pixel grid on rounds its size to whole pixels and keeps the edges the handle leaves, as in Figma, instead of moving the dragged edge onto the grid; pressing a handle without moving leaves the layer as it was (#1905).
    • Text links inside a library component point at the component's own layers after it is published, inserted, or updated, instead of at layers of the library file (#1906).
    • A page's variable mode is saved in .fig files, and so is clearing it, where saving dropped it.
    • Saving an opened .fig after changing a page's or frame's variable mode, or moving layers into another mode, writes the values the bound layers below it now show, where their records kept the previous mode's.
    • Paste to replace from Figma keeps the pasted layer as it was drawn when the replaced layer sits in a rotated or flipped frame, instead of turning it with the frame (#1908).
    • Undoing a nudge back to the saved state clears the unsaved indicator, and a collaborator's change that arrives during an edit keeps the document unsaved after undoing back (#1910).
    • A paint bound to a color variable keeps a color or opacity written over it until the variable's color for that layer changes, the canvas and the Plugin API show it as stored, and instances keep their own bound paints, as in Figma.
    • Layers in a group or boolean keep their own constraints against the frame or instance around it, as in Figma: resizing moves them and the group fits them, the Design panel shows and sets a group's constraints from its layers, and the canvas draws their indicators (#1914).
    • Icons and design JSX <svg> draw gradient fills and strokes as gradients instead of solid black, as in Noto, Fluent Color, Logos, and Meteocons icons, and icons whose SVG uses xlink:href draw instead of coming out empty. Their paths are placed at their own bounds, as pasted SVG places them, and design JSX <svg> children take paint and text props in camelCase, such as stopColor, fillOpacity, and textAnchor.
    • Pasted and imported SVG draw gradient strokes as gradients, follow gradients that take their stops from another through href, and leave a shape with fill="none" and no stroke unpainted instead of filling it black.
    • Resizing a frame keeps the paths inside it in shape: a straight line that scales with the frame, such as a pasted SVG line, stretches along its length, and a path dragged back to its starting size within one drag returns to its own shape instead of keeping the stretched one.
    • SVG export clips a rounded frame's children to its rounded or smoothed corners instead of a square box, and fills smoothed rectangles and frames with their smoothed outline (#1916).
    • The rulers label a selection's edges to three decimals, as in Figma, instead of rounding them to whole numbers (#1923).
    • A size, padding, or gap field bound to a variable shows its value to two decimals, as unbound fields do, instead of the raw value a .fig file stores, such as 100.4000015258789 (#1923).
    • Saving an API key or token while the system credential store is locked or unreachable explains how to unlock or connect it, including the Snap package's snap connect command, instead of showing an untranslated error (#1925).
    • PDF exports draw what the canvas draws: Arabic and other shaped text keeps every letter, its order, and its spaces, in embedded fonts that stay searchable, and blurs, shadows, images, and shader fills come out as on the canvas instead of clipped or missing (#1862, #1926).
    • SVG exports place right-to-left words where the canvas draws them, so a line that mixes Arabic or Hebrew with Latin in one font no longer reads reversed (#1862, #1926).
    • Exports from the CLI and MCP server running at the same time no longer draw one document's shapes in another's, which happened to documents read from files whose layers share ids (#1926).
    • A script that places a right-pinned or stretched layer in a new Hug frame without reading it first, through MCP tools, eval, or the AI tools, keeps the layer where it put it, as in Figma, instead of the frame's later hug moving it (#1932).
    • Saving a large .fig writes the archive to its file, download, or Cloud as it is produced, so a desktop save of a document of several hundred megabytes no longer runs out of memory.
    • A desktop save that fails partway leaves the previous file in place, and a save that cannot finish stays visible with a retry instead of stopping silently.
    • Clicks and hover pass through locked layers on the canvas, as in Figma: a click reaches the layer underneath and a drag starts a marquee, while a right-click still selects a locked layer to unlock it (#1941).
    • Text in a font that loads after it is first drawn, such as a plugin's or a collaborator's text in a weight not used before, now appears once the font arrives instead of staying blank (#1947).
    • Reloading a large document after its file changed on disk no longer crashes the tab, and a document with unsaved edits keeps them, offering a reload that discards them.
    • Switching the app theme with the demo tour open now repaints the whole canvas background instead of leaving the old one around the sections (#1958).
    • A layer blur on a rotated layer no longer cuts off the corners the rotation moves past the layer's box (#1965).
    • A dashed vector with several closed contours, such as a ring or a letter with a counter, dashes every contour instead of drawing all but the first solid (#1973).
    • Zooming in fast no longer leaves gaps of canvas colour at the edges of the view while tiles render.

    Performance

    • In a shared Cloud document, the tab that saves for the room uploads a checkpoint a minute after edits pause, and at least once a minute while editing goes on, instead of after every pause. Closing it no longer warns about unsaved changes while the room holds the edits.
    • Switching to a page in a large .fig loads the component sets its instances use rather than every page holding them, so a page with a few kit instances opens in a fraction of the time and memory.
    • The editor no longer downloads AI provider code at startup, and the web app's offline cache is about 9 MiB smaller.
    • The desktop app binary is about a third smaller on macOS arm64.
    • Recording an edit copies only what it changes rather than its page and every variable, so an edit on a large page records in a few milliseconds instead of up to a hundred or more (#1866).
    • Saving a large document on desktop hands its bytes to the native file writer as binary chunks, so the save no longer spends minutes encoding them as JSON.

    Security

    • Cloud no longer looks people up by email or adds documents to someone's files without an accepted invitation, caps invitations at 100 sent and 5 received per address a day, stops share links of banned people, ends a document maker's access once they leave its workspace, and asks for the desktop sign-in code to be typed before approving.
  6. 0.17.0-beta.2

    Expandir

    GitHub Release

    This is a pre-release that lists changes since 0.17.0-beta.1: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.2 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0.

    Breaking changes

    • sharedStylePatch and sharedStyleDetachPatch move from @open-pencil/vue/controls/shared-style to @open-pencil/scene-graph/shared-styles.
    • @open-pencil/core/vector no longer exports evalCubic, and @open-pencil/scene-graph/geometry no longer exports geometryCommandCoordCount; use cubicPoint and readGeometryBlob from @open-pencil/scene-graph/geometry (#1685).
    • Plugin API nodes read Figma's node types: a page's type is PAGE instead of CANVAS, and figma.root.type is DOCUMENT instead of FRAME, in node.type and toJSON(). Scripts that compared against CANVAS should compare against PAGE.
    • Cloud keeps each collaboration room's snapshot in object storage beside the documents' files instead of in PostgreSQL. Upgrading starts every document's live room over from its last saved version, so edits a room held that no saved version has yet are dropped.
    • useCanvas from @open-pencil/vue/canvas/surface no longer takes onPresented; listen for the editor's render:presented event with editor.onEditorEvent('render:presented', …), which fires once a frame shows the whole visible scene (#1753).
    • @open-pencil/core/text no longer exports adjustRunsForInsert. Use runsAfterTyping, which moves the runs for typed text and gives it the style of the text it continues.
    • @open-pencil/scene-graph/geometry no longer exports computeVisualBounds, nodeVisualBounds, computeDescendantVisualBounds or the VisualBoundsNode type; use computeContentBounds from @open-pencil/core/io/formats/raster, which bounds layers by their world matrix. textDecorationOverflow now takes a text node's type, fontSize, textDecoration, textUnderlineOffset and textDecorationThickness, with fontSize and textDecoration required (#1778).

    Added

    • The Eyedropper tool (I) and the color picker's eyedropper button pick any color shown on the canvas, with a loupe of the pixels under the pointer.
    • The desktop app can use Cursor, signed in with cursor-agent login, or Grok Build, signed in with grok login, as the design agent.
    • Choose and remember an interface size of 100%, 110%, 125%, or 150% without changing canvas zoom.
    • Home lists unsaved work kept from documents closed without saving or open when OpenPencil quit, with a preview of each, in place of the recovery prompt at start.
    • The AI chat compacts long conversations: the model summarizes what came before, automatically before the context window fills up, also between the steps of a long reply, from the new context meter in the chat header, or with /compact, and a request that is already too long offers Compact and retry. With Pi, /compact asks Pi to compact its own context, and the transcript shows where it did. Replies show the tokens they used on hover.
    • In the desktop app and for files in storage, a file reopens on the page and at the view it was left at, as in Figma (#1675).
    • Scripts create, find, apply, edit, and remove paint, text, effect, and grid styles through Figma's plugin API: figma.createPaintStyle() and its siblings, getLocalPaintStylesAsync() and its siblings, getStyleByIdAsync(), and set…StyleIdAsync() on layers. A change to a style reaches every layer and text range that uses it, and removing one leaves them its values. A style ID the document does not hold is refused, as in Figma.
    • Scripts read and set more of Figma's plugin API: guides, horizontalPadding and verticalPadding, booleanOperation, a text's underline style, leadingTrim, and openTypeFeatures, component description, instances, and getInstancesAsync(), a set's defaultVariant and variantGroupProperties, removeOverrides(), setFillsAsync() and setStrokesAsync(), getTopLevelFrame(), and documentColorProfile.
    • Scripts can export layers and pages with Figma's node.exportAsync() as PNG, JPG, SVG, or PDF, and read and set node.exportSettings with Figma's options, which .fig files keep.
    • New npm package @open-pencil/oxlint-plugin: OpenPencil's code conventions as Oxlint rules for any TypeScript project, such as validated JSON, Valibot schema placement, no broad type casts or silent catches, and no secrets in logs or URL query strings. @open-pencil/oxlint-plugin/recommended is the configuration OpenPencil's repositories extend: the TypeScript, import, unicorn, promise, and Node rules they follow and the plugin's own, for a JSON extends path or oxlint.config.ts.
    • Official builds offer to report an unexpected error, or a problem you describe from File → Report a Problem…, to the OpenPencil team, optionally with recent diagnostics and the open document; nothing is sent until you choose Send report, and the next launch offers the error that ended a crashed session.
    • A Tab behaviour for tab triggers drawn as instances of a component, as in the shadcn/ui kit: in preview and generated Reka and Radix code, the chosen tab shows its selected variant and a tab drawn disabled cannot be chosen; design JSX writes such triggers as Tabs.Tab (#1710).
    • Shadow colour, blur, spread and offsets, and blur radius, bind to variables, so effects follow a variable mode: apply or create a variable from each field in the effect settings, where typing a value detaches it, and figma.variables.setBoundVariableForEffect, bind_variable, effect styles, .fig files and the Figma clipboard carry the bindings (#1712).
    • Form controls (text fields, textareas, number fields, switches, checkboxes, radios, and radio groups) have an invalid state: a behaviour binds it as a value or as an Invalid or Error variant beside Disabled, preview shows it, and generated Vue and React components take an invalid prop that sets aria-invalid (#1716).
    • On desktop, a Claude Code or Codex conversation reopened from chat history continues in the agent's own session, so the agent remembers what was said, instead of being read-only.
    • Vite apps serve CanvasKit's WebAssembly, the bundled fonts, and HarfBuzz's subsetter by adding openPencil() from @open-pencil/core/node/vite, and a host that does not serve one of them gets an error naming the file and the locator to set instead of a WebAssembly compile error (#1551).
    • Scripts read a layer's fillGeometry and strokeGeometry and call outlineStroke() as in Figma, in the apps and in open-pencil eval.
    • Release builds occasionally ask whether you would like to donate toward OpenPencil's development and infrastructure, and File → Support OpenPencil… and Settings → General link to the donation page.
    • Self-hosted Cloud servers can report their errors to PostHog error tracking through an optional [error_tracking] table in the deployment configuration; servers without it send nothing.
    • CSS, HTML and Tailwind export write a shadow or blur field bound to a variable as that variable's var() where the layer draws the variable's value, and design token export writes it as a reference to the variable's token, which import binds back.
    • Scripts get a layer's CSS with getCSSAsync(), the CSS OpenPencil's HTML export writes for it.
    • Editors made with createEditor() edit vector paths point by point, with their own undo, and continue paths with the pen: hosts open a path with enterNodeEditMode(), which useCanvasInput calls on double-click, and picking a tool other than the pen commits a pen path in progress (#1756).
    • Text copied from a web page or another app pastes as one text layer, as in Figma, keeping its links. Paste as layers, in the Edit menu and the canvas context menu, lays the copied HTML out as layers instead, and a notice offers it after pasting a card or other laid-out part of a web page, or HTML source.

    Changed

    • batch_update applies all of its operations or none: a missing layer, a wrong value, or an unknown prop now fails the whole call and leaves the document unchanged, where it used to apply the rest and list errors (#1651).
    • Model settings open from the chat's model picker instead of a gear beside the message field.
    • Zoom to fit and zoom to selection fill the canvas with the layers inside the margins Figma keeps, zooming in past 100% for small layers, and zoom to fit on an empty page shows its origin at the centre at 100%; a page opens fitted to its layers on its first visit and returns to the view it was left at after (#1675).
    • The menus follow the tab in front: on Home and in a New file tab they leave out Object, Text, and Arrange and the items that need a document, and in the desktop app items that cannot act, such as Group with nothing selected, are greyed out, as in Figma.
    • Document tabs show what kind of file they hold, with the pen and sticky note Home uses for designs and boards.
    • Every setting with a default offers the same Reset to default, shown only while it differs, including the toolbar layout, tool access, chat, notifications, and online fonts.
    • The Behaviour section labels the two variant values a control draws as on and off, so a set whose values read like the value itself, such as Checked and Unchecked, is clear to set up (#1722).
    • A number field bound to a variable keeps its icon and shows its value; the variable button, now at the end of every field, names the variable on hover.
    • Recent files leave the list one at a time, from Remove from recent in each file's menu, instead of a button that cleared the whole list.
    • Imported HTML lands where a browser lays it out at 1440×900: CSS grid, floats, viewport units, media queries, and body styles place layers as on the page, and auto layout is kept wherever it reproduces the page.

    Fixed

    • A component set's default variant is the one Figma picks: variants whose rows overlap read left to right, others top to bottom.
    • Component sets from files that save no variant values, such as the shadcn/ui community kits, list their values in Figma's order, and a variant property's default is the value of the set's top-left variant, as in Figma, whatever default the file records, so behaviours bind to them and scripts read them as Figma does (#1699).
    • Component sets made in OpenPencil open in Figma as component sets rather than frames of loose components, and sets whose variants were renamed or given new properties are saved without Figma reporting errors (#1699).
    • Component sets' boolean, text, instance swap, and slot properties read from a .fig appear once, on the set, keep an instance's value when it switches variant, and are saved so that Figma shows them on instances, including on sets made in OpenPencil (#1737).
    • Switching an instance's variant keeps its layers, their IDs and the overrides on them wherever the new variant has a layer of the same name, even one of another type, brings back the overrides of a layer the other variant lacks when the instance switches back, and undo restores the instance exactly.
    • A nested instance in a .fig file sizes in the variable mode its outer instance sets, also when its component is edited or it is pasted from Figma, and an override that clears a collection's mode opens, edits and saves per collection.
    • Duplicating or cloning an instance from a .fig file that holds two instances of the same component, such as a button with left and right icons, no longer makes the document fail to save (#1699).
    • Duplicating a frame that holds a component and its instances gives instances of the duplicated component, as in Figma (#1699).
    • A page added to a .fig file, such as one of the shadcn/ui kits, is saved last instead of second, and a page moved after opening is saved where it now is (#1707).
    • A library no longer reports its components as changed after a .fig round trip with fonts loaded.
    • Pasting a layer copied out of a component, while it is bound to one of the component's properties, pastes it unbound instead of failing.
    • Text is always laid out in its own fonts: text whose font, script fallback, or emoji font is still loading or not available is laid out again once it arrives, instead of keeping the size of another face, which left titles, sticky notes, and imported text narrower or wider than they drew.
    • Text with its leading trimmed to cap height, such as badge digits, sits where Figma puts it once its font is loaded, instead of several pixels too low.
    • Text keeps the baselines Figma saves and draws each on the whole pixel Figma draws it on, and a fractional line height in pixels, such as 22.5 px, steps its lines and takes its height as Figma does, so 16 px Inter and lines at a fractional line height or paragraph spacing no longer sit a pixel or half a pixel off or drift, and glyph positions saved to .fig match Figma's.
    • Text typed at the edge of a styled range, after Enter, at the start, over a selection, through an input method or pasted while editing, keeps that range's colour, font and variable bindings, and so does text typed after deleting everything.
    • The first Chinese, Japanese, or Korean text in the desktop app loads one system font per script instead of every listed one and keeps a single copy of each, using hundreds of megabytes less memory, and draws in about 70 ms instead of 2 s per render while its fonts load (#1684).
    • On Windows, page text in an installed font, such as interactive component previews on the canvas, draws in its bold, italic, and light faces instead of the regular one.
    • A text that sizes itself outside auto layout resizes when a variable bound to its size, such as its font size, changes.
    • Clicks and hover select a shape only where its fill or stroke draws, as in Figma: an unfilled line or curve is picked by its stroke, a filled ellipse or rounded rectangle by its outline, and a layer whose paints show nothing lets clicks through (#1685).
    • Escape clears the selection at any depth and Enter keeps layers without children selected, as in Figma; a click takes the empty area of a component or instance whatever its fill, while a ⌘-click passes through a frame or instance whose fill does not show (#1697).
    • Picking a layer in the layers panel leaves canvas clicks as clicking it on the canvas would, and the canvas no longer outlines the container a layer was reached through, as in Figma (#1700).
    • Selecting another layer while a vector path is open, such as in the layers panel, leaves vector edit mode and keeps the edit, as in Figma (#1756).
    • Pressing H while drawing with the pen or editing a vector path keeps the path and switches to the hand, as in Figma, instead of leaving it open under a tool that cannot edit it; holding Space still pans and lets a pen path continue (#1756).
    • Removing a fill, stroke, or effect in the properties panel keeps each remaining item's variable binding on that item, instead of moving a binding onto the wrong paint or effect.
    • An auto layout frame with nothing to hug keeps its size, as in Figma, rather than collapsing to its padding: a new frame keeps the size it was made at, and one that loses its last layer keeps the size it hugged to.
    • Spread and Compact arrange a pile of layers the same way every time, rather than differently on each run.
    • New stars have Figma's inner radius.
    • A rotated frame draws its whole fill, and exports of rotated layers are no longer cropped to a shifted box (#1767).
    • SVG and PDF export turn a rotated and flipped layer the way the canvas does, and a rotated line about its start (#1778).
    • The canvas draws sharp at any panel width, instead of slightly soft when the panels leave it a fraction of a pixel wide (#1774).
    • Opening a document keeps the loader up until its page is fully drawn where it opens, instead of showing the canvas while it still fills in (#1753).
    • HTML export draws linear, radial, and angular gradient fills and every stacked fill with its blend mode, writes the colour a variable-bound paint draws, and standalone pages define the tokens their layers use. Diamond gradients are still left out.
    • HTML export, Tailwind JSX, canvas islands, and getCSSAsync() blur layers and shadows as the canvas draws them, and text keeps its shadows; layer and background blurs were 2.3 times as strong, and text shadows were dropped. Imported CSS shadows draw as the browser draws them.
    • A text or effect style bound to a variable reads back from design tokens bound to that variable, not to one with the same path in another collection; export warns when other tools could confuse the two.
    • A Vue text field or textarea exported as code puts the attributes it is given, such as name, required, or aria-invalid, on its input rather than its wrapper, as the React components do (#1731).
    • In preview, a slider's range and a progress bar's indicator follow the value when they sit inside the track, as in the shadcn/ui kit's Slider (#1706).
    • A link in a text opens in a new tab in preview, instead of taking the editor away from the document (#1716).
    • Plugin API underline getters read the underlined characters' value over partly underlined text, and text, paint, and effect setters word their errors as current Figma does, listing each problem of a value with several.
    • The Plugin API's componentPropertyReferences reports the bindings of any layer in a component or instance, not only frames, text, components, and instances.
    • appendChild in scripts moves a layer that is already a child to the end, as Figma does (#1699).
    • Dashes a script sets with dashPattern now draw.
    • figma.flatten() and boolean operations in open-pencil eval and headless CLI tools make real vectors and fit their bounds, instead of a placeholder box.
    • @open-pencil/core/figma-api types resolve Figma's node, paint, and style types for packages that use them, without bringing in Figma's plugin sandbox globals.
    • MCP tools and scripts read pages that have not been opened yet, such as get_page_tree on a page's ID, query_nodes by page name, and get_node or figma.getNodeByIdAsync() on a layer's ID, instead of finding them empty, and page.loadAsync() and figma.loadAllPagesAsync() load pages as in Figma.
    • AI and MCP agents can no longer add layers inside an instance with render, import_svg, import_mermaid, insert_icon, or insert_library_component, which left the document unable to save as .fig; layers rendered into an instance's slot save too.
    • PDF export works in the installed openpencil CLI and MCP server, which run on Node.js, instead of failing with "Cannot read properties of undefined (reading 'jsPDF')".
    • The interface draws in Inter's own medium and semibold weights, and in Inter on Home, also on systems without Inter installed, such as most Linux desktops; once a document opened, every weight used to come from the regular face.
    • Initials on collaborator and account avatars stay readable on light colors: the avatar darkens the person's color just enough, as the follow frame already did.
    • A design or board saved to disk in the desktop app appears in recent files on Home, as a file opened from disk does.
    • Browsers set to Chinese (zh, zh-SG, zh-Hans) open the app in Simplified Chinese instead of English.
    • On Linux, Backspace and keys such as [, ] and N type into comments and other text fields again instead of running menu commands, so Backspace no longer deletes the selected layer while you type.
    • The Linux desktop app no longer exits at startup on Wayland with the NVIDIA driver when its WebKitGTK is older than 2.54.2.
    • On Windows and Linux, the Software Update window no longer shows the editor menu bar (#1230).
    • A Cloud document left by navigating away in the same browser tab leaves its collaboration room at once, instead of staying in it until the browser discards the page.
    • Cloud answers a malformed document, workspace, version, share, invitation, or upload ID in an API request with not found instead of a server error.

    Performance

    • Switching a variable mode or editing a variable's value lays out bound auto layouts once instead of once per bound layer: on a frame of 1,600 bound cards, from about 36 seconds to under 0.1 seconds.
    • AI and MCP agents can edit properties in documents of any size: a one-property edit copies only the layers it changes, so it takes milliseconds instead of seconds on large files and is no longer refused above 10 000 layers.
    • Switching a variant in the editor, and undoing it, is faster: only what the switch changes is recorded for undo.
    • Joining a collaboration room on a large document is much faster and uses far less memory.
    • Cloud's collaboration relay saves only what changed in a room instead of rewriting the whole room every few seconds, so editing a large document writes far less to the database.
    • Resizing the canvas, such as dragging a panel, keeps what is already drawn and renders only the newly exposed edge, instead of blanking and redrawing the whole scene (#1753).
    • On Cloudflare, Cloud's collaboration relay sleeps while a room is idle and its people stay connected, instead of running for as long as anyone has the document open.

    Security

    • Cloud caps how many uploads, documents, collaboration tickets, and invitations one account can request per minute across all of its documents and workspaces, not only per document or workspace.
  7. 0.17.0-beta.1

    Expandir

    GitHub Release

    This is a pre-release: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.17.0-beta.1 as newer than 0.17.0, so .deb and .rpm users should remove the beta before installing the final 0.17.0.

    Breaking changes

    • Shared rooms record document data in a new format, so people on this version and on earlier versions can no longer join each other's rooms, and rooms this browser saved with an earlier version are not converted. Room links use /rooms/<room-id> instead of /share/<room-id>, so links copied before no longer open.
    • Layers opened from a .fig file keep the GUIDs the file saved them under as their IDs, instead of 0:1, 0:2, and so on in reading order, so an ID stays the same after a save and reopen. IDs printed by openpencil tree or MCP before this release no longer find their layers.
    • SceneNode.lineHeight and letterSpacing, and the same style run fields, are { value, unit } objects in pixels or percent; documents and rooms saved with the old numbers are not converted.
    • The retained canvas renderer, the Rendering settings section with its progressive rendering switch, and the renderer URL parameter are removed; progressive rendering is the only canvas renderer, and a stored rendering preference is ignored. @open-pencil/vue/i18n no longer exports useRenderingMessages; the wide-gamut notice, the only rendering string left, is in the editor messages.
    • Code in the Code tab that puts statements before its JSX ends them with return and the JSX, as a component's body does; the JSX alone on the last line no longer renders.
    • Plugin scripts run through eval, the CLI, and MCP follow Figma's font rule: an edit that lays text out again (characters, size, font, spacing, case, alignment, auto-resize, and the matching setRange… methods) throws Cannot write to node with unloaded font until figma.loadFontAsync has loaded every font the text uses, a new font has to be loaded before it is set, and loadFontAsync rejects a font that cannot load or a style the family has no face of. Text in a missing font can still take a loaded font for all of its characters.
    • Scripts use variables as in Figma's Plugin API: figma.variables creates and looks up variables and collections, variables set values with setValueForMode, and layers bind with node.setBoundVariable and paint boundVariables; the top-level figma.getVariableById, createVariable, setVariableValue, deleteVariable and collection methods are removed. openpencil.bindVariable(node, field, variable) and openpencil.unbindVariable(node, field) replace figma.bindVariable and figma.unbindVariable, so figma keeps to Figma's Plugin API.
    • Scripts reach OpenPencil-only features through openpencil: exposeInstanceSwap, getFontStatus, getFillOkHCL/setFillOkHCL and the stroke pair, and get/setLayoutDirection and get/setTextDirection take a node; figma.booleanOperation and figma.flattenNode are removed in favour of Figma's figma.union, subtract, intersect, exclude and flatten.
    • The plugin API takes and gives paints in Figma's shape: a paint's gradientTransform and imageTransform are two rows of three such as [[1, 0, 0], [0, 1, 0]], rejecting the { m00, … } object form and a gradient without a transform; image paints use scaleMode, rotation, and scalingFactor instead of imageScaleMode; and strokes refuse geometry keys such as weight or align, which belong on the node.
    • Design JSX binds component properties with property(name, default) in a layer's text, visible, or an instance's of, creating them on the component; propertyRefs and properties on <Component> and <ComponentSet> are removed.
    • Design JSX's defineVars(collection, values, options) defines a collection instead of grouping references, and the VarDef type is removed. designVar takes a variable's name or ID, or its collection and name as designVar('Theme', 'Line'), without a fallback value; a missing, unresolvable, or ambiguous variable is an error.
    • Every public name of @open-pencil/* packages now has exactly one import path, and no package re-exports another's names. @open-pencil/scene-graph's root holds SceneGraph, generateId, setIdSession, and the node types; primitives come from /primitives and every other domain from its own subpath, such as /instances, /instances/overrides, /variables, /transfer, /components, /slots, /comments, and /fields. /text-direction and /text-picture are now /text/direction and /text/picture, and /types is part of the root.
    • @open-pencil/core's root is the editor that /editor was; /editor and /kiwi are removed, and other names come from Core's subpaths or the package that declares them, such as @open-pencil/kiwi, @open-pencil/fig, and @open-pencil/pen.
    • @open-pencil/vue's root holds provideEditor, useEditor, and EDITOR_KEY; every other composable and primitive comes from the subpath of its source folder, such as /canvas, /controls/fill, /editor/commands, /primitives/NumberField, and /i18n. It no longer re-exports createEditor, EDITOR_TOOLS, TOOL_SHORTCUTS, or Core's editor types.
    • @open-pencil/kiwi has no root entry, and @open-pencil/dom-css's root no longer repeats /browser, /export, /scene-graph, or the JSX factories.
    • Valibot schemas exported by the packages are named <name>Schema in camelCase. From @open-pencil/core/library, SerializedLibraryRevisionSchema is now serializedLibraryRevisionSchema, LibrarySummarySchema is librarySummarySchema, and StoredLibraryLatestManifestSchema is storedLibraryLatestManifestSchema. From @open-pencil/fig, FigArchiveMetaSchema is now figArchiveMetaSchema.
    • @open-pencil/pen exports only parsePenFile, readPenFile, and the PenDocument, PenNode, and PenOverride types; its conversion helpers, such as parseSize, applyPadding, convertFill, convertStroke, isVarRef, buildVarContext, and iconFontFamily, are no longer public. penAssets(doc).icons lists { name, options } requests, one per way an icon is drawn, instead of icon names; a host loads each with provider.icons([name], size, options).
    • getCanvasKit from @open-pencil/core/canvaskit loads CanvasKit's full build, which encodes WebP and JPEG, so hosts that serve the WASM themselves must serve canvaskit-wasm/bin/full/canvaskit.wasm. In a browser it no longer reads Vite's BASE_URL: it loads /canvaskit.wasm unless the host sets the URL with setCanvasKitLocator (for example setCanvasKitLocator(() => wasmURL) with import wasmURL from 'canvaskit-wasm/bin/full/canvaskit.wasm?url') or passes locateFile.
    • exportFigFile from @open-pencil/core takes one options object, exportFigFile(graph, { ck, renderer, pageId, renderHeadlessThumbnail, documentName }), instead of positional CanvasKit, renderer, page, and thumbnail arguments. @open-pencil/core/canvas no longer exports withFigExportRuntime.
    • SceneGraph.updateNode writes fields as given and no longer detaches shared styles. An edit detaches the styles whose fields it changes before writing, with styleDetachmentChanges from @open-pencil/scene-graph/shared-styles, as the editor and the plugin API do.
    • SceneGraph.reorderChild is removed in favor of insertChildAt, which takes the same arguments, and SceneGraph.LAYOUT_AFFECTING_KEYS, TEXT_PICTURE_KEYS, and GLYPH_AFFECTING_KEYS are now exports of /fields and /text/picture.
    • VariableValue includes formula and color-expression objects; API consumers should resolve variables before treating non-alias objects as colors. TokenExpression.resolved is optional: a CSS expression on a formula or reference mode records no number, and it now outlives changes to its mode's value instead of being dropped when the value stops being a plain number.
    • A vector's per-region paints live on its network: VectorRegion has fills and fillStyleId, and GeometryPath no longer has them. cloneVectorNetwork moved from @open-pencil/scene-graph/vector-network to @open-pencil/scene-graph/copy. @open-pencil/fig/node-change no longer exports resolveStyleOverrideFills or resolveVectorStyleOverrideFills, and resolveGeometryPaths no longer takes fills by style ID.
    • Text nodes and style runs have a fontStyle face name, family faces carry a style, and FONT_WEIGHT_NAMES uses Google Fonts' names ("SemiBold"). weightToStyleName, weightToFigmaStyle, styleToVariant, and normalizeFontStyleName are removed, and weightToStyle is renamed faceLoadKey. The desktop list_system_fonts command and setHostFontCatalog list each face with its style, weight, and slant instead of style names; the typography SDK's weights is faces (with faceName and setFace), and resolveParagraphFontFamilies takes a face.
    • @open-pencil/core replaces state.play and the PlayState type with state.canvasView (CanvasView, { id: 'edit' } or { id: 'play', revision }), and state.readOnly with state.hostRestrictions (EditorRestrictions, { readOnly }, still set with setReadOnly), and no longer exports READ_ONLY_TOOLS. Read how a canvas behaves, whether it offers edits, and which tools it has from resolveEditorProfile(state) and its edits and tools.
    • SkiaRenderer drops the box and corner arguments from drawNodeFill, drawNodeStroke, drawStrokeWithAlign, clipNodeShape, makeNodeShapePath, renderEffects, and applyClippedBlur, and removes drawArc and makeRRectWithOffset: the renderer works out the outline itself.
    • @open-pencil/core/canvas replaces outlineStrokeNodesToVectorProps and hasVisibleStrokeSourceNode with outlineStrokeLayer and layersToOutline, and the editor's copySelectionAsSVG returns a promise.
    • lineArrowEndpoints is removed from @open-pencil/scene-graph/arrow-caps; lineStrokeEnds gives the path a line's stroke runs along. StrokeCorners from @open-pencil/scene-graph/geometry is renamed StrokeShape and takes the layer's type. clipPolygon and clipBoundsToPolygon move from @open-pencil/scene-graph/geometry to @open-pencil/scene-graph/clipping, and @open-pencil/core/io/formats/svg no longer exports vectorNetworkToSVGPaths; import it from @open-pencil/scene-graph/vector-network.
    • createDesignJSXRenderer from @open-pencil/design-jsx takes a vectorBounds(network) service, which measures a <Vector>'s path; @open-pencil/core/design-jsx provides it.
    • useCanvasVirtualReference from @open-pencil/vue/canvas/overlays takes the view to project through ({ zoom, panX, panY }, as a ref or getter) instead of the editor; pass () => editor.state for the previous behaviour. OpenPencilBindingProviderOptions takes types, a list of variable types, instead of type.

    Added

    • OpenPencil Cloud is ready to self-host, and to try before the hosted service opens: open the editor with ?cloud=preview, or follow an invitation, to keep documents on your team's server and edit them together. Connect a server in Settings → Cloud, which also holds the hosted service's waitlist: email and password sign in, and create an account, right in the dialog, while Google, Apple, and two-step sign-in finish in the browser. Home lists the server's workspaces and the documents shared with you; every account starts with a workspace of its own and can create team workspaces whose admins invite people by email as admins, editors, or viewers and delete them once they are empty. New design creates in the place Home shows, File → Save to… saves the open document straight to the only workspace or bucket it can go to and asks only when there are several, File → Browse files… opens Home where you left it, and a status beside the name appears when the document is offline, couldn't save, changed in two places, with the choice to keep both versions, or is view only.
    • Opening a Cloud document joins its live room, so everyone with it open sees edits and cursors as they happen while one editor saves for all. Share invites people by email and turns on a link that opens the document for guests, within what the workspace's plan allows; on a computer, the web editor offers to open invitations and shared links in the desktop app. In the web app the address bar shows the open Cloud document, and the version being looked at, so a reload or the address reopens it for anyone with access. A viewer's document is read-only, as in Figma: layers can be selected, copied, and exported, the toolbar keeps Move and Hand, and edits, from the canvas, panels, shortcuts, and agents alike, are refused.
    • File → Show version history lists a Cloud document's named versions and autosaves, as in Figma: choose one to look at it read-only, then restore it for everyone in the room, duplicate it, edit or delete its info, or copy a link to it, and File → Save to version history… (⌥⌘S) names the document as it is now.
    • A Cloud server has its own pages for signing in, account security, and administration. Profile changes your name and, through a link sent to the new address, your email, and uploads a picture you drag and zoom into the circle people see; Sessions lists where your account is signed in and its recent sign-ins and signs out any of them, and Account settings in Home's account menu opens them. The server emails you about a sign-in from a new address and about changes to two-step sign-in, and keeps every picture itself, copying a linked Google account's picture at sign-in, so pages never load pictures from Google or Gravatar. Its console lists people, access requests, email, and activity as searchable, filterable, paged tables: administrators open a page for each account, reset a locked-out person's two-step sign-in, give a reason when suspending someone, and take a picture down. A workspace's Members dialog splits into Members, Invited, and Settings tabs, showing who sent each invitation and when it expires, with Resend.
    • Self-hosted OpenPencil Cloud installs from npm, where npm install -g @open-pencil/cloud provides the openpencil-cloud server and the openpencil-ai-relay AI relay commands, or runs from the published image ghcr.io/open-pencil/cloud, with the server and the editor it serves; compose.self-hosted.yml starts it on one machine with a database, storage, and email. The server, its relay, and its pages are under the Apache License 2.0, while the protocol the editor speaks to it stays MIT; VITE_OPENPENCIL_CLOUD=off builds the editor without Cloud.
    • The AI assistant can use models through OpenPencil Cloud: choose OpenPencil Cloud as a model's provider in Settings → Models and the workspace whose plan pays for it, with the models and prices the server offers. The chat shows how many credits the workspace has left; when they run out, it offers Manage plan where the server bills, and on a self-hosted server says when the allowance renews. Self-hosted servers offer AI through the AI relay, which forwards requests to one OpenAI-compatible provider with your key and holds each workspace to its monthly credit allowance.
    • Boards: Home and the New file tab (⌘T or + in the tab bar, as in Figma) offer Design and Board side by side; a board has FigJam's tools (sticky note, shape, connector, section, text), its keys (S, R, X), and a 16-unit snap grid, and saves and opens as a FigJam .jam file, which the desktop app also opens from Finder. Cloud keeps whether a document is a design or a board, and Home marks each file with its kind and filters recent files by it.
    • Boards open on the canvas and their tools alone, as FigJam shows them, with no rulers, the panels a click away, and the AI chat floating over the canvas; while the panels are hidden, every selection but a lone image gets FigJam's selection toolbar, with colour, outline, text, alignment and wrap-in-section menus for sticky notes, shapes, connectors, text, sections and other layers. Boards draw FigJam's dot grid under their layers and show no pixel grid; a click inside a frame selects the frame, Shift+arrow moves to the next 16-unit grid line, R arms a square shape, a collaboration room shares that a document is a board, and boards have no design lint.
    • FigJam sticky notes open from .fig files and paste from FigJam with their colour, text, author line, wide shape, and scale, and save back so Figma shows them as sticky notes. A sticky note tool, shown from Customize toolbar, draws notes the way frames are drawn, a note growing with the drag and its text scaling with it, or places one with a click. Their handles scale them or make them wide as in FigJam, the Design panel sets their colour, text size, and author line, scripts read and edit them as Figma's StickyNode, and design JSX writes and reads them as <Sticky color="yellow" author="Ada">…</Sticky> (#1118).
    • FigJam shapes with text open from .fig files and paste from FigJam with their kind, colour, corners, and label, grow taller to fit their label or, once their height is set, keep it and end the label with "…", as FigJam does, save back as FigJam shapes, draw in their own outlines in SVG and PDF exports, and are written and read as <Shape> in design JSX. A Shape tool, shown from Customize toolbar, picks any of FigJam's 30 kinds from a searchable grid and places it as FigJam does, with its label ready to type; the Design panel switches a selected shape's kind and styles it with FigJam's palette, fill and line modes, text sizes, and typefaces, and sets its corner radius and its label's typography as Figma's Design panel does, and the Layers panel shows each kind's outline. Sticky notes take FigJam's typefaces too, and scripts create shapes with figma.createShapeWithText() and read or set shapeType and the label's text (#1114).
    • FigJam connectors open from .fig files and paste from FigJam with their ends, route, caps, line style, and label, bound to the layers they join, and save back so Figma keeps them live. They route as FigJam does when the layers they join move, resize, or change, including while dragging, are deleted with those layers, and dragging a selected connector's segment, curve, or label reroutes it, which .fig files and the Figma clipboard keep (#616).
    • A connector tool, shown from Customize toolbar, draws connectors between layers or points, attaching as in Figma Design: to the nearest side inside a layer, only within 8 px outside it, pinned at the exact point with ⌘ or Ctrl, and to the centre with Shift. Their end handles reattach them, double-click types a label, the Design panel sets their line type, end caps, and FigJam colour, weight, and dash, and scripts and agents create and edit them through figma.createConnector() and create_connector. Design JSX draws them with <Connector from="A" to="B">, joining layers of the same JSX by name or, where layers share a name, by a ref() the layer is marked with, and JSX export writes them back (#616).
    • Sticky notes, shapes, and connectors keep FigJam's fixed choices: the Design panel offers only their own sections, and design lint leaves them out.
    • draw.io diagrams open, in the desktop app also from the system: .drawio and .dio files and draw.io's editable PNG and SVG exports become pages of FigJam shapes with text and connectors joined to them, keeping their colours, labels, arrowheads, bend points, turns and mirroring, layers, and containers. Designs save as draw.io files: FigJam shapes, connectors, text, sections, frames, and groups as their draw.io counterparts, turned and mirrored where they are, and anything else as an image, from File › Export selection and the Export panel, for a selection or a page.
    • Mermaid flowcharts open from .mmd and .mermaid files and paste onto the canvas as FigJam shapes, sections, and connectors laid out automatically, keeping their shapes, arrowheads, line styles, labels, and classDef/style colours; AI and MCP agents import them with import_mermaid.
    • Text can be written in Markdown: set_text with markdown: true, openpencil.setTextMarkdown() in scripts, and <Text markdown> in design JSX turn headings, bold, italic, strikethrough, code, links, lists, and quotes into styled text, sized and set as FigJam styles typed Markdown; Mermaid labels written in Markdown keep their bold and italic.
    • Arrange › Tidy Up, Pack Horizontal, and Pack Vertical work as in Figma, and the alignment row's More actions menu offers Tidy up (⌃⌥T) and the distribute commands (⌃⌥V, ⌃⌥H). An Auto Arrange submenu in the Arrange and canvas menus spreads overlapping layers apart, packs them into rows, or lays shapes out along their connectors as a flow, tree, radial map, or network. AI and MCP agents get the same as arrange modes: spread pushes overlapping layers apart and keeps each near where it was, compact also closes the gaps, pack packs screens into rows, and flow, tree, radial, and network lay shapes out along their connectors, rerouting them.
    • Number and true/false variables take live formulas: references show as pills, the field shows the result, true/false formulas can compare numbers, and formulas survive undo, copy and paste, sharing and .fig saves. Formulas can also use text and colors, join text with +, and call if(), text() and truthy(), which Figma files save as TERNARY, STRINGIFY and IS_TRUTHY; text and color variables can hold formulas, and completion lists the functions. Formulas and CSS expressions are highlighted and span several lines, with Shift+Enter for a line break.
    • The token stylesheet writes number formulas as calc() over the variables they use, and design-token files keep each formula beside its result. CSS expressions complete token names as var() pills, preview what the browser computes, are checked when committed, and can be added to any number mode from the value's label row. Imported Figma color and opacity expressions retain their variable references.
    • A layer's visibility binds to a boolean or text variable from the Appearance panel, as in Figma: right-click the eye, or use the variable/property button on a layer inside a component. Text shows the layer unless it is empty or reads "false", "no" or "off".
    • A text layer's content binds to a text or number variable from the layer header, as in Figma; a number shows as text, with two decimals for values just off a whole number such as 2.0000002, and typing over bound text detaches the variable.
    • Design JSX defines variables: defineVars adds a collection to the file's variables table, defineMode adds a mode to it, and a variable used as a value makes an alias. Running the same JSX again updates them instead of adding copies, and designVar(collection, name) names a variable that several collections share. mode pins a layer's variable modes, as the Appearance panel does, and <Icon color> takes a variable.
    • Design JSX exposes a nested instance's properties with exposed, and an outer instance sets that instance's variant and properties by its layer name, as in Action={{ Label: 'Save' }}.
    • Design JSX may begin with statements, such as const declarations, that end with return and the JSX, as a component's body does.
    • Design JSX <Vector> takes its path as SVG path data (d, with fillRule) or as Figma's vectorPaths (paths), and JSX export writes every vector's paths, so vectors and inline SVG artwork no longer render back empty.
    • Design JSX draws ellipse arcs and donuts with startAngle, endAngle, and innerRadius on <Ellipse>, flips any layer with flipX and flipY, and exports both, so they survive get_jsx. A selected ellipse shows Figma's arc handles: drag them to cut a slice, turn the arc, change its sweep, or open a hole, with Shift rounding to 15° and tenths.
    • Variable fonts draw every style they cover from one file, fonts installed locally included, at the axes Figma draws them: a style's named instance, the axes the text sets, and an optical size that follows the font size unless the text detaches it, which .fig files keep; .fig exports, copies pasted into Figma, and PDF exports keep each glyph's shape at those axes. Inter ships as its variable files, so every weight and italic draws offline.
    • Set the axes of a variable font, such as its weight, width, or optical size, in the Typography section, for the whole text or the selected characters, or let the optical size follow the font size, as in Figma; a range of characters keeps its own optical size from Figma files. Plugins and the set_font tools read and set the axes: fontName.variationSettings, a fontWeight that follows wght, fonts given by axes alone taking the nearest named style, loadFontAsync for a whole family, and getFontFamilyVariationAxes. Design JSX <Text> and <Span> take fontFeatures, fontVariations, and lang, and <Text> takes fontOpticalSizing; JSX export keeps them instead of dropping them.
    • Material Symbols icons draw from Google's variable fonts in the Outlined, Rounded, and Sharp sets, each icon at its own optical size, weight, fill, and grade. On macOS 14 and later, the desktop app's icon picker offers SF Symbols, drawn by the Mac itself at a chosen weight, scale, and monochrome or hierarchical rendering; documents keep the outlines, so they draw on every platform.
    • .pen icons draw as pen.dev draws them: Lucide, Feather, and Phosphor from their icon sets, Material Symbols from Google's fonts at the icon's weight, and icons whose library or name is a variable in the layer's theme. .pen image fills draw from data URLs everywhere, and from files in the document's folder in the CLI and desktop app.
    • The pen lines each new point up with the path's own points, as in Figma: within 4 pixels it snaps to their x or y and draws a red guide with a cross on every point it passes through, a point it would land on shows a cross inside its circle, and the point the next segment starts from is solid, with a blue segment to the cursor. In vector edit mode, a pen click away from the path starts a new piece of the same layer there.
    • In vector edit mode, clicking a segment selects it, Shift-click adds or removes it, and dragging it moves its two points. Dragging over empty space selects the points inside the marquee and the segments between them. Delete removes the selected segments and the points they leave unconnected, so deleting the middle segment of a path splits it in two. The filled region under the pointer is hatched, as in Figma, and clicking inside it selects the region with its points, which then drag together.
    • Editing text on a path works along the path, as in Figma: clicking places the caret between the characters you click, dragging, Shift-clicking and double-clicking select characters, and the caret and selection follow the curve.
    • Rows in the layers panel show each vector, rectangle, ellipse, line, polygon, and star as its own outline, turned and reflected as the layer is, as in Figma. While you scroll through a top-level frame's layers, its row stays pinned at the top of the panel until the next top-level layer pushes it out.
    • Copy properties and Paste properties (Alt+Cmd+C, Alt+Cmd+V, also under Copy/Paste as in the canvas menu) carry the look of one layer to others through the system clipboard, to and from Figma.
    • Sections, frames, components and instances take a status from the document's own list of states, such as Draft, In review or Ready for dev, shown beside their titles on the canvas and set from there or the Design panel; a Statuses dialog edits the states and shows which layers a change affects. Figma's Ready for dev and Completed open and save as Figma's own statuses, and scripts and agents read and set any status through openpencil.getStatus and openpencil.setStatus or the get_statuses and set_status MCP tools (#1203).
    • Plus darker and plus lighter blend modes for layers, fills, strokes and effects: drawn on the canvas, kept through .fig import and export, exported to SVG, and available in the blend mode menu, the plugin API and design JSX.
    • The image fill picker sets a tile's scale and turns Fill, Fit, and Tile images by 90°, and a PNG, JPEG, or WebP file dropped on an image fill fills the layer with it. Stock photo searches Unsplash or Pexels and fills the layer with the photo picked, crediting its photographer and showing the service's own picks before a search; a service without a key leads to its free key in Settings, where Test connection checks it.
    • With nothing selected, the Design panel's Document section sets how tightly a document's .fig is compressed: Fast, as Figma saves, Smaller, or Smallest. The choice is stored in the file, every save uses it, and Figma opens all three. Saves in the browser and of opened files on desktop now write Zstd instead of deflate, so they come out smaller at every setting.
    • Home deletes storage and Cloud workspace documents from an entry's ⋯ menu or its right-click menu, after a confirmation, and stops listing storage documents deleted from another device or through the Cloud API (#1533).
    • ⌃Tab and ⌃⇧Tab select the next and previous tab, wrapping through Home, as in Figma; File gains Select Next Tab and Select Previous Tab.
    • Settings → General → Navigation → Zoom speed scales how far each mouse wheel step or trackpad pinch zooms the canvas, for mouse wheels that zoom too fast.
    • General settings on desktop choose how many recent files to keep; the default stays at ten.
    • A first visit to the /demo link offers the welcome and guided AI setup, as a first visit to the app does.
    • The AI chat supports Agent Skills: SKILL.md folders it lists by name and description and loads when a request matches. Settings › Skills takes uploads as a ZIP or a SKILL.md, and in the desktop app also reads the skills folders next to the open document once you trust them, and the skills you pick from ~/.agents/skills and ~/.claude/skills, which AI setup offers one by one since most are coding workflows; each folder and skill can be switched on or off. Pi gets the enabled skills too.
    • In the AI chat, type @ to mention a layer, page, or skill and / at the start of a message to run a skill, as /skill:name, or an ACP agent's own command; mentions show as chips, in replies too, where the assistant names the layers it touched, and clicking one shows the layer on the canvas. The selection button mentions the selected layers.
    • Messages written while the assistant works wait for it instead of being blocked: Enter sends one as soon as the current step's tool calls finish, Alt+Enter waits until all work is done, Escape stops the reply and sends what waits, and Up takes waiting messages back to edit.
    • OpenPencil sends a system notification when an AI agent waits for your permission while OpenPencil is in the background or shows another document, and can also notify when a reply finishes or fails; clicking it opens that document's chat. Choose them under Settings › Notifications.
    • The desktop app signs in with ChatGPT, so OpenPencil's agent can use the models of a ChatGPT plan without an API key; the model list comes from the account.
    • On desktop, AI setup shows whether Claude Code, Codex, and Pi are installed and signed in, names the account Claude Code and Codex use, and signs them in from the setup screen.
    • Claude Code and Codex replies can revert and restore the edits they made, the chat marks the calls you undid, and their tool cards show what each call changed, as for provider models.
    • Settings → Usage counts the tokens of Claude Code, Codex, and Pi replies, shows cached input and cache writes, and lists each model's input and output tokens.
    • Vectorize can use QuiverAI's Arrow 2 model, beside Recraft and fal.ai, with your own QuiverAI API key.
    • Scripts written for Figma's dynamic-page mode can switch pages with figma.setCurrentPageAsync() and load a page with page.loadAsync(), as in Figma, instead of stopping at the first of these calls.
    • Scripts can call figma.util.rgb, figma.util.rgba, figma.util.solidPaint, figma.closePlugin(), figma.loadAllPagesAsync(), figma.getImageByHash(), and figma.createImageAsync(url) as in Figma, and figma.createImage returns Figma's Image with getBytesAsync() and getSizeAsync(). createImage takes PNG, JPEG, and GIF up to 4096 pixels a side, as Figma does, and the desktop app loads createImageAsync URLs through its native proxy, so hosts without CORS headers work.
    • MCP list_recent_files lists recently opened files inside the MCP root, so agents can reopen them with open_file.
    • openpencil convert reports a font it cannot load and takes --font-policy, as export does.
    • @open-pencil/core/io/formats/html exports the HTML renderer on its own, like the raster and SVG exporters, and useCanvas in @open-pencil/vue takes an onFailed callback for a canvas that cannot start, as when CanvasKit fails to load.

    Changed

    • Home is one tab pinned first that never closes and lists places in a sidebar: Recent files, the storage bucket, and the Cloud workspaces of the server you connect each have their own page, and phones get the same places in a menu above the documents. Designs open in tabs of their own, + and ⌘N start a new design, and ⌘T shows Home.
    • Recent files on Home show sharp previews of their whole cover page, centred on the page colour as in Figma's file browser, and keep them after the file is saved; designs saved without a Cover page get a preview of their first page on Home, in recent files, and in their .fig thumbnail, as Figma's files do.
    • The canvas always renders progressively: zooming keeps rendering during the gesture and sharpens the whole viewport in one frame when it ends, instead of tile by tile, and a page first shown appears whole once its visible tiles exist.
    • The layers panel lists the front-most layer first, as in Figma, and an auto layout's layers in their flow order; dropping a layer above another puts it in front of it, or before it in an auto layout.
    • Lines and arrows select by their two ends, as in Figma: dragging an end turns and stretches the line, Shift holds it to 45° steps, and Alt keeps its midpoint.
    • Outline stroke works as in Figma: each stroked layer is replaced by its fill and, above it, its stroke filled with the stroke's paints where the stroke is drawn, both keeping the layer's rotation, opacity, and effects; inside a selected group or frame each stroked layer is outlined in place, and stroked text becomes groups of glyph outlines (#1524).
    • Selected text on a path no longer draws a filled band over its lettering: as in Figma, it shows its path, box and handles, and while its text is edited an outline around the lettering.
    • Text on a path is shaped with HarfBuzz, so it keeps every kerning, ligature, and contextual form its font defines, where it used to fall back to plain advances for fonts with OpenType lookups the old parser could not apply.
    • Web fonts from Google Fonts and Fontsource load as their variable files, one download per family with every axis, and Material Symbols load from Google's icon catalogue with all four axes.
    • Font settings, including system font access, online font providers, fallback packs, and the downloaded font cache, moved from a popover in the Typography section to Settings › Fonts; the gear in Typography opens it.
    • PDF exports, from the editor and export_pdf, embed the fonts their text uses, and keep each paragraph broken into the lines the canvas draws, instead of drawing text in a standard PDF font. Text in a variable font is embedded as a static instance at the axes it is drawn with, characters a font lacks, such as Chinese or Arabic in a Latin font, are embedded in the fallback font the canvas draws them in, and export_pdf reports any face that falls back to a standard PDF font.
    • .fig files OpenPencil writes carry the meta.json Figma writes: the document's name, the thumbnail page's background, and the thumbnail's size and the page area it shows, instead of an OpenPencil version, app name, and creation time. The name is the documentName write option, else the exported file's name, else Untitled; an opened file saved unchanged under another name keeps its archive and records the new name.
    • The variables list shows an alias as a pill sized to its target's name followed by the value it gives, and a value with a CSS expression keeps showing its value, marked CSS, with the expression on hover.
    • JSX export, in the Code panel, get_jsx, and the CLI, starts with the defineVars and defineMode for the variables its layers use, so the code makes the same tokens in another file, and writes each bound value through its prop, as in bg={theme.Surface} and p={density.Pad}, instead of a literal beside a bind entry.
    • Design JSX warns about an unknown enum value, such as blendMode="sparkle" or mask="sparkle", and renders the rest instead of ignoring the value silently or failing.
    • arrange spreads overlapping layers apart by default instead of placing them in a grid; pass mode: "grid" for the grid.
    • On phones, Share sends a room link through the system share sheet (Messages, Mail, AirDrop) instead of only copying it; browsers without a share sheet still copy the link.
    • The right panel opens wider by default, giving the AI chat more room; a width you set yourself is kept.
    • Settings groups its pages under App, AI, and Data & privacy: snapping and the toolbar are on Editor, AI & agents is Models, and Media is Image services. Editors for models, media services, MCP connections, and storage show where they sit in the window title, such as Settings › Models › Edit model, where the earlier steps go back, slide in from their lists, and return focus to the row that opened them. A setting changed from its default shows a Reset to default button beside it.
    • Add model starts by choosing what the model runs on: a coding agent, a subscription, an API account, a local or company server, or OpenPencil Cloud; the ones a saved model already uses are marked Set up. The model editor shows a model's capabilities, output limit, and thinking level directly instead of under Advanced settings.
    • Settings → Models shows whether Codex, Claude Code, and Pi are connected, signed out, not installed, or unable to reach OpenPencil's tools, and an agent's settings can sign in and check the connection again. Coding agent chats send your message only once the agent has connected to OpenPencil's tools, and otherwise say why it could not.
    • Tool access sets the built-in AI's tools, and the local MCP server's tools are set from the MCP page, which shows the server's status and address apart from its access settings. Tool access and Skills list their items in a compact table you can search and filter to what is on or off.
    • File → Diagnostics… and the command palette open the Diagnostics settings, a file that fails to open offers View diagnostics, and the Usage history switch is on the Usage page.
    • Recommended models now include Claude Haiku 5.5, used for fast work with an Anthropic key, Gemini 4 Argon, GLM-5.3-FlashX, and the free MiniMax-M3.1-Flash route on OpenRouter, which replaces the removed Qwen3.8 27B route. MiniMax recommends MiniMax-M3.1-Flash by default, with MiniMax-M3 as the other recommended model, and Flash runs at low effort when thinking is set to Off or Minimal. DeepSeek recommends DeepSeek Flash, and Z.ai lists its current models; earlier models remain available from the full model list.
    • Pi replies show a run of thoughts as one, start new text after a tool call, and close their text when stopped.
    • @open-pencil/core declares ai as an optional peer dependency: toolsToAI uses the ai you install instead of bundling a copy of its types.
    • fontManager.markLoaded returns a promise that resolves once the font's glyph outlines can be read; Core's glyph readers answer as for an unloaded font until then.

    Fixed

    • Opening a .fig file keeps image crops, rotated lines where Figma draws them, icons shown through a nested component property, content-sized layers at their anchor, rotated Hug panels inside their instances, and the colour of a swapped badge.
    • Pages of a .fig file opened after the first keep their instance swaps, theme colours, and exact positions instead of resetting some of them to their component's, and large pages, such as those of big design kits, load once in the background instead of timing out and loading again while the editor waits.
    • .fig files open when a layer's visibility is bound to a boolean or text variable, and the binding keeps working through page loading, variable edits, instance-specific variable modes, and saving.
    • .fig files whose variables use expressions OpenPencil cannot evaluate yet, such as VAR_MODE_LOOKUP, open with the values saved in the file and keep those expressions when saved, instead of failing to open.
    • Opening a .fig whose component contains another component with an instance inside no longer fails with a missing component error, and a component that encloses another keeps all its layers when a page using the inner component loads first.
    • Documents opened from .fig files save and load pages again after a layer of a component is deleted, including when an instance nested in a component frame is replaced (#1425, #1427).
    • Saving a .fig after moving a component that has an instance in slot content no longer writes the component twice, so the file opens again, and documents with vector masks, including ones imported from SVG clip paths, save as .fig files.
    • Layer edits made by scrubbing a number field or dragging a handle in an opened .fig file are saved with the file instead of being dropped, and so are layers grouped or moved into a frame and the positions and hug sizes auto layout changes after an edit such as changing a gap or adding a layer.
    • A change to the libraries a .fig document enables, such as updating one, is kept when the document is saved again.
    • A rescaled instance of a component with a vector shape draws that shape at the instance size after the file is reopened, instead of at the component's size.
    • A copy of a component that holds an instance keeps what it sets on that instance after the file is saved and reopened: edits to its slot content, such as a hidden or recoloured layer, and its text, boolean, and swap property values, such as an exposed button's label.
    • An instance that clears a fill, stroke, effect, layout grid, or text style an intermediate component applied shows the values of the component it comes from again, instead of the intermediate component's, and a cleared text style stays cleared after the file is saved and opened again.
    • A plain colour set over a variable-bound paint in an instance stays after the .fig file is reopened.
    • Layers keep their text, fill, and stroke styles when their variable bindings resolve, on .fig open and save and when a variable or mode changes.
    • Variable modes from a .fig file open in Figma's order with Figma's default mode, and keep that order through export.
    • .fig import binds layers to component properties only through their parameter map, as Figma does, so legacy property references no longer hide or retext layers Figma draws.
    • Instances renamed in OpenPencil keep their names when the file is opened in Figma, instead of showing their component's name.
    • Saving a .fig gives a variable whose ID Figma cannot read a new one, instead of keeping an ID Figma drops the variable for.
    • Layers flipped vertically keep the flip when saved as .fig or copied to Figma.
    • Vectors whose regions have their own colors keep them, and the paint styles they come from, when pasted from Figma or saved to .fig, through edits that add or remove regions, and in Figma's vector edit mode after a .fig export.
    • Vectors saved to .fig give every point a stroke join, so Figma can edit their points from plugins.
    • Text whose first line has a line height of its own keeps the text's line height when a .fig file is reopened, instead of taking the first line's.
    • Text in a font whose file was replaced, such as a web font fetched again for more characters, or whose glyphs were drawn from another file of the same family, such as a static face beside the variable font, saves to .fig files with its own letters and weight instead of reopening with other letters.
    • Text keeps each font face's own style name ("Semi Bold", "Book", "Italic"), so text saved to .fig files or copied to Figma no longer opens there as a missing font in a plain italic or in a family whose names differ from Inter's. The plugin API's fontName, the style picker, and the missing fonts banner show the same names, and the banner lists faces of one weight (Avenir Book and Roman) separately.
    • Text in a face that its weight alone cannot pick, such as Avenir Book, Roboto Condensed Bold, or Fira Code Retina, loads and draws in that face rather than the family's face of the same weight, keeps the weight Figma saved for it, and the style menu lists each face of a family by its name. On desktop, installed fonts are listed and loaded by the names their font files give each face.
    • Text set in a style its font lacks, such as italic in a font without an italic face, draws in the face the font has, as Figma draws it, instead of a slanted or emboldened imitation that copies, saved files, and exported code did not keep; the font status lists the style as missing.
    • Text in FigJam's Cute typeface, Figma Hand, which is licensed for Figma only, draws in the open Caveat font sized to Figma Hand's widths and line height instead of falling back to Inter; files keep Figma Hand, and the font notice names the substitution.
    • The missing fonts banner updates as fonts finish loading after a paste or a script, instead of only after Retry fonts.
    • Emoji in text from Figma draw as emoji instead of squares in the text's colour, and keep drawing in Figma after a save; the browser and desktop app use the system's emoji font, and the CLI uses Noto Color Emoji. Text typed in OpenPencil with an emoji draws its emoji and its letters in Figma after a copy or save, instead of showing blank.
    • The text caret, arrow keys, Backspace, and Delete treat an emoji as one character, emoji in edited or typed text take the same width as in Figma and draw as emoji instead of missing-glyph boxes, and typed keycaps such as 1️⃣ draw as their character in a keycap frame instead of hiding their text.
    • Text with a character no font has draws with a missing-glyph box for that character instead of disappearing, and draws in Figma after a copy or save.
    • Japanese, Chinese, and Korean text in web fonts draws in the browser app, in a CJK family and as a fallback for other fonts, instead of drawing missing-glyph boxes or nothing. Text in Traditional Chinese loads the Traditional Chinese fallback font it draws in, and Hangul jamo, half-width katakana and Arabic Extended-B letters get their fallback fonts.
    • CJK text in the desktop app and with local fonts in the browser no longer runs CanvasKit out of memory after repeated edits, saves, and exports: system fallback fonts are read once and registered once, instead of on every preparation.
    • Gradient-filled text from Figma spreads its gradient across the layer as Figma does, instead of showing little more than its first colour.
    • The text caret takes the colour of the character before it when that character has one solid fill, as in Figma, so it shows on light text over dark backgrounds; with a gradient, several fills, or none it stays black.
    • Percent line heights and letter spacing stay a percent of the font size, as in Figma, from scripts, .fig files, CSS, design JSX, and .pen files, and the typography panel shows and edits them in their own unit; typing % or px after a value switches its unit.
    • Font size, weight, colour and other text styles set from the design panel apply to every character of a text whose characters were styled in ranges, and the panel shows the style the text is drawn in.
    • Auto-width text in an auto layout frame narrower than the text keeps each line whole, as in Figma, instead of wrapping inside the frame.
    • A fixed-size text grown past its box draws its other lines below it, as in Figma, instead of being cut off at the box, and truncation to a fixed height counts actual laid-out line heights, including mixed-size text.
    • Text flattened or used in a boolean operation wraps where it is drawn and keeps its weight in variable fonts, instead of breaking lines by the default face or turning bold text regular.
    • Editing aligned text on a path lays it out from the path's text start point, as in Figma: left-aligned text starts there, centered text is centered on it and right-aligned text ends there. Text too long for its part of the path keeps the characters that fit instead of piling up at the path's ends. Opening a .fig keeps which segment that start point is on.
    • Resizing text on a path lays it out again along the resized path at the same font size, as in Figma, instead of moving the old letters, which scattered and rotated them around corners. Text on a path pasted from Figma also keeps its path under the lettering after saving and reopening the .fig.
    • Editing text that keeps Figma's saved glyphs draws it from the live layout while it is edited, so the caret and selection land where you click even when the loaded font is a different build than the file's; the saved glyphs return when the edit ends (#1664).
    • Clicks select as in Figma: a single click inside a selected frame or group keeps it selected, each double-click or each click of a quick run goes one level down through frames and groups, a nested text is selected first and edited by the next double-click, and a top-level frame or section stays open while selected. A group's empty area no longer takes clicks, so a layer under it is selected through the gaps between its layers. After reaching a nested layer, a click on a layer elsewhere selects what a click from nothing would, and a click on the page or a section's empty area deselects (#1664).
    • Entering an edit by double-click selects all of the text, and clicking another text while editing puts the caret where you clicked, as in Figma (#1664).
    • Continuing a vector's path with the pen grows that same layer, which keeps its name, position, parent and style. Undo returns it to its earlier path, where before the original was deleted and a new layer was made.
    • Removing a point where three or more segments meet no longer leaves the shape filled as an open path.
    • Flatten keeps each layer's fill on its own part of the vector and gives it the topmost layer's stroke, as Figma does, instead of filling everything with the first layer's fill and turning strokes into shape.
    • Groups span only their visible layers and refit when a layer inside is hidden or shown, as in Figma.
    • Resizing a layer on the canvas keeps its stroke weight, as in Figma; imported text on a path that kept only its glyphs still scales as a whole.
    • A Shift or ratio-locked resize and scaling a sticky note now snap the dragged edge to other layers and to the pixel grid, or a board's 16-unit grid, as Figma does.
    • Splitting a corner radius bound to a variable, in the panel, on the canvas or from a script, keeps every corner bound to it.
    • The Stroke section offers per-side weights only on rectangles, frames, components, component sets, and instances, as Figma does.
    • Double-clicking a layer's expand arrow, lock, or visibility button in the layers panel no longer starts renaming the layer.
    • Undoing a dragged font size, line height, or letter spacing back to where a document was saved, or every edit an AI agent or MCP client made, marks the document saved again instead of keeping it marked as edited, and the undo shortcut undoes a panel edit made while text is edited, such as a typed font size.
    • Keyboard shortcuts follow the letters printed on QWERTZ, AZERTY, and other Latin layouts, so Cmd/Ctrl+Z undoes on a German keyboard, and keep their key positions on Cyrillic and other non-Latin layouts.
    • Strokes with sides of their own weights are drawn as one ring, as in Figma: corners are filled and rounded by their sides, dashes are spaced side by side, and translucent strokes no longer darken where the sides meet.
    • Dashed strokes are laid out as in Figma: each straight side and each rounded corner of a rectangle, frame, section, or component set holds whole dashes with half a dash at each end, sharp corners are filled, ends are capped only where dashes stop, and inside and outside strokes cap at their full weight, with round or square ends, round or bevel joins, and smoothed corners alike. A dashed ellipse, polygon, or vector no longer leaves its dash on the section or boolean drawn after it.
    • A line draws its stroke above it as Figma does, instead of centred on it, keeps round and square caps and arrow heads within its length, spaces its dashes as Figma does, and draws with inside and outside alignment instead of disappearing. Line arrow and triangle arrow heads draw at Figma's size and shape, and Figma's filled triangle, diamond, and circle line caps draw instead of showing no head.
    • An inside or outside stroke on a star, polygon, arc, or vector follows its outline, as in Figma, instead of showing on both sides of a star or polygon, across an arc's flat edge, or centred on a vector drawn from its path, and a vector's saved outside stroke no longer covers its fill.
    • Strokes blend with what is under them by their paint's blend mode.
    • A gradient stroke on a straight line, or a gradient on any layer with no width or height, draws along it instead of stopping the canvas, as in 0.15.
    • An image stroke draws once its image is ready, instead of drawing black while it loads.
    • Boolean operations draw as in Figma: operands with a hidden fill add only their strokes, strokes keep their alignment, colour binding, gradient or image, cap, join, and dash, reflected operands keep their orientation, vector operands take their saved fill shape, and the operation's corner radius rounds its outline.
    • Drop and inner shadows are cast from everything a layer draws, as in Figma: its strokes, every child of a frame or group, and boolean operations, cut out under translucent fills and strokes unless shown behind the node, with a shape's inner shadow under its strokes.
    • A shape whose fills are all at 0% opacity casts no drop shadow and takes no inner shadow, as in Figma, and a frame with a 0% fill shadows its children instead of its own bounds; shadows on stars, polygons, and vectors ignore their spread.
    • A boolean's background blur stays inside its shape, and an inner shadow over a curved edge no longer lets the fill show through it, as in Figma.
    • Layers with opacity below 100% or a blend mode draw whole when rotated or inside a rotated frame, instead of being cut off.
    • Ellipse arcs without stored outlines, such as ones set from design JSX or the plugin API, draw their cut edges back to the centre or across the ring instead of as a straight chord.
    • Tiled images from Figma draw at their own size and tile scale, and Fill, Fit, and Tile images keep their rotation; switching to Crop starts from the Fill framing, as in Figma. An image fill's swatch in the properties panel shows its image instead of black.
    • Flashes and AI highlights outline a layer inside a rotated or flipped frame where it is drawn.
    • Shader covers on openpencil.dev and in the /demo tour show their first frame instead of a blank square, the editor keeps a shader's saved frame instead of replacing it with a blank one in a browser whose WebGPU cannot draw, and the code panel runs shader() paints, which failed there with "Unknown Design JSX helper".
    • SVG import keeps content hidden by visibility or display as hidden layers, as Figma does, instead of painting it, and icons, inline SVG in design JSX, and image vectorization leave it out (#1166). An SVG rounded rectangle imports with its outline closed on its first point, and scaled SVG artwork preserves nearly closed arcs when coordinate rounding makes their endpoints coincide.
    • HTML and draw.io import read a quoted font-family, such as 'Noto Sans KR' or "Foo, Bar", as the font family instead of keeping the quotes in its name or cutting it at a comma.
    • SVG export sets text on the lines and baselines the canvas draws, wrapped paragraphs and each explicit line included, keeps text outside styled character ranges, no longer adds a space where a text changes style, and draws a whole donut's outer edge and hole (#1520, #1521).
    • SVG and PDF exports write text in the case it is set to show (upper, lower, or title case), keep inside and outside strokes on their side of the outline, and keep arrow heads and rounded corners on arrows (#1520, #1521).
    • SVG export keeps solid fill and stroke opacity in sRGB, including the alpha of a .pen paint and of a text fill, a tinted solid fill keeps its opacity in a Display P3 SVG, written beside currentColor, and a layer keeps its stroke when its topmost fill, such as noise, has no SVG paint.
    • Exporting a layer that blends or blurs its background leaves out the layers around and above it, as in Figma.
    • WEBP and JPEG export work on macOS desktop and in Safari.
    • Strokes, gradients, blend modes, blurs, and disabled effects of current .pen files draw as in pen.dev, and a .pen file whose strokes are lists of paints opens instead of failing (#1324).
    • Turned, mirrored, and grouped layers of .pen files land where pen.dev draws them, polygons keep their sides, ellipses their arcs and rings, and paths their view box and even-odd fill; paths and icons that fill or fit their container draw at their laid-out size instead of at 100 px.
    • .pen text keeps its font weight, italic, fixed-size wrapping, and justified or middle alignment, and .pen auto layout keeps space-between, space-around, and absolutely positioned layers.
    • .pen variables resolve in every theme a layer and its parents set, across several theme axes, with aliases and boolean visibility.
    • .pen instances keep their component's layout and paints when they override only some of them, their overrides reach layers inside nested instances or replace layers, and the fields their ref sets and their property overrides, such as a changed label or a hidden layer, survive a sync and saving as .fig.
    • .pen documents save as .fig when instance overrides replace layers, a nested instance replaced by another component being swapped, as in Figma, and an instance whose layers an override replaces otherwise opening detached. .pen icons inside components open as instances of icon components on an "Icons" page, so instances that change an icon's glyph, colour, or size save too, and a swapped icon keeps its layer name.
    • Scripts edit variant properties as Figma's Plugin API does: renaming or adding a variant property on a component set renames every variant and instances follow, renaming a variant updates the set's values, deleting a variant property fails as in Figma, and variantProperties reads a variant's or an instance's values. An instance's componentProperties reports its own variant for VARIANT properties.
    • Inserting and deleting characters through the plugin API, openpencil eval or MCP keeps each colour and other character style on the letters it was applied to, and insertCharacters takes Figma's useStyle to copy the style of the character before or after. Setting characters resets range styles to the first character's, as in Figma. A position outside the text is refused instead of corrupting the styles.
    • Paints scripts set in Figma's shape draw as in Figma: image paints with scaleMode, rotation, or scalingFactor take effect, invalid paints throw Figma's validation messages, and solid paints read back with an RGB color and the alpha in opacity.
    • Scripts can set a polygon or star's pointCount, a star's innerRadius, and an ellipse's arcData, which did nothing before, and saving a document whose gradients a script set no longer fails. Setting a stroke's weight or alignment through the plugin API keeps the layer's stroke style.
    • A script resizing a layer inside an instance leaves it as it is, as in Figma, instead of recording a size Figma drops, resize() keeps every side at least 0.0001, except a line's height of 0, and resizing an imported SVG vector scales its geometry to the requested dimensions.
    • Text changed by AI agents, MCP tools, or scripts to a font that had not loaded yet takes its real size, including text outside auto layout, so exported images match the sizes the agent reads back, and openpencil eval and tool calls measure the text a script edits in the fonts the document uses.
    • Node reads and get_components include component property definitions, and Design JSX export writes components, component sets, and instances with their property() bindings, property values, and layer overrides, so they render back as linked components; an instance whose changes JSX cannot write still exports as the frame it draws.
    • Instance overrides find layers among the instance's children by the names they had before any rename, accept layer names with a colon, ignore tree fields, and reject a name several layers share instead of changing the first.
    • Design JSX rejects an instance variant value the set does not have and an instance that would put a component inside itself instead of drawing the first variant or a plain frame, warns about skipped overrides keys, and leaves no property definitions behind when a render fails.
    • Design JSX takes a gradient's transform, and a paint's gradientTransform and imageTransform, as Figma's rows such as [[0, 1, 0], [-1, 0, 1]] as well as the matrix fields, refuses any other shape instead of drawing nothing, and exports them as rows.
    • Design JSX export of several layers is one JSX expression, wrapped in a fragment, so code editors and other JSX tools read it; labels styled in ranges export with <Span> and <Paragraph> and read back the same.
    • Library components keep their instances' overrides and instance-swap defaults when inserted into a document, and libraries published to a CLI catalog keep overrides and vector shapes. openpencil libraries publish gives a component without an asset key a valid one made from its name instead of failing, and keeps those keys in the .fig source with --write.
    • The color contrast lint rule measures text against what is painted under it: every visible solid fill of the text, its ancestors, and layers beside it such as a background shape, composited in paint order. It skips fully transparent text, text with no opaque background, text such a layer covers only in part, and text where a gradient or image shows in its fills or its background.
    • The touch-target-size lint rule checks the controls in a row named in the plural, such as Footer links, instead of reporting the row as one target.
    • In a shared room, comments, replies, review statuses, and file settings that several people change at once all keep their changes instead of one replacing the others, and enabled libraries and the document's color space now reach everyone in the room.
    • AI chat and ACP agents are told to draw on the canvas rather than write HTML or run terminal commands, to name the document they mean when several are open, and to revert their own changes with undo.
    • Claude Code, Codex, and Gemini CLI chats end when the agent finishes its turn, instead of staying busy until the agent exits; their OpenPencil tool calls show under the tools' names with their results instead of as failed, a run of thoughts shows as one, and an MCP server that fails to start shows its error instead of spinning.
    • Coding agent chats start the agent in a folder of OpenPencil's own instead of your home folder, so it no longer reads project settings kept there or may write across it.
    • Off and Minimal thinking no longer fail on OpenRouter models that always reason, which now use the lowest effort OpenRouter lists, or on GLM-5.3, GLM-5.3-Flash, or Gemini 3.1 Pro, and no longer run GPT-6.1 Sol and GPT-6 Astra at their default effort: these models use low, the lowest each accepts.
    • Claude models used through OpenRouter mark the chat's prompt for caching, also with a thinking level set, so repeated turns can be billed at the cached-input rate when the provider has the prompt cached.
    • Images from tools reach MiniMax and OpenAI-compatible Chat Completions models as images instead of Base64 text, and a resized WebP image attached in the chat on macOS desktop or in Safari is sent with its actual PNG type.
    • The image drop overlay in AI chat no longer stays on screen after a drag from apps such as Yoink.
    • The Harness companion loads Pi's MCP adapter on Node.js 26 instead of failing on its TypeScript sources.
    • The MCP HTTP server no longer runs out of sessions after failed initializations, session-less GET requests, or cancelled tool calls, and closes sessions idle for 15 minutes (OPENPENCIL_MCP_SESSION_IDLE_TIMEOUT_MS).
    • The desktop app waits up to 20 seconds for a slow-starting MCP server instead of giving up after five, and stopping the server from the app, or quitting the app, now ends the server process too, so a leftover server no longer keeps answering after the app lets go of it (#1167).
    • MCP tools whose path is their own data, such as create_vector and path_set, no longer fail on long paths or create folders, and export_pdf writes the file its path names. open_file, save_file, and new_document work with paths in the browser app: files are read from and copies saved to the MCP root through the server.
    • export_image says why it returned no image: an ID that is not in the document, layers that are all hidden, a render that came back empty, or, in the desktop app, a document whose canvas has no renderer, instead of always answering "No visible nodes to export".
    • @open-pencil/dom-css, @open-pencil/design-jsx, @open-pencil/emit, and @open-pencil/cli load under Bun 1.3 again, and so does @open-pencil/core/io, which imports Design JSX; their internal imports named files without an extension, which Bun 1.3 does not add (#1397).
    • The CLI saves a .fig with a rendered thumbnail, as openpencil export does, instead of a blank 1×1 placeholder: convert, import, lint --fix, and eval, tool call, and diff apply with --write or --output. These commands replace the file only once it is fully written, so a failed save keeps the previous file.
    • open-pencil export -f pdf exports PDFs instead of failing with "DOMParser is not defined", and exporting a PNG from the command line on Windows no longer fails to find the CanvasKit binary.
    • open-pencil export --node checks the fonts of a text layer exported on its own: --font-policy strict and warn used to find no fonts to check and let a substituted face through.
    • openpencil convert measures the text of a .pen or draw.io file in its own fonts, so converted tags, buttons and labels keep their width.
    • Text a CLI script writes in characters its font had not loaded yet, such as Japanese, is saved with its glyphs and at its size, instead of with missing-glyph boxes in a box of the wrong size.
    • A document still opening when you switch to another tab, or opened on a slow connection, no longer fails with "The operation was timed out"; it finishes opening and is drawn when you return to its tab or once the canvas loads.
    • Safari keeps each tab on its own document; after a few tab switches, every tab showed the canvas and layers of the tab before it.
    • In Safari, the canvas cursor keeps changing after a drag, so resize and rotate cursors show over handles again.
    • A document that fails to open from Home leaves Home in place instead of an empty tab.
    • A document opened from a link in the browser saves with Cmd+S by download and is covered by crash recovery, which it could not before, and keeps its name when the name has spaces or non-Latin letters instead of showing it percent-encoded.
    • Saving a file in a browser that shows the save picker but will not write to the chosen file now downloads it under that name instead of failing.
    • Storage downloads that take longer than 20 seconds finish instead of failing; only a transfer that stops for 20 seconds fails. The storage list keeps showing previews and errors while it refreshes instead of flashing blank.
    • Documents opened from disk in the Windows desktop app are named by their file, not by their whole path.
    • On Linux, the desktop app caches recent file previews and downloaded fonts instead of loading them anew each time.
    • On the desktop, links in chat replies and collaboration rooms open in the browser, and links such as Get API key no longer show a "shell.open not allowed" error.
    • View → Variables… opens the variables dialog in the desktop app.
    • Home in a narrow desktop window keeps mouse-sized controls and focuses its search; only touch screens get the larger touch controls.
    • The startup splash uses the app's theme, so it no longer changes colour as the app starts on a light system, and stops animating when the system asks for reduced motion.
    • Dialogs keep their content still while they open and close, instead of redrawing a cleared name, the other choice's labels, or emptied fields as they fade out, and open on their loaded content rather than filling in after.
    • Choosing from a menu that showed a placeholder, such as Move to in a dialog, no longer leaves the dialog hidden from screen readers.
    • In Settings, the model and provider fields, such as a model's name and API keys, use the same fill as the selects beside them, every switch row and description uses the same text sizes, and selects in Settings and in the share, workspace members, and statuses dialogs are as tall as the fields and buttons beside them.
    • Leaving a model you haven't changed no longer asks to discard changes.
    • The variable picker no longer shows an empty divider at its bottom when nothing is bound, and switching tokens in the variables dialog no longer animates the inspector.
    • Dates in the recovery dialog, font settings and the diagnostics log follow the language the app is set to, not the browser's.

    Performance

    • Progressive rendering settles a changed canvas in tens of milliseconds instead of over a second, keeps exact tiles on screen while panning, scales downsampled copies of what was rendered into place while zooming out and keeps the page covered at any window size, stays on for documents that draw image previews, sharpening them for the zoom, and redraws only the text a newly loaded font affects.
    • Adding, removing, or moving a layer on a large page no longer re-renders the whole page: only the tiles it touched render again.
    • Large pages record faster: a layer costs fewer renderer calls, a chunk clips to its frames with one call, and a boolean operation keeps its result between draws.
    • Pages with thousands of text layers draw and record faster: shaped text stays prepared across frames, a text's fonts are checked once per frame, emoji share the text's paragraph, and saved text with styled runs makes one paint per style run instead of one per glyph, with a dotted underline drawn in one call.
    • Laying out a document with many repeated text layers measures each distinct text once, instead of shaping it again for every copy.
    • Typing into a page of tens of thousands of layers no longer stalls at every keystroke: the font status follows the edited layer instead of walking the page, and the page's coarse copies rebuild once the edit pauses.
    • Selection chrome, rulers, labels, and issue markers draw with fewer calls per frame: outlines, dashes, colours, and label widths are kept between frames and the rulers' ticks draw as one batch. Design issue markers are staged once per document change and only placed per frame, so panning or zooming a page with a thousand marked layers costs about 1.5 ms per overlay frame instead of 11 ms.
    • Shadows of a frame or group render about four times faster when its only content is one rotated or flipped layer, or when it has no fill and its layers stand apart, as in rows of cards or buttons.
    • Resizing and selecting text on a path no longer stutters: laying the text along its path is about 50 times faster.
    • Large documents keep a bounded amount of vector path memory, and drawing vectors no longer leaks memory on every edit or frame.
    • Opening a .fig reads its record index up to 1.7× faster, with the Kiwi schema compiled once into tables, and its data decompresses with the same Zstd that saves it, about 3× faster than before in browsers and the desktop app.
    • Pages of a .fig file opened after the first load faster, about a quarter faster on a large design kit page, and layers inside instances share the layout settings Figma saved with their component's layers, so such a page takes less memory.
    • A .fig document read without the background worker, as the CLI and the MCP server read it, frees the file's decoded records once every page is loaded and the document is saved, instead of keeping them while it stays open; on a large design kit that was hundreds of megabytes.
    • Switching pages is faster on large documents: the design check copies only the layers it checks and runs once per page switch, after the page is shown, the hidden Lint panel builds no rows and the visible one only the rows it shows, and a revisited page that nothing changed keeps its layout, layers list, font status, and Lint results.
    • The editor downloads and compiles CanvasKit once when it opens instead of twice, and starts loading it as the app starts, so a document opened on a slow connection shows sooner.
    • Images from tools such as export_image go to Anthropic, OpenAI, Google Gemini, and DeepSeek models as WebP, about a third the size of PNG for renders with imagery; other connections still get PNG.
  8. 0.16.0

    Expandir

    Editoria OpenNavo Inclusão no Homebrew

    CompatibilidademacOS 13 ou posterior

    OpenPencil 0.16.0 — Notas da versão

    Adiciona comentários, salas com voz e acompanhamento de agentes, componentes interativos, shaders, lint e exportação Vue/React. Exige macOS 13+, atualizar o MCP junto com o app e migrar formatos e APIs. Reforça permissões, IPC, cálculos e validação de documentos.

    Destaques

    • Comentários com respostas, resolução, texto rico e busca acompanham arquivos .fig e salas e são acessíveis por scripts, IA e MCP. Várias salas sincronizam em abas, com voz P2P, variáveis e sobrescritas compartilhadas e cursores de pessoas e agentes que podem ser acompanhados.
    • Adiciona slots nomeados, propriedades e variantes de componentes e 15 comportamentos de controles operáveis no Preview sem alterar o documento. Shaders guardam imagem estática e preset para o Figma; animação exige WebGPU. Inclui modos de variáveis por camada/página, lápis, estilos por caractere, listas, alças, encaixe em pixels, navegação e edição múltipla.
    • Inclui Lint com correções automáticas, novo editor de variáveis, tokens W3C, Iconify, código Vue/React, exportação Storybook/HTML/Tailwind JSX/PPTX, arrastar arquivos, colar SVG como texto e salvar na nuvem. A configuração de IA instala integrações compatíveis; o chat ganha nível de raciocínio, imagens, JSX em streaming, revisão/reversão, tentativas, regeneração e exportação de rastros.
    • CLI/MCP controlam documentos abertos, desfazer/refazer, configurações, ferramentas e diferenças visuais. OPENPENCIL_MCP_SCOPE=selection limita o MCP local à seleção. Adiciona diagnósticos com dados sensíveis removidos, personalização visual, APIs de plugins/JSX/SDK e pacotes @open-pencil/design-jsx e @open-pencil/emit.
    • Alinha seleção, arraste, tamanho, colagem, rotação, navegação, padrões, atalhos, fontes, guias, traços, SVG, restrições de instâncias e menus ao Figma. Atualizações usam janela cancelável; macOS/Linux permitem escolher reinício e verificam arquivos não salvos. Melhora acessibilidade, tokens, contraste, isolamento de links e validação. Novos perfis usam Claude Sonnet 5.5 / GPT-6.1 Sol, mantendo modelos salvos. Codex ACP usa @agentclientprotocol/codex-acp; AppImage exige xdg-utils do sistema.
    • Corrige salvamento incremental .fig e compatibilidade Figma de instâncias, sobrescritas, estilos, variáveis, imagens, texto, gradientes, máscaras e layout. Corrige HTML/SVG/JSX, plugins, ferramentas entre páginas, desfazer, caneta, chat/Pi, concorrência, armazenamento/recuperação Safari, respostas S3, credenciais, memória, avisos de WebView antigo e preservação de dados de plugins. Todos os pacotes npm incluem a licença MIT.
    • Exemplos oficiais: kit Nuxt UI cai de 2,2 GB para 0,7 GB; arquivo Preline de 109 MB salva em cerca de 3 segundos, antes mais de dois minutos. O navegador grava apenas alterações fora da thread principal, reduzindo travamentos em documentos, texto e variáveis. A entrada em salas usa compressão e edições usam codificação Yjs mais compacta.

    Compatibilidade e migração

    • Desktop exige macOS 13+; web, Chrome 111, Edge 111, Firefox 128 ou Safari 16.4+. Salas mudam de formato: clientes antigos e novos não entram nas salas uns dos outros. Salas antigas salvas neste navegador são convertidas ao reabrir.
    • Atualize openpencil-mcp junto com o app: render JSX é renderizado no app, que não aceita mais árvores antigas pré-renderizadas. defineTool usa v.strictObject e rejeita argumentos não declarados. close_file exige unsaved="save" ou "discard" com alterações pendentes. diff_create/diff_show usam patches de atributos JSX; diff_show recebe attributes, não props. Liste documentos com openpencil documents list.
    • design_to_tokens usa nomes CSS da sintaxe de código ou namespace Tailwind; tailwind gera v4 @theme, json é removido, aliases mantêm var() e modos alternativos usam condições (padrão [data-theme="dark"]). gradientTransform segue Figma e muda a aparência de gradientes antigos do OpenPencil. Use linearGradientTransform/ellipticalGradientTransform de scene-graph/gradient, novo local de isGradientFill/GradientFillType; linearGradientEndpoints é removido.
    • .fig usa colorVar: pinturas com o antigo colorVariableBinding reabrem sem vínculo. Remove VariableBinding, colorVariableBinding, encodeNodeChangeWithVariables, encodePaintWithVariableBinding e encodeVarint de core/kiwi. computeImageHash retorna SHA-1 dos bytes; novas imagens usam esse nome, imagens já salvas mantêm seus nomes.
    • Campos de texto misto fontSize/fontName/fontWeight/fills/letterSpacing/lineHeight/textDecoration/textCase/textStyleId/fillStyleId retornam figma.mixed; defini-los aplica o estilo a todos os caracteres. Restrinja o tipo readonly Fill[] | symbol de fills antes de indexar.
    • Elementos, auxiliares, variáveis JSX, JSX_REFERENCE, buildComponent, sceneNodeToJSX e selectionToJSX passam para @open-pencil/design-jsx. core mantém renderJSX/renderTree; renderTreeNode vira renderTree e core/io/formats/jsx é removido. A exportação só gera OpenPencil JSX; remove JSXFormat/JSXExportOptions. Tailwind usa sceneNodesToTailwindJSX(graph,nodeIds) em dom-css(/export). dom-css não depende mais de core; exportHTMLBundle recebe fonts em vez de assets, com resolvedor baseado em exportWebFontFaceAssets.
    • Utilitários comuns vão para scene-graph: color, text-direction, random, order-keys e layout (antes layout-guides). core/bytes é substituído por js-base64; exportações raiz de core não mudam. SceneNode manual exige textParagraphs, listSpacing, paragraphSpacing, paragraphIndent, hangingList, targetAspectRatio, isExposedInstance, strokeWeight, strokeAlign e booleanOperation (pode ser undefined). Stroke estende Fill e exige type de pintura.
    • primaryAxisSizing/counterAxisSizing viram AxisSizingMode (FIXED | HUG); preenchimento fica no filho via layoutGrow/layoutAlignSelf: STRETCH. Use layoutSizing/layoutSizingOptions/layoutSizingUpdates. Leitura .fig usa parseFigFile/parseFigmaClipboard, populateFigPage/populateAllFigPages e interpretInstance/materializeInstance. Remove assertFigPackageReady; FIG_PACKAGE_STATUS é document-reader. Exportação remove buildDerivedTextDataV4; sceneNodeToKiwi exige runtime de withFigExportRuntime e FigNodeChangeExportRuntime usa shapeText(node), não getGlyphOutlineMetrics.
    • Chaves de plugins usam OPEN_PENCIL_PLUGIN_DATA e readPluginData/withPluginData em scene-graph. fig/node-change troca constantes e modificadores por readNodeChangePluginData; OPEN_PENCIL_PLUGIN_ID e SourceLibraryPublication vão para scene-graph e SOURCE_LIBRARY_PUBLICATION_PLUGIN_KEY é removido. IDs usam sessões aleatórias por processo, não 0:1; IDs fixos exigem setIdSession (retorna a sessão anterior) ou gerador próprio no SceneGraph.
    • Estado exige canvasVersion, shapeHandleHover e selectionTheme, no lugar de RulerTheme.label. Redesenhe com requestRender(), não sceneVersion. remoteCursors vira presenceCursors com person/agent; adiciona COMMENT em C. hitTestFrame vira hitTestDropTarget e adoptNodesIntoSection vira adoptCoveredLayers. SkiaRenderer.hitTestFrameTitle não recebe mais IDs selecionados; buildParagraph retorna TextLayout.draw(canvas,x,y).
    • Remove AUTO_LAYOUT_BREAK_THRESHOLD, CORNER_ROTATE_ZONE, getDefaultCanvasBgColor e CANVAS_BG_COLOR_DARK. Use TRANSFORM_ZONE/transformZoneAt e HandlePosition/CornerPosition de core/geometry, SECTION_DEFAULT_FILLS e PAGE_DEFAULT_BACKGROUNDS por tema. IconProvider oferece iconify/createIconifyProvider()/placeIcon. VectorizedPath.clipNetworks vira clips.
    • Vue edita toda a seleção: useStrokeControls/useEffectsControls não recebem nó; weights de useTypography é computado (.value) e usePosition segue Figma. useCanvasInput troca APIs de padding por autoLayoutValueEdit, update/commit/cancelAutoLayoutValueEdit, field e autoLayoutValueAnchor. useVariables collections retorna cópias e addVariable um ID. Remove useVariablesEditor/useVariablesTable/useVariablesDialogState e @tanstack/vue-table. useFlatReorderDrag recebe operations/onCombine; textos updates descrevem a nova janela de atualização.

    Segurança e privacidade

    • O desktop bloqueia escrita em locais de inicialização, perfis shell, pastas globais de pacotes e arquivos de descoberta MCP, permitindo apenas linhas de comando exatas dos agentes, MCP e Harness compatíveis.
    • Tauri 2.12 vincula respostas IPC grandes à webview solicitante (GHSA-w28w-mhc8-qvjv). Atualizações só são instaladas quando a assinatura identifica a versão anunciada.
    • calc usa jsep e lista permitida de operações aritméticas em vez de expr-eval, com aviso não corrigido de execução de código (GHSA-q9v2-7m5w-4693). Adiciona ** e só aceita operações documentadas.
    • Escapa nomes e texto JSX/Tailwind JSX para impedir injeção de atributos ou expressões em render/replace. Valida cursores/nomes, área de transferência, revisões de bibliotecas e mensagens MCP/automação. @xmldom/xmldom 0.9.12 corrige análise quadrática de SVG/XML maliciosos.
    • Compilações oficiais enviam um ping diário anônimo sem ID, com versão, SO, arquitetura, desktop/web e estado de compartilhamento de estatísticas. Desative em privacidade ou com OPENPENCIL_TELEMETRY=0 / DO_NOT_TRACK=1 no ambiente do desktop. Estatísticas de aberturas, formatos e provedores IA exigem consentimento separado; veja a página de privacidade.

    Fontes oficiais

  9. 0.16.0-beta.3

    Expandir

    GitHub Release

    This is a pre-release that lists changes since 0.16.0-beta.2: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.16.0-beta.3 as newer than 0.16.0, so .deb and .rpm users should remove the beta before installing the final 0.16.0.

    Breaking changes

    • computeImageHash from @open-pencil/core and @open-pencil/scene-graph returns the hex SHA-1 of the bytes, the name Figma gives an image, instead of an OpenPencil-only hash of the same length. New images are stored under that name, so .fig files and the Figma clipboard carry it as it is; images in documents saved before keep their names.

    Added

    • Drop design token files, .tokens, .tokens.json, or .resolver.json, on the editor to import them into the document's variables, as the Variables dialog's Import button does.
    • Apply a variable mode to layers and pages from Appearance, or the Page section with nothing selected, as in Figma: choose Auto or a mode for each collection the layers use. Layers set to a mode show it after their name in Layers.
    • Settings → Cloud storage offers the OpenPencil Cloud waitlist: the web app signs you up there, with a confirmation email, and the desktop app opens the sign-up on openpencil.dev.
    • The conversation menu saves a chat's trace as a JSON file: every message, reasoning step, and tool call, and each run's model, settings, usage, timing, and errors, with enough to rebuild and check every request the model received.
    • Settings → Diagnostics saves the diagnostics report as a JSON file, next to Copy diagnostics.
    • openpencil.dev opens on live editor demos of design, AI, code export, the CLI, the SDK, and collaboration, in every docs language, with a short roadmap and an OpenPencil Cloud waitlist.
    • A download page offers the latest release's installer for the visitor's system, lists every installer for macOS, Windows, and Linux with Homebrew and the web app, and shows a newer beta with its release notes when there is one.
    • FontManager.setBundledFontLocator() lets an SDK host say where its bundler put the fonts from the new @open-pencil/core/assets export.

    Changed

    • Trackpads and mouse wheels pan and zoom the canvas as in Figma. A two-finger pan moves the canvas twice as far, up to 120 px per scroll event. A pinch zooms as far in the desktop app and Safari as in other browsers, where it zooms a little less than before. In the desktop app and Safari, a pinch over Preview's live controls or comment pins now zooms the canvas, where it did nothing. On Windows each mouse wheel notch pans 16 px instead of 100 px, and notches less than 50 ms apart pan up to 120 px each.

    Fixed

    • Saving an opened .fig file writes only what an edit changed in a layer or variable, and keeps the rest as Figma saved it. That includes data OpenPencil does not model, an instance's library link and saved overrides, and an edited text's letter spacing in percent and font names. Before, saving rewrote each edited layer whole. Importing design tokens or adding a mode also rewrote every layer and variable in the file that uses variable modes.
    • Saving an opened .fig file writes a variable's new value into every layer that uses it, through an alias too, so Figma shows the edit. Before, layers bound through an alias, or any layer read from the file, kept the color Figma had saved.
    • Variables that alias library variables still point at the library after a save, and a collection's modes keep their order in Figma.
    • Importing design tokens adds them to the file's own collections, never to a collection copied from a library, where Figma did not show them. A token collection named like a library's, such as Tokens in Preline UI files, becomes a new collection of the file.
    • Figma shows shader fills and images from older documents in .fig files OpenPencil writes: every image is stored under the SHA-1 of its bytes, the only name Figma reads, and a shader keeps its preset through .fig files and the Figma clipboard.
    • .fig files whose text content is bound to a number or boolean variable, as Figma's UI binds one, open instead of failing with "Unsupported variable expression STRINGIFY". The text follows the variable as Figma writes it, a whole number as an integer and others with two decimals, and saving keeps the binding (#1110).
    • Rounded points in a vector imported from a .fig file keep their own corner radius and join when the file is saved, and the plugin API reports their radius instead of 0.
    • The thumbnail in a .fig file shows its page's own background between layers. Before, it took the color of the page open in the editor, and files written from the CLI always showed light grey.
    • Fill and stroke bindings to variables made in OpenPencil survive a paste into Figma, which keeps them as remote variables as it does for variables copied from another Figma file.
    • Instances pasted into Figma keep their names and no longer carry their component's library identity.
    • Showing or hiding a layer of an instance that a boolean component property drives sets the property, as in Figma, so every layer it drives follows and Figma shows the instance as OpenPencil does. Before, only that layer changed, which Figma ignored.
    • The Variables panel marks collections copied from a library. Edits to them are saved and show in Figma, but Figma doesn't show variables or modes added to them; the panel warns on such a variable.
    • The Variables dialog keeps variable names in view in a collection with more modes than fit, such as Tokens in Preline UI files, and scrolls sideways instead. Before, the name column shrank to nothing and its header ran into the first mode's.
    • Dragging a layer down the layers panel drops it where the line shows, not one slot lower. Moving a layer into a frame or group from the panel keeps it where it's drawn on the canvas, and undo puts it back.
    • Hiding, locking, renaming and moving layers to another page can be undone. Hiding or locking several layers at once is a single undo step.
    • A duplicate is stacked directly above its original, rather than on top of everything.
    • Undoing or redoing back to the last save shows the document as saved again, unless a collaborator or another change outside undo changed it since.
    • Redoing a pen path brings back its points, fill and stroke instead of an empty vector. Escape keeps the path drawn so far, as the pen tool guide says. The distance for closing a path no longer changes with zoom.
    • Editing a vector's points no longer leaks memory on every redraw.
    • The corners of a stroked path take its join, as in Figma. This applies to paths drawn with the pen and to unfilled icons. Thick strokes no longer notch at each corner, and round or square caps appear only at the path's ends.
    • After editing text on a path, each character turns along the stretch of path it covers, as in Figma, so wide characters no longer point off the curve on tight bends.
    • Shaders playing in preview go on from where they were when you zoom, instead of showing their still frame and starting over.
    • People in a shared room see and edit the document's variables, and see the overrides of its instances. Collections, modes, and values reach everyone in the room, layers bound to them follow, and two people editing different modes of one variable both keep their change. Instance text, slot content, and every other overridden field arrived empty before, and editing such an instance could throw. Rooms opened by earlier builds do not meet rooms opened by this one.
    • The bar that shows who you follow has a white label on the person's or agent's color, darkened just enough to read at WCAG AA, instead of black text on mid-tone colors such as the AI agent's blue.
    • Stopping a Pi reply in the desktop app cancels that turn and keeps the session. Pi remembers the conversation and its sandbox for your next message. Before, the stop raised an error, dropped the connection, and started a new Pi process, leaving the old one running.
    • The agent of a Pi or ACP chat in the desktop app leaves the canvas as soon as a reply finishes, is stopped, or fails, instead of staying at work for up to 20 seconds and keeping your view following it. A tool call already in progress still finishes, but no longer puts the agent back to work.
    • AI chat streams in the desktop app, and a reply keeps going past 30 seconds while it is still arriving instead of failing with "Desktop HTTP request failed"; a request that cannot reach the provider is retried before the reply starts.
    • In the desktop app, Select All, Undo, and Redo typed in a text field such as the chat input act on the field instead of the canvas, and other canvas shortcuts no longer reach the canvas from a text field.
    • Scrolling the chat back to the bottom resumes following new output.
    • Warnings and errors that showed without their color now use the theme's: library update and diagnostics warnings, errors on the home screen and when renaming layers, publishing a library or authoring variants, open menu triggers, and the switch's hover border. Chat errors, copy confirmations, error toasts and the thinking meter follow the light theme too.
    • HTML, Vue, and React exports name a JPEG, GIF, or WebP image fill by its own type in the data URL instead of calling every image PNG.
    • CLI eval and the CLI tools measure text in the document they edit, so text with line breaks or a fixed width gets its real height.

    Performance

    • Joining a shared room is faster: the document a person receives on joining is compressed, about a twelfth of its size before (480 KB instead of 5.7 MB for the demo tour), and edits travel in Yjs's more compact encoding.
    • Shader fills store their still frame as JPEG when no pixel is transparent, about 25 times smaller than PNG, so documents with shaders save and open faster; frames with transparency stay PNG. Figma opens both.
  10. 0.16.0-beta.2

    Expandir

    GitHub Release

    This is a pre-release that lists changes since 0.16.0-beta.1: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.16.0-beta.2 as newer than 0.16.0, so .deb and .rpm users should remove the beta before installing the final 0.16.0.

    Breaking changes

    • CORNER_ROTATE_ZONE is removed from @open-pencil/core/constants; the selection's resize and rotation zones are TRANSFORM_ZONE and transformZoneAt in @open-pencil/core/geometry, which also owns the HandlePosition and CornerPosition types.
    • In scripts, a text node's textCase, textStyleId, and fillStyleId now also read figma.mixed while its characters differ, as in Figma, instead of the text's own value, and setting one restyles every character.

    Added

    • Enter opens a selected vector's path for editing, as a double-click does, as in Figma.
    • Text keeps a case, a link, text and fill styles, and variable bindings for any range of its characters, as in Figma: the canvas draws each range in its own case, .fig files and the Figma clipboard keep them, apart from font weight bindings, HTML, Tailwind, and JSX exports write links as <a href> and cases as text-transform and HTML import reads them back, Design JSX <Span> takes textCase and href, and the Typography section's text case changes the selected characters while text is edited. Scripts read and set them with getRangeTextCase, setRangeTextCase, getRangeHyperlink, setRangeHyperlink, getRangeTextStyleId, setRangeTextStyleIdAsync, getRangeFillStyleId, setRangeFillStyleIdAsync, getRangeBoundVariable, setRangeBoundVariable, and the text's hyperlink.
    • Switch a frame to a group and back from the layer type menu in the properties panel header, as in Figma. A frame becomes a group that keeps its layers, effects, and opacity and fits them; a group becomes a frame of its bounds that clips.
    • Edit the layout guides of several frames at once: the panel lists them while the frames' guides match and edits every frame in one undo step, and while they differ offers Add, which gives each frame one new guide. A new guide is Figma's 10 px grid.
    • Official builds send one anonymous ping a day, with the app version, operating system, architecture, desktop or web, and whether usage stats are shared, and no ID; turn it off in Settings → Privacy or with OPENPENCIL_TELEMETRY=0 or DO_NOT_TRACK=1 in the desktop app's environment. Usage stats (launches, file formats opened and exported, and which AI provider answered) are sent only after you agree in a one-time prompt after the welcome screen. The privacy page lists every field.

    Changed

    • The Layout guide section follows Figma: each guide is a row with a summary such as "5 columns" or "Grid 10px" that switches between grid, columns, and rows, and its settings open from the row's icon with Count, Type, Width or Height, Margin or Offset, Gutter, and Color fields. The section now sits after Selection colors.
    • A selected layer resizes and rotates where Figma's does: every edge resizes along its whole length within 7.5 px outside it and up to a tenth of the side inside it, corners within 7.5 px, and the area outside a corner within 16 px rotates; a frame's name takes a press before rotation but not before resizing. Layers under 24 px keep these zones outside them, and a layer under 10 px on both sides has none, taking presses within 16 px across its centre instead. A selection draws Figma's four corner handles, without the edge midpoints, and none on such a small layer.
    • Pasted layers keep how they were turned and flipped on the canvas, as in Figma, so a layer copied out of a rotated frame stays at its angle in an upright one, and paste to replace keeps the copied layer's angle too. Layers copied out of a frame or section keep their offset from its box on the canvas, and move into the frame only when they start past its far edge, or, for top-level layers, miss it: then layers that fit are centred on that axis, and larger ones go to the frame's top-left, or are centred if top-level. Layers overlapping an edge stay where they are, and layers copied from different places are placed each from its own.
    • A click up to 3.5 screen pixels outside a shape selects it, as in Figma, so hairlines and small dots are easy to pick; a frame's edge stays exact.
    • A click on a section's empty area selects the section, while a drag there still selects the layers inside it, and a right-click over the empty area of a frame with layers, or of a section, selects it for the menu. A selection under 10 screen pixels both ways shows no size label, as it shows no handles.
    • With nothing selected, a layer copied out of a frame or section pastes back into it, where it was on the canvas, or onto the page in the middle of the view when that place is out of view, as in Figma.
    • In scripts, setProperties switches an instance's variant, alongside its other properties, and fails without changing anything when no variant has the values, with Figma's messages; resize places a frame's layers by their constraints while resizeWithoutConstraints leaves them, and an instance's layers follow their constraints either way.
    • Settings… (⌘,) is in the OpenPencil menu on macOS and at the end of the File menu elsewhere, instead of under View → Preferences.
    • The demo at /demo is a tour of one player card in eight chapters stacked on one canvas, each showing one thing with a numbered card that says what to try and draws the piece of the app to click: preview, the artwork slot, the controls' behaviours, the theme's modes, shader fills, the Code tab, Lint on a card with planted issues, and sharing and opening your own files. It opens on the first chapter with the rest below it and follows the app's light or dark theme. The welcome dialog on first launch offers it next to AI setup, and File → Open the Tour opens it any time.
    • In scripts, a vector inside an instance refuses vectorPaths, vectorNetwork, setVectorNetworkAsync, and handleMirroring with Figma's errors, such as in set_vectorPaths: This property cannot be overridden in an instance: vector-data, since its path always follows the component.

    Fixed

    • Preview draws controls as the canvas does: in the variable modes the canvas is showing, also after a mode switch or a variable edit, with icons and vector layers as drawn and shader fills playing behind their layers from the canvas's own shader players.
    • Opening a page also loads the pages holding the component sets its instances use, so the variant picker and preview can switch to any variant of a set kept on a page not opened yet. Library copies on Figma's internal canvas stay as the file stores them, and a page that opens later no longer re-reads components an earlier page already built.
    • A slot frame whose corner radius or other field is bound to a variable stays a slot when the file is saved and reopened.
    • An instance whose own content makes it taller or wider than its component, such as a hug frame around longer text, reopens at its saved size.
    • SVG export, and the HTML, JSX, and preview drawings built on it, draw a vector's open strokes beside its filled regions, such as the bar of a skip icon, instead of the regions alone.
    • The contrast check asks 3:1 of large text, 24 px or 18.66 px bold, as WCAG AA does, and 4.5:1 of the rest, holding a text layer to the strictest threshold any of its style runs needs.
    • When saved credentials are paused, the home screen's storage section offers Retry access instead of a raw error that pointed to Settings with no way there.
    • Settings → MCP installs or updates a missing or outdated MCP server with one click, through Bun when Bun installed it, explains that it installs separately to keep the download small, and falls back to the install command and a prompt for your agent when npm is missing or the install fails; it no longer suggests reinstalling the old server's own version.
    • Where npm keeps global packages in a folder that needs administrator rights, as with Node from a Linux distribution or the nodejs.org installer on macOS, setup says so and shows the sudo command and a prompt for your agent instead of an install that fails, and installs a new MCP server or Harness with Bun when Bun is available.
    • Settings → Tool access lists the local MCP server's tools while the server is stopped, instead of an empty list saying no tools match the search.
    • Settings → MCP shows the local server in the desktop app and WebMCP in the browser, where each works, instead of a WebMCP section the desktop app can never use and a local server the browser reports as unreachable.
    • Lines of text that mix font sizes or line heights are spaced as in Figma: each line is as tall as the tallest line height on it, with its largest font centred in it, instead of stacking the tallest parts of every style on it, which put lines after a large word or a taller line height up to 10 px off.
    • A line height in pixels shorter than the font, such as 24 px on 24 px text, opens from .fig files as set instead of as the font's own height.
    • Text with an empty line, or ending in one, saved to .fig or copied to Figma shows there, where Figma showed it blank.
    • Instances keep following their component after being resized: resizing one by a handle no longer makes the sizes of the layers its constraints move into overrides. A component edit no longer gives a copy the component's size where it sizes itself to its own content, such as a badge's count set by an instance property, or an auto layout frame hugging the layers the instance shows, and setting a text property measures the new characters, so the badge fits them at once.
    • openpencil eval -o saves a script's edits laid out, though the script never read them back; @open-pencil/core/figma-api exports flushPendingLayout for hosts that save scripts' results.
    • Saving keeps a fill, stroke, effect, or text style that an instance has cleared, which reopened with the component's style.
    • Layout guides added in the panel or a script save to .fig files, where saving failed on them, and a guide read from a file shows as columns or rows in the panel and saves the count edited there. Columns and rows with an Auto count draw as many as fit the frame and read Auto in the panel. Scripts read and set layoutGrids in Figma's shape.
    • The properties panel shows the shared styles layers use in opened .fig files, where it listed them as missing styles.
    • Styles made in OpenPencil, by importing design tokens or by pasting layers from another document, are saved in .fig files as styles, and layers reopen with them. Saving wrote their references empty, so reopening dropped the styles, and saving into an opened file made them layers of the page in Figma.
    • Layers and text that use a library style keep it in Figma after OpenPencil saves them, where Figma showed them with no style.
    • A path edited in a component reaches its instances, as in Figma, scaled with each copy where constraints or a resized instance changed its size; copies whose instance overrides their fill or stroke keep those. A vector inside an instance no longer opens for path editing, which would have been undone by the next component edit. Straight lines in resized instances of .fig files open at the length Figma draws them instead of their component's.
  11. 0.16.0-beta.1

    Expandir

    GitHub Release

    This is a pre-release: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.16.0-beta.1 as newer than 0.16.0, so .deb and .rpm users should remove the beta before installing the final 0.16.0.

    Breaking changes

    • The desktop app requires macOS 13 or later; the web app supports Chrome 111, Edge 111, Firefox 128, and Safari 16.4 or later.
    • Shared rooms record the layer tree in a new format, so people on this version and on earlier versions can no longer join each other's rooms. A room this browser saved with an earlier version converts when you open it again.
    • A paint's gradientTransform follows Figma's convention everywhere, so gradients made in OpenPencil before this release draw differently. Build gradients with linearGradientTransform and ellipticalGradientTransform from the new @open-pencil/scene-graph/gradient, where isGradientFill and GradientFillType moved from @open-pencil/core/geometry; linearGradientEndpoints is removed.
    • .fig files store colour-variable bindings in Figma's colorVar. A paint bound through the old colorVariableBinding field, which only OpenPencil wrote, reopens unbound. VariableBinding, colorVariableBinding, encodeNodeChangeWithVariables, encodePaintWithVariableBinding, and encodeVarint are removed from @open-pencil/core and @open-pencil/core/kiwi.
    • In scripts, a text node's fontSize, fontName, fontWeight, fills, letterSpacing, lineHeight, and textDecoration read figma.mixed while its characters differ, as in Figma, and setting one restyles every character. fills is typed readonly Fill[] | symbol, so scripts that index it narrow it first.
    • Update openpencil-mcp together with the app: the app renders render JSX itself and no longer accepts the pre-rendered tree earlier versions send. AI and MCP tools reject arguments they do not declare: defineTool from @open-pencil/core/tools takes a v.strictObject input. close_file fails on unsaved changes unless unsaved is "save" or "discard", and diff_create and diff_show patches list JSX attributes such as -rounded={8}, with diff_show taking attributes instead of a JSON props object, so patches in the old format no longer apply. openpencil documents is now a command group: list open documents with openpencil documents list.
    • design_to_tokens writes CSS custom properties named from each variable's code syntax or Tailwind namespace: its tailwind format is a Tailwind v4 @theme, the json format is removed, aliases stay var() references, and non-default modes go under their condition ([data-theme="dark"] by default).
    • Design JSX moved from @open-pencil/core to the new @open-pencil/design-jsx package. Import elements, helpers, variables, JSX_REFERENCE, buildComponent, sceneNodeToJSX, and selectionToJSX from there; @open-pencil/core and @open-pencil/core/design-jsx keep only renderJSX and renderTree, renderTreeNode is removed in favor of renderTree, and the @open-pencil/core/io/formats/jsx subpath is gone.
    • JSX export writes only OpenPencil JSX: JSXFormat and JSXExportOptions are removed, and Tailwind JSX comes from sceneNodesToTailwindJSX(graph, nodeIds) in @open-pencil/dom-css or @open-pencil/dom-css/export. @open-pencil/dom-css no longer requires @open-pencil/core, and exportHTMLBundle takes a font resolver in fonts instead of 'assets'; build one on exportWebFontFaceAssets from @open-pencil/core/text/web-font/assets to keep font files in standalone exports.
    • Shared primitives moved to @open-pencil/scene-graph: color conversion and management to /color, text and layout direction to /text-direction, randomHex, randomInt, and randomIndex to /random, fractionalPosition to /order-keys, and @open-pencil/scene-graph/layout-guides is now /layout. @open-pencil/core/bytes is removed in favor of js-base64; the @open-pencil/core root exports are unchanged.
    • SceneNode has new required keys textParagraphs, listSpacing, paragraphSpacing, paragraphIndent, hangingList, targetAspectRatio, isExposedInstance, strokeWeight, strokeAlign, and booleanOperation (which may be undefined), so code that builds SceneNode objects itself must include them. Stroke extends Fill, so every stroke states a paint type, usually 'SOLID'.
    • SceneNode.primaryAxisSizing and counterAxisSizing are AxisSizingMode ('FIXED' | 'HUG'): fill is stored on the child, as layoutGrow and layoutAlignSelf: 'STRETCH', as Figma stores it. Read and change per-axis sizing with layoutSizing, layoutSizingOptions, and layoutSizingUpdates from @open-pencil/scene-graph.
    • .fig reading moved to one reader. importNodeChanges and importClipboardNodes are replaced by parseFigFile and parseFigmaClipboard, populateLazyFigImportRoots and populateAllLazyFigImportRoots by populateFigPage and populateAllFigPages from @open-pencil/core/io/formats/fig, and populateAndApplyOverrides by interpretInstance with materializeInstance; assertFigPackageReady() is gone and FIG_PACKAGE_STATUS reads document-reader. .fig export takes text shaping from a runtime: buildDerivedTextDataV4 is removed, sceneNodeToKiwi needs the runtime that withFigExportRuntime(graph, canvasKit, write) passes to its callback, and FigNodeChangeExportRuntime takes shapeText(node) instead of getGlyphOutlineMetrics.
    • OpenPencil's plugin-data keys are defined once in OPEN_PENCIL_PLUGIN_DATA from @open-pencil/scene-graph and read or replaced with readPluginData and withPluginData. @open-pencil/fig/node-change drops OPEN_PENCIL_PLUGIN_ID (now in @open-pencil/scene-graph), the *_PLUGIN_KEY constants, upsertPluginData, removePluginData, and getOpenPencilPluginValue in favor of readNodeChangePluginData; SourceLibraryPublication moved to @open-pencil/scene-graph and SOURCE_LIBRARY_PUBLICATION_PLUGIN_KEY is gone.
    • Every process mints layer, variable, and collection IDs in a random session, so generateId() no longer starts at 0:1 in the CLI, MCP, or scripts. Code that needs fixed IDs calls setIdSession, which now returns the previous session, or passes the SceneGraph its own generator (#770).
    • Editor state gains required canvasVersion, which the canvas redraws on (call requestRender() instead of bumping sceneVersion), shapeHandleHover, and selectionTheme, which replaces RulerTheme.label. remoteCursors is now presenceCursors (PresenceCursor[], each with a kind of 'person' or 'agent'), and the Tool type, EDITOR_TOOLS, and TOOL_SHORTCUTS include 'COMMENT' on C.
    • Canvas and constants APIs changed: SceneGraph.hitTestFrame is now hitTestDropTarget, adoptNodesIntoSection is now adoptCoveredLayers, and SkiaRenderer.hitTestFrameTitle no longer takes selected IDs. SkiaRenderer.buildParagraph returns a TextLayout that draws with draw(canvas, x, y). AUTO_LAYOUT_BREAK_THRESHOLD, getDefaultCanvasBgColor, and CANVAS_BG_COLOR_DARK are removed, and SECTION_DEFAULT_FILL is replaced by SECTION_DEFAULT_FILLS and new pages use PAGE_DEFAULT_BACKGROUNDS, both keyed by interface theme. Icons come from an IconProvider: fetchIcon, fetchIcons, searchIcons, searchIconsBatch, and clearIconCache are replaced by the default iconify provider, createIconifyProvider(), and placeIcon, and VectorizedPath from @open-pencil/core/vector replaces clipNetworks with clips.
    • @open-pencil/vue composables act on the whole selection: useStrokeControls and useEffectsControls no longer take a node, useTypography edits every selected text layer and its weights (also the TypographyControlsRoot slot prop) is a computed list of the families' weights, read with .value, and usePosition reports x, y, and rotation as Figma's panel does. useVariables().collections returns copies and addVariable returns the new ID; useVariablesEditor, useVariablesTable, useVariablesDialogState, and the @tanstack/vue-table dependency are removed. useFlatReorderDrag takes operations and onCombine, and the updates messages replace the system update dialog strings with the Software Update window's.

    Added

    • Comment on designs, as in Figma: the Comment tool (C) pins threads to layers, with replies, resolving, rich text, and a searchable, filterable list in the sidebar. Comments are saved in the .fig file, so they travel through storage and shared rooms, and scripts, the AI chat, and MCP clients read, add, reply to, and resolve them.
    • Be in several shared rooms at once, each in its own tab and syncing in the background, and talk with the people in a room in a peer-to-peer voice call from the headphones beside the avatars. Join from Home with Join room… or a pasted link, open a browser room in the desktop app with Open in desktop app, and join right away under a generated name such as Teal Fox.
    • Follow collaborators and AI agents: avatars count each person's agents and show what they are doing, clicking follows them, and your own agents are followed while they work. Agents from the AI chat, ACP and Pi harness chats, and MCP clients show labeled cursors at the layers they touch, and the Pages panel and command palette show who is on each page. The command palette also lists recent pages and Go to page….
    • Create and fill slots, as in Figma, from the canvas, the properties panel, scripts, and AI and MCP tools: slots have names, limits, and preferred components, instances show each slot as Default or Modified, and Reset slot brings back the component's content.
    • Create and edit component properties and variants from the properties panel, as in Figma (#847): link text, visibility, and swapped components to text, boolean, and instance swap properties, expose nested instances, reorder properties, and turn a component into a set with Add variant.
    • Make components behave like real controls: the Behaviour section turns a component or set into a Button, Switch, Checkbox, Slider, Tabs, Text field, or another of 15 Reka UI-style controls, and View → Preview (⌥⌘↩) lets you use them live without changing the document. Scripts, AI and MCP tools, and design JSX build them too.
    • Bulleted and numbered lists in text, as in Figma, with nesting, list and paragraph spacing, indents, and hanging markers, set from the Typography section or with ⇧⌘8 and ⇧⌘7. Lists round-trip through .fig files, the Figma clipboard, HTML, design JSX, and scripts.
    • Style selected characters while editing text: the Fill and Typography fields show and change the selection, as in Figma. Scripts style ranges with getStyledTextSegments and the getRange/setRange methods, design JSX writes <Span> and <Paragraph> with decoration style, colour, thickness, offset, and skip ink, and HTML, Tailwind, Vue, and React exports keep character styles and lists.
    • Fill layers with shaders from the open-source shaders library: the fill picker's Shader tab stacks effects with generated controls and takes presets copied from shaders.com. The canvas shows the first frame and preview plays it where WebGPU is available; .fig files keep the frame as an image so Figma still opens them.
    • Edit shapes on the canvas, as in Figma: gradient end points and stops while a gradient's picker is open, corner radius handles on rectangles, polygons, and stars, and a polygon's or star's point count and inner ratio, also in the properties panel.
    • Lock a layer's aspect ratio beside its width and height, as in Figma; the lock survives .fig files and the clipboard and is available in the plugin API.
    • Show the pixel grid when zoomed in, toggled with View → Pixel Grid or ⇧', and snap moves, resizes, and drawing to whole pixels with Snap to Pixel Grid (⇧⌘').
    • Rearrange auto layout as in Figma: drag several layers along a row or column as one block, move a layer one slot with the arrow keys, take it out with Ignore auto layout, and see the layout's children outlined on hover.
    • Edit several layers at once: a multi-selection gets Layout, Typography, corner radius, and stroke sections, plus Selection colors, which recolours a colour everywhere it is used.
    • Check designs in the new Lint tab: issues are grouped by rule, marked on the canvas and in the Layers panel, and many have one-click fixes such as binding colours to matching variables. openpencil lint --fix and the lint and lint_fix tools apply the same fixes outside the app.
    • Edit variables in a redesigned variables dialog: collections and groups in a sidebar, search across names and values, inline editing, drag to reorder, multi-select, CSS names and expressions, per-mode conditions written in plain words, and a live stylesheet preview.
    • Import and export variables, text styles, and effect styles as W3C design tokens, in the shape Figma imports, from the variables dialog, openpencil tokens --format dtcg, and the import_design_tokens tool. Copy variables as CSS or a Tailwind v4 theme, or print them with openpencil tokens.
    • Insert icons from Iconify's open-source sets with an icon picker in the toolbar, Object menu, and command palette. Placed icons keep their name, so the Icon section can swap or recolour them, and exports write them as icons.
    • See the selection as a Vue or React component in the Code tab, styled with CSS or Tailwind, and see which layer the cursor's element draws, with design issues underlined in the code.
    • Export components to Storybook with openpencil export -f storybook: one story file per component for React, Vue, or HTML, with variant controls, and with --framework vue or --framework react, working Reka UI or Radix UI components (#727). Export HTML and Tailwind JSX from the app and the CLI (-f tailwind-jsx), with vector shapes as inline SVG, and choose PPTX in the Export panel.
    • Open a .fig, .pen, or other supported document by dragging it onto the window, paste SVG markup copied as text, such as Figma's Copy as SVG, and open HTML files in CLI commands such as openpencil tree and openpencil convert.
    • Save the open document to cloud storage with File → Save to storage…; the tab stays bound to the stored copy, so Save and auto-save write to the bucket. A new Cloud Storage guide covers setup.
    • Set up AI in a few steps with guided setup: on first launch, pick a coding agent on this computer, an API account, or a local server. The desktop app installs or updates agents, adapters, the MCP server, and the Harness companion, tests each connection, and proposes models, and the MCP server and Harness companion print their version with --version; sign in to OpenRouter instead of pasting a key.
    • Choose how much an AI model thinks for each message, from Off to Extra high, attach images by dropping them on the chat, and watch designs appear on the canvas while direct providers stream JSX.
    • Review and undo AI edits from the chat: each tool call shows a summary, its input and output, and a before-and-after image with a JSX diff. Revert a reply's edits, restore them, regenerate the last reply, retry a failed message, or edit and resend it; undoing an edit tells the AI on the next message.
    • Control the running app from the CLI and MCP: openpencil documents, undo, redo, and settings, the matching MCP tools, openpencil tool list, describe, and call to run any MCP tool from the shell, and openpencil diff with the diff_visual and diff_apply tools to compare and replay changes. Share only the selected layers with MCP clients from Settings → MCP → Local server or OPENPENCIL_MCP_SCOPE=selection.
    • Diagnose failures from Settings → Diagnostics: errors, failed AI chats, and broken tool calls are recorded with scrubbed messages and stacks, filterable and copyable with the app version.
    • Choose an accent color in Settings → General → Appearance, and customize the toolbar in Settings → Toolbar or from its right-click menu: hide, reorder, and regroup tools on desktop and mobile.
    • Use more of the Figma plugin API: instance.swapComponent(), detachInstance(), figma.getNodeByIdAsync(), and getMainComponentAsync(). OpenPencil's own openpencil script global adds comments and controls.
    • Write design JSX with more of the document: visible, locked, constraints, italic, full stroke props, and component properties set by name on <Instance> (#750). JSX export writes them back with every fill, effect, mask, and variable binding, and TSX can use @open-pencil/design-jsx as its JSX import source.
    • New SDK entry points: pass an ID generator to new SceneGraph(), place pasted content with resolvePasteTarget from @open-pencil/core/editor, compute Flatten and Outline stroke with flattenNodesToVectorProps and outlineStrokeNodesToVectorProps from @open-pencil/core/canvas, and import designDocumentToSceneGraph from @open-pencil/dom-css/scene-graph in browser builds.
    • New npm packages: @open-pencil/design-jsx for writing and exporting design JSX, and @open-pencil/emit, which it and the exporters use to print source code.

    Changed

    • The font weight list offers only the weights the text's family has, as in Figma. Switching family keeps the weight and italic where the new family has them, otherwise the nearest weight with the same slant.
    • Selecting, dragging, drawing, duplicating, and pasting follow Figma: clicks select a top-level frame's direct children and double-clicks go deeper, dragged layers land in the frame under the cursor, groups and locked frames never take a drop, and Space, Shift, and Control change how a drag reparents. A layer leaves auto layout once its edge is about 5 px past the frame instead of after the cursor travels 96 px.
    • Layers move and turn as in Figma, on the canvas and in scripts: the properties panel shows X and Y of a turned layer's box and a counterclockwise rotation, children of groups report positions in their container, and groups and booleans refit to their contents.
    • New layers, pages, and sections look as in Figma: white frames that clip, #D9D9D9 shapes, black 1 px lines, theme-aware page backgrounds and sections, numbered names such as "Rectangle 2", and Figma's results for Group, Frame selection, Create component, booleans, and Combine as variants.
    • A layer keeps its stroke weight and alignment without strokes, as in Figma, and strokes take the same paints fills have, including gradients and images (#797).
    • Layers inside components and instances are outlined in purple, and bound variables show as a neutral chip instead of purple text.
    • Import SVG as editable layers, as pasting into Figma does: groups, one vector per shape, text layers, and clip path groups instead of one merged vector (#734).
    • The plugin API refuses to move, rotate, constrain, or mask a layer an instance takes from its component, with Figma's errors; slot content stays editable.
    • Popovers, menus, selects, and pickers share one look and motion, selects open over their field, every section adds and removes items with + and −, and variables, styles, and swap components come from one searchable list.
    • The desktop app shows updates in a Software Update window with formatted release notes and cancellable download progress (#743). On macOS and Linux you choose when to restart, and restarting asks about unsaved documents first.
    • Design lint reports far fewer false positives, checks touch targets against WCAG 2.2 AA in the Recommended preset, and reports unbound colours and off-scale spacing as suggestions.
    • HTML and Tailwind export write variable-bound values as their tokens, such as var(--color-primary) or bg-primary, and Tailwind JSX uses the same class mapping as Tailwind HTML.
    • The AI chat starts with comment, variable, lint, page, and image export tools on, keeps working on the page where it started, and recommends the latest models, with Claude Sonnet 5.5 and GPT-6.1 Sol as the new defaults. Saved profiles keep their model.
    • Invalid tool arguments from the AI chat, CLI, or WebMCP name the tool and list every problem with its location.
    • Run Pi with the providers and default model you signed in to in the Pi CLI, and see what to fix when its Harness companion or MCP server is missing or out of date. Codex install instructions point at @agentclientprotocol/codex-acp, which replaces @zed-industries/codex-acp.
    • get_selection returns the selected layers with their direct children by default and takes a depth, and openpencil eval prints the value of a script's last expression.
    • Opening a share link opens the room in its own tab, so an open document is never changed, and leaving a room keeps its file as a local copy.
    • Text in both themes meets the WCAG AA contrast ratio of 4.5:1.
    • The Linux AppImage no longer bundles xdg-open and relies on the system's xdg-utils.

    Fixed

    • Instances follow their component as in Figma: style overrides from .fig files survive component edits, every field an instance does not override follows the component, restructured component layers move their instance copies with overrides, and properties set on nested instances show and stay set when pages load on their own (#849).
    • Save .fig files that open correctly in Figma: overrides beyond text and fill colour, exposed nested instances, slot content, blend modes, bound variable values, variable metadata, fill-sizing, ordering keys, and stable layer IDs (#890). An opened .fig stays unchanged until edited, saves before its first edit, and saves variable-only edits.
    • Text saved to .fig or copied to Figma keeps its wrapping, alignment, line height, ligatures, and decorations there (#914), and shows there when drawn in a fallback, missing, or variable font or truncated. Auto line height stays auto when .fig files are opened and saved, so text with mixed font sizes keeps its lines.
    • Auto layout behaves as in Figma: Fill children in Hug frames keep their size, frames from .fig files reflow when edited, absolute children follow constraints, Hug frames grow while typing, and undo puts back everything an auto layout change moved.
    • Draw like Figma: gradients from Figma files and pastes no longer run backwards, blurs and shadows use Figma's falloff, masks apply their opacity and blur, layers masked by a group show, and polygons and stars keep their rounded corners, point count, and inner ratio, also when copied to Figma.
    • Underlines and strikethroughs follow the font's metrics and Figma's styles, outlined or flattened text keeps its glyph positions, and fonts load reliably: styles of variable fonts and macOS font collections, CJK and Arabic fallbacks, and a clear notice for unsupported outlines such as PingFang (#746, #752).
    • Import HTML and CSS laid out as a browser lays it out, with correct shadows, borders, and box-sizing, in openpencil import, the app, and the Code tab's preview (#788).
    • Import SVG files with an XML declaration, fill-opacity, stroke-opacity, open filled subpaths, and stroke caps and joins that survive saving.
    • Design JSX lays out justifyContent, alignItems, grid repeat() tracks, fill sizes in grids, and box-shadow lists as written, applies props it used to ignore, reports bad gradient arguments, warns about ignored paint and effect options (#736), and keeps line breaks when exporting multi-line text.
    • The plugin API reads and writes lineHeight, letterSpacing, effects, paints, page backgrounds, and componentPropertyReferences in Figma's shapes, updates geometry and text size immediately, and refuses invalid sizing and component cycles as Figma does (#786).
    • AI, MCP, and CLI tools reject arguments they do not take (#977), keep variable bindings through stdio render (#830), size groups and booleans to their contents (#738), work on pages other than the one on screen, run XPath queries under Node (#787), judge text contrast by its WCAG ratio (#735), and report failed saves as errors.
    • Undo covers layers MCP clients, the CLI, and AI chat create, delete, or move, including on other pages and in variables, and undo and redo work while a colour picker is open.
    • AI chat replies stop cleanly, survive switching pages, accept eval results of any shape, use a newly saved API key right away, and keep your message when the chat cannot start. Pi chats start with OpenPencil's MCP tools on Node 22.15 or later and resume cleanly.
    • Shared rooms keep one consistent layer tree when people move, reorder, or add layers at the same time (#888, #889).
    • Storage keeps working: browser storage saves after Safari suspends a tab, in Private Browsing, and for documents over 127 MiB; crash recovery and autosave run after edits instead of on redraws, which froze Safari; and S3 storage works with servers that answer range reads with 200, such as rclone serve s3.
    • Memory stays flat during long AI and MCP sessions (#587), image-heavy .fig files open without running out of memory (#924), and closing a tab releases its document.
    • Show a clear message instead of a blank window when the browser or WebView is too old, and start on macOS 13 with older WebKit (#744).
    • HTML export keeps grid layouts, rotation, every shadow and blur, flex grow, right-to-left direction, sections, and the positions of layers outside auto layout, and declares box-sizing: border-box.
    • Picking an OkHCL colour no longer overwrites a layer's other plugin data, including other plugins' data and its export settings.
    • Smaller fixes: layers keep their place when moved into or out of a rotated or flipped parent (#737), the Vue SDK's CanvasSurface starts, .pen text sizes from its font, whole-step number field drags, ⌘Z after nudges, ⇧-resizing, Paste here in transformed frames, zooming to a fixed level, the font picker's starting position and search order, section and frame titles, tab and menubar overflow, tooltips, full hex and opacity values, component set borders at every zoom, the caret in empty text, imported page backgrounds, .fig thumbnails in recent files, the canvas context menu closing on a quick second right-click, model pickers in Settings → Models closing while the editor slides in, and screen reader labels.
    • Ship the MIT license text in every npm package, with READMEs for @open-pencil/core, @open-pencil/cli, and @open-pencil/mcp.

    Performance

    • Open large .fig files with a fraction of the memory: the Nuxt UI design kit takes 0.7 GB instead of 2.2 GB, and pages share unchanged component data and JavaScriptCore object layouts.
    • Save an edited .fig by rewriting only the layers that changed, off the main thread in the browser: the 109 MB Preline UI kit saves in about 3 seconds instead of over two minutes, with about 1.5 GB less memory on large kits.
    • Open multi-page .fig documents, lay out pages with many text layers and instances, and edit text selections and variables without long freezes or full redraws.
    • Open the /demo document instantly, built ahead of time instead of in the browser.

    Security

    • Limit what the desktop app may write and run: no writes to startup locations, shell profiles, global package folders, or MCP discovery files, and only the exact command lines of supported agents, the MCP server, and the Harness companion.
    • Update to Tauri 2.12, which binds large IPC responses to the requesting webview (GHSA-w28w-mhc8-qvjv), and install desktop updates only when the signature names the announced version.
    • Evaluate calc through jsep and an arithmetic allowlist instead of expr-eval, which had an unpatched code-execution advisory (GHSA-q9v2-7m5w-4693); calc now supports ** and nothing it does not document.
    • Escape layer names and text in JSX and Tailwind JSX export, so document text cannot inject attributes or expressions into render and replace.
    • Validate collaborator cursors and names, clipboard data, component library revisions, and MCP and automation messages before using them, and update @xmldom/xmldom to 0.9.12, which fixes quadratic parsing of crafted SVG and XML.
  12. 0.15.1

    Expandir

    Editoria OpenNavo Inclusão no Homebrew

    Adiciona controles independentes de acesso a ferramentas AI/MCP e melhora a fidelidade de cores, o salvamento e a recuperação.

    Mudanças
    Adiciona controles separados para AI integrada e MCP Tool local.Adiciona limites de etapas de AI e links diretos para documentos/camadas.Cria documentos em sRGB e corrige a renderização de cores Display-P3.Solicita confirmação antes de fechar abas, janelas ou o app sem salvar.Reduz pausas de recuperação/exportação e limita o recálculo do layout.

    OpenPencil 0.15.1

    Adiciona controles independentes de acesso a ferramentas AI/MCP e melhora a fidelidade de cores, o salvamento e a recuperação.

    • Adiciona controles separados de acesso para AI integrada e MCP Tool local.
    • Adiciona limites de etapas de AI e links diretos para documentos e camadas.
    • Cria novos documentos em sRGB e corrige a renderização de cores Display-P3.
    • Solicita confirmação antes de fechar abas, janelas ou o aplicativo com alterações não salvas.
    • Adia conexões com provedores e a leitura de credenciais até que recursos conectados sejam executados.
    • Reduz pausas durante a recuperação e a exportação e limita o recálculo do layout.

    Fonte: Lançamento oficial exato. Quem usa o SDK deve consultar a lista de alterações incompatíveis antes de atualizar integrações personalizadas; usuários do editor visual não precisam reescrever as vinculações do SDK.

    • Adia conexões com provedores/leitura de credenciais até executar recursos conectados.
  13. 0.15.0

    Expandir

    Editoria OpenNavo Inclusão no Homebrew

    Adiciona conversas salvas, bibliotecas, guias e WebMCP, com alterações no SDK.

    Mudanças
    Adiciona controles experimentais para desativar, inspecionar e editar o WebMCP.Salva localmente conversas com IA e prévias de anexos em vários documentos.Adiciona paleta de comandos, guias de tela e encaixe.Adiciona bibliotecas de componentes, variantes e recuperação de documentos.Adiciona uso e diagnósticos locais de IA, com retenção, exportação e limpeza.Atualiza tipos do MCP SDK, substituições do grafo de cena e vínculos do Vue SDK.

    OpenPencil 0.15.0

    Adiciona conversas salvas, bibliotecas, guias e WebMCP, com alterações incompatíveis no SDK.

    • Adiciona controles experimentais para desativar, inspecionar e editar o WebMCP.
    • Salva localmente conversas com IA e prévias de anexos em vários documentos.
    • Adiciona paleta de comandos, guias de tela e encaixe.
    • Adiciona bibliotecas de componentes, variantes e recuperação local de documentos.
    • Adiciona uso e diagnósticos locais de IA, com controles de retenção, exportação e limpeza.
    • Atualiza tipos do MCP SDK, substituições do grafo de cena e vínculos do Vue SDK.

    Fonte: Lançamento oficial. Quem usa o SDK deve consultar a lista de alterações incompatíveis antes de atualizar integrações personalizadas; usuários do editor visual não precisam reescrever os vínculos do SDK.

  14. 0.14.0

    Expandir

    Editoria OpenNavo Inclusão no Homebrew

    Adiciona exportação editável para PowerPoint e web, vetorização, armazenamento e mais recursos de automação.

    Alterações
    Exporta PPTX editável; camadas complexas podem ser incorporadas como imagens.Importa HTML/CSS/Tailwind/JSX e exporta HTML independente.Adiciona vetorização de imagens com Recraft ou fal.ai.Adiciona descoberta privada de Unix-socket MCP e acesso restrito a arquivos.

    OpenPencil 0.14.0

    Adiciona exportação editável para PowerPoint e web, vetorização, armazenamento e mais recursos de automação.

    • Exporta PPTX editável; camadas complexas podem ser incorporadas como imagens.
    • Importa HTML/CSS/Tailwind/JSX e exporta HTML independente.
    • Adiciona vetorização de imagens com Recraft ou fal.ai.
    • Adiciona armazenamento compatível com S3, com salvamento local prioritário e sincronização em segundo plano.
    • Adiciona descoberta privada de Unix-socket MCP e acesso restrito a arquivos.
    • Melhora a I/O de arquivos .fig grandes, a fidelidade do layout e a resolução de fontes.

    Fonte: Versão oficial exata. Quem usa o SDK deve consultar a lista de alterações incompatíveis antes de atualizar integrações personalizadas; quem usa o editor visual não precisa reescrever as vinculações do SDK.

    • Adiciona armazenamento compatível com S3, com salvamento local prioritário e sincronização em segundo plano.
    • Melhora a I/O de arquivos .fig grandes, a fidelidade do layout e a resolução de fontes.
  15. 0.13.2

    Expandir

    GitHub Release Inclusão no Homebrew

    Changed

    • Update the Homebrew install command to use the published openpencil cask.

    Fixes

    • Fix the published MCP package so global installs include the openpencil-mcp and openpencil-mcp-http launchers required by desktop app integrations.
  16. 0.13.1

    Expandir

    GitHub Release Inclusão no Homebrew

    Changes

    Fixes

    • Fix the npm package contents for the CLI so Bun installs include the built openpencil binary and runtime bundle.
  17. 0.13.0

    Expandir

    GitHub Release

    Changes

    Fixes

    • Fix the published CLI package so Bun global installs run the built openpencil binary instead of raw TypeScript sources.
    • Greatly improve importing Figma .fig files with complex component systems: badges, avatars, icons, links, input fields, lists, date pickers, nested instances, component swaps, and variant properties now open much closer to their original Figma appearance.
    • Fix missing or white content in imported .fig files caused by unresolved Figma variable bindings, including image/avatar badges, icon colors, text colors, and variable-backed component overrides.
    • Preserve more Figma document details when opening and saving .fig files, including internal component pages, component ordering, page metadata, canvas backgrounds, text layout, glyph rendering, vector geometry, effects, shadows, and instance overrides.
    • Keep user edits after opening an imported .fig file: changing size, position, fills, text, or layout now wins over preserved Figma round-trip data when the document is saved again.
    • Fix .fig exports so files reopened in Figma or OpenPencil keep their pages, components, instances, text wrapping, icons, avatars, and preview thumbnail intact.
    • Fix live canvas updates during move/resize/edit previews so visible scene changes repaint immediately.
    • Fix accidental duplicate creation when Alt-clicking without dragging.
    • Fix MCP startup in the browser.
    • Fix CanvasKit loading outside the browser when project paths contain spaces.
    • Render imported Figma layer and fill blend modes such as multiply, screen, overlay, difference, hue, saturation, color, and luminosity.
    • Render common imported Figma mask stacks so visible layers above alpha, vector, or luminance masks are clipped by the mask shape, including consecutive mask layers.
    • Render Figma-style smoothed rectangle corners, including independent corner radii, and effect blend modes from imported Figma files.
    • Improve imported tiled image fills by applying Figma image transforms when repeating image patterns.
    • Keep imported Figma boolean operations editable as boolean-operation nodes instead of flattening them to vectors.
    • Apply imported variable font axes from Figma fontVariations when rendering text.

    Performance

    • Open large .fig files faster by deferring work for pages you have not viewed yet while still preparing all needed content before export.
    • Improve canvas responsiveness during zooming, panning, dragging, and editing by reusing cached scene backing where safe.
    • Speed up .fig export for documents with many preserved Figma paint and variable payloads.
  18. 0.12.2

    Expandir

    GitHub Release Inclusão no Homebrew

    Changes

    Added

    • Allow OpenRouter users to enter any model ID from provider settings with cached autocomplete suggestions for tool-capable models, while keeping the curated dropdown as the default when no custom model is set.

    Changed

    • Use localized app tooltips instead of native browser titles across editor controls, panels, and menus.
    • Update Claude Code MCP setup documentation and the docs landing screenshot.
    • Ignore non-source Markdown files in the app dev watcher so documentation edits do not reload the running editor.

    Fixes

    • Route Claude Code stdio MCP requests through the live OpenPencil app connection, including immediate disconnected errors when no document is connected.
    • Keep MCP disconnected guidance focused on starting OpenPencil and opening a document.
    • Improve agent-rendered JSX compatibility with Figma-style text, alignment, and rotation aliases; strip HTML comments; and report unsupported props from render tools.
    • Load exact text font styles after MCP and AI tool mutations so newly created bold/weighted text renders immediately.
    • Include text style fields in MCP get_node output so agents can verify generated text accurately.
    • Keep provider settings tooltip/popover composition working in WebKit.
  19. 0.12.1

    Expandir

    GitHub Release

    Fixes

    • Fix .fig round-trips for OpenPencil component sets and variable bindings, and recompute imported layouts after opening documents.
    • Report desktop/MCP package version mismatches explicitly and include package-manager-aware install guidance from the MCP server.
    • Support scoped MCP save_file({ path }) workflows while keeping file saving in the desktop app.
    • Use native Tauri path handling for save parent directories so Unicode and Windows paths are handled correctly.
    • Fix the web font picker so Google Fonts remain available in Safari, local font access is requested on first open when supported, font sources are labeled, and Google font previews load lazily for visible rows.
    • Fix background blur rendering so it blurs the backdrop behind a layer instead of applying a no-op content filter, and keep effect parameter controls visible in the properties panel.
  20. 0.12.0

    Expandir

    GitHub Release

    Added

    • Assets panel — browse, search, and insert document components directly from the left sidebar.
    • Component variants — switch instance variants from the right inspector; default variant respects property definitions.
    • Figma library metadata — component keys, source libraries, version IDs, descriptions, and docs links are preserved on import/export.
    • Desktop file associations — double-click .fig or .pen files in Finder/Explorer to open them in OpenPencil.
    • Auto-update — startup update checks and a Check for Updates menu item on desktop.
    • Light theme with theme-aware canvas rulers.
    • PDF export — available in the export panel, CLI (--format pdf), and MCP.
    • SVG import tool for automation workflows.
    • DeepSeek AI provider.
    • Variable modes — create, rename, duplicate, delete, and set defaults per collection.
    • Variable binding controls for fills, strokes, sizing, min/max, and typography fields.
    • Auto-layout inspector controls for min/max dimensions, auto gap, wrap gap, and two-axis padding.
    • Stroke dash/gap controls.
    • Font settings — local font access, fallback predownloads, and downloaded font cache management.
    • Editor commands for frame selection, paste to replace, Boolean operations, flatten, outline text, and outline stroke.
    • Boolean operations panel control and canvas context-menu entries for flattening and outlining supported selections.

    Changed

    • Smaller domain modules across core, app, Vue SDK, CLI, MCP, docs, and desktop with enforced package boundaries.
    • Separate scene and overlay canvas layers — rulers, labels, and selections no longer cause scene redraws.
    • Shared menu schema between browser and native Tauri menus.
    • Editor command metadata now drives shortcut display across browser menus, native menus, tooltips, and context menus.
    • Text-to-vector conversion now uses shared loaded-font outline geometry across Boolean, flatten, and outline commands.

    Fixes

    • Fix .fig export of component variant properties and text stretch alignment so designs round-trip correctly through Figma.
    • Fix CJK and Arabic text rendering — fallback fonts now load before the first paint instead of showing blank text.
    • Fix large .fig files freezing on open — parsing runs in a worker, and the viewport fits to content after loading.
    • Improve Figma import fidelity — variable aliases, nested instances, avatar swaps, badge internals, and input text alignment are preserved.
    • Improve Figma export fidelity — flipped vectors, stroke geometry, visual overflow, and stroked-shape drop shadows are preserved.
    • Fix variant switching so instances update their contents, not just the component reference.
    • Fix text editing inside components and instances on double-click.
    • Fix paste into selected containers and entered frames.
    • Fix clipboard parsing to safely ignore invalid data.
    • Fix undo/redo for duplicate, state restore, and modifier-key release.
    • Prevent browser from intercepting app-level undo/redo shortcuts.
    • Fix font loading and bundled font resolution.
    • Show the startup loader until fonts load and the first render completes.
    • Improve light theme polish and canvas ruler colors.
    • Normalize browser zoom speed.
    • Fix variable picker popovers and color binding swatches.
    • Fix dashed strokes on vector nodes and gradient fills on text.
    • Fix inner shadow rendering on text nodes.
    • Fix imported Figma-derived underlined text rendering.
    • Fix exponential .fig file growth on repeated save/load cycles.
    • Fix opening large .fig files so every page populates component instances, preventing missing nested content when switching pages.
    • Fix canvas size badges scaling with zoom.
    • Fix layout inspector dropdown anchoring and spacing/padding icon clarity.
    • Fix section drawing and color input forwarding in the property panel.
    • Fix asset insertion coordinates inside entered containers.
    • Fix MCP stdio handshake and eval return values.
    • Fix @open-pencil/vue npm imports referencing an unexported core subpath.
    • Fix Figma clipboard text compatibility — pasted OpenPencil text keeps editable fixed bounds, line wrapping, baselines, glyph offsets, and Figma edit-mode layout.
    • Fix local font matching so requested upright and weighted faces do not fall back to italic or regular faces.
    • Fix CanvasKit paragraph rendering to preserve requested text weights and slants.
    • Fix nested text editing interactions — drill double-click enters nested text edit mode, and clicking another text node switches edit targets while editing.
    • Fix auto-height text edit commits so text bounds and undo state stay in sync.
    • Fix Boolean, flatten, and outline operations to reject unsupported image/complex-script sources safely instead of silently dropping geometry.
    • Fix outline stroke enablement for stroked descendants inside groups and containers.

    Performance

    • Event-driven canvas rendering — scene and overlay layers only repaint when their inputs change, replacing continuous polling.
    • Shared RAF scheduler coalesces scene and overlay frames into a single animation frame per editor.
    • Font-family fallback arrays and downloaded remote fonts are cached to avoid repeated work.
    • WebGL draw-call instrumentation only runs while the profiler is active.
    • Instance override resolution is cached and .fig pages load lazily for large files.
    • Live drag/resize uses repaint-only previews to skip layout during interaction.
  21. 0.11.8

    Expandir

    GitHub Release

    Fixes

    • Fix MCP server not spawning on Windows — use cmd /c to resolve .cmd wrappers from npm global installs
    • Fix MCP server and automation WebSocket not connecting on Windows/Linux — inline __TAURI_INTERNALS__ check at call time instead of using stale module-level IS_TAURI constant
    • Fix shell PATH not inherited by GUI app on macOS/Linux — add fix-path-env-rs to read shell config

    Full changelog: https://github.com/open-pencil/open-pencil/blob/master/CHANGELOG.md

  22. 0.11.7

    Expandir

    GitHub Release

    Features

    • Add stdio transport for MCP server — openpencil-mcp now works as a proper stdio MCP server for Claude Code, Cursor, etc. HTTP server available as openpencil-mcp-http.
    • Default canvas background to dark when system prefers dark color scheme
    • Add list_available_fonts MCP tool for font discovery
    • Copy node ID / XPath from context menu; CLI selection command
    • Arrow key nudge for selected nodes (1px, Shift+arrow for 10px)
    • JSX renderer: position="absolute", top, left props for absolute children inside auto-layout containers
    • MCP server sends notifications/tools/list_changed when the desktop app connects or disconnects
    • Headless text measurement via opentype.js per-glyph advance widths — no CanvasKit needed
    • Add open_file and new_document MCP tools with OPENPENCIL_MCP_ROOT path scoping
    • Optional path param on export_image, export_svg, get_jsx — write output to disk instead of returning base64/string
    • Multi-root JSX support — multiple top-level elements auto-wrapped in a fragment
    • Component and Instance tag aliases in JSX renderer
    • JSX prop reference doc — copy to clipboard via book icon in Code panel
    • Prompts (CODEGEN_PROMPT, JSX_REFERENCE) moved from embedded strings to markdown files

    Fixes

    • Fix Backspace not deleting selected nodes after clicking on canvas — canvas now receives focus on click so keyboard shortcuts aren't blocked by stale input focus
    • Support Cmd/Ctrl+click for additive multi-select in layers panel (previously only Shift+click worked)
    • Fix macOS Tauri build — move NSAllowsLocalNetworking ATS config from invalid tauri.conf.json property to a proper Info.plist file
    • Fix tab order and keyboard handling in inspector panel
    • Fix design token variables not resolved before passing to yoga-layout
    • Suppress keyboard shortcuts while editing property panel inputs
    • Fix tooltip competing with popover trigger on Windows
    • Fix hit area for nodes with rotated parents
    • Error toasts auto-dismiss, deduplicate, and cap stack at 5
    • Bump yoga-layout to 3.3.0-grid.3 with Node.free() support
    • Bump PWA precache limit for canvaskit-webgpu
    • Fix color picker dragging flooding the undo stack — fill/stroke/effect color and opacity drags now collapse into a single undo entry per interaction via debounced batching in PropertyListRoot
    • Fix .fig import crash on alias variables without a GUID
    • Fix save_file crash on vectors with missing tangent control points — default to straight segments
    • Validate create_vector path JSON upfront with clear error messages for malformed input
    • Fix MCP/AI tools rejecting string-encoded numeric arguments from MCP clients ("42" → 42)
    • Fix "Create Instance" context menu item always grayed out — inverted disabled flag
    • Show "Create Instance" instead of "Create Component" in context menu when a component is selected
    • Fix headless layout: use stored .fig dimensions instead of rough text size estimates (26K → 11K mismatches on material3.fig)
    • Fix --help output with huge vertical gaps between commands — remove inline examples from query description
    • Fix openpencil-mcp npm package missing dist/stdio.js — explicitly list entry points in tsconfig
    • Show toast when MCP server fails to start instead of silently swallowing the error
    • Fix provider settings popover not appearing — tooltip wrapper broke floating-ui positioning
    • Fix set_font_range producing invalid style runs that crash .fig export — use applyStyleToRange, apply color and fontWeight from style name
    • Fix MCP "app not connected" error — message now instructs the agent to stop and inform the user
    • Fix external links in AI panel blocked by Tauri ACL — use opener plugin instead of shell
  23. 0.11.6

    Expandir

    GitHub Release

    Fixes

    • Switch @open-pencil/core build from tsgo + fix-esm-import-path to tsdown — fixes bare directory imports that broke Node.js and Bun consumers
    • Fix published npm packages resolving to TypeScript source instead of compiled JavaScript — publishConfig.exports overrides are now applied during CI publish
    • Fix Windows CI build failures caused by backslash file paths in custom lint rules
  24. 0.11.5

    Expandir

    GitHub Release

    Fixes

    • Fix published npm packages resolving to TypeScript source instead of compiled JavaScript — publishConfig.exports overrides are now applied during CI publish
    • Fix Windows CI build failures caused by backslash file paths in custom lint rules