You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by bl...@apache.org on 2022/10/28 11:20:05 UTC

[pulsar-dotpulsar] branch master updated: Make ready for release 2.5.0

This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new b7a3a06  Make ready for release 2.5.0
b7a3a06 is described below

commit b7a3a0649695878a92a7207d5d9e167779071805
Author: BLANKEN\blanken <db...@wisix.net>
AuthorDate: Fri Oct 28 13:19:50 2022 +0200

    Make ready for release 2.5.0
---
 CHANGELOG.md                                      | 2 +-
 src/DotPulsar/DotPulsar.csproj                    | 2 +-
 src/DotPulsar/Internal/DotPulsarActivitySource.cs | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index afe645e..4512e50 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## [Unreleased]
+## [2.5.0] - 2022-10-28
 
 ### Added
 
diff --git a/src/DotPulsar/DotPulsar.csproj b/src/DotPulsar/DotPulsar.csproj
index c3ae7b6..6babd00 100644
--- a/src/DotPulsar/DotPulsar.csproj
+++ b/src/DotPulsar/DotPulsar.csproj
@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
-    <Version>2.4.1</Version>
+    <Version>2.5.0</Version>
     <AssemblyVersion>$(Version)</AssemblyVersion>
     <FileVersion>$(Version)</FileVersion>
     <Authors>ApachePulsar,DanskeCommodities,dblank</Authors>
diff --git a/src/DotPulsar/Internal/DotPulsarActivitySource.cs b/src/DotPulsar/Internal/DotPulsarActivitySource.cs
index 114e215..905ff3f 100644
--- a/src/DotPulsar/Internal/DotPulsarActivitySource.cs
+++ b/src/DotPulsar/Internal/DotPulsarActivitySource.cs
@@ -29,14 +29,14 @@ public static class DotPulsarActivitySource
 
     public static ActivitySource ActivitySource { get; }
 
-    public static Activity? StartConsumerActivity(IMessage message, string operationName, KeyValuePair<string, object?>[] tags, bool autoLinkTraces)
+    public static Activity? StartConsumerActivity(IMessage message, string operationName, KeyValuePair<string, object?>[] tags, bool linkTraces)
     {
         if (!ActivitySource.HasListeners())
             return null;
 
         IEnumerable<ActivityLink>? activityLinks = null;
 
-        if (autoLinkTraces)
+        if (linkTraces)
         {
             var activityLink = GetActivityLink(message);
             if (activityLink is not null)