Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2025

Updated Castle.Core from 5.0.0 to 5.2.1.

Release notes

Sourced from Castle.Core's releases.

5.2.1

(Note: Version 5.2.0 was skipped due to issues with the automated CI release process. This release was delayed until March 9th 2025.)

Enhancements

  • Two new generic method overloads proxyGenerator.CreateClassProxy<TClass>([options], constructorArguments, interceptors) (@​backstromjoel, #​636)
  • Allow specifying which attributes should always be copied to proxy class by adding attribute type to AttributesToAlwaysReplicate. Previously only non-inherited, with Inherited=false, attributes were copied. (@​shoaibshakeel381, #​633)
  • Support for C# 8+ default interface methods in interface and class proxies without target (@​stakx, #​661)
  • DynamicProxy's public API has been augmented with nullable reference type annotations (@​stakx, #​668)

Bugfixes

  • ArgumentException: "Could not find method overriding method" with overridden class method having generic by-ref parameter (@​stakx, #​657)
  • ArgumentException: "Cannot create an instance of TEnum because Type.ContainsGenericParameters is true" caused by Enum constraint on method out parameter (@​stakx, #​658)

5.1.1

Bugfixes

  • Proxies using records derived from a base generic record broken using .NET 6 compiler (@​CesarD, #​632)
  • Failure proxying type that has a non-inheritable custom attribute type applied where null argument is given for array parameter (@​stakx, #​637)
  • Nested custom attribute types do not get replicated (@​stakx, #​638)

5.1.0

Enhancements

  • Support for covariant method returns (@​stakx, #​619)
  • Performance improvement with proxy type generation for class proxies (without target). Abstract class methods now reuse a predefined invocation type (like methods of interface proxies without target; see explanation below at version 5.0.0 enhancements) (@​stakx, #​626)

Bugfixes

  • DynamicProxy emits invalid metadata for redeclared event (@​stakx, #​590)
  • Proxies using records with a base class broken using .NET 6 compiler (@​ajcvickers, #​601)
  • MissingMethodException when proxying interfaces containing sealed methods (@​stakx, #​621)

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Dec 9, 2025
---
updated-dependencies:
- dependency-name: Castle.Core
  dependency-version: 5.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@torosent torosent force-pushed the dependabot/nuget/Castle.Core-5.2.1 branch from f68f7ad to 9c21731 Compare December 16, 2025 22:52
@torosent torosent merged commit ff716d0 into main Dec 16, 2025
5 checks passed
@torosent torosent deleted the dependabot/nuget/Castle.Core-5.2.1 branch December 16, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants