Skip to content

Releases: d3fvxl/di

v1.6.2

24 Dec 10:57
Compare
Choose a tag to compare

Fixed

  • Fix di.As() with several interfaces.

v1.6.1

23 Dec 22:06
Compare
Choose a tag to compare

Fixed

  • Removed debug print.
  • Documentation fixes.

v1.6.0

23 Dec 21:39
Compare
Choose a tag to compare

Changed

  • Changed logging interface. See di.SetTracer().

Fixed

  • Some documentation and test updates.

v1.5.0

16 Nov 22:49
Compare
Choose a tag to compare

Added

  • Add error to Has().

Fixed

  • Has() returns false if container could not build instance.

Changed

  • The supported version of go >1.13.

v1.4.1

16 Nov 21:29
Compare
Choose a tag to compare

Fixed

  • Fix field injection into interface implementations.

v1.4.0

01 Nov 21:50
Compare
Choose a tag to compare

Added

  • Iterate method for lazy loaded iteration by all instances.

v1.3.1

01 Nov 18:59
Compare
Choose a tag to compare

Fixed

  • Bug: Resolve type as interface causes type reinitialization.

v1.3.0: The release that doesn't deserve to be called `v2`

01 Nov 16:14
Compare
Choose a tag to compare

BREAKING CHANGES

  • Provide duplications allowed.
  • Removed tag di. Now all public fields in injectable type will be injected.
  • Resolving node without tags, now returns all nodes of this type.
  • Now, di:"type_name" is a name:"type_name".
  • Removed di.Prototype(): bad practice.

Added

  • Tagging that allows specifying key value identity for types.
  • skip:"true" field tag option, that skips field providing.

Fixed

  • A bit of bad code

v1.2.1

29 May 11:41
Compare
Choose a tag to compare

v1.2.0

20 Apr 22:32
e9dc02a
Compare
Choose a tag to compare

Added

  • Any type can be automatically resolved as a group.
  • The container exposes itself by default.
  • The only named type in the group will be resolved without a name.
  • Dependency graph can be edited in the runtime (but you need to be careful with this).