grit-pattern-matcher: 0.3.0 -> 0.4.0 (⚠️ API breaking changes)
grit-util: 0.3.0 -> 0.4.0 (✓ API compatible changes)
⚠️ grit-pattern-matcher 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.35.0/src/lints/constructible_struct_adds_field.ron
Failed in:
field CallBuiltIn.name in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/call_built_in.rs:15
--- failure constructible_struct_adds_private_field: struct no longer constructible due to new private field ---
Description:
A struct constructible with a struct literal has a new non-public field. It can no longer be constructed using a struct literal outside of its crate.
ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/constructible_struct_adds_private_field.ron
Failed in:
field Variable.internal in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/variable.rs:61
field PatternDefinition.internal in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:24
--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---
Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/derive_trait_impl_removed.ron
Failed in:
type Variable no longer derives Copy, in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/variable.rs:60
--- 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.35.0/src/lints/enum_variant_added.ron
Failed in:
variant PatternOrPredicate:DynamicPattern in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:52
variant Pattern:CallbackPattern in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/patterns.rs:99
--- 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.35.0/src/lints/method_parameter_count_changed.ron
Failed in:
grit_pattern_matcher::pattern::PatternDefinition::new now takes 4 parameters instead of 5, in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:28
grit_pattern_matcher::pattern::CallBuiltIn::new now takes 3 parameters instead of 2, in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/call_built_in.rs:20
grit_pattern_matcher::pattern::Predicate::iter now takes 2 parameters instead of 1, in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:66
grit_pattern_matcher::pattern::Pattern::iter now takes 2 parameters instead of 1, in /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:238
--- 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.35.0/src/lints/struct_missing.ron
Failed in:
struct grit_pattern_matcher::pattern::VariableSourceLocations, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/variable.rs:24
--- 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.35.0/src/lints/struct_pub_field_missing.ron
Failed in:
field scope of struct PatternDefinition, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/pattern_definition.rs:13
field params of struct PatternDefinition, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/pattern_definition.rs:14
field local_vars of struct PatternDefinition, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/pattern_definition.rs:16
field pattern of struct PatternDefinition, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/pattern_definition.rs:17
field scope of struct Variable, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/variable.rs:19
field index of struct Variable, previously in file /tmp/.tmpKY4lgi/grit-pattern-matcher/src/pattern/variable.rs:20
--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---
Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_pub_field_now_doc_hidden.ron
Failed in:
field PatternDefinition.params in file /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:20
field PatternDefinition.pattern in file /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:20
--- failure trait_method_added: pub trait method added ---
Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/trait_method_added.ron
Failed in:
trait method grit_pattern_matcher::context::ExecContext::call_callback in file /tmp/.tmptU656a/gritql/crates/grit-pattern-matcher/src/context.rs:44
Changelog
## `grit-pattern-matcher`
## [0.4.0](https://github.com/getgrit/gritql/compare/grit-pattern-matcher-v0.3.0...grit-pattern-matcher-v0.4.0) - 2024-10-10
### Added
- basic builder API for SDK ([#518](https://github.com/getgrit/gritql/pull/518))
- SDK basics ([#514](https://github.com/getgrit/gritql/pull/514))
- truly lazy variables ([#512](https://github.com/getgrit/gritql/pull/512))
- add a callback pattern ([#476](https://github.com/getgrit/gritql/pull/476))
- expose insert_effect API ([#475](https://github.com/getgrit/gritql/pull/475))
- search for built-ins inside functions ([#430](https://github.com/getgrit/gritql/pull/430))
- skip warning for searches ([#428](https://github.com/getgrit/gritql/pull/428))
- add some more utils for napi ([#405](https://github.com/getgrit/gritql/pull/405))
### Fixed
- make compound snippets work with stateless compiler ([#513](https://github.com/getgrit/gritql/pull/513))
- simplify the lazy approach ([#483](https://github.com/getgrit/gritql/pull/483))
- remove min_level spread throughout the codebase ([#451](https://github.com/getgrit/gritql/pull/451))
- include universal patterns in bindings ([#431](https://github.com/getgrit/gritql/pull/431))
### Other
- remove `im` crate ([#536](https://github.com/getgrit/gritql/pull/536))
- make .index() and .scope() use accessors ([#480](https://github.com/getgrit/gritql/pull/480))
- searching for new patterns inside callback function ([#481](https://github.com/getgrit/gritql/pull/481))
- install workflow-runner via axo ([#461](https://github.com/getgrit/gritql/pull/461))
- refactor grit error ([#457](https://github.com/getgrit/gritql/pull/457))
## `grit-util`
## [0.4.0](https://github.com/getgrit/gritql/compare/grit-util-v0.3.0...grit-util-v0.4.0) - 2024-10-10
### Added
- add some more utils for napi ([#405](https://github.com/getgrit/gritql/pull/405))
- include content in match results ([#391](https://github.com/getgrit/gritql/pull/391))
### Other
- refactor grit error ([#457](https://github.com/getgrit/gritql/pull/457))
🤖 New release
grit-pattern-matcher
: 0.3.0 -> 0.4.0 (⚠️ API breaking changes)grit-util
: 0.3.0 -> 0.4.0 (✓ API compatible changes)⚠️
grit-pattern-matcher
breaking changesChangelog
## `grit-pattern-matcher`
## `grit-util`This PR was generated with release-plz.