Skip to content

Commit 60952ef

Browse files
authored
chore: release v0.4.0
1 parent 1b32231 commit 60952ef

5 files changed

Lines changed: 136 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.4.0](https://github.com/oxibus/dbc-codegen/compare/v0.3.0...v0.4.0) - 2026-07-18
11+
12+
### Added
13+
14+
- add `DBC_FILE_NAME` + ver, proper code formatting ([#131](https://github.com/oxibus/dbc-codegen/pull/131))
15+
- [**breaking**] streamline DBC code generation and file writing ([#128](https://github.com/oxibus/dbc-codegen/pull/128))
16+
17+
### Fixed
18+
19+
- support large min/max values without precision loss ([#152](https://github.com/oxibus/dbc-codegen/pull/152))
20+
- handle duplicate signal names ([#126](https://github.com/oxibus/dbc-codegen/pull/126))
21+
- handle empty relevant msgs in from_can_message ([#125](https://github.com/oxibus/dbc-codegen/pull/125))
22+
- fix typo
23+
- fix formatting errors
24+
- fix factor/offset not getting applied to 0 for unsigned case
25+
- fix duplicate enum names on multiplex messages
26+
- fix issue where signed signals would be rendered as unsigned
27+
28+
### Other
29+
30+
- Generate message size and cycle time consts ([#176](https://github.com/oxibus/dbc-codegen/pull/176))
31+
- Add option to generate typed constants from DBC attributes ([#175](https://github.com/oxibus/dbc-codegen/pull/175))
32+
- update can-dbc ([#181](https://github.com/oxibus/dbc-codegen/pull/181))
33+
- rust ver bump ([#182](https://github.com/oxibus/dbc-codegen/pull/182))
34+
- cleanup clippy, justfile, and proj cleanup ([#180](https://github.com/oxibus/dbc-codegen/pull/180))
35+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 4 updates ([#172](https://github.com/oxibus/dbc-codegen/pull/172))
36+
- *(deps)* bump codecov/codecov-action from 6 to 7 in the all-actions-version-updates group ([#165](https://github.com/oxibus/dbc-codegen/pull/165))
37+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 4 updates ([#168](https://github.com/oxibus/dbc-codegen/pull/168))
38+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 3 updates ([#163](https://github.com/oxibus/dbc-codegen/pull/163))
39+
- *(deps)* bump the all-cargo-version-updates group with 2 updates ([#161](https://github.com/oxibus/dbc-codegen/pull/161))
40+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 2 updates ([#158](https://github.com/oxibus/dbc-codegen/pull/158))
41+
- *(deps)* bump the all-actions-version-updates group across 1 directory with 2 updates ([#159](https://github.com/oxibus/dbc-codegen/pull/159))
42+
- update expected errors to Rust 1.94 ([#153](https://github.com/oxibus/dbc-codegen/pull/153))
43+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 2 updates ([#145](https://github.com/oxibus/dbc-codegen/pull/145))
44+
- *(deps)* bump insta from 1.46.2 to 1.46.3 in the all-cargo-version-updates group ([#143](https://github.com/oxibus/dbc-codegen/pull/143))
45+
- upgrade to rust 1.93 stderr ([#142](https://github.com/oxibus/dbc-codegen/pull/142))
46+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 4 updates ([#141](https://github.com/oxibus/dbc-codegen/pull/141))
47+
- [**breaking**] remove main fn from generated code ([#138](https://github.com/oxibus/dbc-codegen/pull/138))
48+
- make many rendering fn methods on config ([#133](https://github.com/oxibus/dbc-codegen/pull/133))
49+
- *(deps)* bump clap from 4.5.54 to 4.5.55 in the all-cargo-version-updates group ([#134](https://github.com/oxibus/dbc-codegen/pull/134))
50+
- use `quote` crate to handle str escaping ([#132](https://github.com/oxibus/dbc-codegen/pull/132))
51+
- noop - dedup, cleanup, new type abstraction ([#130](https://github.com/oxibus/dbc-codegen/pull/130))
52+
- update shared tests, bump deps, freeze to rust 1.92 ([#127](https://github.com/oxibus/dbc-codegen/pull/127))
53+
- *(deps)* bump can-dbc from 8.0.0 to 8.0.1 in the all-cargo-version-updates group ([#129](https://github.com/oxibus/dbc-codegen/pull/129))
54+
- do not clean lock
55+
- bump dependencies and enable verbose output for release actions ([#120](https://github.com/oxibus/dbc-codegen/pull/120))
56+
- [pre-commit.ci] pre-commit autoupdate ([#119](https://github.com/oxibus/dbc-codegen/pull/119))
57+
- Bump the all-cargo-version-updates group across 1 directory with 2 updates ([#118](https://github.com/oxibus/dbc-codegen/pull/118))
58+
- refactor write functions, improve CI, MSRV ([#116](https://github.com/oxibus/dbc-codegen/pull/116))
59+
- minor code cleanup ([#114](https://github.com/oxibus/dbc-codegen/pull/114))
60+
- generate and compile all .dbc files from test repo ([#113](https://github.com/oxibus/dbc-codegen/pull/113))
61+
- allow generated file to be used with `include!` ([#108](https://github.com/oxibus/dbc-codegen/pull/108))
62+
- Bump the all-cargo-version-updates group across 1 directory with 2 updates ([#111](https://github.com/oxibus/dbc-codegen/pull/111))
63+
- minor justfile fix, editorconfig ([#112](https://github.com/oxibus/dbc-codegen/pull/112))
64+
- Bump actions/cache from 4 to 5 in the all-actions-version-updates group ([#110](https://github.com/oxibus/dbc-codegen/pull/110))
65+
- OxiBUS onboarding cleanup ([#102](https://github.com/oxibus/dbc-codegen/pull/102))
66+
- run `just fmt` to cleanup imports ([#107](https://github.com/oxibus/dbc-codegen/pull/107))
67+
- Bump the all-cargo-version-updates group across 1 directory with 9 updates ([#106](https://github.com/oxibus/dbc-codegen/pull/106))
68+
- upgrade to can-dbc v8 ([#101](https://github.com/oxibus/dbc-codegen/pull/101))
69+
- Bump actions/checkout from 1 to 6 in the all-actions-version-updates group ([#104](https://github.com/oxibus/dbc-codegen/pull/104))
70+
- *(CI)* minor CI updates, automate dependabot ([#103](https://github.com/oxibus/dbc-codegen/pull/103))
71+
- Add optional defmt::Format support for generated types
72+
- Merge pull request #85 from inomotech-foss/fix-mux-msg-id
73+
- Use message name instead of self
74+
- Generate embedded_can::Frame trait for each frame
75+
- Represent CAN message IDs as embedded_can::Id to support extended IDs
76+
- Fix issue with decoding signed values of non-standard length
77+
- revert change to Cargo.toml, not necessary
78+
- address clippy's concerns (thanks clippy), enhance comments
79+
- make can-messages dependency optional so it doesn't pull in std
80+
- reduce diff against main
81+
- handle more edge cases, use i128 as the maximum type
82+
- reorder lines to match signals
83+
- drop symlink in favor of copy so it works on Windows
84+
- revert because I missed the case of check_ranges being false
85+
- add tests, edge cases where the min/max is way less than signal width
86+
- clean up warning
87+
- add unsigned to the name, add test case
88+
- change signal logic to handle negative factors, add tests
89+
- Bump rustc to latest stable, 1.78
90+
- Merge pull request #68 from projectgus/tweaks/codegen_warnings
91+
- Rename .envrc for non-Nix users, add note in README
92+
- dont assign signed integers to unsigned integers
93+
- Update README
94+
- Fix clippy warnings
95+
- Use checked_sub(offset) for set_signal methods
96+
- Don't treat signals as floats if factor is integer
97+
- Add flag to impl std Error
98+
- Tweak docs and optional features
99+
- Make feature-gated impls configurable

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dbc-codegen"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "CAN DBC code-gen for embedded Rust"
55
authors = [
66
"Pascal Hertleif <pascal@technocreatives.com>",

dbc-codegen-cli/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.4.0](https://github.com/oxibus/dbc-codegen/compare/v0.3.0...v0.4.0) - 2026-07-18
11+
12+
### Added
13+
14+
- [**breaking**] streamline DBC code generation and file writing ([#128](https://github.com/oxibus/dbc-codegen/pull/128))
15+
16+
### Other
17+
18+
- Generate message size and cycle time consts ([#176](https://github.com/oxibus/dbc-codegen/pull/176))
19+
- Add option to generate typed constants from DBC attributes ([#175](https://github.com/oxibus/dbc-codegen/pull/175))
20+
- cleanup clippy, justfile, and proj cleanup ([#180](https://github.com/oxibus/dbc-codegen/pull/180))
21+
- *(deps)* bump the all-cargo-version-updates group with 2 updates ([#161](https://github.com/oxibus/dbc-codegen/pull/161))
22+
- minor code cleanup ([#114](https://github.com/oxibus/dbc-codegen/pull/114))
23+
- allow generated file to be used with `include!` ([#108](https://github.com/oxibus/dbc-codegen/pull/108))
24+
- OxiBUS onboarding cleanup ([#102](https://github.com/oxibus/dbc-codegen/pull/102))
25+
- run `just fmt` to cleanup imports ([#107](https://github.com/oxibus/dbc-codegen/pull/107))
26+
- Bump the all-cargo-version-updates group across 1 directory with 9 updates ([#106](https://github.com/oxibus/dbc-codegen/pull/106))
27+
- upgrade to can-dbc v8 ([#101](https://github.com/oxibus/dbc-codegen/pull/101))
28+
- make debug_prints configurable
29+
- Merge pull request #68 from projectgus/tweaks/codegen_warnings
30+
- Rename .envrc for non-Nix users, add note in README
31+
- Update README
32+
- Make feature-gated impls configurable

dbc-codegen-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dbc-codegen-cli"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "CLI for CAN DBC codegen"
55
authors = [
66
"Pascal Hertleif <pascal@technocreatives.com>",
@@ -21,5 +21,5 @@ doc = false
2121

2222
[dependencies]
2323
clap = { version = "4.6", features = ["derive"] }
24-
dbc-codegen = { version = "0.3", path = ".." }
24+
dbc-codegen = { version = "0.4", path = ".." }
2525
exitcode = "1.1.2"

0 commit comments

Comments
 (0)