5.0.0-beta001
Pre-release
Pre-release
jonorossi
released this
26 Oct 04:47
·
172 commits
to master
since this 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
andAllTypesOf
(@Fir3pho3nixx, #338) - Removed deprecated
BasedOn
methods that reset registrations when fluently chained (@Fir3pho3nixx, #338) - Removed deprecated member
LifestyleHandlerType
onCustomLifestyleAttribute
(@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 newWindsorContainer.Resolve(Arguments)
- Reworked
Arguments
class, including to no longer implementIDictionary
- Removed
IArgumentsComparer[]
constructors fromArguments
- Added
WindsorContainer.Resolve(IEnumerable<KeyValuePair<string, object>>)
extension methods - Changed
CreationContext.AdditionalArguments
to useArguments
instead ofIDictionary
- Replaced
ComponentDependencyRegistrationExtensions(Insert, InsertAnonymous, InsertTyped, InsertTypedCollection)
withAdd
,AddNamed
andAddTyped
Arguments
instance methods - Changed
ComponentRegistration.DependsOn
andComponentRegistration.DynamicParameters
to useArguments
viaDynamicParametersDelegate
- Added
ComponentRegistration.DependsOn(Arguments)
overload - Changed
ComponentModel
CustomDependencies
andExtendedProperties
to useArguments
instead ofIDictionary
- Changed
IComponentModelBuilder.BuildModel
to useArguments
instead ofIDictionary
- Changed
ILazyComponentLoader.Load
to useArguments
instead ofIDictionary
- Removed