Skip to content

Release 0.7.1#32

Merged
pbeets merged 3 commits intomainfrom
ci/github-actions-workflow
Jan 24, 2026
Merged

Release 0.7.1#32
pbeets merged 3 commits intomainfrom
ci/github-actions-workflow

Conversation

@pbeets
Copy link
Owner

@pbeets pbeets commented Jan 24, 2026

Summary

Release 0.7.1 with new utility types, helper methods, and bug fixes.

Added

  • New utility module (util) with InstrumentInfo, OrderStatus, and timestamp conversion helpers
  • RithmicResponse helper methods: is_error(), is_connection_issue(), is_market_data()
  • Optional serde feature flag for RithmicEnv serialization
  • New bracket_order.rs example
  • GitHub Actions CI workflow

Fixed

  • Replaced .unwrap() panics with proper error handling in all plant handles
  • Addressed clippy lints in util module

Changed

  • Improved tests for rithmic_to_unix_nanos_precise with realistic timestamps

Test plan

  • cargo check passes
  • cargo test passes
  • cargo fmt - no changes
  • cargo clippy - no warnings

Convert `.unwrap()` calls on oneshot channel receives to use
`.map_err()` with proper error propagation. This prevents panics
when the internal plant connection closes unexpectedly, instead
returning a recoverable "Connection closed" error to callers.
- Update version to 0.7.1 in Cargo.toml and README.md
- Add comprehensive CHANGELOG entry for 0.7.1 release
- Improve tests for rithmic_to_unix_nanos_precise with realistic timestamps
Use `if let Some(err)` pattern instead of `is_none()` check followed
by `unwrap()` to satisfy clippy's unnecessary_unwrap lint.
@pbeets pbeets merged commit 2c4929b into main Jan 24, 2026
5 checks passed
@pbeets pbeets deleted the ci/github-actions-workflow branch January 24, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant