Skip to content

Releases: mbierlee/poodinis

Poodinis 6.3.0

27 Jun 19:30
Compare
Choose a tag to compare

Version 6.3.0

  • CHANGE registration and resolve options to be supplied using bit flags instead. (Thanks to @tmccombs )
  • DEPRECATE all other forms of supplying registration and resolve options (by array or variadics)

Poodinis 6.2.0

10 Apr 11:41
Compare
Choose a tag to compare

Version 6.2.0

  • ADD ability to mark autowire dependencies as optional. When you use UDA @OptionalDependency, a type which fails to autowire will remain null
    (or an empty array). No ResolveException is thrown.

Poodinis 6.1.0

09 Feb 23:03
Compare
Choose a tag to compare

Version 6.1.0

  • ADD setting persistent registration and resolve options
  • DEPRECATE DO_NOT_ADD_CONCRETE_TYPE_REGISTRATION, use doNotAddConcreteTypeRegistration instead
  • DEPRECATE supplying register()'s registration options as variadic arguments. Use register(SuperType, ConcreteType)(RegistrationOption[]) instead.
  • ADD resolve options to container resolve()
  • ADD ability to register a type while resolving it. Use resolve option registerBeforeResolving
  • ADD ability to autowire private fields (Thanks to @extrawurst)
  • FIX registration of application contexts with non-public members

Poodinis 6.0.0

28 Dec 22:20
Compare
Choose a tag to compare

Version 6.0.0

  • CHANGE registration scopes are replaced by a single factory implementation. If you were not doing anything with the internal scope mechanism, you
    should not be affected by this change.
  • ADD application contexts. You can register dependencies within an application context which allow you to fine-tune the creation of dependency instances.
  • CHANGE all public poodinis imports to private. This should not affect you if you use the package import "poodinis" instead of individual modules.
  • REMOVE deprecated ADD_CONCRETE_TYPE_REGISTRATION registration option.
  • REMOVE deprecated RegistrationOptions alias.

Poodinis 5.0.0

26 Sep 20:52
Compare
Choose a tag to compare

Version 5.0.0

  • DEPRECATE ADD_CONCRETE_TYPE_REGISTRATION registration option. It basically does nothing anymore. See next point.
  • CHANGE adding registrations by super type always registers them by concrete type as well now. (Previously done with ADD_CONCRETE_TYPE_REGISTRATION). See DO_NOT_ADD_CONCRETE_TYPE_REGISTRATION for the reverse behaviour.
  • CHANGE RegistrationOptions enum name to RegistrationOption
  • DEPRECATE Usage of RegistrationOptions, please use RegistrationOption instead.

Poodinis 4.0.0

16 Aug 13:52
Compare
Choose a tag to compare

Version 4.0.0

  • REMOVE deprecated module "dependency.d"

Poodinis 3.0.0

16 Aug 13:43
Compare
Choose a tag to compare

Version 3.0.0
This version is only compatible with DMD 2.068.0 or higher!

  • ADD UDA which always resolved a new instance to an autowired member, regardless of registration scope.

Poodinis 2.2.0

06 Jul 21:00
Compare
Choose a tag to compare

Version 2.2.0

  • ADD canonical package module "package.d". Use "import poodinis;" to import the project.
  • DEPRECATE module "dependency.d". Please use the canonical package module. See previous point.
  • ADD autowiring of dynamic arrays. All registered instances of the element type of the array will be assigned to it.

Poodinis 2.1.0

14 May 13:33
Compare
Choose a tag to compare

Version 2.1.0

  • ADD option for registering a class by concrete type when registering that class by supertype.

Poodinis 2.0.0

04 Apr 12:24
Compare
Choose a tag to compare

Version 2.0.0
This version introduces changes which might be incompatible with your current codebase

  • CHANGE dependency container to be synchronized. Sharing a dependency container between threads is now possible.
    The implication is that all dependency container instances must be shared now.
    You don't have to change anything if you were only using the singleton dependency container.