Skip to content

Releases: thedmi/capsule

2.0.0

17 Apr 08:48
ddc4b09
Compare
Choose a tag to compare

Capsule.Core

Added

  • TimerReference exposes now the timeout value that was used to start the corresponding timer.

Changed

  • TimerReference constructor is now internal, as this is not meant to be called by clients. If you're constructing timer references yourself (unlikely), this is a breaking change.

Capsule.Generator

No changes, no release (1.0.1 is the latest release)

Capsule.Testing

Changed

  • Reference to Capsule.Core updated so that the new TimerReference implementation can be used.

1.0.2

16 Apr 11:50
06cddb5
Compare
Choose a tag to compare

Capsule.Core

Fixed

  • The invocation loops are now deferred and only started when CapsuleHost.RunAsync() runs. This ensures that capsules remain inactive until their assigned host is run.

Capsule.Generator

No changes, no release (1.0.1 is the latest release)

Capsule.Testing

No changes, no release (1.0.0 is the latest release)

1.0.1

08 Mar 09:32
36ed5f3
Compare
Choose a tag to compare

Capsule.Core

No changes, no release (1.0.0 is the latest release)

Capsule.Generator

Changed

  • Dependency updates.

Capsule.Testing

No changes, no release (1.0.0 is the latest release)

1.0.0

08 Mar 08:34
Compare
Choose a tag to compare

First stable release. No changes compared with 0.12.0.

0.12.0

07 Mar 09:01
194a80b
Compare
Choose a tag to compare

Changed

  • Capsule.Core now includes the background service and DI extensions. Breaking: Namespace changes.

Removed

  • Capsule.Extensions.DependencyInjection removed. All functionality has been merged into Capsule.Core. The logging adapter has been removed. Breaking: Use Capsule.Core nuget package instead of Capsule.Extensions.DependencyInjection.
  • Capsule convenience package removed. Breaking: Install Capsule.Core and Capsule.Generator directly.

0.11.0

07 Mar 08:35
19c8286
Compare
Choose a tag to compare

Added

  • New synchronization mode AwaitCompletionOrPassThroughIfQueueClosed added that falls back to PassThrough if the invocation queue has been closed. This is the recommended way for DisposeAsync() methods to avoid deadlocks on app shutdown.

0.10.1

26 Feb 20:25
df0b097
Compare
Choose a tag to compare

Added

  • Debug logs added to host and invocation loop infrastructure (i.e. "background" parts).

0.10.0

26 Feb 12:23
24a7de8
Compare
Choose a tag to compare

Added

  • Test support library Capsule.Testing.

Fixed

  • Libraries use now ConfigureAwait(false) everywhere.

0.9.0

09 Feb 20:06
3d7abe1
Compare
Choose a tag to compare

Changed

  • ITimerService.StartNew() renamed to StartSingleShot() to make clear that timers are single-shot timers (breaking change).

    Other than the rename, the signature and functionality of the method remains unchanged. So just update the method name in calls when updating.

0.8.1

08 Feb 19:34
6b69b6f
Compare
Choose a tag to compare

Changed

  • Customization of interface generation has been clarified:CapsuleAttribute.GenerateInterface has been replaced with CapsuleAttribute.InterfaceGeneration (breaking).

    Previous usages need to be replaced with

    • InterfaceGeneration = CapsuleInterfaceGeneration.Enable or
    • InterfaceGeneration = CapsuleInterfaceGeneration.Disable, respectively.