spacepackets/CHANGELOG.md

108 lines
3.8 KiB
Markdown
Raw Normal View History

2022-06-19 14:37:36 +02:00
Change Log
=======
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
2022-09-03 18:50:21 +02:00
# [unreleased]
2022-06-19 14:37:36 +02:00
2023-01-14 17:15:48 +01:00
## Added
- CDS timestamp: Added constructor function to create the time provider
from `chrono::DateTime<Utc>` and a generic UNIX timestamp (`i64` seconds
and subsecond milliseconds).
2023-01-14 17:46:43 +01:00
# [v0.4.2] 14.01.2023
## Fixed
- CDS timestamp: Fixed another small logic error for stamp creation from the current
time with picosecond precision.
2023-01-14 17:47:52 +01:00
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/8
2023-01-14 17:46:43 +01:00
2023-01-14 17:18:02 +01:00
# [v0.4.1] 14.01.2023
2023-01-14 17:15:48 +01:00
## Fixed
- CDS timestamp: The conversion function from the current time were buggy
when specifying picoseconds precision, which could lead to overflow
2023-01-14 17:18:02 +01:00
multiplications and/or incorrect precision fields.
2023-01-14 17:47:52 +01:00
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/7
2023-01-14 17:15:48 +01:00
2023-01-10 00:00:10 +01:00
# [v0.4.0] 10.01.2023
2023-01-09 11:21:07 +01:00
2022-12-21 10:14:58 +01:00
## Fixed
- Remove `Default` derive on CDS time provider. This can lead to uninitialized preamble fields.
2022-12-04 17:11:44 +01:00
## Changed
2022-12-05 09:05:35 +01:00
- `serde` support is now optional and behind the `serde` feature.
2022-12-07 14:42:53 +01:00
- `PusTcSecondaryHeaderT` trait renamed to `GenericPusTcSecondaryHeader`.
2022-12-05 09:05:35 +01:00
- `PusTmSecondaryHeaderT` trait renamed to `GenericPusTmSecondaryHeader`.
2022-12-04 19:57:51 +01:00
- `SpHeader`: Former `tc` and `tm` methods now named `tc_unseg` and `tm_unseg`.
2022-12-05 09:05:35 +01:00
Former `new` method now called `new_from_single_fields`.
- `SpHeader`: Renamed `from_bytes` to `from_be_bytes`.
The function now returns the remaining slice as well.
2022-12-07 14:42:01 +01:00
- All CDS specific functionality was moved into the `cds` submodule of the `time`
module. `CdsShortTimeProvider` was renamed to `TimeProvider`.
2022-12-20 16:27:23 +01:00
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/3
2022-12-04 17:22:51 +01:00
## Added
2023-01-09 11:12:07 +01:00
- `SpHeader` getter function `sp_header` added for `PusTc`
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/6
2022-12-20 16:21:30 +01:00
- Added PFC enumerations: `ecss::UnsignedPfc` and `ecss::RealPfc`.
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/5
2022-12-07 14:42:53 +01:00
- Added `std::error::Error` implementation for all error enumerations if the `std` feature
is enabled.
2022-12-10 18:27:13 +01:00
- CUC timestamp implementation as specified in CCSDS 301.0-B-4 section 3.2.
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/4/files
- ACII timestamps as specified in CCSDS 301.0-B-4 section 3.5.
2022-12-07 19:05:09 +01:00
- Added MSRV in `Cargo.toml` with the `rust-version` field set to Rust 1.60.
2022-12-05 09:05:35 +01:00
- `serde` `Serialize` and `Deserialize` added to all types.
2022-12-04 19:57:51 +01:00
- Added `const` constructors for `PacketId`, `PacketSeqCtrl` and
2022-12-05 09:05:35 +01:00
`SpHeader`.
2022-12-07 14:42:01 +01:00
- Added `PartialEq` and `Eq` `derive`s to `TimeProvider`.
2022-12-05 09:05:35 +01:00
- `SpHeader`: Added serialization function into raw format `write_to_be_bytes`.
2022-12-07 14:42:01 +01:00
- Added 24-bit day field support for CDS short. The bit width is configured at type level
via a generic parameter type passed to the `cds::TimeProvider`
- Added submillisecond precision support for `cds::TimeProvider`
2022-12-04 17:18:10 +01:00
2022-12-03 15:47:18 +01:00
# [v0.3.1] 03.12.2022
- Small fix for faulty docs.rs build
2022-12-01 01:22:19 +01:00
# [v0.3.0] 01.12.2022
2022-11-02 11:10:41 +01:00
## Added
- `EcssEnumerationExt` trait which implements `Debug`, `Copy`, `Clone`,
`PartialEq` and `Eq` in addition to `EcssEnumeration`
## Changed
- `EcssEnumeration` trait: Rename `write_to_bytes`
to `write_to_be_bytes`
2022-09-13 10:18:21 +02:00
# [v0.2.0] 13.09.2022
2022-09-03 18:50:21 +02:00
## Added
- Basic support for ECSS enumeration types for u8, u16, u32 and u64
## Changed
- Better names for generic error enumerations: `PacketError` renamed to `ByteConversionError`
2022-09-13 10:28:20 +02:00
- CCSDS module: `ssc` abbreviations fully replaced by better name `seq_count`
2022-09-13 10:18:21 +02:00
- Time module: `CcsdsTimeProvider::date_time` now has `Option<DateTime<Utc>>` as
a returnvalue instead of `DateTime<Utc>`
2022-09-13 10:28:20 +02:00
- `PusTc` and `PusTm`: `new_from_raw_slice` renamed to simpler `from_bytes`
2022-09-03 18:50:21 +02:00
# [v0.1.0] 16.08.2022
2022-06-19 14:37:36 +02:00
2022-08-16 01:17:10 +02:00
Initial release with CCSDS Space Packet Primary Header implementation and basic PUS TC and TM
implementations.