Changelog - 2026-11-02
After 0.4.6: what changed and how to upgrade
Breaking Change Behavior Change New Feature Bug FixIn one line. This round removes the old standalone function names (one codemod moves your calls), removes the old logger types, makes AES and RSA async, and puts Hash and the commit token on Bun. Update the packages together and follow the checklist in order.
What changed
Each row links the entry with the details.
| Group | Change | Entry |
|---|---|---|
| Breaking | 184 public functions moved into classes and their old names are removed, with no aliases. 39 of them took positional arguments and now take one options object. Error and log message tags that carried a function name now carry the class and method. devz codemod namespace-functions rewrites your calls | The old function names are removed |
| Breaking | ApplicationLogger, LoggerSlot, LoggerResolver, TLoggerResolver, ResolvedLogger and SHOULD_LOG_DEBUG are removed. LoggerFactory.getLogger([scope]) and LoggerFactory.use({ provider, level }) replace them, and ConsoleLogger.get takes the scope as a string | LoggerFactory in core |
| Breaking | MinIO support, StaticAssetStorageTypes.MINIO and readAffectedRowCount are removed | The old function names are removed (Manual steps) |
| Breaking | AES and RSA return promises and run over Web Crypto; input checks are stricter | AES and RSA run over Web Crypto |
| Breaking | LegacyAES, IPayloadCipher, DEFAULT_PAD_END and the cipher option of the JWS and JWKS token services are removed; data in the pre-PBKDF2 format has no reader any more | LegacyAES and the cipher option are removed |
| Breaking | The Envs alias is removed; applicationEnvironment and AppEnvs stay | The Envs alias is removed |
| Breaking | The 13 connector sub-paths of @venizia/ignis (/postgres, /sqlite, /search, /typesense, ...) are removed; import them from @venizia/ignis-connectors, which your app lists as a dependency. devz codemod connector-imports rewrites the specifiers | The connector sub-paths are removed |
| Breaking | A dozen exports nothing used are removed (TApplicationError, six filter types, the App constants, ReactEslintConfigs, isSqliteTransaction, two kernel metadata interfaces) | Exports that nothing used are removed |
| Breaking | isMailTransport and isValidMailOptions are MailTypeUtility.isTransport and MailTypeUtility.isValidOptions | Mail type guards |
| Breaking | @model no longer throws for defaultFilter, defaultLimit, maxLimit, scopeFilter or skipMigrate: a typed model fails the typecheck, an untyped one has the key ignored (a lost scopeFilter means no row scope). devz codemod model-settings is removed | The old @model keys are removed |
| Behavior change | Hash.digest, Hash.hmac and AssetCommitToken need Bun; the mail generators name a bad length or size | Hash and commit token need Bun |
| Behavior change | CredentialHelper.hash writes argon2id by default; algorithm: 'bcrypt' keeps bcrypt | CredentialHelper argon2id default and the class itself |
| Behavior change | The console is the default logger and @venizia/ignis selects Winston at initialize() when nothing was chosen; debug is decided by a gate read on every line; a Winston that is installed but cannot load prints one warning | LoggerFactory in core |
| Behavior change | devz codemod async-style, const-classes and drop-redundant-casts refuse --write without a path or --all; the async-style and namespace-functions codemods refuse a file with local changes | Codemod write needs a path |
| Behavior change | A search engine 400, 404, 409 or 422 throws the matching 4xx with the engine message, where it threw a 503; transport failures, 5xx, 401, 403, 408 and 429 stay a 503 | A search engine 4xx is not an outage |
| Behavior change | @venizia/ignis no longer declares pg, postgres, @electric-sql/pglite, @libsql/client, meilisearch and typesense as optional peers; @venizia/ignis-connectors declares them | Driver peers move to the connectors |
| Behavior change | TypesenseConnector.updateByFilter throws a 400 for an empty document; an ITypesenseClientLike you wrote yourself needs documents().exportStream | Typesense streaming export and call timeouts |
| Breaking (types) | IJWTTokenPayload.roles is optional (roles?: TJWTTokenRole[]); bun check flags every read of roles that does not check for it. Nothing changes at run time | roles is optional on the JWT payload |
| Behavior change | ISearchResult.facetCounts is typed (ISearchFacetCount[]) and camelCase: Typesense field_name and stats.total_values become fieldName and stats.totalValues, and Meilisearch gives one entry per field where it gave one raw record. search() also refuses a field the model hides in facetBy, facetQuery, queryBy, groupBy and the highlight fields, with a 400 | Search count, facets and suggest |
| Behavior change | devz codemod const-classes writes no comment above the class it creates | const-classes writes no comment |
| Fix | The Vite plugin runs under Node again; the artifact scan cache uses a pure hash, so the first build after the update misses the cache once | Vite plugin runs under Node again |
| Feature | ECDH can be imported from @venizia/ignis-helpers/core, so a browser and a server share one class | ECDH in the browser |
| Feature | Hash takes bytes and several parts | Hash takes bytes and parts |
| Feature | RecursiveTreeSql.walk takes several roots or none, one filter for both terms, and start: 'all' | Recursive tree roots and filter and Recursive tree start all |
| Feature | Opt-in lint rules and a codemod for async style (no-inline-await, no-return-await, the hook rules), plus no-await-promise-chain and no-silent-catch | Async style rules, no-await-promise-chain, Async style hoisted names |
| Feature | A shared kind in the IGNIS preset; the release plan re-releases @venizia/ignis when a tool of its preset changes; the app preset's boot.test.ts and hello.controller.ts now use the class forms (ApplicationBootAssertion.assert({ application }), OpenApiResponses.jsonContent) and the lib preset summary text changed | Shared preset kind and Release plan includes the preset catalog |
| Feature | TypesenseConnector.streamDocuments, excludeFields on export, timeoutMs per call and the createClient option | Typesense streaming export and call timeouts |
| Feature | TypesenseConnector.findDocument answers null for a missing document | findDocument |
| Feature | TypesenseConnector.importDocuments takes an opt-in throwOnFail that throws a 422 after the last batch | Import throwOnFail |
| Feature | TransactionDouble, PostgresTransactionDouble and SqliteTransactionDouble take connector, onCommit and onRollback | The transaction doubles take a connector |
| Feature | The search repository has searchCount, facets and suggest; Typesense tuning has typed camelCase names (ITypesenseTuning); a hybrid hit carries rankFusionScore and vectorDistance | Search count, facets and suggest |
| Feature | password on IRedisSingleHelperProps is optional | RedisSingleHelper takes no password |
Upgrade checklist
Do these in order.
- Update every
@venizia/*package together. IGNIS packages pin each other exactly, so a partial update leaves two copies of a package. - Commit your work, then run
bunx devz codemod namespace-functions(a dry run), thenbunx devz codemod namespace-functions --write <paths>. It refuses a file with local changes. It has no--all; with no path it walks the files git knows. It also movesApplicationLogger.get(...)toLoggerFactory.getLogger([...]). It lists, and never rewrites, a spread argument, an old name used as a value, a re-export, a name collision and an@/alias it cannot follow. - Fix by hand what the codemod listed and what the typecheck finds: direct
ConsoleLogger.get({ scope })calls (nowConsoleLogger.get(scope)), everyLoggerSlot.use({ resolver })(nowLoggerFactory.use({ provider, level })), MinIO uses (useBunS3Helperover the S3 API),readAffectedRowCount,Envs(useapplicationEnvironment), and any removed export listed in the entries above. Then runbunx devz codemod connector-imports --write <paths>and add@venizia/ignis-connectorsto your dependencies. - Decrypt anything stored with
LegacyAESand write it back withAESbefore you update, then removecipherfrom your token service options. Then addawaitto calls ofAESandRSAmethods. Check your own subclasses ofBaseCryptoAlgorithmand any override ofencryptPayloadordecryptPayloadtoo. The typecheck does not catch every call: one inside a template string, on ananytarget, in a JavaScript file, or left floating in atrywith noawaitcan slip through. - Search your tests, logs and alerts for the old message tags (see the list in the old-function-names entry) and update what matches.
- Call
Hashor build a commit token under Node, in a Vite config or in a browser? Move that code to Bun, or use Web Crypto there. - Run
bun checkand your gates, then decrypt a real stored value. Stored data still reads, and a real value is the proof. - Optional: adopt what is new. Use
CredentialHelperfor passwords,ECDHfrom/corein a browser, and the async-style lint rules (devz codemod async-style <path> --write). - Expect the first Vite build to miss the artifact scan cache once.
- Copied
boot.test.tsorhello.controller.tsfrom the app preset? The codemod rewrites the calls in your copy; nothing else to do. - Search your models for the old
@modelkeys.defaultFilter,defaultLimit,maxLimit,scopeFilterandskipMigratenext to@modelormodel(, in.jsfiles and inany-typed code too: the decorator no longer throws, so ascopeFilterleft in place means no row scope. Move each key by the table; there is no codemod. - Check what matches a search engine 503. A retry policy, alert or
catchthat matchescore.search_engine.dependency_unavailablefor a request the engine rejected now sees a 400, 404, 409 or 422. Retry only 5xx. - List your database or search driver in your own
dependencies.@venizia/ignisno longer declarespg,postgres,@electric-sql/pglite,@libsql/client,meilisearchandtypesenseas peers;@venizia/ignis-connectorsdoes (details). - Wrote your own
ITypesenseClientLike? AddexportStreamto itsdocuments(), and passcreateClientif you settimeoutMs. - Run
bun checkand handle a missingroles. Where code readsrolesfrom a verified token or fromAuthentication.CURRENT_USER, writepayload.roles ?? []; type a roles codec asIPayloadFieldCodec<TJWTTokenRole[]>; delete a cast that only hid the missing field (details). - Read
facetCountsanywhere? Renamefield_nametofieldNameandstats.total_valuestostats.totalValues; on Meilisearch, read one entry per field (counts: [{ value, count }]) instead offacetCounts[0]. Then check that nosearch()call names a hidden field infacetBy,facetQuery,queryBy,groupByor the highlight fields: it now throws a 400 (details).
Who is affected
- Callers of old standalone function names and old logger types. Steps 2-3.
- Callers of
AESorRSA, and holders ofLegacyAESdata. Step 4. - Callers of
Hashor builders of a commit token under Node, in Vite or in a browser. Step 6. - Owners of
@modelclasses and of search-engine error handling. Steps 11 and 12. - Apps that use a database or search driver, or wrote a Typesense client of their own. Steps 13 and 14.
- Code that reads
rolesfrom a JWT payload. Step 15. - Code that reads
facetCountsor facets on a hidden field. Step 16. - Everyone else. Update the packages together and run the codemod.