Skip to content

Commit

Permalink
Bump version to 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelbuesing committed Feb 8, 2024
1 parent 50d1d2c commit 4be3c59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [6.0.0](https://github.com/marcelbuesing/can-dbc/tree/6.0.0) (2024-02-08)
- Update dependencies.
- Breaking: PR #13 and #14. Thank you @erzoe and @kistenklaus.
Replace u32 in MessageId with enum type to raise awareness that the raw dbc message ids contain the extended bit.
Add `MessageId.raw()` which returns the previous raw identifier including the extended id!

## [5.0.0](https://github.com/marcelbuesing/can-dbc/tree/5.0.0) (2022-06-22)
- Add support for dbcs with [extended multiplex messages](https://cdn.vector.com/cms/content/know-how/_application-notes/AN-ION-1-0521_Extended_Signal_Multiplexing.pdf). Thank you @pbert519!
- Breaking: `fn message_multiplexor_switch` now returns `Result<Option<&Signal>, Error>` instead of `Option<&Signal>`.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "can-dbc"
version = "5.0.0"
version = "6.0.0"
license = "MIT"
description = "A parser for the DBC format. The DBC format is used to exchange CAN network data."
homepage = "https://github.com/marcelbuesing/can-dbc"
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ pub struct Signal {
#[cfg_attr(feature = "serde", derive(Serialize))]
pub enum MessageId {
Standard(u16),
/// 29 bit extended identifier without the extended bit.
/// For the raw value of the message id including the bit for extended identifiers use the `raw()` method.
Extended(u32),
}

Expand Down

0 comments on commit 4be3c59

Please # to comment.