From 36dd0f96e5b6c44fc08749a6cc3259a484c6596f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 08:06:31 -0700 Subject: [PATCH 1/6] Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#2116) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.1 to 17.12.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index ad892297e..ef078dcca 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -33,7 +33,7 @@ - + From 7c764702532a5c91c5d5032c4625cc23200804e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 08:06:42 -0700 Subject: [PATCH 2/6] Bump nunit from 4.2.2 to 4.3.2 (#2117) Bumps [nunit](https://github.com/nunit/nunit) from 4.2.2 to 4.3.2. - [Release notes](https://github.com/nunit/nunit/releases) - [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md) - [Commits](https://github.com/nunit/nunit/compare/4.2.2...4.3.2) --- updated-dependencies: - dependency-name: nunit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index ef078dcca..124a4f977 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -41,7 +41,7 @@ - + From dfd711d1d6295183ea56fd3e7294c1004c321d35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 08:07:07 -0700 Subject: [PATCH 3/6] Bump Newtonsoft.Json and Newtonsoft.Json.Bson (#2118) Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) and [Newtonsoft.Json.Bson](https://github.com/JamesNK/Newtonsoft.Json.Bson). These dependencies needed to be updated together. Updates `Newtonsoft.Json` from 13.0.3 to 13.0.1 - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.3...13.0.1) Updates `Newtonsoft.Json.Bson` from 1.0.2 to 1.0.3 - [Release notes](https://github.com/JamesNK/Newtonsoft.Json.Bson/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json.Bson/compare/1.0.2...1.0.3) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Newtonsoft.Json.Bson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 124a4f977..313b5daf6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -38,7 +38,7 @@ - + From 72b7d114098a8a4f22d9e29716414e0d0ae4ec93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 13:17:56 -0700 Subject: [PATCH 4/6] Bump MicrosoftCodeAnalysisVersion from 4.8.0 to 4.12.0 (#2115) * Bump MicrosoftCodeAnalysisVersion from 4.8.0 to 4.12.0 Bumps `MicrosoftCodeAnalysisVersion` from 4.8.0 to 4.12.0. Updates `Microsoft.CodeAnalysis.CSharp` from 4.8.0 to 4.12.0 - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/commits) Updates `Microsoft.CodeAnalysis.CSharp.Workspaces` from 4.8.0 to 4.12.0 - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/commits) Updates `Microsoft.CodeAnalysis.VisualBasic.Workspaces` from 4.8.0 to 4.12.0 - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/commits) --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.VisualBasic.Workspaces dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Don't change the VS version we target --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Arnott --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 313b5daf6..1e2da923d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,7 +6,7 @@ true 0.14.0 - 4.8.0 + 4.12.0 4.3.0 1.1.2 From 8945bfea0b5b9054c7088a9b49064f9675f6c801 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:35:30 -0700 Subject: [PATCH 5/6] Bump FluentAssertions from 6.12.0 to 7.0.0 (#2114) * Bump FluentAssertions from 6.12.0 to 7.0.0 Bumps [FluentAssertions](https://github.com/fluentassertions/fluentassertions) from 6.12.0 to 7.0.0. - [Release notes](https://github.com/fluentassertions/fluentassertions/releases) - [Changelog](https://github.com/fluentassertions/fluentassertions/blob/develop/AcceptApiChanges.ps1) - [Commits](https://github.com/fluentassertions/fluentassertions/compare/6.12.0...7.0.0) --- updated-dependencies: - dependency-name: FluentAssertions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Rollback CodeAnalysis version bump --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Arnott --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1e2da923d..ba1866220 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -15,7 +15,7 @@ - + From 4e9fee04178d0d269d159d0af1155d086e19ba1c Mon Sep 17 00:00:00 2001 From: Marcus Christensen Date: Tue, 7 Jan 2025 19:58:24 +0100 Subject: [PATCH 6/6] Updated dynamic assemblies to support unloading. --- src/MessagePack/Internal/DynamicAssembly.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/MessagePack/Internal/DynamicAssembly.cs b/src/MessagePack/Internal/DynamicAssembly.cs index 4cde40b79..e921f9aab 100644 --- a/src/MessagePack/Internal/DynamicAssembly.cs +++ b/src/MessagePack/Internal/DynamicAssembly.cs @@ -33,12 +33,10 @@ internal class DynamicAssembly /// The names of assemblies that should be fully accessible to this dynamic one, bypassing visibility checks. public DynamicAssembly(string moduleName, ImmutableHashSet skipVisibilityChecksTo) { -#if NETFRAMEWORK // We don't ship a net472 target, but we might add one for debugging purposes - AssemblyBuilderAccess builderAccess = AssemblyBuilderAccess.RunAndSave; +#if NETFRAMEWORK this.moduleName = moduleName; -#else - AssemblyBuilderAccess builderAccess = AssemblyBuilderAccess.RunAndCollect; #endif + AssemblyBuilderAccess builderAccess = AssemblyBuilderAccess.RunAndCollect; this.assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName(moduleName), builderAccess); this.moduleBuilder = this.assemblyBuilder.DefineDynamicModule(moduleName + ".dll");