Skip to content

bones 2.0.0

Choose a tag to compare

@an-dr an-dr released this 12 Oct 22:07
· 36 commits to main since this release

Engine 2.0.0 adds the optional desktop application shell: single-instance handoff, desktop registration, application-side upgrades, and devtools control.

  • Embed through bones-kernel; the previous core is now bones-kernel-infra.
  • Enable optional native capabilities individually and configure them at the application composition root.
  • bones-launcher selects and starts installed applications. bones-module-upgrade owns release checks, downloads, installation, retention, and rollback.
  • bones-versioning shares strict SemVer semantics through the third-party semver crate. Repeated installations use version~instance folders; legacy hyphen suffixes are interpreted as prereleases.
  • The hello extension is now the first-extension example and test fixture. Release bundles ship an empty extensions/ directory.

The message/SDK ABI line is 1.2.0. The WIT interface remains bones:extension@1.0.0; existing upgrader/* topics retain their wire contract.

Migration: replace bones-engine imports with bones-kernel, use the kernel's upgrade feature and .upgrade(config), replace the control feature with devtools, and move standalone update calls to UpgradeModule methods. Versions require all three SemVer core numbers. Recovery uses --previous to launch the older application before it performs rollback.

Validation: workspace formatting, strict Clippy, default and all-features tests, standalone contract/SDK tests, strict documentation, launcher process tests, and the self-updating example smoke test passed. The attached binary bundle targets Windows ARM64; its SHA-256 file covers the uploaded archive.