Changelog - 2026-09-19
One batch, so an application migrates once. It ships in @venizia/ignis 0.2.0-48 and the packages released with it.
Breaking changes
The date utility is gone
Breaking@venizia/ignis-helpers no longer exports dayjs, isWeekday, getPreviousWeekday, getNextWeekday or getDateTz. It no longer sets the dayjs.tz default zone, and dayjs is no longer one of its dependencies. sleep and hrTime stay.
- Keep dayjs. Run
bun add dayjsand configure it once. IGNIS used to extendcustomParseFormat,utc,timezone,weekdayandisoWeek, and set the default zone toAPP_ENV_APPLICATION_TIMEZONEorAsia/Ho_Chi_Minh. Calldayjs.tz.setDefault(...)yourself. - Or move to
TemporalHelper. It maps each removed function. See Replace the dayjs IGNIS used to export. APP_ENV_APPLICATION_TIMEZONEnow feeds only the startup banner.
WARNING
Keep customParseFormat. Without it, dayjs(value, format) ignores the format, and some formats parse to the wrong date without an error. dayjs('09/10/2026', 'DD/MM/YYYY') reads as 10 September instead of 9 October, and dayjs('260919', 'YYMMDD') lands in the year 2610. A compact YYYYMMDDHHmmss value still parses correctly.
import { TemporalHelper } from '@venizia/ignis-helpers/temporal';
const temporal = new TemporalHelper({ timeZone: 'Asia/Ho_Chi_Minh' });
temporal.parse({ value: '20260919120000', pattern: 'YYYYMMDDHHmmss' }); // 2026-09-19T05:00:00.000Z
temporal.nextWeekday({ value: new Date() }); // next Monday to Friday, in Ho Chi Minh CityTCP client timestamps are Date
BreakingA TCP server's client.storage.connectedAt and authenticatedAt are a Date and a Date | null. They were dayjs objects. Replace .format(...), .diff(...) and the like with Date methods, or with TemporalHelper.
Search controllers live on their own entry
Breaking@venizia/ignis-connectors/search and /typesense load without hono or drizzle-orm now, so they no longer carry the controllers. Neither do the package root @venizia/ignis-connectors, nor the @venizia/ignis/search and @venizia/ignis/typesense aliases.
// Before
import { SearchControllerFactory } from '@venizia/ignis/typesense';
// After
import { SearchControllerFactory } from '@venizia/ignis/typesense/controllers';Affected names: AbstractSearchController, SearchControllerFactory, defineSearchRouteConfigs, ISearchControllerOptions, ISearchCustomizableRoutes. Import them from /search/controllers or /typesense/controllers, on either package.
RecursiveTreeSql moved from the kernel to connectors
BreakingRecursiveTreeSql, RecursiveTreeDirections, IRecursiveTreeOptions and TRecursiveTreeDirection are gone from @venizia/ignis-kernel. Import them from @venizia/ignis (root) or @venizia/ignis-connectors (root, ./relational, ./postgres, ./sqlite).
The entity base class loosened two statics
BreakingBaseRelationalEntity.schema(static) is typedTable. Code that read.schema.idofftypeof BaseEntityreads it off the concrete class or the instance.- The protected static
schemaFactorygetter is gone. Callthis.getSchema({ type })instead.
uuidV5 refuses a malformed name
BehaviorA name holding a lone surrogate (malformed UTF-16) now throws a 400. Before, two different malformed names could share one id. Expect the 400, or clean the string first.
What else changed
Compiled binaries get a typed module option
EnhancementA bun build --compile binary ships without node_modules, so an optional peer loaded by name is missing, and the first client throws [ModuleUtility.loadSync] ioredis is required .... This has been true since ioredis became lazy in @venizia/ignis-helpers 0.2.0-37, and every @venizia/ignis 0.2.0 prerelease accepts that version, so a fresh install of any of them picks it up. Pass the peer in:
import * as ioredis from 'ioredis';
import { RedisSingleHelper } from '@venizia/ignis-helpers';
const redis = new RedisSingleHelper({
name: 'cache',
host: 'localhost',
port: 6379,
password: 'secret',
module: ioredis,
});| Class | Option | You pass |
|---|---|---|
RedisSingleHelper, RedisClusterHelper, RedisSentinelHelper, createRedisHelper | module | ioredis |
BullMQHelper | module | bullmq |
SocketIOClientHelper | module | socket.io-client |
| Mail BullMQ queue executor | module and redis.module | bullmq and ioredis |
Registering once at the entrypoint also works: ModuleUtility.register({ modules: { ioredis, bullmq } }). See Compiled binaries.
TemporalHelper
New FeatureDates in a time zone you name, through the library you choose: the runtime's Temporal, your dayjs or your Luxon. It reads a Date, epoch milliseconds or an ISO string, and returns a Date. The three adapters agree on any host, except dayjs before 1914, which misreads some zones' local mean time. It ships on @venizia/ignis-helpers/temporal, and on the root and /core. See Temporal.
ModelFactory.defineEntity
New FeatureAn entity class built from a plain drizzle table, with relations that point at tables and a row type that includes them. See A Model Declares Each Fact Once.
Optional peers stay optional
Enhancement@venizia/ignis-kernel/repositoryand@venizia/ignis-connectors/httpload withouthonoor@hono/zod-openapiinstalled.@venizia/ignis-kernel/repositoryalso exportsDEFAULT_LIMIT,DEFAULT_MAX_LIMIT,RepositoryOperationScopes,CoreErrorCodes,SearchErrorCodes,throwNotSupportedandSchemaTypes.BullMQHelperloadsbullmqwhen it builds a queue or worker, not at import, so@venizia/ignis/mailneedsbullmqonly with the BullMQ executor.SocketIOClientHelperloadssocket.io-clientinconfigure(), so a server that only uses the socket.io server helper does not need the client package.
Node's ESM loader works
Bug FixThe ESM builds of inversion, filter and boot imported files without a .js extension, which Node's ESM loader refuses. Every package now imports under Node, Bun and a bundler.
UUIDs
Enhancement- Point-free use is safe.
Array.from({ length: 3 }, uuidV7),ids.map(uuidV4)and hono'srequestId({ generator: uuidV7 })all work. - v7 no longer uses
Bun.randomUUIDv7, on any runtime. Passed point-free, the native one stamped ids at the 1970 epoch. - v4 falls back to
crypto.getRandomValuesoutside a secure context. - v5 reads the namespace in either case and accepts the nil UUID as a namespace.
A helper's logger
Enhancement- A logger read before any provider loads upgrades itself on its next call once
LoggerFactoryis imported, children taken with.for()included. Before, it stayed on the console. - A debug line obeys
DEBUGon every path. Before, an upgraded logger andlog('debug', ...)on the built-in loggers wrote debug lines withDEBUGunset. - With no provider at all, it logs to the console and, under Node or Bun, prints one warning per process:
[BaseHelper] Logging to the console - no logger provider is installed. Import `LoggerFactory` from `@venizia/ignis-helpers` at startup.
Correcting two earlier changelogs
- One UUID Helper, Three Versions says
UuidV7Generatoris still exported. It was removed in@venizia/ignis-helpers0.2.0-39; useuuidV7orUuidHelper.getInstance().v7. For v4, IGNIS is at parity withuuid@14, not faster. - String Ids Are UUID v7 says Bun uses its native
Bun.randomUUIDv7. From this release, no runtime does.
Who is affected
- Code that used the IGNIS date utility. Migrate as above.
- Code importing search controllers or
RecursiveTreeSqlfrom an entry that no longer carries them. Change the import. - Compiled binaries using Redis, BullMQ or the socket.io client. Pass
module, or register the peer. - Everything else. No action needed.