Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.4.0 #498

Closed
wants to merge 1 commit into from
Closed

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 11, 2024

🤖 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 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 - 2024-10-10

Added

  • basic builder API for SDK (#518)
  • SDK basics (#514)
  • truly lazy variables (#512)
  • add a callback pattern (#476)
  • expose insert_effect API (#475)
  • search for built-ins inside functions (#430)
  • skip warning for searches (#428)
  • add some more utils for napi (#405)

Fixed

  • make compound snippets work with stateless compiler (#513)
  • simplify the lazy approach (#483)
  • remove min_level spread throughout the codebase (#451)
  • include universal patterns in bindings (#431)

Other

  • remove im crate (#536)
  • make .index() and .scope() use accessors (#480)
  • searching for new patterns inside callback function (#481)
  • install workflow-runner via axo (#461)
  • refactor grit error (#457)

grit-util

0.4.0 - 2024-10-10

Added

  • add some more utils for napi (#405)
  • include content in match results (#391)

Other

  • refactor grit error (#457)


This PR was generated with release-plz.

@github-actions github-actions bot requested a review from a team as a code owner September 11, 2024 22:05
@github-actions github-actions bot force-pushed the release-plz-2024-09-11T22-05-50Z branch 10 times, most recently from 792e08c to 0ff23ea Compare September 18, 2024 21:24
@github-actions github-actions bot force-pushed the release-plz-2024-09-11T22-05-50Z branch 6 times, most recently from c83c214 to 0f52ebe Compare September 25, 2024 15:52
@github-actions github-actions bot force-pushed the release-plz-2024-09-11T22-05-50Z branch 3 times, most recently from 5389a1e to 4eb77f4 Compare October 7, 2024 04:50
@github-actions github-actions bot force-pushed the release-plz-2024-09-11T22-05-50Z branch from 4eb77f4 to 825b844 Compare October 8, 2024 03:56
@arendjr arendjr mentioned this pull request Oct 9, 2024
@github-actions github-actions bot force-pushed the release-plz-2024-09-11T22-05-50Z branch from 825b844 to ec94b79 Compare October 10, 2024 07:46
@github-actions github-actions bot closed this Oct 10, 2024
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.

0 participants