This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
Releases: andresilva-cc/injektion
Releases · andresilva-cc/injektion
v0.4.0
[0.4.0] - 2022-05-11
Added
- Bind a dependency with a given instance
- Bind a dependency with manual instructions on how to instantiate it
Changed
- All references to
register
changed tobind
. Bind with a custom name changed tonamedBind
. All references tokey
changed toname
(dependency name)
Fixed
- JSDoc and README of
singleton
method
Commits: v0.3.0...v0.4.0
v0.3.0
[0.3.0] - 2022-04-11
Added
- JSDoc of private methods
replace
parameter ofautoload
method to control whether to replace already registered dependencies- Tests to increase test coverage
Changed
- All methods of Container changed to static, no need to instantiate the container anymore
- README with summary and better descriptions
Commits: v0.2.0...v0.3.0
v0.2.0
- Container as a singleton
- Update README to reflect new changes to the code
- Add JSDoc to public methods
- Fix type annotation of
reference
parameter onsingleton
method
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Initial release.
Full Changelog: https://github.com/andresilva-cc/injektion/commits/v0.1.0