Skip to content

Releases: cloudflare/pint

v0.65.1

27 Aug 09:25
c8a5339
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in match block state handling that caused all rules to always match any state.

v0.65.0

27 Aug 07:29
6630e3d
Compare
Choose a tag to compare

Added

  • promql/regexp check will now look for smelly regexp selectors.
    See check docs for details.
  • promql/range_query now allows to configure a custom maximum
    duration for range queries - #1064.
  • Added --enabled flag to the pint command. Passing this flag will only run selected check(s).
  • Added state option to the rule match block. See configuration docs for details.

Fixed

  • Don't try to report problem on unmodified files when using GitHub reporter.
  • If there is a pint config file present then pint will now always add it to the parser block exclude list.
    This is to avoid trying to parse it as a rule file if it's included in the same folder as rules.

v0.64.0

08 Aug 16:39
c095cda
Compare
Choose a tag to compare

Added

  • Added ignoreLabelsValue to promql/series check settings.
  • Added include & exclude options were moved from the ci to the parser configuration block.
    They now apply to all pint commands, not just pint ci - #631.

v0.63.0

06 Aug 09:05
2b59c39
Compare
Choose a tag to compare

Added

Changed

  • promql/vector_matching will now report more details, including which Prometheus server reports problems and which part of the query is the issue.
  • GitHub report code was refactored, it should behave as before.
  • When running pint ci pint will now run all checks on unmodified rules when a file/disable comment was removed.

Fixed

  • Fixed false positive warnings from alerts/comparison when using absent_over_time().
  • GitHub reporter will now wait before making more requests if it's rate limited - #699.

v0.62.2

17 Jul 09:18
Compare
Choose a tag to compare

Fixed

  • When using BitBucket reporter pint ci might create a comment longer than the limit allowed by BitBucket.
    To avoid this pint will now truncate long comments.

v0.62.1

11 Jul 16:02
b75f261
Compare
Choose a tag to compare

Fixed

v0.62.0

11 Jul 15:12
19dbe12
Compare
Choose a tag to compare

Added

  • promql/series check will now generate warnings if there are # pint disable
    or # pint rule/set comments that are not matching any valid query selector or Prometheus server.

Fixed

  • promql/series will now parse rule/set comments that target specific
    time series selectors in PromQL the same way as # pint disable comments do.

v0.61.2

05 Jul 13:15
a821e38
Compare
Choose a tag to compare

Fixed

  • Fixed false positive reports about removed rules when running pint ci on a branch that
    contains YAML syntax errors.

v0.61.1

04 Jul 17:05
960667d
Compare
Choose a tag to compare

Fixed

  • Fixed release workflow on GitHub.

v0.60.0

10 Jun 11:57
7f42c89
Compare
Choose a tag to compare

Fixed

  • alerts/annotations and rule/label will
    now report when a label or annotation is required but set to an empty value.
  • Fixed handling of # pint ignore/line comments on line including multiple # characters.
  • When reporting problems all messages will now use publicURI from each prometheus definition.