Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .changeset/compiler-wasm-graph.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/vite-server-protocol-imports.md

This file was deleted.

16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# zyzz

## 0.0.34

### Patch Changes

- 07f0d3f: Added `zyzz/compiler/wasm`, which compiles web source graphs in browsers and Cloudflare Workers without the native addon. `Graph.create` takes the `zyzz/compiler.wasm` module, compiled or as bytes, and its `compile` takes the web options of `Graph.compile` and returns the same output. Failures throw `Graph.CompileError` with the native error's name, message, and diagnostics.

```ts
import { Graph } from 'zyzz/compiler/wasm'
// Workers import a `.wasm` file as a compiled module
import module from 'zyzz/compiler.wasm'

// Links a consumer to a library contract without the native addon
const output = Graph.create({ module }).compile({ contracts, imports, modules })
```
- d289c1e: Fixed Vite analysis of server-only protocol imports such as `cloudflare:workers` before TanStack Start removed them from client code. Resolvable protocol imports remained available for static style analysis, and unresolved ordinary file and package imports continued to report errors.

## 0.0.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"packageManager": "pnpm@11.19.0",
"[!start-pkg]": "",
"name": "zyzz",
"version": "0.0.33",
"version": "0.0.34",
"license": "MIT",
"description": "Modern, universal, simple styling library for the Web and React Native",
"homepage": "https://zyzz.style",
Expand Down
Loading