Autofac v4.7.0 Release Notes

Release Date: 2018-04-10 // about 6 years ago
  • ๐Ÿš€ 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.