librasn / compiler

An ASN1 compiler producing Rust bindings for the rasn framework
Other
13 stars 7 forks source link

chore: release v0.6.0 #61

Closed github-actions[bot] closed 2 weeks ago

github-actions[bot] commented 2 weeks ago

🤖 New release

⚠️ rasn-compiler breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field GrammarError.pdu in /tmp/.tmp00agAV/compiler/rasn-compiler/src/intermediate/error.rs:10
  field GrammarError.pdu in /tmp/.tmp00agAV/compiler/rasn-compiler/src/intermediate/error.rs:10
  field GrammarError.pdu in /tmp/.tmp00agAV/compiler/rasn-compiler/src/intermediate/error.rs:10

--- 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.36.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant GeneratorErrorType::NotYetInplemented 7 -> 9 in /tmp/.tmp00agAV/compiler/rasn-compiler/src/generator/error.rs:36

--- 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.36.0/src/lints/enum_variant_added.ron

Failed in:
  variant GeneratorErrorType:FormattingError in /tmp/.tmp00agAV/compiler/rasn-compiler/src/generator/error.rs:34
  variant GeneratorErrorType:IO in /tmp/.tmp00agAV/compiler/rasn-compiler/src/generator/error.rs:35
  variant GeneratorErrorType:Unsupported in /tmp/.tmp00agAV/compiler/rasn-compiler/src/generator/error.rs:37
Changelog

## `rasn-compiler`

## [0.6.0](https://github.com/librasn/compiler/compare/rasn-compiler-v0.5.3...rasn-compiler-v0.6.0) - 2024-11-10 ### Added - *(error)* contextualize linker and grammar errors - *(lexer)* return error snippet - *(lexer)* collect errors in tree - *(lexer)* return error pdu - *(lexer)* custom input type ### Fixed - return parsing errors for multi-module input - *(cli)* add colored dependency - *(lexer)* extract exact error snippet - *(lexer)* tstring validation ### Other - *(error)* return enum instead of boxed trait - *(lexer)* use Input type
## `rasn-compiler-derive`
## [0.5.0](https://github.com/librasn/compiler/compare/rasn-compiler-derive-v0.4.0...rasn-compiler-derive-v0.5.0) - 2024-09-19 ### Added - consider tagging and extensibility environments


This PR was generated with release-plz.