Skip to content

Commit

Permalink
Release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carter committed Jan 7, 2025
1 parent 7bcb0c8 commit 90c3cd9
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 34 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,33 @@ Steps:
- Edit change log
- Revise the version numbers in Cargo.toml files
- Commit the changes
- Release packages in order: roslibrust_codegen -> roslibrust_codegen_macro -> roslibrust
- Release packages in order:
- roslibrust_common
- roslibrust_codegen
- roslibrust_codegen_macro
- roslibrust_mock
- roslibrust_ros1
- roslibrust_rosbridge
- roslibrust_zenoh
- roslibrust
- Push to master
- Tag and push tag

Note: need to publish with `cargo publish --all-features`

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Added

### Fixed

### Changed

## 0.12.0 - January 7th, 2025

### Added

- roslibrust_mock now provides a basic mock implementation of roslibrust's generic traits for use in building automated testing of nodes.
- roslibrust_zenoh now proivides a Zenoh client that is compatible with the zenoh-ros1-plugin / zenoh-ros1-bridge
- roslibrust_ros1 now provides a ROS1 native client as a standalone crate
Expand All @@ -44,6 +58,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`roslibrust::ClientHandle` now becomes `roslibrust::rosbridge::ClientHandle`.
- Internal integral type Time changed from u32 to i32 representation to better align with ROS1
- Conversions between ROS Time and Duration to std::time::Time and std::time::Duration switched to TryFrom as they can be fallible.
- Main crate Error type has been simplified to leak fewer internal types.
- roslibrust_codegen is now intended to be accessed by users via the `codegen` feature flag on roslibrust.
- roslibrust_codegen_macro is now intended to be accessed by users via the `macro` feature flag on roslibrust.
- Code generated by roslibrust_codegen now depends on `roslibrust` with the `codegen` feature flag being available to it.

## 0.11.1

Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

16 changes: 8 additions & 8 deletions roslibrust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roslibrust"
version = "0.11.1"
version = "0.12.0"
authors = ["carter <[email protected]>", "ssnover <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -11,13 +11,13 @@ keywords = ["ROS", "robotics", "websocket", "json", "async"]
categories = ["science::robotics"]

[dependencies]
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_ros1 = { path = "../roslibrust_ros1", optional = true }
roslibrust_rosbridge = { path = "../roslibrust_rosbridge", optional = true }
roslibrust_zenoh = { path = "../roslibrust_zenoh", optional = true }
roslibrust_mock = { path = "../roslibrust_mock", optional = true }
roslibrust_codegen = { path = "../roslibrust_codegen", optional = true }
roslibrust_codegen_macro = { path = "../roslibrust_codegen_macro", optional = true }
roslibrust_common = { path = "../roslibrust_common", version = "0.12" }
roslibrust_ros1 = { path = "../roslibrust_ros1", version = "0.12", optional = true }
roslibrust_rosbridge = { path = "../roslibrust_rosbridge", version = "0.12", optional = true }
roslibrust_zenoh = { path = "../roslibrust_zenoh", version = "0.12", optional = true }
roslibrust_mock = { path = "../roslibrust_mock", version = "0.12", optional = true }
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.12", optional = true }
roslibrust_codegen_macro = { path = "../roslibrust_codegen_macro", version = "0.12", optional = true }

[dev-dependencies]
env_logger = "0.11"
Expand Down
2 changes: 1 addition & 1 deletion roslibrust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc = include_str!("../../README.md")]
#![doc = include_str!("../README.md")]

// Re-export common types and traits under the roslibrust namespace
pub use roslibrust_common::*;
Expand Down
4 changes: 2 additions & 2 deletions roslibrust_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roslibrust_codegen"
version = "0.11.1"
version = "0.12.0"
edition = "2021"
authors = ["carter <[email protected]>", "ssnover <[email protected]>"]
license = "MIT"
Expand All @@ -16,7 +16,7 @@ categories = ["science::robotics"]
tokio = { workspace = true, optional = true}
log = { workspace = true }
serde = { workspace = true }
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_common = { path = "../roslibrust_common", version = "0.12.0" }
lazy_static = "1.4"
md5 = "0.7"
proc-macro2 = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions roslibrust_codegen_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "roslibrust_codegen_macro"
edition = "2021"
description = "Provides macro-based message generation for roslibrust"
version = "0.11.1"
version = "0.12.0"
repository = "https://github.com/Carter12s/roslibrust"
license = "MIT"
readme = "README.md"
Expand All @@ -16,5 +16,5 @@ proc-macro2 = "1.0"
quote = "1.0"
# Note: finds path version when building locally, and crates.io version when publishing
# https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.11.1" }
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.12" }
syn = "1.0"
7 changes: 6 additions & 1 deletion roslibrust_common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
name = "roslibrust_common"
version = "0.1.0"
version = "0.12.0"
edition = "2021"
authors = [ "carter <[email protected]>" ]
license = "MIT"
description = "Common types and traits used throughout the roslibrust ecosystem."
repository = "https://github.com/roslibrust/roslibrust"
categories = ["science::robotics"]

[dependencies]
# Used for error handling
Expand Down
2 changes: 1 addition & 1 deletion roslibrust_genmsg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/main.rs"
[dependencies]
log = { workspace = true }
serde = { workspace = true }
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.11.0" }
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.12" }
clap = { version = "4.1", features = ["derive"] }
env_logger = "0.11"
itertools = "0.12"
Expand Down
10 changes: 8 additions & 2 deletions roslibrust_mock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
[package]
name = "roslibrust_mock"
version = "0.1.0"
version = "0.12.0"
edition = "2021"
authors = [ "carter <[email protected]>" ]
license = "MIT"
description = "Mock implementation of roslibrust's generic traits useful for testing ROS behaviors."
repository = "https://github.com/roslibrust/roslibrust"
categories = ["science::robotics"]


[dependencies]
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_common = { path = "../roslibrust_common", version = "0.12.0" }
tokio = { workspace = true }
# Used for serializing messages
bincode = "1.3"
Expand Down
9 changes: 7 additions & 2 deletions roslibrust_ros1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
[package]
name = "roslibrust_ros1"
version = "0.1.0"
version = "0.12.0"
edition = "2021"
authors = [ "carter <[email protected]>", "ssnover <[email protected]>" ]
license = "MIT"
description = "A implementation of roslibrust's generic traits for native ROS1 communication."
repository = "https://github.com/roslibrust/roslibrust"
categories = ["science::robotics"]

[dependencies]
# Provides common types and traits used throughout the roslibrust ecosystem.
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_common = { path = "../roslibrust_common", version = "0.12" }

# Standard dependencies:
tokio = { workspace = true }
Expand Down
9 changes: 7 additions & 2 deletions roslibrust_rosbridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
[package]
name = "roslibrust_rosbridge"
version = "0.1.0"
version = "0.12.0"
edition = "2021"
authors = [ "carter <[email protected]>", "ssnover <[email protected]>" ]
license = "MIT"
description = "An implementation of roslibrust's generic traits for rosbridge_suite communication."
repository = "https://github.com/roslibrust/roslibrust"
categories = ["science::robotics"]

[dependencies]
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_common = { path = "../roslibrust_common", version = "0.12" }
tokio = { workspace = true }
log = { workspace = true }
tokio-tungstenite = { version = "0.17" }
Expand Down
9 changes: 7 additions & 2 deletions roslibrust_zenoh/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
[package]
name = "roslibrust_zenoh"
version = "0.1.0"
version = "0.12.0"
edition = "2021"
authors = [ "carter <[email protected]>" ]
license = "MIT"
description = "A zenoh backend for roslibrust compatible with zenoh-ros1-plugin / zenoh-ros1-bridge."
repository = "https://github.com/roslibrust/roslibrust"
categories = ["science::robotics"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
roslibrust_serde_rosmsg = { workspace = true }
log = { workspace = true }
tokio = { workspace = true }
roslibrust_common = { path = "../roslibrust_common" }
roslibrust_common = { path = "../roslibrust_common", version = "0.12" }
zenoh = "1.0"
hex = "0.4"
anyhow = "1.0"
Expand Down

0 comments on commit 90c3cd9

Please sign in to comment.