Releases: castleproject/Core
Releases · castleproject/Core
4.2.0
Enhancements
- Add IProxyTargetAccessor.DynProxySetTarget to set the target of a proxy (@yallie, #293)
- Internal dynamic proxy fields are now private instead of public (@spencercw, #260)
Bugfixes
- Make ProxyUtil.IsAccessible(MethodBase) take into account declaring type's accessibility so it doesn't report false negatives for e.g. public methods in inaccessible classes. (@stakx, #289)
- Fix InvalidCastException calling IChangeProxyTarget.ChangeProxyTarget proxying generic interfaces (@yallie, #293)
- Ignore minor/patch level version for AssemblyVersionAttribute as this creates binding errors for downstream libraries (@Fir3pho3nixx, #288)
- Fix DictionaryAdapter firing NotifyPropertyChang(ed/ing) events after CancelEdit (@Lakritzator, #299)
- Fix ArgumentException when overriding method with nested generics (@BitWizJason, #297)
- Explicit package versioning applied within solution to avoid maligned NuGet upgrades for lock step versioned packages. (@Fir3pho3nixx, #292)
Deprecations
4.1.1
Bugfixes
- Prevent member name collision when proxy implements same generic interface more than twice (@stakx, #88)
- Fix incorrect replication (reversed order) of custom modifiers (modopts and modreqs) on the CLR, does not work yet on Mono (@stakx, #277)
- Fix COM interface proxy error case throwing exceptions trying to release null pointer from QueryInterface (@stakx, #281)
4.1.0
Breaking Changes
- Remove AllowPartiallyTrustedCallersAttribute, which wasn't defined by default (@Fir3pho3nixx, #241)
- Upgrade log4net to v2.0.8 (@Fir3pho3nixx, #241)
Enhancements
- Add ProxyUtil.IsAccessible to check if a method is accessible to DynamicProxyGenAssembly2 (Blair Conrad, #235)
- Refactor build engineering to support AppVeyor and TravisCI (@Fir3pho3nixx, #241)
Bugfixes
- Fix order of class proxy constructor arguments when using multiple mixins (@sebastienros, #230)
- Fix dependency on "System.ComponentModel.TypeConverter" NuGet package version that does not exist (#239)
- Fix ParamArrayAttribute not being replicated in proxy (@stakx, #121)
- Fix System.Net.Mail.SmtpClient is obsolete on Mono warning (#254)
4.0.0
4.0.0-beta002
Breaking Changes
- Rework Serilog integration to accept an ILogger rather than a LoggerConfiguration to work correctly with Serilog (#142, #211)
- Remove obsolete property
AttributesToAddToGeneratedTypes
fromProxyGenerationOptions
(#219) - Change type of
ProxyGenerationOptions.AdditionalAttributes
toIList<CustomAttributeInfo>
(#219) - Remove
IAttributeDisassembler
which is no longer necessary (#219)
Enhancements
- Add IProxyGenerator interface for the ProxyGenerator class (#215)
- Improve default list of attributes to avoid replicating. Code Access Security attributes and MarshalAsAttribute will no longer be replicated (#221)
Bugfixes
- Fix building on Mono 4.6.1
- Different attributes in
ProxyGenerationOptions.AdditionalAttributes
now generates different proxy types (#219)
4.0.0-beta001
This release supports .NET Core 1.0 via .NET Platform Standard 1.3. The logging integration packages are included in this release.
Full release notes will be available in the future.
4.0.0-alpha001
This release supports .NET Core. Only Castle.Core.dll
is published which includes DynamicProxy and DictionaryAdapter, the logging integration assemblies are still a work in progress.
Full release notes will be available in the future.