Changelog - 2026-07-18
Dependency Refresh & DI Cleanup
Maintenance Breaking Change Bug FixIn one line. Optional property injection now works, the @injectable decorator that did nothing is removed, and helpers installs fewer dependencies.
What changed
- Optional property injection fixed.
@inject({ key, isOptional: true })on a property always threw when the binding was missing, because the container readmetadata.optionalwhile the decorator wroteisOptional. It now yieldsundefined, like optional constructor parameters. Required property injection is unchanged: a missing binding still throws. @injectableremoved from@venizia/ignisand@venizia/ignis-inversion. It recordedscopeandtagsmetadata the container never read. Also removed:IInjectableMetadata,MetadataRegistry.setInjectableMetadataandgetInjectableMetadata, andMetadataKeys.INJECTABLE.- Helpers dependencies.
drizzle-ormis removed (the core package declares it itself).winston,winston-transport,winston-daily-rotate-fileandhonoare now optional peers. See Logger Overhaul. - Version bumps. Every dependency moved to its latest version except
typescript, held at 6.0.3 because typescript-eslint has no TS7 support. The@asteasolutions/zod-to-openapipeer range of@venizia/ignisis now^9.0.0(was^8.5.0).
Who is affected
- Apps relying on the winston logger default. Run
bun add winston winston-transport winston-daily-rotate-file. - Apps that pin
@asteasolutions/zod-to-openapiv8. The peer range now accepts v9; update your pin. - Apps that worked around the optional property injection throw. The workaround can go.
- Apps using
@injectable. Delete the decorator and its import. Nothing else changes: binding scope is set on the binding (container.bind({ key }).toClass(X)), not on the class. - Everyone else. Nothing to do.