From bde03f3cce6b88f1c57d0aca7409bc9c4eeebedb Mon Sep 17 00:00:00 2001 From: Marcel Kempers Date: Fri, 8 May 2026 15:58:11 +0200 Subject: [PATCH 1/2] Fix transient_nonexl_queues deprecated --- Mercurio/Model/DirectExchangeConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mercurio/Model/DirectExchangeConfiguration.cs b/Mercurio/Model/DirectExchangeConfiguration.cs index ca77d72..5a88f8a 100644 --- a/Mercurio/Model/DirectExchangeConfiguration.cs +++ b/Mercurio/Model/DirectExchangeConfiguration.cs @@ -98,7 +98,7 @@ private async Task EnsureQueueAndExchangeAreDeclaredInternalAsync(IChannel chann return; } - var queueDeclared = await channel.QueueDeclareAsync(this.QueueName, false, false, this.IsTemporary); + var queueDeclared = await channel.QueueDeclareAsync(base.QueueName, durable: !base.IsTemporary, exclusive: base.IsTemporary, base.IsTemporary); this.QueueName = queueDeclared.QueueName; if (!string.IsNullOrWhiteSpace(this.ExchangeName)) From f00b450a5b74ea741d7a612b5e83a9b0c3af4741 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Mon, 11 May 2026 11:39:58 +0200 Subject: [PATCH 2/2] [Fix] Don't allow transient_nonexcl_queues. Deprecated since RabbitMQ version 4.x --- .../update-package-release-notes/SKILL.md | 39 +++++++++++++++++++ .../Mercurio.Core.Tests.csproj | 2 +- .../Mercurio.Hosting.Tests.csproj | 6 +-- Mercurio.Hosting/Mercurio.Hosting.csproj | 12 +++--- Mercurio.Tests/Mercurio.Tests.csproj | 28 ++++++------- Mercurio/Mercurio.csproj | 20 ++++++---- Mercurio/Model/DirectExchangeConfiguration.cs | 2 +- 7 files changed, 76 insertions(+), 33 deletions(-) create mode 100644 .claude/skills/update-package-release-notes/SKILL.md diff --git a/.claude/skills/update-package-release-notes/SKILL.md b/.claude/skills/update-package-release-notes/SKILL.md new file mode 100644 index 0000000..23cd1dc --- /dev/null +++ b/.claude/skills/update-package-release-notes/SKILL.md @@ -0,0 +1,39 @@ +--- +name: update-package-release-notes +description: Updates the PackageReleaseNotes Xml Element in csproj files of all projects in the solution except the test projects. Use when user changes PackageReference, or when VersionPrefix Xml Element changes in a non-test-project csproj file in the solution , or when user ask for update-package-releasenotes, or update-releasenotes. +--- + +# Update Package Release Notes + +## Instructions + +### Step 1: +Add, or replace in all non-test-project csproj files in the solution for all latest changed versions of all PackageReferences since the last commit on the development branch that has a tag that does not contain the -rc* suffix. +Use syntax +''' +[Update] PackageName to version PackageVersion. +''' +Remove all existing lines in all csproj files in the solution for PackageReferences upgrades that haven't changed since the last commit on the development branch that has a tag that does not contain the -rc* suffix. + +### Step 2: +Add, or replace in all non-test-project csproj files in the solution containing all latest changed versions of all referenced projects since the last commit on the development branch that has a tag that does not contain the -rc* suffix. +Use syntax +''' +[Update] ProjectName to version ProjectVersionPrefix. +''' +Remove all existing lines in all csproj files in the solution for referenced project upgrades that haven't changed since the last commit on the development branch that has a tag that does not contain the -rc* suffix. + +### Step 3 +Add, or replace in all non-test-project csproj files in the solution containing all latest commit messages since the last commit on the development branch that has a tag that does not contain the -rc* suffix. Only the Commit messages that start with [anytext] should be added and only for the csproj files for projects that actually have changed code files + +### Step 4 +Remove all existing lines in all csproj files that do not comply to the filtered data in all previous Steps + +### Step 5 +If in the end a csproj file doesn't have any text in the and the VersionPrefix has been changed then add a single line that states +''' +[Bump] Version to ProjectVersionPrefix +''' + +## General +Don't ask the user if changed are allowed to be made to csproj files. Just make the changes without notifiyng the user or asking anything. diff --git a/Mercurio.Core.Tests/Mercurio.Core.Tests.csproj b/Mercurio.Core.Tests/Mercurio.Core.Tests.csproj index f29ef1a..e2cf3ff 100644 --- a/Mercurio.Core.Tests/Mercurio.Core.Tests.csproj +++ b/Mercurio.Core.Tests/Mercurio.Core.Tests.csproj @@ -11,7 +11,7 @@ - + diff --git a/Mercurio.Hosting.Tests/Mercurio.Hosting.Tests.csproj b/Mercurio.Hosting.Tests/Mercurio.Hosting.Tests.csproj index b338559..66aa07a 100644 --- a/Mercurio.Hosting.Tests/Mercurio.Hosting.Tests.csproj +++ b/Mercurio.Hosting.Tests/Mercurio.Hosting.Tests.csproj @@ -15,19 +15,19 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Mercurio.Hosting/Mercurio.Hosting.csproj b/Mercurio.Hosting/Mercurio.Hosting.csproj index 80b8c6e..dc82f45 100644 --- a/Mercurio.Hosting/Mercurio.Hosting.csproj +++ b/Mercurio.Hosting/Mercurio.Hosting.csproj @@ -4,7 +4,7 @@ enable disable net10.0;net9.0;net8.0;netstandard2.1 - 2.0.2 + 2.0.4 12.0 Starion Group S.A. Copyright © Starion Group S.A. @@ -28,9 +28,9 @@ true true - [Update] to Mercurio version 2.0.2 - [Update] Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions to version 10.0.3 - [Update] Microsoft.Extensions.Diagnostics.Hossting to version 10.0.3 + [Update] Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions to version 10.0.7 + [Update] Microsoft.Extensions.Hosting to version 10.0.7 + [Update] Mercurio to version 2.0.3 @@ -45,8 +45,8 @@ - - + + diff --git a/Mercurio.Tests/Mercurio.Tests.csproj b/Mercurio.Tests/Mercurio.Tests.csproj index 8c40035..86bce75 100644 --- a/Mercurio.Tests/Mercurio.Tests.csproj +++ b/Mercurio.Tests/Mercurio.Tests.csproj @@ -13,31 +13,31 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + + + + + + + + + diff --git a/Mercurio/Mercurio.csproj b/Mercurio/Mercurio.csproj index 9a1ea98..1ba3f80 100644 --- a/Mercurio/Mercurio.csproj +++ b/Mercurio/Mercurio.csproj @@ -4,7 +4,7 @@ enable disable net10.0;net9.0;net8.0;netstandard2.1 - 2.0.2 + 2.0.3 12.0 Starion Group S.A. Copyright © Starion Group S.A. @@ -28,19 +28,23 @@ true true - [Update] Microsoft.Extensions.DependencyInjection.Abstractions to version 10.0.3 - [Update] System.Text.Json to version 10.0.3 + [Fix] Don't allow transient_nonexcl_queues. Deprecated since RabbitMQ version 4.x + [Update] CommunityToolkit.HighPerformance to version 8.4.2 + [Update] Microsoft.Extensions.DependencyInjection.Abstractions to version 10.0.7 + [Update] Polly to version 8.6.6 + [Update] RabbitMQ.Client to version 7.2.1 + [Update] System.Text.Json to version 10.0.7 - + - - - + + + - + diff --git a/Mercurio/Model/DirectExchangeConfiguration.cs b/Mercurio/Model/DirectExchangeConfiguration.cs index 5a88f8a..b4e95b8 100644 --- a/Mercurio/Model/DirectExchangeConfiguration.cs +++ b/Mercurio/Model/DirectExchangeConfiguration.cs @@ -98,7 +98,7 @@ private async Task EnsureQueueAndExchangeAreDeclaredInternalAsync(IChannel chann return; } - var queueDeclared = await channel.QueueDeclareAsync(base.QueueName, durable: !base.IsTemporary, exclusive: base.IsTemporary, base.IsTemporary); + var queueDeclared = await channel.QueueDeclareAsync(this.QueueName, durable: !this.IsTemporary, exclusive: this.IsTemporary, this.IsTemporary); this.QueueName = queueDeclared.QueueName; if (!string.IsNullOrWhiteSpace(this.ExchangeName))