Skip to content

Somnia 12.0.1

Choose a tag to compare

@philppplik philppplik released this 10 Oct 23:19

Somnia 12.0.1

Hotfix release. 12.0.0 could start to a completely black window on every platform; 12.0.1 fixes the root cause. Everyone on 12.0.0 should update.

Fixes

  • Startup: black window on launch (all platforms). The extension manifest validator compiled its JSON schema at app start with runtime-generated code (ajv uses new Function), which Somnia's Content Security Policy correctly blocks. The renderer died before the first paint, leaving a black window. The manifest schema is now precompiled at build time and shipped as plain code. The CSP itself is unchanged and stays as strict as before - no unsafe-eval was added.
  • Extensions fail closed instead of crashing. A command argument schema that cannot be compiled under the CSP is now rejected with a clear diagnostic instead of taking down the calling path.

Known issues

  • Extensions that declare custom command argument schemas: calls into such commands are rejected with a clear error in this build, because runtime schema compilation requires unsafe-eval. A non-codegen validator arrives with 12.1.0. Extensions without custom argument schemas are unaffected.

Install

  • Windows: Somnia-v12.0.1-x64-setup.exe (NSIS) or Somnia-v12.0.1-x64.msi
  • macOS (Apple silicon): Somnia-v12.0.1-macos.dmg (or Somnia-v12.0.1-macos-aarch64.app.tar.gz)
  • Linux: Somnia-v12.0.1-amd64.AppImage or Somnia-v12.0.1-amd64.deb

Install directly over 12.0.0 - projects, drafts and settings carry over. macOS verification details are in macos-verification.txt.

Checksums

SHA-256 hashes for every installer are in SHA256SUMS.txt.

Vibed with @somnia-agent 💙