Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Releases: andresilva-cc/injektion

v0.4.0

11 May 22:33
Compare
Choose a tag to compare

[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 to bind. Bind with a custom name changed to namedBind. All references to key changed to name (dependency name)

Fixed

  • JSDoc and README of singleton method

Commits: v0.3.0...v0.4.0

v0.3.0

11 Apr 14:50
Compare
Choose a tag to compare

[0.3.0] - 2022-04-11

Added

  • JSDoc of private methods
  • replace parameter of autoload 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

23 Mar 23:26
Compare
Choose a tag to compare
  • Container as a singleton
  • Update README to reflect new changes to the code
  • Add JSDoc to public methods
  • Fix type annotation of reference parameter on singleton method

Full Changelog: v0.1.0...v0.2.0

v0.1.0

03 Nov 02:31
Compare
Choose a tag to compare