Skip to content
All changes

Release

After 0.4.3 - What Changed and How to Upgrade

@venizia/dev-configs, @venizia/ignis-inversion, @venizia/ignis-filter, @venizia/ignis-helpers, @venizia/ignis-boot, @venizia/ignis-kernel, @venizia/ignis-connectors, @venizia/ignis-worker, @venizia/ignis · 0.4.3

Changelog - 2026-10-26 ​

NOTE

devz codemod model-settings, named on this page, was removed in @venizia/dev-configs 0.4.7-5; on that release or later it exits 2 as an unknown codemod. Run it from an earlier release, or move the keys by hand with the table in the old @model keys are removed.

After 0.4.3: what changed and how to upgrade ​

Security Breaking Change Behavior Change New Feature

In one line. 0.4.4 fixes a secrets leak after a failed rotation, removes the deprecated skipMigrate key, adds a datasource family for engines that only run SQL, adds a test helper that proves an application boots without infrastructure, and adds two codemods that clean up casts and string unions. Update the packages together; the rest needs no action.

What changed ​

Each row links the entry with the details.

GroupChangeEntry
SecurityAfter a failed onSecretRotated() a datasource kept the rotated user and password in its settings when those keys were not there before. The restore now removes themFailed rotation left credentials in settings
Behavior changeThe dev-configs tsconfig presets use module: esnext and moduleResolution: bundler, so a package whose type is unset typechecks against the ES-module-only IGNIS packagesConsumers resolve IGNIS through bundler resolution
BreakingskipMigrate is removed from @model; the decorator throws on it and names migration: { use: false }. devz codemod model-settings rewrites itskipMigrate is removed
Behavior changedevz codemod model-settings --check exits 1 while a model is left untouched, and reports @model(options) and aliased decoratorsdevz codemod
Feature@venizia/ignis-connectors/raw-sql: a datasource and repository base for an engine that runs SQL text and returns rowsRaw SQL datasource
Featuredevz check catalog, devz check module-cycles and devz check split-report run the catalog guard, the cycle list and the split report from dev-configsdevz check catalog, module-cycles, split-report
Feature@venizia/dev-configs/testing adds spawnSyncBounded and useRepoTmp, and @venizia/dev-configs/testing/tmpdir-preload keeps a bare bun test out of the system temp (as --preload in a package's test script, or from the root)dev-configs testing export
Featuredevz check purity --claims <file> and the @venizia/dev-configs/checks export run the browser-purity gate from dev-configsdevz check purity
FeatureassertApplicationBoots in @venizia/ignis/testing runs an application's real boot with no database, port or network. New apps get src/boot.test.tsassertApplicationBoots
Featuredevz codemod drop-redundant-casts removes the as X casts the compiler no longer needs, and devz codemod const-classes turns a string-literal union in an exported type into a const classdevz codemod
Fixenable is optional on middleware options; the middleware types say what is installed; devz codemod names a path it cannot readmiddleware enable and codemod empty path

Upgrade checklist ​

Do these in order.

  1. Update every @venizia/* package together to 0.4.4. IGNIS packages pin each other exactly, so a partial update leaves two copies of a package.
  2. IGNIS 0.4.4 runs on Bun >= 1.4 and ships ESM only. Extend @venizia/dev-configs/tsconfig.common.json (a package that emits CommonJS with tsc from it sets module and moduleResolution to nodenext itself; it carries module: esnext, moduleResolution: bundler, noUncheckedSideEffectImports: false), or set those three in your own tsconfig. Import hono/context-storage with a plain import. Prefer not to mock @venizia/* modules in tests at all; if you must, spread the real module and override only what you need, never hand-write constants. Details: Consumers resolve IGNIS through bundler resolution.
  3. Replace skipMigrate. The decorator throws on it now. The codemod writes migration: { use: false } for skipMigrate: true and removes skipMigrate: false:
bash
bunx devz codemod model-settings           # dry run: lists the files, writes nothing
bunx devz codemod model-settings --write   # rewrites them
bun fmt && bun run typecheck               # tidy the formatting, then check
  1. Fix what the codemod prints. It leaves a value it cannot read for sure (a variable, a shorthand) and names the file and line. If a script runs devz codemod model-settings --check, it now fails while a model is left for you to fix by hand. Tooling that reads metadata.skipMigrate from the registry should read metadata.migration?.use !== false.
  2. Optional: run the new codemods when you want them. Both are dry runs until you pass --write:
bash
bunx devz codemod drop-redundant-casts   # lists the casts the compiler no longer needs
bunx devz codemod const-classes          # lists the string unions it would turn into const classes
  1. Optional: add the boot test to an existing app. New apps created from the ignis preset already have src/boot.test.ts; an existing app copies it from Prove the Application Boots.
  2. Rotating secrets through Vault or calling onSecretRotated()? Nothing to do: the leak is closed. Releases 0.2.0 to 0.4.3 had it, so check what logged or read the datasource settings after a failed rotation.

Who is affected ​

  • Apps that rotate database credentials. Step 7.
  • Scripts that call devz codemod --check. Step 4.
  • Apps with a model that sets skipMigrate, or tooling that reads metadata.skipMigrate. Step 3.
  • Apps that want the boot test. Step 6.
  • Everyone else. Update the packages together; no other change is needed.