From bad2cc2b69d01230ab9a71cce38455c4686bc0cf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 23 Apr 2021 15:25:23 +0000 Subject: [PATCH 01/11] Bump coverlet.collector from 1.3.0 to 3.0.3 (#217) --- src/Hyperion.API.Tests/Hyperion.API.Tests.csproj | 2 +- .../Hyperion.Akka.Integration.Tests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj index f81dcacc..b63f7300 100644 --- a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj +++ b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj b/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj index fc68d56d..6528c020 100644 --- a/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj +++ b/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj @@ -18,7 +18,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 26758380c74038255d1b96b55f65468e45126a5f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 05:39:19 +0000 Subject: [PATCH 02/11] Bump AkkaVersion from 1.4.18 to 1.4.19 Bumps `AkkaVersion` from 1.4.18 to 1.4.19. Updates `Akka` from 1.4.18 to 1.4.19 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19) Updates `Akka.Serialization.Hyperion` from 1.4.18 to 1.4.19 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19) Updates `Akka.TestKit.Xunit2` from 1.4.18 to 1.4.19 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19) Signed-off-by: dependabot-preview[bot] --- src/common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.props b/src/common.props index dc709784..494035c8 100644 --- a/src/common.props +++ b/src/common.props @@ -18,7 +18,7 @@ $(NoWarn);CS1591 - 1.4.18 + 1.4.19 5.10.3 2.4.1 From 3d5a4b3c97c18e18a0d3dec8f09cf439afb2ef8f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:23:03 +0000 Subject: [PATCH 03/11] Upgrade to GitHub-native Dependabot --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..aec207e4 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: nuget + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 From fa82ee596a53765b1a3ebf660f252d2b00ffdecc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 May 2021 07:04:12 +0000 Subject: [PATCH 04/11] Bump AkkaVersion from 1.4.19 to 1.4.20 Bumps `AkkaVersion` from 1.4.19 to 1.4.20. Updates `Akka` from 1.4.19 to 1.4.20 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20) Updates `Akka.Serialization.Hyperion` from 1.4.19 to 1.4.20 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20) Updates `Akka.TestKit.Xunit2` from 1.4.19 to 1.4.20 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20) Signed-off-by: dependabot[bot] --- src/common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.props b/src/common.props index 494035c8..24d5de42 100644 --- a/src/common.props +++ b/src/common.props @@ -18,7 +18,7 @@ $(NoWarn);CS1591 - 1.4.19 + 1.4.20 5.10.3 2.4.1 From d6e20971e7b0ed6a5c52e09d1acdf751d0c36180 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 May 2021 16:48:31 +0000 Subject: [PATCH 05/11] Bump BenchmarkDotNet from 0.12.1 to 0.13.0 (#221) --- src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj b/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj index 4a4c8977..d95e2c60 100644 --- a/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj +++ b/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj @@ -7,7 +7,7 @@ - + From ef331c717f532f9e94d3c383b8249a5452bd9f76 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jun 2021 09:55:44 -0500 Subject: [PATCH 06/11] Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0 (#222) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.props b/src/common.props index 24d5de42..f85ce4a3 100644 --- a/src/common.props +++ b/src/common.props @@ -23,7 +23,7 @@ 5.10.3 2.4.1 2.4.3 - 16.9.4 + 16.10.0 1.2.2 \ No newline at end of file From e4303280120c0044eb2e4c67ddda0ab57a4929c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Jun 2021 06:52:25 -0500 Subject: [PATCH 07/11] Bump AkkaVersion from 1.4.20 to 1.4.21 (#227) Bumps `AkkaVersion` from 1.4.20 to 1.4.21. Updates `Akka` from 1.4.20 to 1.4.21 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21) Updates `Akka.Serialization.Hyperion` from 1.4.20 to 1.4.21 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21) Updates `Akka.TestKit.Xunit2` from 1.4.20 to 1.4.21 - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21) --- updated-dependencies: - dependency-name: Akka dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Akka.Serialization.Hyperion dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Akka.TestKit.Xunit2 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> --- src/common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.props b/src/common.props index f85ce4a3..9637364f 100644 --- a/src/common.props +++ b/src/common.props @@ -18,7 +18,7 @@ $(NoWarn);CS1591 - 1.4.20 + 1.4.21 5.10.3 2.4.1 From 8dce55add8fa2acb6f4014e1203f4547294c8591 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Jun 2021 11:57:27 +0000 Subject: [PATCH 08/11] Bump ApprovalTests from 5.4.7 to 5.5.0 (#223) Bumps [ApprovalTests](https://github.com/approvals/ApprovalTests.Net) from 5.4.7 to 5.5.0. - [Release notes](https://github.com/approvals/ApprovalTests.Net/releases) - [Commits](https://github.com/approvals/ApprovalTests.Net/compare/5.4.7...5.5.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aaron Stannard --- src/Hyperion.API.Tests/Hyperion.API.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj index b63f7300..260d64dd 100644 --- a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj +++ b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj @@ -8,7 +8,7 @@ - + From b3510325965b3c92efc7141b6094c985051efd12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Jun 2021 12:03:04 +0000 Subject: [PATCH 09/11] Bump FSharp.Core from 5.0.1 to 5.0.2 (#228) Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/dotnet/fsharp/releases) - [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md) - [Commits](https://github.com/dotnet/fsharp/commits) --- updated-dependencies: - dependency-name: FSharp.Core 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> --- src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj b/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj index ade9902c..51916107 100644 --- a/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj +++ b/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj @@ -9,7 +9,7 @@ - + From 26f84af34a35b98bc362e5451b5532a931a1b347 Mon Sep 17 00:00:00 2001 From: Gregorius Soedharmo Date: Wed, 30 Jun 2021 21:22:17 +0700 Subject: [PATCH 10/11] Add exception handling for exception logging (#229) * Add exception handling for exception logging * Add System.Runtime.Serialization.Primitives package --- src/Hyperion/Hyperion.csproj | 4 ++++ src/Hyperion/ValueSerializers/ObjectSerializer.cs | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/Hyperion/Hyperion.csproj b/src/Hyperion/Hyperion.csproj index 7dccf116..803258d0 100644 --- a/src/Hyperion/Hyperion.csproj +++ b/src/Hyperion/Hyperion.csproj @@ -32,6 +32,10 @@ + + + + $(DefineConstants);NETSTANDARD16 diff --git a/src/Hyperion/ValueSerializers/ObjectSerializer.cs b/src/Hyperion/ValueSerializers/ObjectSerializer.cs index fe53fbfc..6d936bd7 100644 --- a/src/Hyperion/ValueSerializers/ObjectSerializer.cs +++ b/src/Hyperion/ValueSerializers/ObjectSerializer.cs @@ -10,6 +10,7 @@ using System; using System.IO; using System.Linq; +using System.Runtime.Serialization; using System.Threading; using Hyperion.Extensions; @@ -103,7 +104,18 @@ public override void WriteManifest(Stream stream, SerializerSession session) public override void WriteValue(Stream stream, object value, SerializerSession session) => _writer(stream, value, session); - public override object ReadValue(Stream stream, DeserializerSession session) => _reader(stream, session); + public override object ReadValue(Stream stream, DeserializerSession session) + { + try + { + return _reader(stream, session); + } + catch (Exception e) + { + throw new SerializationException( + $"Failed to deserialize object of type [{Type}] from the stream. Cause: {e.Message}", e); + } + } public override Type GetElementType() => Type; From bafee2703e173a0ca3c467488b0ba8f4bca079c6 Mon Sep 17 00:00:00 2001 From: Gregorius Soedharmo Date: Wed, 30 Jun 2021 22:35:05 +0700 Subject: [PATCH 11/11] Update RELEASE_NOTES.md for 0.10.2 release --- RELEASE_NOTES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8869ac98..74c1928a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,2 +1,6 @@ +### 0.10.2 June 30 2021 #### +* [Update Akka version to 1.4.21](https://github.com/akkadotnet/akka.net/releases/tag/1.4.21) +* [Add exception rethrow to help with debugging](https://github.com/akkadotnet/Hyperion/pull/229) + ### 0.10.1 April 20 2021 #### * [Fix SerializerOptions constructor backward compatibility issue with Akka.NET](https://github.com/akkadotnet/Hyperion/pull/214)