Skip to content

Conversation

@Wybxc
Copy link
Owner

@Wybxc Wybxc commented Jul 14, 2025

🤖 New release

  • parse-it-codegen: 0.2.0 -> 0.3.0 (⚠ API breaking changes)
  • parse-it-macros: 0.1.1 -> 0.1.2
  • parse-it: 0.2.0 -> 0.3.0 (⚠ API breaking changes)

parse-it-codegen 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.41.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field ParseIt.mods in /tmp/.tmp5B5O0k/parse-it/parse-it-codegen/src/syntax.rs:7

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

Failed in:
  variant Atom:TypePterminal in /tmp/.tmp5B5O0k/parse-it/parse-it-codegen/src/syntax.rs:359

--- 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.41.0/src/lints/inherent_method_missing.ron

Failed in:
  ParseIt::compile, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/frontend.rs:82
  Parser::rules, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:119

--- 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.41.0/src/lints/struct_missing.ron

Failed in:
  struct parse_it_codegen::syntax::ParseItConfig, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:6

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field 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.41.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field attrs of struct ParseIt, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:31
  field mod_name of struct ParseIt, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:32
  field items of struct ParseIt, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:33
  field parsers of struct ParseIt, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:34
  field config of struct ParseIt, previously in file /tmp/.tmpLMShKb/parse-it-codegen/src/syntax.rs:35

parse-it breaking changes

--- 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.41.0/src/lints/inherent_method_missing.ron

Failed in:
  ParserState::pos, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:108
  ParserState::parse, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:128
  ParserState::advance_to_pos, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:157
  ParserState::pos, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:108
  ParserState::parse, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:128
  ParserState::advance_to_pos, previously in file /tmp/.tmpLMShKb/parse-it/src/parser.rs:157

--- failure trait_missing: pub trait removed or renamed ---

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

Failed in:
  trait parse_it::lexer::Lexer, previously in file /tmp/.tmpLMShKb/parse-it/src/lexer.rs:15
  trait parse_it::Lexer, previously in file /tmp/.tmpLMShKb/parse-it/src/lexer.rs:15

--- failure type_mismatched_generic_lifetimes: type now takes a different number of generic lifetimes ---

Description:
A type now takes a different number of generic lifetime parameters. Uses of this type that name the previous number of parameters will be broken.
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/type_mismatched_generic_lifetimes.ron
Failed in:
  Struct ParserState (0 -> 1 lifetime params) in /tmp/.tmp5B5O0k/parse-it/parse-it/src/parser.rs:96
  Struct ParserState (0 -> 1 lifetime params) in /tmp/.tmp5B5O0k/parse-it/parse-it/src/parser.rs:96
  Struct CharLexer (1 -> 0 lifetime params) in /tmp/.tmp5B5O0k/parse-it/parse-it/src/lexer.rs:103
  Struct CharLexer (1 -> 0 lifetime params) in /tmp/.tmp5B5O0k/parse-it/parse-it/src/lexer.rs:103
Changelog

parse-it

0.3.0 - 2025-07-18

Added

  • update lexer type definitions in examples for consistency
  • change the API of tokens
  • first lexer+parser example
  • type pattern and literal in parser syntax
  • enhance parser and lexer with literal parsing capabilities
  • refactor lexer and parser interfaces for improved type handling
  • basic lexer support
  • lexer example (developing...)
  • lexer basis
  • lexer syntax

Other

  • add documentation


This PR was generated with release-plz.

@Wybxc Wybxc force-pushed the release-plz-2025-07-14T13-20-57Z branch 4 times, most recently from e2821dd to 2be81c9 Compare July 18, 2025 00:52
@Wybxc Wybxc force-pushed the release-plz-2025-07-14T13-20-57Z branch from 2be81c9 to cc5a48c Compare July 18, 2025 03:57
@Wybxc Wybxc closed this Jul 18, 2025
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