librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
183 stars 43 forks source link

chore: release #189

Closed github-actions[bot] closed 8 months ago

github-actions[bot] commented 8 months ago

🤖 New release

⚠️ rasn breaking changes

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum 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.24.0/src/lints/enum_missing.ron

Failed in:
  enum rasn::ber::enc::Error, previously in file /tmp/.tmpWh05Px/rasn/src/ber/enc/error.rs:7
  enum rasn::der::enc::Error, previously in file /tmp/.tmpWh05Px/rasn/src/ber/enc/error.rs:7
  enum rasn::codec::EncodeError, previously in file /tmp/.tmpWh05Px/rasn/src/codec.rs:59
  enum rasn::aper::enc::Error, previously in file /tmp/.tmpWh05Px/rasn/src/per/enc/error.rs:8
  enum rasn::uper::enc::Error, previously in file /tmp/.tmpWh05Px/rasn/src/per/enc/error.rs:8
  enum rasn::codec::DecodeError, previously in file /tmp/.tmpWh05Px/rasn/src/codec.rs:78
  enum rasn::ber::de::Error, previously in file /tmp/.tmpWh05Px/rasn/src/ber/de/error.rs:8
  enum rasn::der::de::Error, previously in file /tmp/.tmpWh05Px/rasn/src/ber/de/error.rs:8

--- failure inherent_method_must_use_added: inherent method #[must_use] added ---

Description:
An inherent method is now #[must_use]. Downstream crates that did not use its return value will get a compiler lint.
        ref: https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.24.0/src/lints/inherent_method_must_use_added.ron

Failed in:
  method rasn::ber::enc::Encoder::new in /tmp/.tmpoE6mpJ/rasn/src/ber/enc.rs:41
  method rasn::ber::enc::Encoder::new_set in /tmp/.tmpoE6mpJ/rasn/src/ber/enc.rs:57
  method rasn::der::enc::Encoder::new in /tmp/.tmpoE6mpJ/rasn/src/ber/enc.rs:41
  method rasn::der::enc::Encoder::new_set in /tmp/.tmpoE6mpJ/rasn/src/ber/enc.rs:57
  method rasn::ber::de::Decoder::new in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:41
  method rasn::ber::de::Decoder::decoded_len in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:51
  method rasn::der::de::Decoder::new in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:41
  method rasn::der::de::Decoder::decoded_len in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:51
  method rasn::ber::enc::EncoderOptions::ber in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:12
  method rasn::ber::enc::EncoderOptions::cer in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:20
  method rasn::ber::enc::EncoderOptions::der in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:28
  method rasn::der::enc::EncoderOptions::ber in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:12
  method rasn::der::enc::EncoderOptions::cer in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:20
  method rasn::der::enc::EncoderOptions::der in /tmp/.tmpoE6mpJ/rasn/src/ber/enc/config.rs:28
  method rasn::ber::de::DecoderOptions::ber in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:12
  method rasn::ber::de::DecoderOptions::cer in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:20
  method rasn::ber::de::DecoderOptions::der in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:28
  method rasn::der::de::DecoderOptions::ber in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:12
  method rasn::der::de::DecoderOptions::cer in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:20
  method rasn::der::de::DecoderOptions::der in /tmp/.tmpoE6mpJ/rasn/src/ber/de/config.rs:28
  method rasn::aper::enc::EncoderOptions::aligned in /tmp/.tmpoE6mpJ/rasn/src/per/enc.rs:28
  method rasn::aper::enc::EncoderOptions::unaligned in /tmp/.tmpoE6mpJ/rasn/src/per/enc.rs:36
  method rasn::uper::enc::EncoderOptions::aligned in /tmp/.tmpoE6mpJ/rasn/src/per/enc.rs:28
  method rasn::uper::enc::EncoderOptions::unaligned in /tmp/.tmpoE6mpJ/rasn/src/per/enc.rs:36
  method rasn::ber::Identifier::new in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:15
  method rasn::ber::Identifier::from_tag in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:24
  method rasn::ber::Identifier::tag in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:33
  method rasn::ber::Identifier::is_constructed in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:43
  method rasn::ber::Identifier::is_primitive in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:50
  method rasn::der::Identifier::new in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:15
  method rasn::der::Identifier::from_tag in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:24
  method rasn::der::Identifier::tag in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:33
  method rasn::der::Identifier::is_constructed in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:43
  method rasn::der::Identifier::is_primitive in /tmp/.tmpoE6mpJ/rasn/src/ber/identifier.rs:50

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.24.0/src/lints/method_parameter_count_changed.ron

Failed in:
  rasn::aper::enc::Error::check_length now takes 3 parameters instead of 2, in /tmp/.tmpoE6mpJ/rasn/src/error/encode.rs:118
  rasn::uper::enc::Error::check_length now takes 3 parameters instead of 2, in /tmp/.tmpoE6mpJ/rasn/src/error/encode.rs:118
  rasn::ber::de::Decoder::decode_object_identifier_from_bytes now takes 2 parameters instead of 1, in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:122
  rasn::der::de::Decoder::decode_object_identifier_from_bytes now takes 2 parameters instead of 1, in /tmp/.tmpoE6mpJ/rasn/src/ber/de.rs:122

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct 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.24.0/src/lints/struct_missing.ron

Failed in:
  struct rasn::aper::de::Error, previously in file /tmp/.tmpWh05Px/rasn/src/per/de/error.rs:11
  struct rasn::uper::de::Error, previously in file /tmp/.tmpWh05Px/rasn/src/per/de/error.rs:11
Changelog

## `rasn`

## [0.11.0](https://github.com/XAMPPRocky/rasn/compare/rasn-v0.10.6...rasn-v0.11.0) - 2023-10-28 ### Other - Shared error module ([#164](https://github.com/XAMPPRocky/rasn/pull/164))
## `rasn-derive`
## [0.11.0](https://github.com/XAMPPRocky/rasn/compare/rasn-derive-v0.10.6...rasn-derive-v0.11.0) - 2023-10-28 ### Other - Shared error module ([#164](https://github.com/XAMPPRocky/rasn/pull/164))
## `rasn-pkix`
## [0.10.6](https://github.com/XAMPPRocky/rasn/compare/rasn-pkix-v0.10.5...rasn-pkix-v0.10.6) - 2023-10-26 ### Other - Add CI check for formatted files and reformat source ([#181](https://github.com/XAMPPRocky/rasn/pull/181))
## `rasn-cap`
## [0.8.0](https://github.com/XAMPPRocky/rasn/compare/rasn-cap-v0.7.0...rasn-cap-v0.8.0) - 2023-07-11 ### Other - Use workspace metadata - Implement Unpacked Encoding Rules (UPER)
## `rasn-cms`
## [0.9.3](https://github.com/XAMPPRocky/rasn/compare/rasn-cms-v0.9.2...rasn-cms-v0.9.3) - 2023-08-06 ### Other - fmt
## `rasn-kerberos`
## [0.9.3](https://github.com/XAMPPRocky/rasn/compare/rasn-kerberos-v0.9.2...rasn-kerberos-v0.9.3) - 2023-08-06 ### Other - fmt
## `rasn-ldap`
## [0.8.0](https://github.com/XAMPPRocky/rasn/compare/rasn-ldap-v0.7.0...rasn-ldap-v0.8.0) - 2023-07-11 ### Other - Use workspace metadata
## `rasn-mib`
## [0.11.0](https://github.com/XAMPPRocky/rasn/compare/rasn-mib-v0.10.6...rasn-mib-v0.11.0) - 2023-10-28 ### Other - Shared error module ([#164](https://github.com/XAMPPRocky/rasn/pull/164))
## `rasn-smi`
## [0.11.0](https://github.com/XAMPPRocky/rasn/compare/rasn-smi-v0.10.6...rasn-smi-v0.11.0) - 2023-10-28 ### Other - Shared error module ([#164](https://github.com/XAMPPRocky/rasn/pull/164))
## `rasn-ocsp`
## [0.8.0](https://github.com/XAMPPRocky/rasn/compare/rasn-ocsp-v0.7.0...rasn-ocsp-v0.8.0) - 2023-07-11 ### Other - Use workspace metadata
## `rasn-smime`
## [0.9.3](https://github.com/XAMPPRocky/rasn/compare/rasn-smime-v0.9.2...rasn-smime-v0.9.3) - 2023-08-06 ### Other - fmt
## `rasn-snmp`
## [0.10.0](https://github.com/XAMPPRocky/rasn/compare/rasn-snmp-v0.9.5...rasn-snmp-v0.10.0) - 2023-10-03 ### Other - fmt - use existing codec type - document Codec and methods - Add `Codec` enum, update `rasn_snmp::v3::Message`


This PR was generated with release-plz.