All Versions
20
Latest Version
Avg Release Cycle
213 days
Latest Release
75 days ago

Changelog History
Page 2

  • v3.3.0 Changes

    September 26, 2017

    ๐Ÿ›  3.3.0 is mainly focused on bugfix and platform update.
    ๐Ÿ‘ Since 3.3.0, Ninject added support for .NET Standard 2.0 and dropped support below .NET Framework 4.5.

    ๐Ÿš€ Here are the highlights for release 3.3.0.

    โž• Added

    • ๐Ÿ‘Œ Support .NET Standard 2.0
    • Strongly typed overloads of WithConstructorArgument which use a callback to get the value #197
    • Do not choose constructors with ObsoleteAttribute #224
    • ๐Ÿ”ง Meaningful exception message if there is error in configuration #240 #245

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Using HasDefaultValue instead of DBNull #235
    • Array/List of concrete classes will return empty if the concrete class is not explicitly binded #227
    • ๐Ÿš€ Renamed ReleaseNotes.md to CHANGELOG.md and updated the format.

    โœ‚ Removed

    • .NET 3.5, .NET 4.0 and Silverlight

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Improved cyclical dependencies detection #143
    • InvalidProgramException when select constructors for MulticastDelegate #175
    • WhenMemberHas broken #189
    • Injection into private parent parent properties fails #214 #217
    • Break Singleton / circular dependency WithPropertyValue or OnActivation callback #221 #224
    • ๐Ÿ‘ The invoked member is not supported in a dynamic assembly #225
    • Conditional binding is not being considered when score constructors #237
  • v3.3.0-beta1 Changes

    September 23, 2017

    โž• Added

    • ๐Ÿ‘Œ Support .NET Standard 2.0
    • Strongly typed overloads of WithConstructorArgument which use a callback to get the value #197
    • Do not choose constructors with an ObsoleteAttribute #224
    • ๐Ÿ”ง Meaningful exception message if there is error in configuration #240 #245

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Using HasDefaultValue instead of DBNull #235
    • Array/List of concrete classes will return empty if the concrete class is not explicitly binded #227

    โœ‚ Removed

    • ๐Ÿ‘Œ Support for .NET 3.5 and Silverlight

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Improved cyclical dependencies detection #143
    • InvalidProgramException when select constructors for MulticastDelegate #175
    • WhenMemberHas broken #189
    • Injection into private parent parent properties fails #214 #217
    • Break Singleton / circular dependency WithPropertyValue or OnActivation callback #221 #224
    • ๐Ÿ‘ The invoked member is not supported in a dynamic assembly #225
    • Conditional binding is not being considered when score constructors #237
  • v3.2.3

    September 02, 2014
  • v3.2.2

    April 02, 2014
  • v3.2.2-final

    April 02, 2014
  • v3.2 Changes

    โž• Added

    • ๐Ÿ‘ป bool IRequest.ForceUnique: In case there is an uncoditional and a conditional binding, return the conditional one. In case there are multiple unconditional or conditional bindings, throw an exception.
    • IResolutionRoot.TryGetAndThrowOnInvalidBinding (extension method): Returns null if there is no binding, but throws ActivationException in case there is a binding which could not be activated.
    • TypeMatchingConstructorArgument introduced.
    • ToConstructor() can now accept results from methods as argument e.g. ToConstructor(_ => new Foo(this.GetBar())
    • WhenNoAncestorMatches, WhenAnyAncestorMatches and WhenNoAncestorNamed When overloads
    • WeakConstructorArgument and WeakPropertyValue that keep a weak reference to the value only so that Ninject has no reference on them when caching the created instance.
    • ๐Ÿ‘ Overloads for WhenInjectedInto and WhenInjectedExactlyInto that take multiple types to support multiple allowed parents.

    ๐Ÿ”„ Changed

    • โž• Added WhenAnyAncestorNamed and marked mispelled WhenAnyAnchestorNamed as obsolete
    • ๐Ÿš€ Release method was moved from IKernel to the IResolutionRoot interface

    ๐Ÿ›  Fixed

    • Private properties of base class were not checked for existence of setter and Inject attribute
    • ๐Ÿš€ When an object that is the scope of another object is released an Exception was thrown.
  • v3.0.1 Changes

    โž• Added

    • 0๏ธโƒฃ The default scope can be changed in the NinjectSettings using

    ๐Ÿ”„ Changed

    • Open generics can now be passed to WhenInjectedInto

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed race condition in the GarbageCollectionCachePruner
  • v3.0.0 Changes

    ๐Ÿ”„ Changed

    • The constructor scorer ignores implicit bindings
    • The constructor scorer ignores self bindings
  • v3.0.0-rc3

  • v2.2.1.0 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป For classes that have several virtual indexers and at least one of them overridden an ambiguous match exception was thrown when they were injected.