Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahix committed Nov 15, 2024
1 parent 838ed88 commit 906b1e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### `profirust`
#### Changed
- **BREAKING** Buffers in the `dp::Peripheral` are now stored in `managed::ManagedSlice`
containers. This allows using owned buffers on platforms with an allocator.
You may need to explicitly cast buffers into slices now, to avoid a compiler error:
```diff
dp::Peripheral::new(
ENCODER_ADDRESS,
options,
- &mut buffer_inputs,
- &mut buffer_outputs,
+ &mut buffer_inputs[..],
+ &mut buffer_outputs[..],
)
-.with_diag_buffer(&mut buffer_diagnostics),
+.with_diag_buffer(&mut buffer_diagnostics[..])
```


## [0.4.0] - 2024-11-15
Expand Down

0 comments on commit 906b1e8

Please sign in to comment.