Skip to content
352fc1f
Compare
Choose a tag to compare

Bugfixes

  • Fix CollectionResolver to allow propagation of inline dependencies (@dvdwouwe, #562)
  • Allow DefaultNamingSubSystem derivatives to invalidate the cache which was accidentally removed in 5.1.0 (@nativenolde, #569)
  • Replace usage of obsolete Castle.Core.Internal.Lock (@generik0, #576)
  • Fix dictionary bug when using XML configuration; A reference to list components inside a dictionary didn't work (@ni-mi, #575)
551fc2f
Compare
Choose a tag to compare

Bugfixes

  • .NET Extensions' DependencyInjection:
    • Change WindsorServiceProviderFactory to follow SOLID behaviour (@generik0, #540)
    • Fix "An item with the same key has already been added" exception related to scoped lifestyle (@generik0, #547)
    • Fix issue using existing container with ASP.NET (@robertcoltheart, #548)
    • Extra extensions for BasedOnDescriptor (@ltines, #554)
    • Use generic registration instead of reflection (@robertcoltheart, #555)
    • Use the container from the method call, not the root container (@generik0, #558)
    • Add InvalidateCache to DependencyInjectionNamingSubsystem (@generik0, @twenzel, #556)
1021aa1
Compare
Choose a tag to compare

5.1.0-beta001

Pre-release
Pre-release

Enhancements

  • .NET Extensions' DependencyInjection support via new Castle.Windsor.Extensions.DependencyInjection package (@ltines, #517)
  • Enable explicitly specified null values to satisfy System.Nullable<> dependencies (@jnm2, #521)
  • Embed icon in NuGet packages (@generik0, #520)

Bugfixes

  • Typed Factory: handle multiple calls to Dispose and Release after Dispose (@ivan-danilov. #458)
abea0d9
Compare
Choose a tag to compare

Bugfixes

  • Fix ProxyOptions equality with additional interfaces (@DamirAinullin, #477)
  • WCF Facility: Fix exception message (@DamirAinullin, #476)
  • ASP.NET MVC Facility: Fix controller lookup to be case insensitive (@Yitzchok, #480)
  • ASP.NET Core Facility: FrameworkDependencyResolver must not throw NRE if dependency has no type (e.g. depending on a named component) (@dariuslf, #489)
  • ASP.NET Core Facility: Register ViewComponents and TagHelpers correctly (@dariuslf, #489)
  • ASP.NET Core Facility: Allow crosswiring multiple implementations of the same service (@dariuslf, #489)
  • ASP.NET Core Facility: Treat TagHelper classes with __Generated__ in their name (e.g. TagHelpers generated for ViewComponents) as framework classes (@dariuslf, #489)
51747e5
Compare
Choose a tag to compare

Bugfixes

  • Fixed first-chance HandlerException for optional parameters (@jnm2, #450)
09751a4
Compare
Choose a tag to compare

5.0.0-beta001

Pre-release
Pre-release

Enhancements

  • Upgraded to Castle.Core 4.2.0 to 4.3.1 (@fir3pho3nixx, #413)
  • Created Castle.Facilities.AspNetCore facility to support ASP.NET Core web applications on .NET Core and .NET Framework (@fir3pho3nixx, #120)
  • Created Castle.Facilities.AspNet.Mvc facility to support ASP.NET MVC web applications on .NET Framework (@fir3pho3nixx, #283)
  • Created Castle.Facilities.AspNet.WebApi facility to support ASP.NET Web API IIS and self hosted applications on .NET Framework (@fir3pho3nixx, #283)
  • Added XML documentation to BeginScope and RequireScope lifetime extensions (@jonorossi)
  • Upgraded build to use NUnit Adapters (@fir3pho3nixx, #243)
  • Make formatting of type names with TypeUtil.ToCSharpString (and hence in diagnostic messages) resemble C# more closely (@stakx, #404, #406)

Breaking Changes

  • Built-in System.Web support has been moved to the new Castle.Facilities.AspNet.SystemWeb facility (@fir3pho3nixx, #283)
  • Removed obsolete ActAs, Parameters, Properties and ServiceOverrides methods from component registration (@fir3pho3nixx, #338)
  • Removed obsolete indexer, AddComponent*, AddFacility and Resolve methods from IKernel and IWindsorContainer (@fir3pho3nixx, #338)
  • Facility XML configuration specifying an 'id' attribute will now throw, it has been ignored since v3.0 (@fir3pho3nixx, #338)
  • Removed deprecated classes AllTypes and AllTypesOf (@fir3pho3nixx, #338)
  • Removed deprecated BasedOn methods that reset registrations when fluently chained (@fir3pho3nixx, #338)
  • Removed deprecated member LifestyleHandlerType on CustomLifestyleAttribute (@fir3pho3nixx, #338)
  • Removed Event Wiring, Factory Support and Synchronize facilities (@jonorossi, #403)
  • Arguments class and Resolve overloads refactor (@fir3pho3nixx, @jonorossi, #444)
    • Removed WindsorContainer.Resolve(object/IDictionary) overloads in favour of new WindsorContainer.Resolve(Arguments)
    • Reworked Arguments class, including to no longer implement IDictionary
    • Removed IArgumentsComparer[] constructors from Arguments
    • Added WindsorContainer.Resolve(IEnumerable<KeyValuePair<string, object>>) extension methods
    • Changed CreationContext.AdditionalArguments to use Arguments instead of IDictionary
    • Replaced ComponentDependencyRegistrationExtensions(Insert, InsertAnonymous, InsertTyped, InsertTypedCollection) with Add, AddNamed and AddTyped Arguments instance methods
    • Changed ComponentRegistration.DependsOn and ComponentRegistration.DynamicParameters to use Arguments via DynamicParametersDelegate
    • Added ComponentRegistration.DependsOn(Arguments) overload
    • Changed ComponentModel CustomDependencies and ExtendedProperties to use Arguments instead of IDictionary
    • Changed IComponentModelBuilder.BuildModel to use Arguments instead of IDictionary
    • Changed ILazyComponentLoader.Load to use Arguments instead of IDictionary
51ff093
Compare
Choose a tag to compare

Bugfixes

  • Fixed components resolved from typed factories being disposed along with unrelated objects (@jnm2, #439)
Compare
Choose a tag to compare

Bugfixes

  • Fix warnings regarding non-existent System.ComponentModel.TypeConverter NuGet package by updating minimum Castle Core version to 4.1.0 (#321)
  • Fix disposal of faulted WCF client channels (@jberezanski, #322)
  • Fix binding errors because assembly version had too much detail, assembly version is now x.0.0.0 (@fir3pho3nixx, #329)
  • Update Castle Core to 4.2.0 to resolve assembly version problems because Castle Core also had too much detail
  • Explicit package versioning applied within solution to avoid maligned NuGet upgrades for lock step versioned packages (@fir3pho3nixx, castleproject/Core#292)
  • Fix open generic handler state issues where wrong constructor gets chosen for open generic service types (@fir3pho3nixx, #136)
  • Fixed typed factory out of order disposal (@jnm2, #344)

Deprecations

  • Logging Facility's LoggerImplementation enum, UseLog4Net and UseNLog methods are deprecated in favour of LogUsing<T>, this includes the loggingApi property for XML configuration (@jonorossi, #327)
Compare
Choose a tag to compare

Breaking Changes

  • Remove .NET 3.5, .NET 4.0 and .NET 4.0 Client Profile support (@fir3pho3nixx, #173, #180, #177, #185)
  • Update Castle.Core dependency to 4.0.0 (@alinapopa, #235)

Enhancements

Bugfixes

  • Fix IL interpretation of Ldarg_N from LOCAL 0 to LOCAL [0,1] in OpCodes so test FluentRegistrationTestCase.Can_publish_events_via_AllTypes could publish events again on Windows 10 Home (build 14393.693) VS 2015 Update 3 using .NET 4.x (@fir3pho3nixx, #168)
  • Fix race condition in PoolableLifestyleManager creating a pool (@krinmik, #72)
  • Fix race condition in WindsorContainer not generating unique names (#301)
Compare
Choose a tag to compare
  • Fix case sensitivity issue that can cause UsingFactoryMethod to fail (@dohansen, #116)
  • Fix project and icon URLs in NuGet packages
  • Add PDB source indexing (@ivan-danilov, #137)
  • Fix unit test with weak reference broken by garbage collector changes in .NET 4.6.x (@ivan-danilov, #138)
  • Fix performance counter instances hanging around after the process using Windsor has ended (@mackenzieajudd, #146, #149)
  • Fix version of Castle.Core dependency in NuGet packages to indicate Castle.Core 4.0 is incompatible (#161)