All Versions
21
Latest Version
Avg Release Cycle
207 days
Latest Release
115 days ago

Changelog History
Page 1

  • v4.0.0-beta.1 Changes

    October 05, 2022

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Dropped support for .NET Framework 4.5. We now only provide support for the .NET Framework 4.6, .NET 6 and .NET Standard 2.0.
    • ๐Ÿ”„ Changed return value of IBindingResolver (and implementing classes) from IEnumerable<IBinding> to ICollection<IBinding>.
    • The IConstructorScorer ConstructorScorer and ICollection<IInjectionHeuristic> InjectionHeuristics properties has been removed from (I)Selector
    • ๐Ÿ”„ Changed return value of ISelector.SelectConstructorsForInjection(Type type) (and implementing classes) from IEnumerable<ConstructorInfo> to ConstructorInfo[].
    • The T Get<T>(string key, T defaultValue) and void Set(string key, object value) methods have been removed from (I)NinjectSettings.
    • The GetBindings(Type service) method in IKernel and KernelBase now returns IBinding[] instead of IEnumerable<IBinding>.
    • โœ‚ Removed IHaveKernel inheritance from IBindingSyntax.
    • โœ‚ Removed IInjectorFactory InjectorFactory property from PropertyInjectionStrategy.
    • โž• Added a PropertyInjection setting that can be used to control whether property injection is enabled. By default, property injection is enabled.
    • โž• Added a MethodInjection setting that can be used to control whether method injection is enabled. By default, method injection is enabled.
    • ๐Ÿ”„ Changed type of parameters argument in Request constructor from IEnumerable<IParameter> to IReadOnlyList<IParameter>.
    • ๐Ÿ”„ Changed type of parameters argument in IResolutionRoot.CreateRequest(...) from IEnumerable<IParameter> to IReadOnlyList<IParameter>.
    • ๐Ÿ”„ Changed type of parameters argument in KernelBase.CreateRequest(...) from IEnumerable<IParameter> to IReadOnlyList<IParameter>.
    • ๐Ÿ”„ Changed type of Parameters property in IBindingConfiguration (and implementing classes) from ICollection<IParameter> to IList<IParameter>.
    • ๐Ÿ”„ Changed type of Parameters property in Request and Context from IEnumerable<IParameter> to IReadOnlyList<IParameter>.
    • โž• Added a object ResolveSingle(IRequest request) method to IResolutionRoot which is optimized for resolving a single instance of a given service. This new method is used in the Get, TryGet and TryGetAndThrowOnInvalidBinding extension method.

    ๐Ÿ›  Fixed

    • Bind/Rebind to a constant generic List always returns an empty list #333
  • v3.3.6 Changes

    May 27, 2022

    ๐Ÿ›  Fixed

    • Infinite loop when call TryGet<T>(string name) #393
    • VerifycationException when inject pointer type (.NET Framework only)
  • v3.3.5 Changes

    April 23, 2022

    ๐Ÿ›  Fixed

    • InvalidProgramException when constructor argument is Pointer or Value type #386 #389
    • Request for empty List<> returns non-empty List<> #263
    • Call kernel.Get<T>() two times do not give the same result #262

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed IServiceProvider.GetService implementation #376
    • Consolidated handling of isUnique parameter for TryGet #378
  • v3.3.5-rc2 Changes

    April 17, 2022

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed IServiceProvider.GetService implementation #376
    • Consolidated handling of isUnique parameter for TryGet #378
  • v3.3.5-rc1 Changes

    April 12, 2022

    ๐Ÿ›  Fixed

    • InvalidProgramException when constructor argument is Pointer or Value type #386 #389
    • Request for empty List<> returns non-empty List<> #263
    • Call kernel.Get<T>() two times do not give the same result #262
  • v3.3.4 Changes

    November 13, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป Throw cyclic dependency exception when resolve a named binding with decoration pattern #261
  • v3.3.3 Changes

    October 22, 2017

    โœ‚ Removed debug code from ModuleLoader.cs

  • v3.3.2 Changes

    October 22, 2017

    Ninject for .NET Core can now load extensions automatically. Please note that due to the lack of AppDomain creation/unloading, all matched assemblies will be loaded even if the assembly does not contain NinjectModule. In most cases this won't be a problem.
    Ninject is now CLS Compliant.

  • v3.3.2-rc1 Changes

    October 15, 2017

    Ninject for .NET Core can now load extensions automatically. Please note that due to the lack of AppDomain creation/unloading, all matched assemblies will be loaded even if the assembly does not contain NinjectModule. In most cases this won't be a problem.

  • v3.3.2-beta1 Changes

    October 07, 2017

    Ninject for .NET Core can now load extensions automatically. Please note that due to the lack of AppDomain creation/unloading, all matched assemblies will be loaded even if the assembly does not contain NinjectModule. In most cases this won't be a problem.
    Another improvement is that when auto load assemblies, the executing assembly's directory is considered as one of the base directories.