Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump Castle.Core from 5.0.0 to 5.2.1 #273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps Castle.Core from 5.0.0 to 5.2.1.

Release notes

Sourced from Castle.Core's releases.

5.2.0 (delayed)

⚠️ This release has not yet been published to NuGet due to an expired API token, which needs to be updated first.

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)
Changelog

Sourced from Castle.Core's changelog.

5.2.1 (2025-03-09)

(Note: Version 5.2.0 was skipped due to issues with the automated CI release process.)

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 (2022-12-30)

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 (2022-08-02)

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
  • 4d62205 Update changelog for 5.2.1 release
  • 28b8715 Dispose keyEnumerator
  • f372c2c Optimize array usage, plus other minor tweaks
  • 17fd99c Update changelog for 5.2.0 release
  • 00642c9 Merge pull request #668 from stakx/enhancement/nullable-reference-type-annota...
  • 7122b6c Update changelog
  • b972aaf Update ref/ contract files
  • 88eb851 Add NRT annotations for public API
  • 3374796 Fix GitHub Actions job failures (#682)
  • a3e629b Merge pull request #661 from stakx/enhancements/default-interface-members
  • Additional 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)

Bumps [Castle.Core](https://github.com/castleproject/Core) from 5.0.0 to 5.2.1.
- [Release notes](https://github.com/castleproject/Core/releases)
- [Changelog](https://github.com/castleproject/Core/blob/master/CHANGELOG.md)
- [Commits](castleproject/Core@v5.0.0...v5.2.1)

---
updated-dependencies:
- dependency-name: Castle.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2025

The following labels could not be found: ⬆️⬇️ dependencies.

@dependabot dependabot bot requested a review from a team as a code owner March 10, 2025 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants