Releases: steamcore/TinyIpc
Releases · steamcore/TinyIpc
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
IAsyncDisposable
toTinyMessageBus
andITinyMessageBus
Other changes
- Add
Name
property 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
BinaryData
fromSystem.Memory.Data
instead of byte arrays - Refactor dependency injection support, add easier ways to use TinyIpc like
services.AddTinyMessageBus()
to addITinyMessageBus
- Add
IDisposable
to interfaces - Drop
net6.0
target framework which is no longer supported (butnetstandard2.0
remains)
Other changes
- Add
net9.0
target 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
TaskCanceledException
that could occur during dispose - Dropped
net7.0
TFM,net6.0
should still work for .NET 7 though
4.3.0
Changes
- Use an internal
CancellationToken
in 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.0
TFM - Update NuGet dependencies, use version 8.x of Microsoft.Extensions
4.1.5
Changes
- Update NuGet dependencies
4.1.4
Changes
- Update NuGet dependencies
4.1.3
Changes
- Update NuGet dependencies