Skip to content

Commit

Permalink
crux_core v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Feb 18, 2025
1 parent 8ec8f59 commit 3a4478d
Show file tree
Hide file tree
Showing 17 changed files with 74 additions and 27 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions crux_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,29 @@ and this project adheres to

## [Unreleased]

## [0.12.0](/~https://github.com/redbadger/crux/compare/crux_core-v0.11.3...crux_core-v0.12.0) - 2025-02-18

***Note this is a breaking change!***

The 3 bridge functions now return a Result instead of panicking.
The error type is [`BridgeError`](https://docs.rs/crux_core/latest/crux_core/bridge/enum.BridgeError.html),
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](/~https://github.com/redbadger/crux/tree/master/examples)
have been updated to use the new error handling as well as the recent `Command` API.

### Other

- Introduce error handling in the bridge
- Add tests for various ways of abusing the bridge
- Better error messages and testing to_string on BridgeError
- update testing page in book to reflect changes
- More readable resolve
- Fix up counter
- Update dependencies

## [0.11.3](/~https://github.com/redbadger/crux/compare/crux_core-v0.11.2...crux_core-v0.11.3) - 2025-02-03

This is an API compatible release.
Expand Down
2 changes: 1 addition & 1 deletion crux_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_core"
description = "Cross-platform app development in Rust"
version = "0.11.3"
version = "0.12.0"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crux_http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## [Unreleased]

## [0.11.7](/~https://github.com/redbadger/crux/compare/crux_http-v0.11.6...crux_http-v0.11.7) - 2025-02-18

### Other

- Updates internal tests for error handling when resolving requests

## [0.11.6](/~https://github.com/redbadger/crux/compare/crux_http-v0.11.5...crux_http-v0.11.6) - 2025-02-03

### Other
Expand Down
4 changes: 2 additions & 2 deletions crux_http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_http"
description = "HTTP capability for use with crux_core"
version = "0.11.6"
version = "0.11.7"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand All @@ -20,7 +20,7 @@ http-compat = ["dep:http"]
[dependencies]
anyhow.workspace = true
async-trait = "0.1.86"
crux_core = { version = "0.11.3", path = "../crux_core" }
crux_core = { version = "0.12.0", path = "../crux_core" }
derive_builder = "0.20.2"
encoding_rs = { version = "0.8.35", optional = true }
futures-util = "0.3"
Expand Down
6 changes: 6 additions & 0 deletions crux_kv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## [Unreleased]

## [0.6.3](/~https://github.com/redbadger/crux/compare/crux_kv-v0.6.2...crux_kv-v0.6.3) - 2025-02-18

### Other

- updated the following local packages: crux_core

## [0.6.2](/~https://github.com/redbadger/crux/compare/crux_kv-v0.6.1...crux_kv-v0.6.2) - 2025-02-03

### Other
Expand Down
4 changes: 2 additions & 2 deletions crux_kv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_kv"
description = "Key-Value capability for use with crux_core"
version = "0.6.2"
version = "0.6.3"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand All @@ -15,7 +15,7 @@ typegen = ["crux_core/typegen"]

[dependencies]
anyhow.workspace = true
crux_core = { version = "0.11.3", path = "../crux_core" }
crux_core = { version = "0.12.0", path = "../crux_core" }
serde = { workspace = true, features = ["derive"] }
serde_bytes = "0.11.15"
thiserror = "2.0.11"
6 changes: 6 additions & 0 deletions crux_platform/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.3](/~https://github.com/redbadger/crux/compare/crux_platform-v0.3.2...crux_platform-v0.3.3) - 2025-02-18

### Other

- Updates internal tests for error handling when resolving requests

## [0.3.2](/~https://github.com/redbadger/crux/compare/crux_platform-v0.3.1...crux_platform-v0.3.2) - 2025-02-03

### Other
Expand Down
4 changes: 2 additions & 2 deletions crux_platform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_platform"
description = "Platform capability for use with crux_core"
version = "0.3.2"
version = "0.3.3"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand All @@ -11,5 +11,5 @@ keywords.workspace = true
rust-version.workspace = true

[dependencies]
crux_core = { version = "0.11.3", path = "../crux_core" }
crux_core = { version = "0.12.0", path = "../crux_core" }
serde = { workspace = true, features = ["derive"] }
6 changes: 6 additions & 0 deletions crux_time/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## [Unreleased]

## [0.8.3](/~https://github.com/redbadger/crux/compare/crux_time-v0.8.2...crux_time-v0.8.3) - 2025-02-18

### Other

- Updates internal tests for error handling when resolving requests

## [0.8.2](/~https://github.com/redbadger/crux/compare/crux_time-v0.8.1...crux_time-v0.8.2) - 2025-02-03

### Other
Expand Down
4 changes: 2 additions & 2 deletions crux_time/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_time"
description = "Time capability for use with crux_core"
version = "0.8.2"
version = "0.8.3"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand All @@ -15,7 +15,7 @@ typegen = ["crux_core/typegen"]

[dependencies]
chrono = { version = "0.4.39", features = ["serde"], optional = true }
crux_core = { version = "0.11.3", path = "../crux_core" }
crux_core = { version = "0.12.0", path = "../crux_core" }
futures = "0.3.31"
serde = { workspace = true, features = ["derive"] }
thiserror = "2.0.11"
Expand Down
2 changes: 1 addition & 1 deletion examples/bridge_echo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions examples/cat_facts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/counter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/hello_world/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/notes/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/simple_counter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3a4478d

Please sign in to comment.