Skip to content

v0.12.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jul 07:44
· 4 commits to master since this release

0.12.0 (2024-07-05)

Breaking Changes

  • cantool: CopyFrom accepts canrunner.Node Rx messages (56c0075)

When updating the signature for CopyFrom we accidentally broke a
workflow where receive messages in a `canrunner.Node` and then copy
the data from them using `CopyFrom`. This commit restores CopyFrom to
accept a "message reader" type, but extends that type to also require
that values implement `Frame() can.Frame`.

All messages generated by cantool already implements `Frame()
can.Frame` so only mocks should be affected.

BREAKING CHANGE: This restores old signature of CopyFrom to accept a
message reader instead of a message instance to copy from.