diff --git a/doc/release-notes/iceoryx2-unreleased.md b/doc/release-notes/iceoryx2-unreleased.md index a55c69a61..f0836d2b2 100644 --- a/doc/release-notes/iceoryx2-unreleased.md +++ b/doc/release-notes/iceoryx2-unreleased.md @@ -94,3 +94,19 @@ ``` 2. Removed `payload_type_layout()` from `publish_subscribe::Header`. + +3. Renamed `max_slice_len()` into `initial_max_slice_len()`. + + ```rust + // old + let publisher = service + .publisher_builder() + .max_slice_len(16) + .create()?; + + // new + let publisher = service + .publisher_builder() + .initial_max_slice_len(16) + .create()?; + ```