Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.2.0] - 2026-05-19
### *Changes*
- Make JsonMessageHandler<T>.HandleAsync(T, headers, ct) public instead of protected, allowing consuming applications to unit test their handler implementations directly with typed payloads rather than having to construct serialised Message objects

## [5.1.0] - 2026-05-18
### *Changes*
- Add JsonMessageHandler<T> abstract base class for type-safe message consumption with automatic JSON deserialization
Expand Down
2 changes: 1 addition & 1 deletion src/JsonMessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public async Task HandleAsync(Message message, CancellationToken cancellationTok
await HandleAsync(payload, message.Headers, cancellationToken);
}

protected abstract Task HandleAsync(
public abstract Task HandleAsync(
T payload,
IReadOnlyDictionary<string, object> headers,
CancellationToken cancellationToken);
Expand Down
2 changes: 1 addition & 1 deletion src/Linn.Common.Messaging.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>Linn.Common.Messaging.RabbitMQ</AssemblyName>
<PackageId>Linn.Common.Messaging.RabbitMQ</PackageId>
<Version>5.1.0</Version>
<Version>5.2.0</Version>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
Expand Down
Loading