v0.2.1
Patch release. Three packages bumped in lockstep and published to npm with provenance:
bazilion@0.2.1— CLI + bundled daemon@bazilion/client@0.2.1— hermetic HTTP client@bazilion/api-types@0.2.1— zero-dep wire types
What's fixed
bazilion@0.2.0 was unusable: npx bazilion serve crashed before the daemon could bind a port.
$ npx bazilion serve
starting bazilion daemon at http://127.0.0.1:4321
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'sqlite' imported from .../node_modules/bazilion/dist/daemon.js
Two bugs in apps/cli/tsup.config.ts, both build-pipeline only — no source-code changes:
node:sqliteprefix stripped from the bundle. esbuild's hardcoded known-builtins list predatesnode:sqlite(Node 22+). It auto-externalizesnode:imports before pluginonResolvehooks can intercept them, then strips the prefix at print time — sofrom 'node:sqlite'shipped asfrom "sqlite"and Node tried to resolve a userspace package that doesn't exist. No esbuild flag forces the prefix to stay; the fix is a post-build string replace in tsup'sonSuccesshook.- SQL migrations not staged into
dist/.migrate.tsreads them relative toimport.meta.url(i.e.dist/migrations/), but tsup only emits JS — the.sqlfiles were never copied. The published 0.2.0 had this bug too; the sqlite crash just masked it. The sameonSuccesshook now stagesapps/daemon/src/core/db/migrations/*.sqlintodist/migrations/.
Verified with a clean BAZILION_HOME: node dist/cli.js serve boots, auto-bootstraps ~/.bazilion, writes auth.json, listens on the port, and /api/health returns 200.
Release-flow change
.github/workflows/release.yml now sets createGithubReleases: false on changesets/action@v1. From here on, the Releases page only shows the hand-crafted umbrella tags (v0.2.0, v0.2.1, …) with curated highlights and compare links — no more parallel per-package GitHub releases cluttering the page (the npm publishes and git tags are unaffected).
Install
npx bazilion serveUpgrading from 0.2.0
No breaking changes, no migrations, no API changes — just a working bundle. If you tried npx bazilion@0.2.0 and hit the Cannot find package 'sqlite' crash, clear your npx cache or pin the new version explicitly:
npx bazilion@0.2.1 serve
# or
npx --yes bazilion@latest serveNotes
- Requires Node 22.12+.
Full changelog: v0.2.0...v0.2.1