@alterior/express
Advanced tools
Changelog
v3.7.1
@/web-server
: Remove direct type references to express
@/di
: Fix type of Injector#parent
when using strictNullChecks
@/runtime
: Add missing object type constraint on Reflector#getTypeFromClass
Changelog
v3.7.0
@/runtime
altAfterStart
can be used to run code after all modules' altOnStart
callbacks have
completed and all effective roles have been started (see RolesService
).Changelog
v3.6.7
@/runtime
RoleRegistration#instance
is now optional. When not specified, the only way to target a role is by its identifier.Changelog
v3.6.5
@/runtime
RolesService#configure()
now accepts string identifiers of roles in addition to class references.RolesService#getForModule()
now throws if there are multiple roles defined for the given module.Changelog
v3.6.2
@/runtime
: Fixes an issue where the short form of the new --roles-skip
command line option (-x
) was
ignored.Changelog
v3.6.1
@/runtime
: Add enabledByDefault
to RoleRegistration
and default to all services which are enabled by default.
Allows for some roles to be disabled unless specifically asked for. Roles which are disabled by default are still
included in all-except
configuration. Use the new default-except
(or via ALT_ROLES_DEFAULT_EXCEPT
environment
variable) to enable all default services except those listed. Additionally there is now an --roles-skip
option
which enables the default-except
mode.Changelog
v3.6.0
@/runtime
: Allow specifying additional providers when bootstrapping an application@/platform-nodejs
dotenv
version 16.3.1
ws
version 8.16.0source-map-support
version 0.5.21@/logging
:
fatal()
convenience functionLogger
(ie Logger.info()
means Logger.current.info()
)Changelog
v3.5.8
@/web-server
: