Changelog - 2026-02-26
Core/Helpers Decoupling
In one line. @venizia/ignis now holds only the framework, and the runtime utilities such as LoggerFactory and HTTP come from @venizia/ignis-helpers.
What changed
- Runtime helpers are no longer re-exported.
export * from '@venizia/ignis-helpers'is replaced byexport type * from '@venizia/ignis-helpers'(TypeScript 5.0+), so types still import from@venizia/ignis. - DI primitives stay in core.
Binding,BindingKeys,BindingScopes,BindingValueTypes,IProvider,isClass,isClassProvider,isClassConstructor,TBindingScope,TBindingValueTypeandIBindingTagare still exported from@venizia/ignis, along with the framework classes, decorators and components. - Moved to
@venizia/ignis-helpers.LoggerFactory,applicationEnvironment,Environment,int,float,toBoolean,getUID,DataTypes,HTTP,DiskHelper,MemoryStorageHelper,RedisHelper,DefaultRedisHelper,BullMQHelper,QueueHelper. The typesAnyObject,FCandPropsWithChildrenlose their runtime re-export but still import as types.
Who is affected
- Code importing runtime helpers from
@venizia/ignis. Change the import (see Migration). - Code that only imports types or framework symbols. No action needed.
Breaking changes
WARNING
Any import of a runtime helper symbol from @venizia/ignis stops working.
Before:
typescript
import { LoggerFactory, applicationEnvironment, DataTypes, getUID, HTTP, int, DiskHelper } from '@venizia/ignis';After:
typescript
import { LoggerFactory, applicationEnvironment, DataTypes, getUID, HTTP, int, DiskHelper } from '@venizia/ignis-helpers';
// Types still come from core
import type { AnyObject, FC, PropsWithChildren, TOptions } from '@venizia/ignis';
// Framework symbols are unchanged
import { BaseApplication, BaseController, controller, get, inject } from '@venizia/ignis';Migration
- If your project does not depend on it yet, run
bun add @venizia/ignis-helpers. - Split imports that mix framework and helper symbols:
typescript
// Before
import { BaseController, controller, get, LoggerFactory, HTTP, DataTypes } from '@venizia/ignis';
// After
import { BaseController, controller, get } from '@venizia/ignis';
import { LoggerFactory, HTTP, DataTypes } from '@venizia/ignis-helpers';- Build with
bun run rebuild. An error like"X" is not exported from "@venizia/ignis"marks a runtime symbol that must now come from@venizia/ignis-helpers.