Skip to content

Litria 1.1.0

Choose a tag to compare

@DalL337 DalL337 released this 04 Oct 02:58
· 139 commits to main since this release
5b11589

The canvas gets a structural grid. Nodes land on a lattice instead of wherever the mouse let go, smart guides show alignment while you drag, and the grid is saved with the project. This release also fixes three ways v1.0.9 could change or delete files you never asked it to touch.

⚠️ Data-loss fixes — please update

Renaming an open file no longer rewrites its importers. In v1.0.9, renaming or moving a file that was open in a tab rewrote every import of it, on disk and in closed files too.

  • Multi-line imports were left half-replaced, which is a syntax error.
  • Aliases and names Litria wasn't tracking were dropped.
  • Quote and extension style changed.
  • Imports found when the project opened were replaced with import { /* TODO: select symbol */ }.

A rename now changes only the path in each from '…' and leaves the rest of the statement as you wrote it. When no import matches, nothing is written.

Deleting or moving a link acts on the link. Deleting, moving or removing an empty folder through a symbolic link or junction acted on the link's target. Deleting a link that pointed back to the project root deleted the project. Now the selected entry itself changes, even when the link is dangling.

Opening a project no longer writes into your files. When discovery didn't recognize an import, such as the directory import './utils', it could insert a TODO: select symbol stub. For a closed file, that stub went straight to disk with no undo. Discovery now records wires without writing. Code edits from a wire also check both files' languages, so a Python-to-TypeScript wire can no longer write a JavaScript import into the wrong file.

New: structural grid

  • Nodes land on the grid. Each workspace has a three-level grid (100 · 20 · 10 by default), saved with the project.
    • Flex, the default, docks against neighbors as before and otherwise lands on the finest grid point.
    • Strict lands only on major intersections and never docks flush.
    • A drop never overlaps another node, and a move is one undo step.
  • Smart guides show when a node lines up with another node's edge or center. In Flex, a node pulls into line from 6 pixels away.
  • Settle slide. A dropped node slides onto its grid point in 150 ms by default, and follows your system's reduce-motion setting.
  • Grid settings. The canvas HUD has a new Grid widget, and Preferences has a matching Grid section. Both hold placement mode, guides, settle time and easing, which line levels show, line color, per-theme opacity, and the origin marker. Every HUD section now folds to its title row.
  • Existing layouts stay where they are. Opening a project moves no node and writes nothing back. A node joins the grid the next time you move it.
  • Folder groups. Opening some projects no longer fails with UNIQUE constraint failed: groups.id. New empty folders get their own boxes, laid out apart instead of piled on one spot. Dragging a group now carries its empty subfolders with it.

New

  • Logs ▸ Open folder opens the build-log or crash-record folder for the tab you're on.
  • Language-server installs show progress and can be cancelled. A cancel says "Nothing was installed".
  • The New Project wizard checks your machine before Create. A package manager the run would refuse, such as one that isn't installed or Yarn Classic, shows as disabled with the reason, before any network call. A Tauri project on a machine without Rust can still be created, and the review page says what running it needs.
  • Yarn with Angular. The wizard now offers Yarn for Angular projects on Windows. Yarn with shadcn or a router stays disabled for now: Yarn 4's one-day release gate blocks the packages shadcn installs while they are new.
  • Withhold from AI agents. A new Preferences setting lists paths an AI agent connected to Litria may never read, on top of the built-in rules. Agent connections are still in development, so the setting has nothing to restrict yet.

Fixed

  • Opening and switching projects. Litria checks the new path before closing the current project, so a deleted recent project or a typo leaves you where you were. An open that fails later lands on the launcher with the error, and the project switcher now reports failures.
  • Discard resets the node too. A discarded edit no longer lingers on the canvas node, where a later restore could bring it back.
  • Wires stay accurate after file operations. Wires from a deleted file turn broken, and a moved file's importers resolve at once. Closing a tab keeps the file indexed, so its wires stay healthy.
  • TypeScript-only symbols are no longer offered to, or written into, plain JavaScript files.

Compatibility

Workspace databases move from schema v3 to v4 the first time 1.1.0 opens them. The step is additive: v1.0.9 can still open a v4 workspace and ignores the grid.

Under the hood

  • Project API groundwork: a read-only interface for AI agents (ADR-031, ADR-033). It is registered in debug builds only, so this release exposes none of it.
  • Grid design record: ADR-030.
  • Dependencies and CI: React 19.3. Rust tests now run on Linux and macOS for every pull request. Scaffold tool pins refreshed, with all 66 recorded scaffold combinations re-run on Windows.

The full list of changes is in RELEASE_NOTES.md.

Install

Builds are unsigned, so your OS will warn on first run. See First run (unsigned builds) for the per-platform steps.

Windows is the only platform a human has run end-to-end this cycle. The macOS and Linux artifacts compile and pass their test suites in CI, but nobody has clicked through them.