Skip to content

Commit 27bf5c5

Browse files
committed
chore(CHANGELOG): update with the AstarteObject changes
Signed-off-by: Joshua Chapman <joshua.chapman@secomind.com>
1 parent 4d92818 commit 27bf5c5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

1212
- Introduce `webpki` feature to use Mozilla webpki root certificates rather than the native ones
1313
[#396](https://github.com/astarte-platform/astarte-device-sdk-rust/pull/396).
14+
- Add the AstarteObject struct for Object Datastream [#430].
1415

1516
### Changed
1617

1718
- Bump MSRV to 1.78.0 [#395](https://github.com/astarte-platform/astarte-device-sdk-rust/pull/395).
19+
- Rename the AstarteAggregate derive macro to IntoAstarteObject [#430].
20+
- Remove the AstarteAggregate trait in favor of the AstarteObject [#430].
21+
- Change the send_object client methods to receive an AstarteObject argument [#430].
22+
23+
[#430]: (https://github.com/astarte-platform/astarte-device-sdk-rust/pull/430)
1824

1925
## [0.9.6] - 2025-03-06
2026

src/aggregate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::types::AstarteType;
2828
///
2929
/// # Example
3030
///
31-
/// Parse this data structure into a `HashMap` compatible with transmission of Astarte objects.
31+
/// Create the data structure `AstarteObject` used to transmit of Astarte objects.
3232
///
3333
/// ```
3434
/// use astarte_device_sdk::aggregate::AstarteObject;
@@ -169,7 +169,7 @@ impl Value {
169169
}
170170
}
171171

172-
/// Take out of the enum an [`HashMap`] if the aggregate is [`Object`](Value::Object).
172+
/// Take out of the enum an [`AstarteObject`] if the aggregate is [`Object`](Value::Object).
173173
pub fn take_object(self) -> Option<AstarteObject> {
174174
if let Self::Object(v) = self {
175175
Some(v)

0 commit comments

Comments
 (0)