Changelog - 2026-07-05
Unified Repository & Connectors Architecture
Breaking Change New Feature EnhancementIn one line. You can now use Typesense search (and a memory engine for tests) next to Postgres, and existing Postgres code keeps working almost unchanged.
What changed
- Engine-neutral base.
AbstractRepository,AbstractDataSourceandAbstractEntityno longer import Drizzle,pgor any SQL type. - New Typesense connector. Full-text and faceted search with its own entity DSL (
defineSearchCollection/field), a repository ladder like the Postgres one, and a query dialect that translatesTFilter/TWhere. - New memory connector. A zero-dependency,
Map-backed engine for prototyping and tests.NOTE
The memory connector was removed on 2026-07-11. See Connectors Consistency Hardening.
- Capabilities. Every datasource has
getCapabilities(): { transactions: boolean }. Unsupported operations (transactions, row-level locks) throwNotSupported(HTTP 501). - Sub-path exports.
@venizia/ignisstill re-exports Postgres and memory.@venizia/ignis/postgres,@venizia/ignis/memoryand@venizia/ignis/typesenseare also available. Typesense is sub-path only, so it never enters a bundle that does not use it. - Naming. Canonical names are now family names (
Relational,Search). Old names (BaseDataSource,BaseEntity,BasePostgresDataSource,BasePostgresEntity,PostgresQueryOperators/RDBQueryOperators) still resolve to the same class. - New env transforms.
toDelimitedArrayandtoTrimmedparse list-shaped environment values in one read. - Typesense fixes. An empty
whereno longer produces a malformedfilter_byfragment, and collection provisioning no longer races a read-after-write check.
Who is affected
- Postgres-only apps. Almost nothing changes, but
ITransactionandapplicationEnvironment.getchanged (see breaking changes). - Users of the
@venizia/ignis-helperssearch-engine module. Update imports (breaking change 2). - Code reading
.connectoror.isolationLeveloff a transaction. Update the type annotation (breaking change 1). - Code calling
applicationEnvironment.get(key, defaultValue). Now a compile error (breaking change 4). - Clients matching the literal
"Method not implemented". Match onmessageCode(breaking change 3).
Breaking changes
ITransactionsplit. The neutralITransactionnow has onlyisActive,commit()androllback().connectorandisolationLevelmoved toIDatabaseTransactionin the Postgres connector. Code that never touches.connectoror.isolationLevelneeds no change.typescript// Before import { ITransaction } from '@venizia/ignis'; async function withTx(tx: ITransaction) { await tx.connector.insert(userTable).values({ name: 'Alice' }); } // After import { IDatabaseTransaction } from '@venizia/ignis/postgres'; async function withTx(tx: IDatabaseTransaction) { await tx.connector.insert(userTable).values({ name: 'Alice' }); }After upgrading, delete any
*.tsbuildinfocaches before rebuilding (find . -name '*.tsbuildinfo' -delete). Otherwisetsc --incrementalcan skip files that use the old shape and report a false green build.Search symbols moved. The
search-enginehelper module is gone from@venizia/ignis-helpers, with no re-export. It is now the Typesense connector in core. See the Search & Typesense guide.typescript// Before import { SearchClient, defineSearchCollection } from '@venizia/ignis-helpers'; // After import { TypesenseDataSource, BaseSearchEntity, defineSearchCollection, field, TSearchDocument, DefaultSearchRepository, } from '@venizia/ignis/typesense';Auth controller unimplemented-endpoint response changed. The status stays 501, but
/token/refresh,/who-am-iand/menow return amessageCodeand new message text. Message text is not a stable contract; match onmessageCode.json// Before { "statusCode": 501, "message": "Method not implemented" } // After { "statusCode": 501, "messageCode": "core.not_supported", "message": "[AuthController] refreshToken is not supported." }applicationEnvironment.gettakes an options object. A bareget(key, 'localhost')no longer type-checks.typescript// Before const host = applicationEnvironment.get(EnvironmentKeys.APP_ENV_TYPESENSE_HOST, 'localhost'); // After const host = applicationEnvironment.get<string>(EnvironmentKeys.APP_ENV_TYPESENSE_HOST, { defaultValue: 'localhost', }); // the new `transform` option parses a raw env string const tags = applicationEnvironment.get<string[]>(EnvironmentKeys.APP_ENV_FEATURE_TAGS, { transform: toDelimitedArray, defaultValue: [], });
Details
bun 1.3.14 can silently drop
@injectconstructor-parameter decorators when an app'stsconfig.jsononly inheritsexperimentalDecoratorsthrough a package-styleextendsthat bun cannot resolve. Injection then returnsundefinedat runtime, with no compile or startup error. Declare both flags directly in every bun-run app:json{ "extends": "@venizia/dev-configs/tsconfig.common.json", "compilerOptions": { "experimentalDecorators": true, "emitDecoratorMetadata": true } }