Skip to content

Conversation

@dependabot-preview
Copy link

Bumps Castle.Core from 3.3.0 to 4.4.0.

Release notes

Sourced from Castle.Core's releases.

4.4.0

Enhancements

  • Added trace logging level below Debug; maps to Trace in log4net/NLog, and Verbose in Serilog (@pi3k14, #404)
  • Recognize read-only parameters by the In modreq (@zvirja, #406)
  • DictionaryAdapter: Exposed GetAdapter overloads with NameValueCollection parameter in .NET Standard (@rzontar, #423)
  • Ability to add delegate mixins to proxies using ProxyGenerationOptions.AddDelegate[Type]Mixin. You can bind to the mixed-in Invoke methods on the proxy using ProxyUtil.CreateDelegateToMixin. (@stakx, #436)
  • New IInvocation.CaptureProceedInfo() method to enable better implementations of asynchronous interceptors (@stakx, #439)

Deprecations

  • The API surrounding Lock has been deprecated. This consists of the members listed below. Consider using the Base Class Library's System.Threading.ReaderWriterLockSlim instead. (@stakx, #391)
    • Castle.Core.Internal.Lock (class)
    • Castle.Core.Internal.ILockHolder (interface)
    • Castle.Core.Internal.IUpgradeableLockHolder (interface)
  • You should no longer manually emit types into DynamicProxy's dynamic assembly. For this reason, the following member has been deprecated. (@stakx, #445)
    • Castle.DynamicProxy.ModuleScope.DefineType (method)
  • The proxy type cache in ModuleScope should no longer be accessed directly. For this reason, the members listed below have been deprecated. (@stakx, #391)
    • Castle.DynamicProxy.ModuleScope.Lock (property)
    • Castle.DynamicProxy.ModuleScope.GetFromCache (method)
    • Castle.DynamicProxy.ModuleScope.RegisterInCache (method)
    • Castle.DynamicProxy.Generators.BaseProxyGenerator.AddToCache (method)
    • Castle.DynamicProxy.Generators.BaseProxyGenerator.GetFromCache (method)
    • Castle.DynamicProxy.Generators.CacheKey (class)
    • Castle.DynamicProxy.Serialization.CacheMappingsAttribute.ApplyTo (method)
    • Castle.DynamicProxy.Serialization.CacheMappingsAttribute.GetDeserializedMappings (method)

4.3.1

Enhancements

  • Use shared read locking to reduce lock contention in InvocationHelper and ProxyUtil (@TimLovellSmith, #377)

Bugfixes

  • Prevent interceptors from being able to modify in parameters (@stakx, #370)
  • Make default value replication of optional parameters more tolerant of default values that are represented in metadata with a mismatched type (@stakx, #371)
  • Fix a concurrency issue (writing without taking a write lock first) in BaseProxyGenerator.ObtainProxyType (@stakx, #383)

Deprecations

  • Castle.DynamicProxy.Generators.Emitters.ArgumentsUtil.IsAnyByRef (@stakx, #370)

4.3.0

Enhancements

  • Added .NET Standard/.NET Core support for NLog (@snakefoot, #200)
  • Added .NET Standard/.NET Core support for log4net (@snakefoot, #201)
  • DynamicProxy supported C# in parameter modifiers only on the .NET Framework up until now. Adding .NET Standard 1.5 as an additional target to the NuGet package makes them work on .NET Core, too (@stakx, #339)
  • Replicate custom attributes on constructor parameters in the generated proxy type constructors to fulfill introspection of constructors. This does not change the proxying behavior. (@stakx, #341)
  • Improve performance of InvocationHelper cache lookups (@tangdf, #358)
  • Improve fidelity of default value replication of optional parameters to fulfill inspection of the generated proxies. This does not change the proxying behavior. (@stakx, #356)
  • Improve cache performance of MethodFinder.GetAllInstanceMethods (@tangdf, #357)

Bugfixes

  • Fix Castle.Services.Logging.Log4netIntegration assembly file name casing which breaks on Linux (@beginor, #324)
  • Fix Castle.DynamicProxy.Generators.AttributesToAvoidReplicating not being thread safe (InvalidOperationException "Collection was modified; enumeration operation may not execute.") (@BrunoJuchli, #334)
... (truncated)
Changelog

Sourced from Castle.Core's changelog.

4.4.0 (2019-04-05)

Enhancements:

  • Added trace logging level below Debug; maps to Trace in log4net/NLog, and Verbose in Serilog (@pi3k14, #404)
  • Recognize read-only parameters by the In modreq (@zvirja, #406)
  • DictionaryAdapter: Exposed GetAdapter overloads with NameValueCollection parameter in .NET Standard (@rzontar, #423)
  • Ability to add delegate mixins to proxies using ProxyGenerationOptions.AddDelegate[Type]Mixin. You can bind to the mixed-in Invoke methods on the proxy using ProxyUtil.CreateDelegateToMixin. (@stakx, #436)
  • New IInvocation.CaptureProceedInfo() method to enable better implementations of asynchronous interceptors (@stakx, #439)

Deprecations:

  • The API surrounding Lock has been deprecated. This consists of the members listed below. Consider using the Base Class Library's System.Threading.ReaderWriterLockSlim instead. (@stakx, #391)
    • Castle.Core.Internal.Lock (class)
    • Castle.Core.Internal.ILockHolder (interface)
    • Castle.Core.Internal.IUpgradeableLockHolder (interface)
  • You should no longer manually emit types into DynamicProxy's dynamic assembly. For this reason, the following member has been deprecated. (@stakx, #445)
    • Castle.DynamicProxy.ModuleScope.DefineType (method)
  • The proxy type cache in ModuleScope should no longer be accessed directly. For this reason, the members listed below have been deprecated. (@stakx, #391)
    • Castle.DynamicProxy.ModuleScope.Lock (property)
    • Castle.DynamicProxy.ModuleScope.GetFromCache (method)
    • Castle.DynamicProxy.ModuleScope.RegisterInCache (method)
    • Castle.DynamicProxy.Generators.BaseProxyGenerator.AddToCache (method)
    • Castle.DynamicProxy.Generators.BaseProxyGenerator.GetFromCache (method)
    • Castle.DynamicProxy.Generators.CacheKey (class)
    • Castle.DynamicProxy.Serialization.CacheMappingsAttribute.ApplyTo (method)
    • Castle.DynamicProxy.Serialization.CacheMappingsAttribute.GetDeserializedMappings (method)

4.3.1 (2018-06-21)

Enhancements:

  • Use shared read locking to reduce lock contention in InvocationHelper and ProxyUtil (@TimLovellSmith, #377)

Bugfixes:

  • Prevent interceptors from being able to modify in parameters (@stakx, #370)
  • Make default value replication of optional parameters more tolerant of default values that are represented in metadata with a mismatched type (@stakx, #371)
  • Fix a concurrency issue (writing without taking a write lock first) in BaseProxyGenerator.ObtainProxyType (@stakx, #383)

Deprecations:

  • Castle.DynamicProxy.Generators.Emitters.ArgumentsUtil.IsAnyByRef (@stakx, #370)

4.3.0 (2018-06-07)

Enhancements:

  • Added .NET Standard/.NET Core support for NLog (@snakefoot, #200)
  • Added .NET Standard/.NET Core support for log4net (@snakefoot, #201)
  • DynamicProxy supported C# in parameter modifiers only on the .NET Framework up until now. Adding .NET Standard 1.5 as an additional target to the NuGet package makes them work on .NET Core, too (@stakx, #339)
  • Replicate custom attributes on constructor parameters in the generated proxy type constructors to fulfill introspection of constructors. This does not change the proxying behavior. (@stakx, #341)
  • Improve performance of InvocationHelper cache lookups (@tangdf, #358)
  • Improve fidelity of default value replication of optional parameters to fulfill inspection of the generated proxies. This does not change the proxying behavior. (@stakx, #356)
  • Improve cache performance of MethodFinder.GetAllInstanceMethods (@tangdf, #357)
... (truncated)
Commits
  • f0626e2 Update changelog for 4.4.0
  • c50deb3 Deprecate ModuleScope.DefineType (#445)
  • 57b068e Merge pull request #440 from castleproject/public-api
  • dfe72bf Update public API after recent proceed info and delegate proxy changes
  • 2c27cc9 PublicApiTestCase: add XML documentation about development workflow
  • 7e8a29e Fix public API generator comparison on Windows
  • 2b0e985 Disable public API generation on Mono
  • 90067a0 Initial baseline of public API as reference source files
  • ebb60f4 Export public API to C# text files and fail unit test if not matching
  • 871432e Accuracy of docs & exception regarding Proceed
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 1, 2020
@dependabot-preview
Copy link
Author

Superseded by #216.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/Castle.Core-4.4.0 branch May 11, 2020 05:16
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant