Releases: redbadger/crux
crux_core-v0.8.0-rc.1
Updates all the crux_*
crates to release candidates, so it can actually be tested :-) Sorry
What's Changed
- crux_core 0.8.0-rc.1 by @StuartHarris in #242
Full Changelog: crux_core-v0.8.0-rc.0...crux_core-v0.8.0-rc.1
crux_core-v0.8.0-rc.0
Release candidate for 0.8.0
Note: this is a breaking change release.
There are 2 main changes, both of which are breaking.
-
Simplify construction of capabilities, so they don't require the app type.
TheEffect
derive macro no longer requires the name of the type that
implements theApp
trait in situations where its name is not alsoApp
.
This simplifies user code. See #241 for
more details. -
Requests now use
EffectId(u32)
instead ofUuid
. This is theid
that is
used to identify the effect in the effect registry in order to match
responses from the shell with their initial request. Ids are serialized as a
plain integer of typeu32
and they can be reused as effects are resolved.
See #238 for more details.
What's Changed
- add Clone impl for ComposeContext by @adwhit in #237
- Requests now use
EffectId(u32)
instead ofUuid
by @StuartHarris in #238 - Simplify construction of capabilities, so they don't require the app type by @charypar in #241
Full Changelog: crux_kv-v0.4.0...crux_core-v0.8.0-rc.0
crux_kv-v0.4.0
Introduces a Value
enum, which can be None
for a key that doesn't exist, or where there is no previous_value
. See #235.
What's Changed
- relax callback bounds in crux_kv by @adwhit in #234
- update API for crux_kv by @StuartHarris in #235
- crux_kv reduce cloning by @StuartHarris in #236
Full Changelog: crux_core-v0.7.6...crux_kv-v0.4.0
crux_kv-v0.3.0
Hot on the heels of the last release, we've added a an operation to list keys, and improved the app-facing API of crux_kv. The latter means that there is now a much more idiomatic Rust API for interacting with the key-value store.
What's Changed
- Simplify app-facing API of crux_kv by @charypar in #231
crux_kv
capability list keys by @StuartHarris in #232- remove unused deps by @StuartHarris in #233
Full Changelog: crux_core-v0.7.5...crux_kv-v0.3.0
crux_core-v0.7.6
What's Changed
- Simplify app-facing API of crux_kv by @charypar in #231
crux_kv
capability list keys by @StuartHarris in #232- remove unused deps by @StuartHarris in #233
Full Changelog: crux_core-v0.7.5...crux_core-v0.7.6
crux_kv-v0.2.0
This is a breaking change release. We've added delete
and exists
operations and renamed read
to get
and write
to set
, amongst other renames and type changes. We've also improved error handling and tests. See #227 for more information. However, there are sadly still no atomic or batch operations, which will follow in a future release.
What's Changed
- Evolve
crux_kv
by @StuartHarris in #227 - allow export derive macro to name effect by @StuartHarris in #221
- Relax callback bounds by @adwhit in #229
- maintenance releases for most crates, new major
crux_kv
release by @StuartHarris in #230
New Contributors
Full Changelog: crux_time_v0.4.0...crux_kv-v0.2.0
crux_core-v0.7.5
This is a minor maintenance release, with the most interesting change being a
relaxation of the Fn
trait bound to FnOnce
/FnMut
in capability event callbacks. (see #229 for more info)
What's Changed
- Evolve
crux_kv
by @StuartHarris in #227 - allow export derive macro to name effect by @StuartHarris in #221
- Relax callback bounds by @adwhit in #229
- maintenance releases for most crates, new major
crux_kv
release by @StuartHarris in #230
New Contributors
Full Changelog: crux_time_v0.4.0...crux_core-v0.7.5
crux_time_v0.4.0
crux_time
v0.4.0
This is a breaking change
Changed the signature of now()
and added notify_at(instant)
and notify_after(duration)
.
Also includes an optional feature chrono
for conversions for the new Instant
and Duration
types to/from relevant chrono
types.
What's Changed
- Capability runtime documentation by @charypar in #189
- Clarifications to capability runtime docs by @wasnotrice in #223
- update all deps and dioxus examples by @StuartHarris in #224
- Instant and Duration subscriptions for
crux_time
by @StuartHarris in #226
Full Changelog: crux_core-v0.7.4...crux_time_v0.4.0
crux_core-v0.7.4
Small maintenance release. No major changes.
What's Changed
- update examples to latest crux by @StuartHarris in #199
- add display implementation for crux_http::error::Error by @StuartHarris in #200
- Better error handling for crux_http by @charypar in #201
- Chore: release crux_http 0.6 by @charypar in #202
- crux_http: Allow non-HTTP errors to be represented by shell by @charypar in #204
- Release crux_http 0.7.0 by @charypar in #205
- crux_http: Restrict exported error variants by @charypar in #207
- Release crux_http 0.7.1 by @charypar in #209
- Update counter example to latest crux_core and crux_http. by @charypar in #208
- Update book getting started guide to fix links and cargo toml examples by @StuartHarris in #211
- chore: bump crux_http version to 0.8.0 by @StuartHarris in #212
- chore: update crux_http dependency version to 0.8.0 by @StuartHarris in #213
- Update link to rust file in hello_world.md by @gianpaj in #214
- fix a link error in README by @gongbaodd in #216
- Update examples for latest
crux_http
by @StuartHarris in #215 - Docs: Suggestions from following the Getting Started guide by @AngusP in #220
- docs: fix typo by @eventualbuddha in #219
- docs: fix typo by @eventualbuddha in #218
New Contributors
- @gianpaj made their first contribution in #214
- @gongbaodd made their first contribution in #216
- @AngusP made their first contribution in #220
- @eventualbuddha made their first contribution in #219
Full Changelog: crux_core-v0.7.3...crux_core-v0.7.4
crux_core-v0.7.3
-
Allow "bring-your-own" serializer/deserializer for the
Bridge
. This is not a
breaking change as the existing bridge interface is the same. We have
introduced a newBridgeWithSerializer
, where you can plug in your own
serialization format (e.g. JSON), but be aware that you'll have to provide
your own serialization/deserialization shell-side code (in
TypeScript/Swift/Kotlin). -
Re-exports
crux_macros
ascrux_core::macros
in order to help keep the
version of macros in sync with the core. Prefer importing macros as
crux_core::macros
, rather thancrux_macros
-
crux_http
capability now depends on a fork ofhttp_types
that will compile for the
wasm32-unknown-emscripten
target. -
crux_time
capability's output type is nowTimeResponse(String)
(again) instead of
TimeResponse(chrono::DateTime<Utc>)
, in order to avoid typegen problems
(lack of support for generic types).
What's Changed
- chore: release by @StuartHarris in #188
- allow custom typegen extensions by @anvlkv in #157
- remove http_types default features from crux_http by @StuartHarris in #192
- chore: release by @StuartHarris in #193
- fun with erased_serde by @obmarg in #196
crux_http
to use form ofhttp-types
by @StuartHarris in #195- Allow bridge to use different serializer by @charypar in #194
- update
crux_time
to not use generic response type by @StuartHarris in #197 - chore: release by @StuartHarris in #198
New Contributors
Full Changelog: crux_core-v0.7.2...crux_core-v0.7.3