Skip to content

Releases: castleproject/Core

4.2.0

Choose a tag to compare

@jonorossi jonorossi released this 28 Sep 08:33

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

  • IChangeProxyTarget.ChangeProxyTarget is deprecated in favor of IProxyTargetAccessor.DynProxySetTarget (@yallie, #293)

4.1.1

Choose a tag to compare

@jonorossi jonorossi released this 12 Jul 13:34

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

Choose a tag to compare

@jonorossi jonorossi released this 11 Jun 12:50

Breaking Changes

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

Choose a tag to compare

@jonorossi jonorossi released this 24 Jan 17:30

Breaking Changes:

  • Update to NLog 4.4.1 and remove beta .NET Core support for NLog (#228)
  • Update to log4net 2.0.7 (#229)

Bugfixes:

4.0.0-beta002

4.0.0-beta002 Pre-release
Pre-release

Choose a tag to compare

@jonorossi jonorossi released this 27 Oct 16:39

Breaking Changes

  • Rework Serilog integration to accept an ILogger rather than a LoggerConfiguration to work correctly with Serilog (#142, #211)
  • Remove obsolete property AttributesToAddToGeneratedTypes from ProxyGenerationOptions (#219)
  • Change type of ProxyGenerationOptions.AdditionalAttributes to IList<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

4.0.0-beta001 Pre-release
Pre-release

Choose a tag to compare

@jonorossi jonorossi released this 17 Jul 17:35

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

4.0.0-alpha001 Pre-release
Pre-release

Choose a tag to compare

@jonorossi jonorossi released this 07 Apr 08:32

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.

3.3.3

Choose a tag to compare

@jonorossi jonorossi released this 06 Nov 02:17

Fixes

  • #70 - Serilog integration modifies LoggerConfiguration.MinimumLevel
  • #69 - Added SourceContext to the Serilog Logger - contributed by @KevivL

Changes from previous versions can be seen in Changes.txt. The release is also available on nuget

3.3.2

Choose a tag to compare

@jonorossi jonorossi released this 03 Nov 02:14

Fixes

  • #66 - SerilogLogger implementation bug where exceptions were passed through incorrectly.

Changes from previous versions can be seen in Changes.txt. The release is also available on nuget

3.3.1

Choose a tag to compare

@jonorossi jonorossi released this 10 Sep 13:05

Improvements

  • #61 - Added support for Serilog - contributed by Russell J Baker (@ruba1987)

Changes from previous versions can be seen in Changes.txt. The release is also available on nuget