Skip to content

v4.7.0

Compare
Choose a tag to compare
@tillig tillig released this 10 Apr 23:11
· 1071 commits to develop since this release

Issues addressed in this release:

  • #624: Components registered as IStartable and AutoActivate() will be started in dependency order.
  • #733: Building a container will fail with an exception if you RegisterType<T>() a type that doesn't have a public constructor.
  • #824: Parameters passed to a Resolve() operation for a decorated object will pass by the decorators and only be provided to the object being decorated.
  • #846: Parameters passed to a Resolve() operation will be provided to the constructor selector so they can be used to influence which constructor gets used (IConstructorSelector.SelectConstructorBinding()). This is a minor breaking change for the IConstructorSelector interface but very few people have implemented custom constructor selectors so a major version increment wasn't used.
  • #882: An exception is now thrown if you try to create a new lifetime scope with a tag that has already been assigned to a parent lifetime scope.