Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jun 08:26
· 4 commits to master since this release

0.9.0 (2024-06-10)

Breaking Changes

  • cantool: generated messages' CopyFrom preserves invalid signals (aef1e7d)

Previously we used the setters and getters in the CopyFrom method. The
getters and setters both caps a signal to be within [min, max] range.

This meant that if we used CopyFrom from a message which contained an
out-of-bounds signal the new value would not keep the same signal
value.

This commit updates the CopyFrom implementation to instead unmarshal
the generated CAN frame from the original message.

BREAKING CHANGE: This changes CopyFrom to accept a message instead of
a message reader to copy from, however mostly test code should be
affected.

Chores