Releases: steamcore/TinyIpc
Releases · steamcore/TinyIpc
5.2.0
Changes
- Update NuGet dependencies
- Switch from PolySharp to Polyfill
- Switch to TUnit for unit testing and use Microsoft.Testing.Platform
- Run task completion source continuations asynchronously
- Target .NET 10 TFM instead of .NET 9, now targets
netstandard2.0,net8.0andnet10.0 - Use C# 14 and modern language features
5.1.0
This release migrates to MessagePack v3 which uses source generators, this is probably a breaking change if your project also depends on MessagePack.
Breaking changes
- Use MessagePack v3 and it's new source generators instead of mpc
- Add
IAsyncDisposabletoTinyMessageBusandITinyMessageBus
Other changes
- Add
Nameproperty to message bus, file and lock - Protect all public service methods with
ObjectDisposedException - Some methods now initially wait until internal worker tasks have started
- Update to xUnit v3
5.0.0
This release makes breaking changes to interfaces utilizing BinaryData instead of mutable byte arrays and also improves and simplifies usage via dependency injection.
Breaking changes
- Use
BinaryDatafromSystem.Memory.Datainstead of byte arrays - Refactor dependency injection support, add easier ways to use TinyIpc like
services.AddTinyMessageBus()to addITinyMessageBus - Add
IDisposableto interfaces - Drop
net6.0target framework which is no longer supported (butnetstandard2.0remains)
Other changes
- Add
net9.0target framework - Update NuGet dependencies
- Add CancellationToken support to all operations
- Reduce possibility of lock contention when counting messages
- Increase default minimum message age from 500 ms to 1000 ms
4.3.3
Changes
- Update NuGet dependencies
- Use Interlocked when modifying and reading message counts
- Remove unnecessary optimization that most likely caused unstable tests
4.3.2
Changes
- Update NuGet dependencies
4.3.1
Changes
- Updated NuGet dependencies
- Added handling for a
TaskCanceledExceptionthat could occur during dispose - Dropped
net7.0TFM,net6.0should still work for .NET 7 though
4.3.0
Changes
- Use an internal
CancellationTokenin the message bus to ensure clean shutdown - Add a few missing
.ConfigureAwait(false)in the message bus - Update NuGet dependencies, use version 3.x of
Microsoft.IO.RecyclableMemoryStream
4.2.0
Changes
- Add
net8.0TFM - Update NuGet dependencies, use version 8.x of Microsoft.Extensions
4.1.5
Changes
- Update NuGet dependencies
4.1.4
Changes
- Update NuGet dependencies