Skip to content

Releases: steamcore/TinyIpc

5.1.0

28 Dec 22:50
Compare
Choose a tag to compare

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 to TinyMessageBus and ITinyMessageBus

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

23 Nov 17:47
Compare
Choose a tag to compare

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 from System.Memory.Data instead of byte arrays
  • Refactor dependency injection support, add easier ways to use TinyIpc like services.AddTinyMessageBus() to add ITinyMessageBus
  • Add IDisposable to interfaces
  • Drop net6.0 target framework which is no longer supported (but netstandard2.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

01 Nov 17:43
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies
  • Use Interlocked when modifying and reading message counts
  • Remove unnecessary optimization that most likely caused unstable tests

4.3.2

09 Jul 23:48
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies

4.3.1

18 May 19:37
Compare
Choose a tag to compare

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

18 Dec 21:41
Compare
Choose a tag to compare

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

19 Nov 17:35
Compare
Choose a tag to compare

Changes

  • Add net8.0 TFM
  • Update NuGet dependencies, use version 8.x of Microsoft.Extensions

4.1.5

15 Sep 19:31
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies

4.1.4

16 Jun 19:39
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies

4.1.3

17 Mar 17:09
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies