Skip to content

Releases: redbadger/crux

crux_core-v0.12.0

18 Feb 14:55
Compare
Choose a tag to compare

Note this is a breaking change!

The 3 bridge functions now return a Result instead of panicking. The error type is BridgeError, which is a custom error type that can be used to handle errors that occur with serialization and deserialization of messages, as well as other errors that may occur during message processing.

All the examples have been updated to use the new error handling as well as the recent Command API.

What's Changed

Full Changelog: crux_core-v0.11.3...crux_core-v0.12.0

crux_core-v0.11.3

03 Feb 17:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: crux_core-v0.11.2...crux_core-v0.11.3

crux_core-v0.11.2

27 Jan 17:26
Compare
Choose a tag to compare

What's Changed

Other changes

  • update cat_facts and counter examples to use crux_http::command by @StuartHarris in #304
  • update ServerSentEvents capability in examples to command by @StuartHarris in #305
  • Update tests in the counter example to not use AppTester by @StuartHarris in #306
  • Make the SSE capability in counter example universal (usable in sync and async context) by @charypar in #310

Full Changelog: crux_core-v0.11.1...crux_core-v0.11.2

crux_core-v0.11.1

22 Jan 17:52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: crux_core-v0.11.0...crux_core-v0.11.1

crux_core-v0.11.0

21 Jan 20:09
Compare
Choose a tag to compare

This release is a breaking change

The App trait has changed to support the new Command API. This will break every app,
but migration is straight-forward. Please see the Migration Guide

What else has changed

New Contributors

Full Changelog: crux_core-v0.10.1...crux_core-v0.11.0

crux_core-v0.10.1

07 Jan 17:37
67413eb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: crux_core-v0.10.0...crux_core-v0.10.1

crux_core-v0.10.0

23 Oct 09:31
Compare
Choose a tag to compare

Summary

crux_core

Several additional methods to help with testing Crux apps:

  • Adds a Clone bound on the Operation trait so that we can examine the operation and still resolve
    its owning request later on β€”Β this is a breaking change.
  • Adds a take_effects method on Update to allow you to take effects off the Update that match the predicate
  • Adds a take_effects_partitioned_by method on Update to allow you to take effects off the Update
    that match the predicate and also the remaining effects that don't match

crux_time

  • adds a new Clear variant to to the TimeRequest Operation and augments NotifyAt and NotifyAfter
    with a TimerId to facilitate cancelling requests. This is a breaking change.

What's Changed

New Contributors

Full Changelog: crux_core-v0.9.1...crux_core-v0.10.0

crux_core-v0.9.1

21 Oct 12:34
45adf89
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: crux_core-v0.9.0...crux_core-v0.9.1

crux_core-v0.9.0

16 Sep 10:35
Compare
Choose a tag to compare

The headline for this release is that Capabilities now have an opportunity to register their own types (specifically the types that serde-reflection cannot see, which are typically nested enums).

The built-in Capabilities now do this under the typegen feature, so you'll now need to add the Capability as a build dependency, with the typegen feature enabled, in your shared_types crate.

What's Changed

New Contributors

  • @mre made their first contribution in #251

Full Changelog: crux_core-v0.8.1...crux_core-v0.9.0

crux_core-v0.9.0-rc.1

15 Aug 16:50
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @mre made their first contribution in #251

Full Changelog: crux_core-v0.8.1...crux_core-v0.9.0-rc.1