Akka.Serialization.Hyperion 1.5.57-beta2

Prefix Reserved
This is a prerelease version of Akka.Serialization.Hyperion.
dotnet add package Akka.Serialization.Hyperion --version 1.5.57-beta2
                    
NuGet\Install-Package Akka.Serialization.Hyperion -Version 1.5.57-beta2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Akka.Serialization.Hyperion" Version="1.5.57-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Akka.Serialization.Hyperion" Version="1.5.57-beta2" />
                    
Directory.Packages.props
<PackageReference Include="Akka.Serialization.Hyperion" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Akka.Serialization.Hyperion --version 1.5.57-beta2
                    
#r "nuget: Akka.Serialization.Hyperion, 1.5.57-beta2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Akka.Serialization.Hyperion@1.5.57-beta2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Akka.Serialization.Hyperion&version=1.5.57-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Akka.Serialization.Hyperion&version=1.5.57-beta2&prerelease
                    
Install as a Cake Tool

Akka.NET

Akka.NET logo

Discord NuGet Nuget

Akka.NET is a .NET port of the popular Akka project from the Scala / Java community. We are an idiomatic .NET implementation of the actor model built on top of the .NET Common Language Runtime.

Akka.NET is a .NET Foundation project.

.NET Foundation Logo

How is Akka.NET Used?

Akka.NET can be used in-process or inside large, distributed real-time systems; we support a wide variety of use cases.

Akka.NET can be used to solve the following types of problems:

  1. Concurrency - Akka.NET actors only process messages one-at-a-time and they do so in first in, first out (FIFO) order; this means that any application state internal to an actor is automatically thread-safe without having to use locks or any other shared-memory synchronization mechanisms.
  2. Stream Processing - Akka.NET actors and Akka.Streams make it easy to build streaming applications, used for processing incoming streams of data or incoming streams of live events such as UI or network events inside native applications.
  3. Event-Driven Programming - actors make it easy to build event-driven applications, as actors' message-processing routines naturally express these types of designs.
  4. Event Sourcing and CQRS - Akka.Persistence, used by actors to make their state re-entrant and recoverable across restarts or migrations between nodes, natively supports event sourcing. Akka.Persistence.Query can be used to compute CQRS-style projections and materialized views from Akka.Persistence data.
  5. Location Transparency - Akka.Remote makes it simple for actors in remote processes to transparently communicate with each other.
  6. Highly Available, Fault-Tolerant Distributed Systems - Akka.Cluster, Akka.Cluster.Sharding, and other tools built on top of Akka.Cluster make it possible to build highly available and fault-tolerant distributed systems by leveraging peer-to-peer programming models with topology-aware message routing and distribution.
  7. Low Latency, High Throughput - Akka.NET aims to be low latency and high throughput, processing 10s millions of messages per second in-memory and hundreds of thousands of messages per second over remote connections.

Where Can I Learn Akka.NET?

You can start by taking the Akka.NET Bootcamp, but there are many other great learning resources for Akka.NET Online.

Build Status

Stage Status
NuGet Pack Build Status
.NET Framework Unit Tests Build Status
.NET Unit Tests (Windows) Build Status
.NET Unit Tests (Linux) Build Status
.NET MultiNode Tests (Windows) Build Status
.NET MultiNode Tests (Linux) Build Status
Docs Build Status

Install Akka.NET via NuGet

If you want to include Akka.NET in your project, you can install it directly from NuGet

To install Akka.NET Distributed Actor Framework, run the following command in the Package Manager Console

PM> Install-Package Akka.Hosting

Akka.Hosting includes the base Akka NuGet package and also provides an easy interface to integrate Akka.NET with the most-used parts of the Microsoft.Extensions ecosystem: Configuration, Logging, Hosting, and DependencyInjection. We encourage developers to adopt it.

And if you need F# support:

PM> Install-Package Akka.FSharp

Akka.NET Project Templates

To create your own Akka.NET projects using our templates (Akka.Templates), install them via the dotnet CLI:

dotnet new install "Akka.Templates::*"

This will make our templates available via dotnet new on the CLI and as new project templates inside any .NET IDE such as Visual Studio or JetBrains Rider. You can view the full list of templates included in our package here: https://github.com/akkadotnet/akkadotnet-templates#available-templates

Builds

Please see Building Akka.NET.

To access nightly Akka.NET builds, please see the instructions here.

Support

If you need help getting started with Akka.NET, there's a number of great community resources online:

If you and your company are interested in getting professional Akka.NET support, you can contact Petabridge for dedicated Akka.NET support.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (16)

Showing the top 5 NuGet packages that depend on Akka.Serialization.Hyperion:

Package Downloads
Akkling

Library used for working with Akka.NET using F# in type safe manner with functional principles in mind

FAkka.Shared

Package Description

CurryOn.Akka.Persistence.Elasticsearch

Akka.net Persistence Plug-in for Elasticsearch. Includes Event Journal, Snapshot Store, and Query Read Journal.

Slalom.Stacks.Akka

Contains components that introduce Akka.NET as a middleware for state, block-free concurrency and distrubuted behavior.

WAkka

Make creating certain types of Akka.NET actors easier in F#.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Akka.Serialization.Hyperion:

Repository Stars
petabridge/akkadotnet-code-samples
Akka.NET professional reference code samples
akkadotnet/Hyperion
Polymorphic serialization for .NET
Version Downloads Last Updated
1.5.57-beta2 61 12/3/2025
1.5.57-beta1 74 12/2/2025
1.5.56 2,130 11/25/2025
1.5.55 10,568 10/26/2025
1.5.54 3,699 10/17/2025
1.5.53 3,789 10/10/2025
1.5.52 3,975 10/6/2025
1.5.51 2,953 10/1/2025
1.5.50 4,225 9/22/2025
1.5.49 9,809 9/10/2025
1.5.48 9,494 8/22/2025
1.5.47 3,805 8/14/2025
1.5.46 7,932 7/17/2025
1.5.45 2,839 7/7/2025
1.5.44 8,117 6/19/2025
1.5.43 5,459 6/10/2025
1.5.42 6,445 5/21/2025
1.5.41 6,057 5/6/2025
1.5.40 12,766 3/24/2025
1.5.39 3,532 3/14/2025
1.5.38 16,604 2/17/2025
1.5.37 13,120 1/23/2025
1.5.36 563 1/22/2025
1.5.35 6,070 1/13/2025
1.5.34 1,398 1/7/2025
1.5.33 3,147 12/23/2024
1.5.32 6,824 12/4/2024
1.5.31 11,748 11/11/2024
1.5.30 27,258 10/3/2024
1.5.29 554 10/1/2024
1.5.28 3,861 9/4/2024
1.5.28-beta1 218 8/23/2024
1.5.27.1 23,249 7/26/2024
1.5.27 273 7/25/2024
1.5.27-beta2 192 7/3/2024
1.5.27-beta1 169 7/3/2024
1.5.26 15,232 6/27/2024
1.5.25 4,543 6/14/2024
1.5.24 15,368 6/7/2024
1.5.23 424 6/6/2024
1.5.22 588 6/3/2024
1.5.21 3,068 5/28/2024
1.5.20 105,460 4/29/2024
1.5.19 9,581 4/15/2024
1.5.18 11,647 3/12/2024
1.5.17.1 1,625 3/2/2024
1.5.17 559 2/29/2024
1.5.16 15,268 1/29/2024
1.5.15 14,935 1/10/2024
1.5.14 46,343 11/3/2023
1.5.13 82,518 9/18/2023
1.5.13-beta1 257 8/25/2023
1.5.12 11,367 8/2/2023
1.5.11 600 7/27/2023
1.5.10 659 7/25/2023
1.5.9 2,372 7/17/2023
1.5.8 4,591 6/15/2023
1.5.7 28,501 5/17/2023
1.5.6 2,742 5/8/2023
1.5.5 19,193 5/4/2023
1.5.4 2,382 4/25/2023
1.5.3 566 4/20/2023
1.5.2 11,412 4/6/2023
1.5.1 9,430 3/15/2023
1.5.0 53,297 3/2/2023
1.5.0-beta6 298 3/1/2023
1.5.0-beta5 287 3/1/2023
1.5.0-beta4 264 2/28/2023
1.5.0-beta3 287 2/27/2023
1.5.0-beta2 287 2/23/2023
1.5.0-beta1 284 2/20/2023
1.5.0-alpha4 301 2/1/2023
1.5.0-alpha3 759 11/15/2022
1.5.0-alpha2 321 10/17/2022
1.5.0-alpha1 332 8/22/2022
1.4.51 17,104 6/28/2023
1.4.50 21,228 3/15/2023
1.4.49 24,150 1/27/2023
1.4.49-beta1 296 1/11/2023
1.4.48 19,350 1/5/2023
1.4.47 20,604 12/9/2022
1.4.46 29,831 11/15/2022
1.4.45 13,662 10/19/2022
1.4.44 1,261 10/17/2022
1.4.43 6,859 9/27/2022
1.4.42 1,234 9/23/2022
1.4.41 33,572 8/31/2022
1.4.40 10,583 7/22/2022
1.4.39 37,521 6/1/2022
1.4.38 7,764 5/6/2022
1.4.37 23,127 4/14/2022
1.4.36 5,318 4/5/2022
1.4.35 23,323 3/18/2022
1.4.34 6,628 3/7/2022
1.4.33 4,406 2/14/2022
1.4.32 20,732 1/18/2022
1.4.31 24,249 12/21/2021
1.4.30 684 12/20/2021
1.4.29 825 12/13/2021
1.4.28 28,523 11/10/2021
1.4.27 34,783 10/11/2021
1.4.26 3,395 9/28/2021
1.4.25 15,297 9/8/2021
1.4.24 2,432 8/17/2021
1.4.23 5,848 8/10/2021
1.4.22 1,132 8/5/2021
1.4.21 34,887 6/16/2021
1.4.21-beta1 632 6/4/2021
1.4.20 12,021 5/12/2021
1.4.19 2,781 4/28/2021
1.4.18 27,811 3/23/2021
1.4.17 3,071 3/10/2021
1.4.16 22,131 1/22/2021
1.4.15 2,752 1/20/2021
1.4.14 16,176 12/30/2020
1.4.13 2,507 12/16/2020
1.4.12 5,557 11/16/2020
1.4.11 5,747 11/5/2020
1.4.10 50,482 8/20/2020
1.4.9 12,428 7/21/2020
1.4.8 34,754 6/17/2020
1.4.7 4,966 5/27/2020
1.4.6 6,062 5/12/2020
1.4.5 4,774 4/29/2020
1.4.4 7,637 3/31/2020
1.4.3 9,539 3/18/2020
1.4.2 12,189 3/13/2020
1.4.1-rc3 977 3/10/2020
1.4.1-rc2 615 3/10/2020
1.4.1-rc1 910 2/28/2020
1.4.1-beta 577 3/11/2020
1.4.0-beta4 2,081 1/28/2020
1.4.0-beta3 7,352 10/30/2019
1.4.0-beta2 1,972 9/23/2019
1.4.0-beta1 2,128 7/19/2019
1.4.0-beta 676 10/30/2019
1.3.19-beta 185 5/2/2024
1.3.18-beta 9,969 3/9/2020
1.3.17-beta 3,542 12/20/2019
1.3.16-beta 4,078 11/14/2019
1.3.15-beta 4,768 9/23/2019
1.3.14-beta 3,519 7/30/2019
1.3.13-beta 23,417 4/30/2019
1.3.12-beta 29,538 3/14/2019
1.3.11-beta 15,219 12/18/2018
1.3.10-beta 17,447 11/2/2018
1.3.9-beta68 69,724 8/23/2018
1.3.9-beta67 976 8/23/2018
1.3.9-beta 953 8/30/2018
1.3.8-beta66 31,430 6/5/2018
1.3.8-beta65 2,503 6/5/2018
1.3.7-beta64 4,591 5/15/2018
1.3.7-beta63 1,458 5/15/2018
1.3.6-beta62 6,444 4/17/2018
1.3.6-beta61 1,399 4/17/2018
1.3.5-beta60 9,221 2/22/2018
1.3.5-beta59 1,148 2/22/2018
1.3.4-beta58 9,634 2/1/2018
1.3.4-beta57 1,458 2/1/2018
1.3.3-beta56 3,448 1/19/2018
1.3.3-beta55 1,445 1/19/2018
1.3.2-beta54 39,866 10/21/2017
1.3.2-beta53 1,209 10/21/2017
1.3.2-beta 1,244 10/24/2017
1.3.1-beta52 21,600 9/5/2017
1.3.1-beta51 1,209 9/5/2017
1.3.0-beta50 6,257 8/18/2017
1.3.0-beta48 1,237 8/17/2017
1.3.0-beta47 1,235 8/17/2017
1.3.0-beta46 1,315 8/11/2017
1.2.3.43-beta 6,911 7/10/2017
1.2.3.41-beta 1,394 7/10/2017
1.2.2.40-beta 1,783 6/28/2017
1.2.2.39-beta 1,255 6/28/2017
1.2.1.38-beta 1,349 6/23/2017
1.2.1.37-beta 1,303 6/23/2017
1.2.0.36-beta 12,892 4/13/2017
1.2.0.35-beta 1,294 4/13/2017
1.2.0.34-beta 1,546 4/12/2017
1.2.0.33-beta 1,308 4/12/2017
1.1.3.32-beta 21,177 1/23/2017
1.1.3.31-beta 1,385 1/23/2017

Akka.NET v1.5.57-beta2 is a beta release containing significant new APIs for Akka.Persistence that add completion callbacks and async handler support.

**New Features:**

* [Persistence completion callbacks via Defer - simplified alternative](https://github.com/akkadotnet/akka.net/pull/7957) - This release adds completion callback and async handler support to `Persist`, `PersistAsync`, `PersistAll`, and `PersistAllAsync` methods in Akka.Persistence. Key improvements include:
 - **Async Handler Support**: All persist methods now support `Func<TEvent, Task>` handlers for async event processing
 - **Completion Callbacks**: `PersistAll` and `PersistAllAsync` now accept optional completion callbacks (both sync `Action` and async `Func<Task>`) that execute after all events are persisted and handled
 - **Ordering Guarantees**: Completion callbacks use `Defer`/`DeferAsync` internally to maintain strict ordering guarantees
 - **Zero Breaking Changes**: All new APIs are additive overloads

**Code Examples:**

```csharp
// Async handler support - process events asynchronously
Persist(new OrderPlaced(orderId), async evt =>
{
   await _orderService.ProcessOrderAsync(evt);
});

// PersistAll with completion callback - know when all events are done
PersistAll(orderEvents, evt =>
{
   _state.Apply(evt);
}, onComplete: () =>
{
   // All events persisted and handlers executed
   _logger.Info("Order batch completed");
   Sender.Tell(new BatchComplete());
});

// PersistAll with async handler AND async completion callback
PersistAll(events,
   handler: async evt => await ProcessEventAsync(evt),
   onCompleteAsync: async () =>
   {
       await NotifyCompletionAsync();
       Sender.Tell(Done.Instance);
   });

// PersistAllAsync with completion - allows commands between handlers
PersistAllAsync(largeEventBatch,
   handler: evt => _state.Apply(evt),
   onComplete: () => Sender.Tell(new BatchProcessed()));
```

**Technical Details:**

The implementation maintains Akka.Persistence's strict ordering guarantees by using `Defer`/`DeferAsync` for completion callbacks, ensuring they execute in order even when called with empty event collections. The new async handler invocations (`IAsyncHandlerInvocation`) are processed via `RunTask` to preserve the actor's single-threaded execution model.

1 contributor since release 1.5.57-beta1

| COMMITS | LOC+ | LOC- | AUTHOR |
| --- | --- | --- | --- |
| 1 | 1386 | 67 | Aaron Stannard |

To [see the full set of changes in Akka.NET v1.5.57-beta2, click here](https://github.com/akkadotnet/akka.net/milestone/141?closed=1)