Skip to content

Releases: wrxck/utopiajs

v0.5.0

11 Feb 21:19

Choose a tag to compare

What's New

<test> Block Support & @matthesketh/utopia-test

  • New <test> block in .utopia single-file components — tests live alongside component code
  • New @matthesketh/utopia-test package: mount(), render(), fireEvent, query helpers
  • Vitest plugin extracts <test> blocks into discoverable .utopia.test.ts files
  • utopia test CLI command wraps vitest with auto-plugin injection
  • Production safety: test blocks are never included in compiled output

llms.md — AI Agent Reference

  • Comprehensive framework guide for AI agents and LLMs
  • Verified comparisons with React, Vue, Svelte, SolidJS, and Angular
  • Full API reference for all packages

Security Hardening (PR #8)

  • Extracted all regexes to named constants across compiler, runtime, router, email, server, and AI packages
  • Hardened MCP handler with strict JSON-RPC validation
  • Added input validation and length limits throughout
  • Protected against ReDoS, XSS, and path traversal

Stats

  • 613 tests across 19 test files, all passing
  • 12 packages in the monorepo

v0.3.0

11 Feb 00:55

Choose a tag to compare

Full Changelog: v0.2.0...v0.3.0

v0.2.0

10 Feb 23:43

Choose a tag to compare

Full Changelog: v0.1.0...v0.2.0

v0.1.0

09 Feb 18:14

Choose a tag to compare

UtopiaJS v0.1.0

First stable API release of UtopiaJS — a compiler-first, signal-based UI framework.

Highlights

  • Stabilized APIs across all packages (core, compiler, runtime, router, server, AI, CLI)
  • 468 tests passing across 13 test files
  • Improved package metadata — proper exports, keywords, and repository fields for all packages

Packages

Package Version
@matthesketh/utopia-core 0.1.0
@matthesketh/utopia-compiler 0.1.0
@matthesketh/utopia-runtime 0.1.0
@matthesketh/utopia-router 0.1.0
@matthesketh/utopia-server 0.1.0
@matthesketh/utopia-ai 0.1.0
@matthesketh/utopia-cli 0.1.0
@matthesketh/utopia-vite-plugin 0.1.0
@matthesketh/utopia-email 0.1.0
create-utopia 0.1.0

Changes

  • Template compiler: Better attribute handling, dynamic class/style merging
  • Runtime: Error boundaries, improved component lifecycle, enhanced u-model directive
  • Router: Navigation guards, query param handling, scroll restoration
  • SSR: Streaming improvements, server router enhancements
  • AI adapters: Fixed Google/Ollama response parsing, MCP client robustness
  • Streaming: Better SSE parsing and error handling
  • create-utopia: Updated scaffolding for v0.1.0 dependencies

Install

npx create-utopia my-app