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 FeatureIn 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.
| Group | Change | Entry |
|---|---|---|
| Security | After 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 them | Failed rotation left credentials in settings |
| Behavior change | The dev-configs tsconfig presets use module: esnext and moduleResolution: bundler, so a package whose type is unset typechecks against the ES-module-only IGNIS packages | Consumers resolve IGNIS through bundler resolution |
| Breaking | skipMigrate is removed from @model; the decorator throws on it and names migration: { use: false }. devz codemod model-settings rewrites it | skipMigrate is removed |
| Behavior change | devz codemod model-settings --check exits 1 while a model is left untouched, and reports @model(options) and aliased decorators | devz codemod |
| Feature | @venizia/ignis-connectors/raw-sql: a datasource and repository base for an engine that runs SQL text and returns rows | Raw SQL datasource |
| Feature | devz check catalog, devz check module-cycles and devz check split-report run the catalog guard, the cycle list and the split report from dev-configs | devz 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 |
| Feature | devz check purity --claims <file> and the @venizia/dev-configs/checks export run the browser-purity gate from dev-configs | devz check purity |
| Feature | assertApplicationBoots in @venizia/ignis/testing runs an application's real boot with no database, port or network. New apps get src/boot.test.ts | assertApplicationBoots |
| Feature | devz 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 class | devz codemod |
| Fix | enable is optional on middleware options; the middleware types say what is installed; devz codemod names a path it cannot read | middleware enable and codemod empty path |
Upgrade checklist
Do these in order.
- 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. - 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 withtscfrom it setsmoduleandmoduleResolutiontonodenextitself; it carriesmodule: esnext,moduleResolution: bundler,noUncheckedSideEffectImports: false), or set those three in your own tsconfig. Importhono/context-storagewith a plainimport. 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. - Replace
skipMigrate. The decorator throws on it now. The codemod writesmigration: { use: false }forskipMigrate: trueand removesskipMigrate: false:
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- 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 readsmetadata.skipMigratefrom the registry should readmetadata.migration?.use !== false. - Optional: run the new codemods when you want them. Both are dry runs until you pass
--write:
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- Optional: add the boot test to an existing app. New apps created from the
ignispreset already havesrc/boot.test.ts; an existing app copies it from Prove the Application Boots. - 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 readsmetadata.skipMigrate. Step 3. - Apps that want the boot test. Step 6.
- Everyone else. Update the packages together; no other change is needed.