Repository navigation
v0.2.4
Release Notes: Version 0.2.4 - Data Consistency and Modernization
Summary
This release focuses on improving data consistency and modernizing the project configuration. Key updates include stricter handling of TickerData fields, enhanced serialization, and an upgrade to the Rust 2024 edition for better future compatibility.
What's New
- Updated project edition to Rust 2024, ensuring access to the latest language features and improvements.
Enhancements
- Improved
TickerDatastructure by making several fields non-optional, ensuring stronger guarantees about the availability of data. - Updated serialization behavior to reflect these changes, resulting in more predictable and reliable data output.
Bug Fixes
- Adjusted test assertions to align with the updated
TickerDatamodel and serialization rules, ensuring consistent test coverage and correctness.
Breaking Changes
- Some fields in
TickerDatathat were previously optional are now required.- Users may need to update their code and data pipelines to always provide these fields.
- Serialization/deserialization logic will no longer accept
nullor missing values for these fields.
Documentation Updates
- Inline documentation for
TickerDatahas been updated to reflect the new field requirements. - Examples and test references were revised to ensure consistency with the new data model.
Migration Notes
- Code updates required: If your code relied on optional fields in
TickerData, you must now provide values for them. - Serialization: Ensure that all serialized input data includes the required fields to prevent runtime errors.
- Upgrade to Rust 2024 edition may require aligning dependencies with edition-compatible versions, though no direct breaking changes were introduced in this release.