rasn-compiler: 0.5.3 -> 0.6.0 (⚠️ API breaking changes)
rasn-compiler-derive: 0.5.3 -> 0.6.0
⚠️ 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
🤖 New release
rasn-compiler
: 0.5.3 -> 0.6.0 (⚠️ API breaking changes)rasn-compiler-derive
: 0.5.3 -> 0.6.0⚠️
rasn-compiler
breaking changesChangelog
## `rasn-compiler`
## `rasn-compiler-derive`This PR was generated with release-plz.