Releases: cloudflare/pint
Releases · cloudflare/pint
v0.65.1
Fixed
- Fixed a bug in
match
blockstate
handling that caused all rules to always match any state.
v0.65.0
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 rulematch
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
blockexclude
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
Added
- Added
ignoreLabelsValue
to promql/series check settings. - Added
include
&exclude
options were moved from theci
to theparser
configuration block.
They now apply to all pint commands, not justpint ci
- #631.
v0.63.0
Added
- Added alerts/absent check.
- Added rule/name check - #1020.
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 afile/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
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
Fixed
- Fixed false positive warnings from rule/dependency check.
v0.62.0
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
Fixed
- Fixed false positive reports about removed rules when running
pint ci
on a branch that
contains YAML syntax errors.
v0.61.1
Fixed
- Fixed release workflow on GitHub.
v0.60.0
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 eachprometheus
definition.