Releases: teqfw/di
Releases · teqfw/di
Added support for the `node:` prefix
- Added ability to manually register objects in the container (
register
). - Optimized dependency parsing, added support for the
node:
prefix. - Updated singleton handling, fixed issues with
Defs.LS
. - Added protection against object modification, freezing objects when possible (
Object.freeze
). - Updated dependencies (Mocha, Rollup, Rollup plugins).
Enhanced Dependency Handling and Browser Compatibility
- Added optional
stack
parameter to theget
method for improved dependency tracking and debugging. - Fixed browser example in the README by updating the usage of
window.TeqFw_Di_Container
for compatibility.
Enhanced the README with updates from ChatGPT
- Enhanced the README with updates from ChatGPT.
- Unified JSDoc annotations.
The new format of the depId for default parser
- New format of the depId for default parser (
Ns_Module.export$$(post)
). - The rollup is added.
The Windows paths in the Resolver
- Add Windows paths to the Resolver.
The fix of the dep key signature
- Fix the dependency key signature in
TeqFw_Di_Container_A_Parser_Chunk_Def
.
Pre- and post-processors
- Restructured modules in the package.
- Documentation update.
New architecture pre-release
Fully redesigned package with simplified composition of objects in the container. Spec Analyzer is used instead of a proxy object.
- Changed regex for parameter extraction in the Spec Analyzer.
- Removed leading namespace separator in the Resolver.
- Added
teqfw.json
descriptor to add npm-package to DI container as a sources root inteqfw/web
.
Before switchng to v1 branch
This is an archive tag to store the repo before swirching to the new version of the DI.