Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

v0.27.0: Bumped async_nats 0.30, wasmbus-rpc 0.14 #49

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Jun 20, 2023

This PR bumps async_nats to main, which will soon be released as 0.30.0. It also moves some types from wasmbus-rpc to this crate so we can avoid blocking / conflicting dependencies.

This is a breaking change because the LinkDefinition type is now exported from this crate and from wasmbus_rpc, so if you're using both you will need to alias the struct. This shouldn't be an issue for most scenarios, but https://github.com/wasmCloud/wash is one project that both interacts with a lattice for RPC and for control interface commands, so it's something to consider.

@brooksmtownsend brooksmtownsend added the breaking This PR contains semver breaking changes label Jul 3, 2023
@brooksmtownsend brooksmtownsend marked this pull request as ready for review July 14, 2023 11:37
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>

moved types from wasmbus_rpc

Signed-off-by: Brooks Townsend <brooks@cosmonic.com>

removed extra use statement

Signed-off-by: Brooks Townsend <brooks@cosmonic.com>

bumped control interface to nats 0.30

Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
@@ -65,10 +65,10 @@ pub(crate) async fn get_links(store: &Store) -> Result<LinkDefinitionList> {
pub(crate) async fn put_link(store: &Store, ld: LinkDefinition) -> Result<()> {
let id = ld_hash(&ld);
let key = format!("{}{}", LINKDEF_PREFIX, id);
store
Ok(store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was this for?

Copy link
Member Author

@brooksmtownsend brooksmtownsend Jul 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gave me an error when compiling, something about error types, which seemed easiest to correct like this. Kinda strange.

Edit: this was the cargo recommendation

@brooksmtownsend brooksmtownsend merged commit 673f8bc into main Jul 14, 2023
@brooksmtownsend brooksmtownsend deleted the bump/v0.27.0 branch July 14, 2023 15:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking This PR contains semver breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants