PackageTrack
Sign in Get early access

github.com/cloudflare/pint

v0.87.0 #2149 most downloaded on Go modules cloudflare/pint

What this package is like to depend on

Last release 6 days ago

17 Aug 2026

Ships fairly regularly

a new release about every 2 weeks

Nearly every release is documented

notes for 208 of 210 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

388 releases · first in 2021

47 releases in the last 12 months

see the full history below

Release timeline

388 releases · Apr 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 388
  1. v0.87.1-0.20260817201734-f7f7ce86f0d6 17 Aug 2026 pre-release

    Nothing published for this version

  2. v0.87.1-0.20260810204206-a1db69e49253 10 Aug 2026 pre-release

    Nothing published for this version

  3. v0.87.1-0.20260807180535-75663d6b0ed1 07 Aug 2026 pre-release

    Nothing published for this version

  4. v0.87.1-0.20260805212155-4007904f4d8e 05 Aug 2026 pre-release

    Nothing published for this version

  5. v0.87.1-0.20260727210822-4414d891846b 27 Jul 2026 pre-release

    Nothing published for this version

  6. v0.87.1-0.20260712171700-c149b5490066 12 Jul 2026 pre-release

    Nothing published for this version

  7. v0.87.0 09 Jul 2026
    Release notes

    Added

    • Added support for Prometheus v3.13.0 experimental PromQL functions:
      min_of(), max_of().
    • rule/duplicate now also detects duplicated
      alerting rules that can produce identical alerts from the same source time series.
    • alerts/template now validates PromQL queries
      passed to the query template function, reporting syntax errors and result
      labels that the query cannot produce.

    Fixed

    Open source →
    Release notes

    Added

    • Added support for Prometheus v3.13.0 experimental PromQL functions: min_of(), max_of().
    • rule/duplicate now also detects duplicated alerting rules that can produce identical alerts from the same source time series.
    • alerts/template now validates PromQL queries passed to the query template function, reporting syntax errors and result labels that the query cannot produce.

    Fixed

    Open source →
  8. v0.86.1-0.20260623210525-f7b64fd8021e 23 Jun 2026 pre-release

    Nothing published for this version

  9. v0.86.1-0.20260617172519-b102cc12c5fb 17 Jun 2026 pre-release

    Nothing published for this version

  10. v0.86.0 12 Jun 2026
    Release notes

    Added

    Changed

    Fixed

    • Fixed false positive reports from promql/impossible
      when functions like abs(), clamp_min(), hour(), ln(),
      histogram_quantile(), or timestamp() wrap aggregations that already remove
      labels.
    • Fixed a crash in promql/aggregate when
      name regexp is not set.
    • Fixed alerts/template not populating
      $annotations map, causing template expansion to always return
      empty values for annotation references.
    • Fixed rule/label not matching regex key
      patterns on recording rules.
    • Fixed bare # pint disable promql/series comments having no effect
      on promql/series checks.
    • Fixed pint_rule_file_owner metric using symlink target path instead
      of symlink name, making it inconsistent with pint_problem metric.
    • Fixed swapped label name and URL in
      promql/vector_matching error message
      when both sides of a binary operation are missing a label.
    • Fixed false positive promql/range_query
      reports when Prometheus retention flag cannot be parsed.
    • Fixed promql/counter not checking bare
      counter metrics used without any wrapping function.
    Open source →
    Release notes

    Added

    Changed

    Fixed

    • Fixed false positive reports from promql/impossible when functions like abs(), clamp_min(), hour(), ln(), histogram_quantile(), or timestamp() wrap aggregations that already remove labels.
    • Fixed a crash in promql/aggregate when name regexp is not set.
    • Fixed alerts/template not populating $annotations map, causing template expansion to always return empty values for annotation references.
    • Fixed rule/label not matching regex key patterns on recording rules.
    • Fixed bare # pint disable promql/series comments having no effect on promql/series checks.
    • Fixed pint_rule_file_owner metric using symlink target path instead of symlink name, making it inconsistent with pint_problem metric.
    • Fixed swapped label name and URL in promql/vector_matching error message when both sides of a binary operation are missing a label.
    • Fixed false positive promql/range_query reports when Prometheus retention flag cannot be parsed.
    • Fixed promql/counter not checking bare counter metrics used without any wrapping function.
    Open source →
  11. v0.85.0 04 Jun 2026
    Release notes

    Added

    • Added promql/offset check that warns when a PromQL
      query uses an offset larger than configured Prometheus retention.
    • Added support for Prometheus v3.12.0 experimental PromQL functions:
      start(), end(), range(), step().

    Changed

    • BitBucket reporter no longer creates Code Insight annotations.
      All problems are now reported as pull request comments.

    Fixed

    • Fixed query/cost suggesting recording rules with
      incompatible label matchers.
    • Fixed query/cost suggesting recording rules when
      the query and recording rule use different aggregation grouping
      (e.g. sum by(job) vs sum without(instance)).
    Open source →
    Release notes

    Added

    • Added promql/offset check that warns when a PromQL query uses an offset larger than configured Prometheus retention.
    • Added support for Prometheus v3.12.0 experimental PromQL functions: start(), end(), range(), step().

    Changed

    • BitBucket reporter no longer creates Code Insight annotations. All problems are now reported as pull request comments.

    Fixed

    • Fixed query/cost suggesting recording rules with incompatible label matchers.
    • Fixed query/cost suggesting recording rules when the query and recording rule use different aggregation grouping (e.g. sum by(job) vs sum without(instance)).
    Open source →
  12. v0.84.1-0.20260603121614-0f014ebe0da8 03 Jun 2026 pre-release

    Nothing published for this version

  13. v0.84.0 22 May 2026
    Release notes

    Added

    • GitHub and GitLab reporters will now automatically delete outdated general
      comments from previous pint ci runs.

    Changed

    • Reported problems will now trim more parts of the query for which the problem is
      reported, to make it easier to read.
    • Reduced the number of low-value reports about smelly regexp selectors from the
      promql/regexp check.
    Open source →
    Release notes

    Added

    • GitHub and GitLab reporters will now automatically delete outdated general comments from previous pint ci runs.

    Changed

    • Reported problems will now trim more parts of the query for which the problem is reported, to make it easier to read.
    • Reduced the number of low-value reports about smelly regexp selectors from the promql/regexp check.
    Open source →
  14. v0.83.1-0.20260519121333-737029f2bd19 19 May 2026 pre-release

    Nothing published for this version

  15. v0.83.0 18 May 2026
    Release notes

    Added

    • rule/dependency check now supports ignoreGroupMismatch
      option for ignoring specific metrics when checking for cross-group
      dependencies - #1795.

    Changed

    • Reported problems will now trim parts of the query for which the problem is reported
      to make it easier to read.

    Fixed

    • GitHub and GitLab reporter was trying to create comments on incorrect lines.
    Open source →
    Release notes

    Added

    • rule/dependency check now supports ignoreGroupMismatch option for ignoring specific metrics when checking for cross-group dependencies - #1795.

    Changed

    • Reported problems will now trim parts of the query for which the problem is reported to make it easier to read.

    Fixed

    • GitHub and GitLab reporters were trying to create comments on incorrect lines.
    Open source →
  16. v0.82.3 12 May 2026
    Release notes

    Fixed

    • Fixed incorrect reports from promql/regexp when empty match group is used.
    Open source →
    Release notes

    Fixed

    • Fixed incorrect reports from promql/regexp when empty match group is used.
    Open source →
  17. v0.82.2 09 May 2026
    Release notes

    Fixed

    • rule/dependency won't report warnings when one
      query uses a recording rules that produce a static value (vector(1)).
      If the value is always the same the lag doesn't matter and it's a false positive.
    Open source →
    Release notes

    Fixed

    • rule/dependency won't report warnings when one query uses a recording rule that produces a static value (vector(1)). If the value is always the same the lag doesn't matter and it's a false positive.
    Open source →
  18. v0.82.1 08 May 2026
    Release notes

    Fixed

    • GitHub and GitLab reporter was trying to create comments on unmodified files, which is not allowed.
    Open source →
    Release notes

    Fixed

    • GitHub and GitLab reporters were trying to create comments on unmodified files, which is not allowed.
    Open source →
  19. v0.82.0 08 May 2026
    Release notes

    Changed

    • rule/dependency cross-group dependency check now
      only reports problems for recording rules.

    Fixed

    • Fixed a panic when running pint ci.
    Open source →
    Release notes

    Changed

    • rule/dependency cross-group dependency check now only reports problems for recording rules.

    Fixed

    • Fixed a panic when running pint ci.
    Open source →
  20. v0.81.1 07 May 2026
    Release notes

    Fixed

    • Fixed GitLab reporter sending invalid line position when a comment is placed
      on a modified line in the diff, causing a 400 error from GitLab API.
    • GitHub and GitLab reporters will now correctly handle MRs between two feature branches.
    Open source →
    Release notes

    Fixed

    • Fixed GitLab reporter sending invalid line position when a comment is placed on a modified line in the diff, causing a 400 error from GitLab API.
    • GitHub and GitLab reporters will now correctly handle MRs between two feature branches.
    Open source →
  21. v0.81.0 07 May 2026
    Release notes

    Changed

    • When running pint ci pint will now use git diff to calculate modified lines instead of git blame.
    • Broken symlinks and unreadable files in the rules directory are now reported as yaml/parse problems instead of causing a fatal error.

    Fixed

    • Fixed parser not handling \r\n line endings correctly.
    • alerts/count check will now more accurately estimate alert counts.
    Open source →
  22. v0.80.0 20 Apr 2026
    Release notes

    Added

    Fixed

    • promql/vector_matching check no longer reports problems that are also reported by promql/impossible.
    • Fixed problem description in promql/series check for disable comments that have no effect.
    • Fixed invalid suggestions from the query/cost check.
    • query/cost check will now skip expressions that don't read any time series, like scalar(), vector(), time(), pi(), or number literals.
    Open source →
  23. v0.79.1-0.20260413210127-7b22a0e1477b 13 Apr 2026 pre-release

    Nothing published for this version

  24. v0.79.1-0.20260317214840-738d42f1c718 17 Mar 2026 pre-release

    Nothing published for this version

  25. v0.79.1-0.20260212091643-ae6107432e71 12 Feb 2026 pre-release

    Nothing published for this version

  26. v0.79.0 04 Feb 2026
    Release notes

    Changed

    Fixed

    Open source →
  27. v0.78.1-0.20260119111402-e5a564693bb7 19 Jan 2026 pre-release

    Nothing published for this version

  28. v0.78.1-0.20251216173438-f1f5cf45e81e 16 Dec 2025 pre-release

    Nothing published for this version

  29. v0.78.1-0.20251209195012-343fcf953711 09 Dec 2025 pre-release

    Nothing published for this version

  30. v0.78.0 01 Dec 2025
    Release notes

    Fixed

    Open source →
  31. v0.77.2-0.20251125162211-e3c758ac02b2 25 Nov 2025 pre-release

    Nothing published for this version

  32. v0.77.2-0.20251118192157-b4b1bf5517a1 18 Nov 2025 pre-release

    Nothing published for this version

  33. v0.77.1 17 Nov 2025
    Release notes

    Fixed

    • Fixed a panic when parsing incomplete rules using relaxed mode.
    Open source →
  34. v0.77.1-0.20251112171212-1cce7a29a0aa 12 Nov 2025 pre-release

    Nothing published for this version

  35. v0.77.0 11 Nov 2025
    Release notes

    Added

    • The promql/impossible check will now warn about aggregations and binary operations that try to operate on labels that are already removed in the query. Example:

      - record: foo
        expr: sum(foo) / on(cluster) sum(bar)
      

      The above tries to join two series on the cluster label, but sum(...) already removed labels from the results on both sides, so there will be no such label to join on.

    • The promql/impossible check will now warn about label joins using group_left(...) and group_right(...) that are not possible or not used in any way.

    Fixed

    • For queries using binary expressions between two vectors Prometheus will remove the metric name from resulting series, pint will now also apply the same logic when checking queries.
    Open source →
  36. v0.76.2-0.20251107160909-442a0c106582 07 Nov 2025 pre-release

    Nothing published for this version

  37. v0.76.2-0.20251031163855-86ae74480c43 31 Oct 2025 pre-release

    Nothing published for this version

  38. v0.76.2-0.20251024163019-509c49a5e8b9 24 Oct 2025 pre-release

    Nothing published for this version

  39. v0.76.2-0.20251022124120-79ce7033891e 22 Oct 2025 pre-release

    Nothing published for this version

  40. v0.76.1 22 Oct 2025
    Release notes

    Fixed

    • CI comments would sometimes print the problematic query fragment twice.
    Open source →
  41. v0.76.1-0.20251017170925-e2516526ad8b 17 Oct 2025 pre-release

    Nothing published for this version

  42. v0.76.0 17 Oct 2025
    Release notes

    Added

    • Added support for toDuration and now template functions added in Prometheus v3.6.

    Fixed

    • Some checks would fail to run queries against Prometheus servers if the query had comments in it.
    Open source →
  43. v0.75.0 26 Sep 2025
    Release notes

    Added

    Open source →
  44. v0.74.9-0.20250905191640-dbc19d45fa77 05 Sep 2025 pre-release

    Nothing published for this version

  45. v0.74.8 03 Sep 2025
    Release notes

    Fixed

    • Fixed incorrect suggestions from query/cost for function calls with different arguments.
    Open source →
  46. v0.74.7 02 Sep 2025
    Release notes

    Fixed

    • Fixed a bug in GitLab integration causing problems to fail to create comments when they are reported on deleted lines.
    • Fixed incorrect suggestions from query/cost for rules joining on multiple metrics.
    Open source →
  47. v0.74.6 31 Jul 2025
    Release notes

    Fixed

    • Fixed a bug in GitLab integration causing some problems to fail to create comments when files were renamed and modified.
    Open source →
  48. v0.74.5 28 Jul 2025
    Release notes

    Fixed

    • Fixed incorrect suggestions generated by query/cost check.
    • Fixed unmodified lines incorrectly marked as modified when running pint ci.
    Open source →
  49. v0.74.5-0.20250723165014-66ecf8913ce6 23 Jul 2025 pre-release

    Nothing published for this version

  50. v0.74.5-0.20250714123135-258a75f0683f 14 Jul 2025 pre-release

    Nothing published for this version

  51. v0.74.5-0.20250714091055-a0cc0095eb64 14 Jul 2025 pre-release

    Nothing published for this version

  52. v0.74.4 14 Jul 2025
    Release notes

    Fixed

    • Fixed false positive reports from promql/rate check when native histograms or summaries are used.
    Open source →
  53. v0.74.4-0.20250703161004-d55cde628659 03 Jul 2025 pre-release

    Nothing published for this version

  54. v0.74.4-0.20250624131605-8590dee6b1ba 24 Jun 2025 pre-release

    Nothing published for this version

  55. v0.74.3 24 Jun 2025
    Release notes

    Fixed

    • Fixed false positive reports from promql/fragile check - #1466.
    • Fixed incorrect reports from query/cost when multiple rules with rate(...) were present and each had a different rate time window.
    Open source →
  56. v0.74.2 23 Jun 2025
    Release notes

    Fixed

    • Fixed an issue where pint would fail to create an MR comment if GitLab API returned empty diff body.
    Open source →
  57. v0.74.1 12 Jun 2025
    Release notes

    Fixed

    • Fixed incorrect suggestion from query/cost when a query uses joins or unless.
    Open source →
  58. v0.74.0 10 Jun 2025
    Release notes

    Added

    • promql/fragile check will now warn about alerting rules using aggregations that might cause false positives when Prometheus restarts.
    • query/cost check will now try to find queries that perform operations for which there is a recording rule, and suggest using these recording rules instead to speed up the query.

    Fixed

    Open source →
  59. v0.73.8-0.20250609083414-12952312a25d 09 Jun 2025 pre-release

    Nothing published for this version

  60. v0.73.8-0.20250531201040-51e9dd5496f7 31 May 2025 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive