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 #538

Merged
merged 2 commits into from
Oct 10, 2024
Merged

chore: release v0.4.0 #538

merged 2 commits into from
Oct 10, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 10, 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/.tmpD0Z5wx/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/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/variable.rs:61
  field PatternDefinition.internal in /tmp/.tmpD0Z5wx/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/.tmpD0Z5wx/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/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:52
  variant Pattern:CallbackPattern in /tmp/.tmpD0Z5wx/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::Predicate::iter now takes 2 parameters instead of 1, in /tmp/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:66
  grit_pattern_matcher::pattern::PatternDefinition::new now takes 4 parameters instead of 5, in /tmp/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:28
  grit_pattern_matcher::pattern::Pattern::iter now takes 2 parameters instead of 1, in /tmp/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:238
  grit_pattern_matcher::pattern::CallBuiltIn::new now takes 3 parameters instead of 2, in /tmp/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/call_built_in.rs:20

--- 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/.tmpXCHvhl/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 Variable, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/variable.rs:19
  field index of struct Variable, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/variable.rs:20
  field scope of struct PatternDefinition, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/pattern_definition.rs:13
  field params of struct PatternDefinition, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/pattern_definition.rs:14
  field local_vars of struct PatternDefinition, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/pattern_definition.rs:16
  field pattern of struct PatternDefinition, previously in file /tmp/.tmpXCHvhl/grit-pattern-matcher/src/pattern/pattern_definition.rs:17

--- 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/.tmpD0Z5wx/gritql/crates/grit-pattern-matcher/src/pattern/pattern_definition.rs:20
  field PatternDefinition.pattern in file /tmp/.tmpD0Z5wx/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/.tmpD0Z5wx/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.

Greptile Summary

This is an auto-generated summary

API usage limit has reached your account's monthly budget. API requests will be rejected.

@github-actions github-actions bot requested a review from a team as a code owner October 10, 2024 07:49
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

6 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@arendjr
Copy link
Contributor

arendjr commented Oct 10, 2024

@morgante Can we merge this one? I have a branch ready to upgrade Biome to the latest changes in the crates.

Edit: Sorry, I see you're already on it :)

@morgante morgante merged commit 6b1e992 into main Oct 10, 2024
9 checks passed
@morgante morgante deleted the release-plz-2024-10-10T07-49-32Z branch October 10, 2024 08:11
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