Skip to content

Commit 2386752

Browse files
authored
chore: release v0.4.0
1 parent 290bfa2 commit 2386752

5 files changed

Lines changed: 171 additions & 233 deletions

File tree

CHANGELOG.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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-06-19
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+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 4 updates ([#168](https://github.com/oxibus/dbc-codegen/pull/168))
31+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 3 updates ([#163](https://github.com/oxibus/dbc-codegen/pull/163))
32+
- *(deps)* bump the all-cargo-version-updates group with 2 updates ([#161](https://github.com/oxibus/dbc-codegen/pull/161))
33+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 2 updates ([#158](https://github.com/oxibus/dbc-codegen/pull/158))
34+
- *(deps)* bump the all-actions-version-updates group across 1 directory with 2 updates ([#159](https://github.com/oxibus/dbc-codegen/pull/159))
35+
- update expected errors to Rust 1.94 ([#153](https://github.com/oxibus/dbc-codegen/pull/153))
36+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 2 updates ([#145](https://github.com/oxibus/dbc-codegen/pull/145))
37+
- *(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))
38+
- upgrade to rust 1.93 stderr ([#142](https://github.com/oxibus/dbc-codegen/pull/142))
39+
- *(deps)* bump the all-cargo-version-updates group across 1 directory with 4 updates ([#141](https://github.com/oxibus/dbc-codegen/pull/141))
40+
- [**breaking**] remove main fn from generated code ([#138](https://github.com/oxibus/dbc-codegen/pull/138))
41+
- make many rendering fn methods on config ([#133](https://github.com/oxibus/dbc-codegen/pull/133))
42+
- *(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))
43+
- use `quote` crate to handle str escaping ([#132](https://github.com/oxibus/dbc-codegen/pull/132))
44+
- noop - dedup, cleanup, new type abstraction ([#130](https://github.com/oxibus/dbc-codegen/pull/130))
45+
- update shared tests, bump deps, freeze to rust 1.92 ([#127](https://github.com/oxibus/dbc-codegen/pull/127))
46+
- *(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))
47+
- do not clean lock
48+
- bump dependencies and enable verbose output for release actions ([#120](https://github.com/oxibus/dbc-codegen/pull/120))
49+
- [pre-commit.ci] pre-commit autoupdate ([#119](https://github.com/oxibus/dbc-codegen/pull/119))
50+
- Bump the all-cargo-version-updates group across 1 directory with 2 updates ([#118](https://github.com/oxibus/dbc-codegen/pull/118))
51+
- refactor write functions, improve CI, MSRV ([#116](https://github.com/oxibus/dbc-codegen/pull/116))
52+
- minor code cleanup ([#114](https://github.com/oxibus/dbc-codegen/pull/114))
53+
- generate and compile all .dbc files from test repo ([#113](https://github.com/oxibus/dbc-codegen/pull/113))
54+
- allow generated file to be used with `include!` ([#108](https://github.com/oxibus/dbc-codegen/pull/108))
55+
- Bump the all-cargo-version-updates group across 1 directory with 2 updates ([#111](https://github.com/oxibus/dbc-codegen/pull/111))
56+
- minor justfile fix, editorconfig ([#112](https://github.com/oxibus/dbc-codegen/pull/112))
57+
- Bump actions/cache from 4 to 5 in the all-actions-version-updates group ([#110](https://github.com/oxibus/dbc-codegen/pull/110))
58+
- OxiBUS onboarding cleanup ([#102](https://github.com/oxibus/dbc-codegen/pull/102))
59+
- run `just fmt` to cleanup imports ([#107](https://github.com/oxibus/dbc-codegen/pull/107))
60+
- Bump the all-cargo-version-updates group across 1 directory with 9 updates ([#106](https://github.com/oxibus/dbc-codegen/pull/106))
61+
- upgrade to can-dbc v8 ([#101](https://github.com/oxibus/dbc-codegen/pull/101))
62+
- Bump actions/checkout from 1 to 6 in the all-actions-version-updates group ([#104](https://github.com/oxibus/dbc-codegen/pull/104))
63+
- *(CI)* minor CI updates, automate dependabot ([#103](https://github.com/oxibus/dbc-codegen/pull/103))
64+
- Add optional defmt::Format support for generated types
65+
- Merge pull request #85 from inomotech-foss/fix-mux-msg-id
66+
- Use message name instead of self
67+
- Generate embedded_can::Frame trait for each frame
68+
- Represent CAN message IDs as embedded_can::Id to support extended IDs
69+
- Fix issue with decoding signed values of non-standard length
70+
- revert change to Cargo.toml, not necessary
71+
- address clippy's concerns (thanks clippy), enhance comments
72+
- make can-messages dependency optional so it doesn't pull in std
73+
- reduce diff against main
74+
- handle more edge cases, use i128 as the maximum type
75+
- reorder lines to match signals
76+
- drop symlink in favor of copy so it works on Windows
77+
- revert because I missed the case of check_ranges being false
78+
- add tests, edge cases where the min/max is way less than signal width
79+
- clean up warning
80+
- add unsigned to the name, add test case
81+
- change signal logic to handle negative factors, add tests
82+
- Bump rustc to latest stable, 1.78
83+
- Merge pull request #68 from projectgus/tweaks/codegen_warnings
84+
- Rename .envrc for non-Nix users, add note in README
85+
- dont assign signed integers to unsigned integers
86+
- Update README
87+
- Fix clippy warnings
88+
- Use checked_sub(offset) for set_signal methods
89+
- Don't treat signals as floats if factor is integer
90+
- Add flag to impl std Error
91+
- Tweak docs and optional features
92+
- Make feature-gated impls configurable

0 commit comments

Comments
 (0)