Skip to content

Conversation

@nyurik
Copy link
Member

@nyurik nyurik commented Jan 20, 2026

🤖 New release

  • dbc-codegen: 0.3.0 -> 0.4.0 (⚠ API breaking changes)
  • dbc-codegen-cli: 0.3.0 -> 0.4.0

dbc-codegen breaking changes

--- failure function_missing: pub fn removed or renamed ---

Description:
A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/function_missing.ron

Failed in:
  function dbc_codegen::codegen, previously in file /tmp/.tmpnI7dDw/dbc-codegen/src/lib.rs:24
Changelog

dbc-codegen

0.4.0 - 2026-01-30

Added

  • add DBC_FILE_NAME + ver, proper code formatting (#131)
  • [breaking] streamline DBC code generation and file writing (#128)

Fixed

  • handle duplicate signal names (#126)
  • handle empty relevant msgs in from_can_message (#125)
  • fix typo
  • fix formatting errors
  • fix factor/offset not getting applied to 0 for unsigned case
  • fix duplicate enum names on multiplex messages
  • fix issue where signed signals would be rendered as unsigned

Other

  • [breaking] remove main fn from generated code (#138)
  • make many rendering fn methods on config (#133)
  • (deps) bump clap from 4.5.54 to 4.5.55 in the all-cargo-version-updates group (#134)
  • use quote crate to handle str escaping (#132)
  • noop - dedup, cleanup, new type abstraction (#130)
  • update shared tests, bump deps, freeze to rust 1.92 (#127)
  • (deps) bump can-dbc from 8.0.0 to 8.0.1 in the all-cargo-version-updates group (#129)
  • do not clean lock
  • bump dependencies and enable verbose output for release actions (#120)
  • [pre-commit.ci] pre-commit autoupdate (#119)
  • Bump the all-cargo-version-updates group across 1 directory with 2 updates (#118)
  • refactor write functions, improve CI, MSRV (#116)
  • minor code cleanup (#114)
  • generate and compile all .dbc files from test repo (#113)
  • allow generated file to be used with include! (#108)
  • Bump the all-cargo-version-updates group across 1 directory with 2 updates (#111)
  • minor justfile fix, editorconfig (#112)
  • Bump actions/cache from 4 to 5 in the all-actions-version-updates group (#110)
  • OxiBUS onboarding cleanup (#102)
  • run just fmt to cleanup imports (#107)
  • Bump the all-cargo-version-updates group across 1 directory with 9 updates (#106)
  • upgrade to can-dbc v8 (#101)
  • Bump actions/checkout from 1 to 6 in the all-actions-version-updates group (#104)
  • (CI) minor CI updates, automate dependabot (#103)
  • Add optional defmt::Format support for generated types
  • Merge pull request Use message name instead of self #85 from inomotech-foss/fix-mux-msg-id
  • Use message name instead of self
  • Generate embedded_can::Frame trait for each frame
  • Represent CAN message IDs as embedded_can::Id to support extended IDs
  • Fix issue with decoding signed values of non-standard length
  • revert change to Cargo.toml, not necessary
  • address clippy's concerns (thanks clippy), enhance comments
  • make can-messages dependency optional so it doesn't pull in std
  • reduce diff against main
  • handle more edge cases, use i128 as the maximum type
  • reorder lines to match signals
  • drop symlink in favor of copy so it works on Windows
  • revert because I missed the case of check_ranges being false
  • add tests, edge cases where the min/max is way less than signal width
  • clean up warning
  • add unsigned to the name, add test case
  • change signal logic to handle negative factors, add tests
  • Bump rustc to latest stable, 1.78
  • Merge pull request Remove warnings in generated code #68 from projectgus/tweaks/codegen_warnings
  • Rename .envrc for non-Nix users, add note in README
  • dont assign signed integers to unsigned integers
  • Update README
  • Fix clippy warnings
  • Use checked_sub(offset) for set_signal methods
  • Don't treat signals as floats if factor is integer
  • Add flag to impl std Error
  • Tweak docs and optional features
  • Make feature-gated impls configurable

dbc-codegen-cli

0.4.0 - 2026-01-30

Added

  • [breaking] streamline DBC code generation and file writing (#128)

Other

  • minor code cleanup (#114)
  • allow generated file to be used with include! (#108)
  • OxiBUS onboarding cleanup (#102)
  • run just fmt to cleanup imports (#107)
  • Bump the all-cargo-version-updates group across 1 directory with 9 updates (#106)
  • upgrade to can-dbc v8 (#101)
  • make debug_prints configurable
  • Merge pull request Remove warnings in generated code #68 from projectgus/tweaks/codegen_warnings
  • Rename .envrc for non-Nix users, add note in README
  • Update README
  • Make feature-gated impls configurable


This PR was generated with release-plz.

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nyurik nyurik force-pushed the release-plz-2026-01-20T18-31-05Z branch 3 times, most recently from 453a81d to 5b678d1 Compare January 21, 2026 07:46
@nyurik nyurik changed the title chore: release chore: release v0.3.1 Jan 23, 2026
@nyurik nyurik force-pushed the release-plz-2026-01-20T18-31-05Z branch 3 times, most recently from d2a1128 to 453ec68 Compare January 23, 2026 21:09
@nyurik nyurik changed the title chore: release v0.3.1 chore: release v0.4.0 Jan 25, 2026
@nyurik nyurik force-pushed the release-plz-2026-01-20T18-31-05Z branch 7 times, most recently from 58aad71 to a58e090 Compare January 30, 2026 06:05
@nyurik nyurik force-pushed the release-plz-2026-01-20T18-31-05Z branch from a58e090 to da37057 Compare January 30, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants