github CheckerNetwork/zinnia v0.22.1

latest releases: v0.24.2, v0.24.1, v0.23.0...
4 months ago

Highlights ✨

Upgrade Deno to 2.2.11 / 2025.04.18. This brings a ton of new features!

  • Zinnia can run TypeScript files now
    zinnia run main.ts
    
  • Global window was removed (see denoland/deno#22057)
  • Fetch API: Request.bytes() and Response.bytes()
  • WebCrypto API: import and export p521 keys, X448 support
  • Web API: Blob.prototype.bytes()
  • Import attributes & importing JSON files
    import data from "./data.json" with { type: "json" };
  • URL.parse()
  • ReadableStream.from() allows Iterable instead of IterableIterator
  • Float16Array
  • WASM module support
    const { add } = await import("math.wasm");
    const result = add(2, 3);
    assertEquals(result, 5);
  • Fix AbortSignal.timeout() leak
  • Fix potential leak of unread buffers
  • Prevent (De-)CompressionStream resource leak on stream cancellation
  • import.meta.filename and import.meta.dirname

Do not leak username to untrusted modules

We must not leak the filesystem structure when the code is running inside a sandboxed environment. The Checker App files are usually in the user's home directory. The full path includes the username, which is sensitive information we should not leak to untrusted modules. The modules should have access only to the path relative to the project (module) root.

Before:

file:///Users/bajtos/Library/Caches/app.filstation.desktop/sources/spark/main.js

After:

file:///ZINNIA/main.js

Upgrade Rust to 1.85

What's Changed

Full Changelog: v0.21.1...v0.22.1

Don't miss a new zinnia release

NewReleases is sending notifications on new releases.