Skip to content

Conversation

@nyurik
Copy link
Member

@nyurik nyurik commented Oct 20, 2025

🤖 New release

  • can-dbc: 7.0.0 -> 8.0.0 (⚠ API breaking changes)

can-dbc breaking changes

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant EnvType::Float 0 -> 1 in /tmp/.tmp3qlT6k/can-dbc/src/ast/env_type.rs:5

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/enum_variant_added.ron

Failed in:
  variant EnvType:Integer in /tmp/.tmp3qlT6k/can-dbc/src/ast/env_type.rs:4
  variant EnvType:String in /tmp/.tmp3qlT6k/can-dbc/src/ast/env_type.rs:6

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It 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.43.0/src/lints/enum_variant_missing.ron

Failed in:
  variant EnvType::U64, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:352
  variant EnvType::Data, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:353

--- failure feature_not_enabled_by_default: package feature is not enabled by default ---

Description:
A feature is no longer enabled by default for this package. This will break downstream crates which rely on the package's default features and require the functionality of this feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove-another
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/feature_not_enabled_by_default.ron

Failed in:
  feature with-serde in the package's Cargo.toml

--- 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.43.0/src/lints/function_missing.ron

Failed in:
  function can_dbc::parser::dbc, previously in file /tmp/.tmpqstbBR/can-dbc/src/parser.rs:1023

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It 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.43.0/src/lints/inherent_method_missing.ron

Failed in:
  Message::id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:480
  Message::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:480
  Message::size, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:480
  Message::transmitter, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:480
  Message::signals, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:480
  AttributeValueForObject::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:520
  AttributeValueForObject::value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:520
  Dbc::version, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::new_symbols, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::bit_timing, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::nodes, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::value_tables, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::messages, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::message_transmitters, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::environment_variables, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::environment_variable_data, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::signal_types, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::comments, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::attribute_definitions, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::attribute_defaults, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::attribute_values, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::value_descriptions, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::signal_type_refs, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::signal_groups, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::signal_extended_value_type_list, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::extended_multiplex, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:583
  Dbc::from_str, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:627
  ValDescription::id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:411
  ValDescription::description, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:411
  EnvironmentVariableData::env_var_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:504
  EnvironmentVariableData::data_size, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:504
  MessageTransmitter::message_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:312
  MessageTransmitter::transmitter, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:312
  AttrDefault::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:418
  AttrDefault::value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:418
  ExtendedMultiplexMapping::min_value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:439
  ExtendedMultiplexMapping::max_value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:439
  SignalTypeRef::message_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:553
  SignalTypeRef::signal_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:553
  SignalTypeRef::signal_type_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:553
  AttributeDefault::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:514
  AttributeDefault::value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:514
  Signal::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::multiplexer_indicator, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::start_bit, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::size, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::byte_order, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::value_type, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::factor, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::offset, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::min, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::max, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::unit, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  Signal::receivers, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:268
  SignalType::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::signal_size, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::byte_order, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::value_type, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::factor, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::offset, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::min, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::max, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::unit, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::default_value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalType::value_table, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:356
  SignalGroups::message_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:561
  SignalGroups::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:561
  SignalGroups::repetitions, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:561
  SignalGroups::signal_names, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:561
  EnvironmentVariable::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::typ, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::min, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::max, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::unit, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::initial_value, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::ev_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::access_type, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  EnvironmentVariable::access_nodes, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:491
  ExtendedMultiplex::message_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:446
  ExtendedMultiplex::signal_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:446
  ExtendedMultiplex::multiplexor_signal_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:446
  ExtendedMultiplex::mappings, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:446
  ValueTable::name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:433
  ValueTable::descriptions, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:433
  SignalExtendedValueTypeList::message_id, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:576
  SignalExtendedValueTypeList::signal_name, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:576
  SignalExtendedValueTypeList::signal_extended_value_type, previously in file /tmp/.tmpqstbBR/can-dbc/src/lib.rs:576

--- failure module_missing: pub module removed or renamed ---

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

Failed in:
  mod can_dbc::parser, previously in file /tmp/.tmpqstbBR/can-dbc/src/parser.rs:1
Changelog

8.0.0 - 2025-10-26

Added

  • skip serializing empty vectors in various structs (#55)

Fixed

  • [breaking] change EnvType variants: 0-int, 1-float, 2-string (#61)
  • [breaking] trim whitespace from attribute definitions (#58)
  • correctly feature gate default features (#53)

Other

  • [breaking] remove getters because all fields are public (#60)
  • make all fields pub and move structs/enums to individual ast/* files (#59) (#59)
  • rework testing framework (#57)
  • [breaking] remove deprecated from_str method from Dbc implementation (#50)
  • [breaking] change Node to hold a single string, i.e. nodes: Vec<Node> (#54)
  • move tests to separate files (#52)
  • reorganize tests (#49)


This PR was generated with release-plz.

Copilot AI review requested due to automatic review settings October 20, 2025 18:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR is an automated release that bumps the version from 7.0.0 to 7.0.1, reflecting recent test reorganization changes.

  • Version update in Cargo.toml
  • Changelog entry documenting the patch release

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Cargo.toml Updates package version to 7.0.1
CHANGELOG.md Adds release notes for version 7.0.1 with test reorganization reference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link

codecov bot commented Oct 20, 2025

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-2025-10-20T18-02-32Z branch from 51add4d to 67a509f Compare October 22, 2025 16:27
@nyurik nyurik changed the title chore: release v7.0.1 chore: release v8.0.0 Oct 23, 2025
@nyurik nyurik force-pushed the release-plz-2025-10-20T18-02-32Z branch 8 times, most recently from aae2ca3 to dea3e15 Compare October 23, 2025 23:07
@nyurik nyurik force-pushed the release-plz-2025-10-20T18-02-32Z branch from dea3e15 to 518226e Compare October 26, 2025 15:53
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