getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.
https://docs.grit.io/
MIT License
3.17k stars 82 forks source link

chore: release v0.5.0 #541

Closed github-actions[bot] closed 3 weeks ago

github-actions[bot] commented 1 month ago

🤖 New release

⚠️ grit-pattern-matcher breaking changes

--- 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.36.0/src/lints/constructible_struct_adds_private_field.ron

Failed in:
  field Within.until in /tmp/.tmpNrAYXx/gritql/crates/grit-pattern-matcher/src/pattern/within.rs:13

--- 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 Predicate:CallBuiltIn in /tmp/.tmpNrAYXx/gritql/crates/grit-pattern-matcher/src/pattern/predicates.rs:26

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant 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.36.0/src/lints/enum_variant_missing.ron

Failed in:
  variant Pattern::Log, previously in file /tmp/.tmp5jMVuX/grit-pattern-matcher/src/pattern/patterns.rs:122
  variant Predicate::Log, previously in file /tmp/.tmp5jMVuX/grit-pattern-matcher/src/pattern/predicates.rs:36

--- 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.36.0/src/lints/method_parameter_count_changed.ron

Failed in:
  grit_pattern_matcher::pattern::Within::new now takes 2 parameters instead of 1, in /tmp/.tmpNrAYXx/gritql/crates/grit-pattern-matcher/src/pattern/within.rs:17

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

Failed in:
  struct grit_pattern_matcher::pattern::Log, previously in file /tmp/.tmp5jMVuX/grit-pattern-matcher/src/pattern/log.rs:30
  struct grit_pattern_matcher::pattern::VariableInfo, previously in file /tmp/.tmp5jMVuX/grit-pattern-matcher/src/pattern/log.rs:18
Changelog

## `grit-pattern-matcher`

## [0.5.0](https://github.com/getgrit/gritql/compare/grit-pattern-matcher-v0.4.0...grit-pattern-matcher-v0.5.0) - 2024-10-24 ### Added - call built-ins as predicate ([#557](https://github.com/getgrit/gritql/pull/557)) - optimize simple contains patterns ([#555](https://github.com/getgrit/gritql/pull/555)) - add a basic optimizer pass for contains ([#554](https://github.com/getgrit/gritql/pull/554)) - add within until ([#540](https://github.com/getgrit/gritql/pull/540))
## `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))


This PR was generated with release-plz.

Greptile Summary

This is an auto-generated summary

Hi! Looks like you've reached your API usage limit. You can increase it from your account settings page here: app.greptile.com/settings/usage

arendjr commented 4 weeks ago

Good time to release another one? :) @morgante