Skip to content

Releases: cloudflare/pint

v0.78.0

01 Dec 15:12
8a9f9cf

Choose a tag to compare

Fixed

v0.77.1

17 Nov 11:43
5bfeffc

Choose a tag to compare

Fixed

  • Fixed a panic when parsing incomplete rules using relaxed mode.

v0.77.0

11 Nov 13:49
efe8f4a

Choose a tag to compare

Added

  • The promql/impossible check will now warn about aggregations and
    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 side, so there will be no such label on 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.

v0.76.1

22 Oct 11:09
9400b39

Choose a tag to compare

Fixed

  • CI comments would sometimes print the problematic query fragment twice.

v0.76.0

17 Oct 13:10
2940942

Choose a tag to compare

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.

v0.75.0

26 Sep 16:58
8d7858a

Choose a tag to compare

Added

v0.74.8

03 Sep 13:34
2d9f589

Choose a tag to compare

Fixed

  • Fixed incorrect suggestions from query/cost for function calls with different arguments.

v0.74.7

02 Sep 13:11
693c59b

Choose a tag to compare

Fixed

  • Fixed a bug in GitLab integration causing problems fail to create comments when they are reported on deleted lines.
  • Fixed incorrect suggestions from query/cost for rules joining on multiple metrics.

v0.74.6

31 Jul 09:36
cf1f47f

Choose a tag to compare

Fixed

  • Fixed a bug in GitLab integration causing some problems fail to create comments when files were renamed and modified.

v0.74.5

28 Jul 14:33
4a3e67d

Choose a tag to compare

Fixed

  • Fixed incorrect incorrect suggestions generated by query/cost check.
  • Fixed unmodified lines incorrectly marked as modified when running pint ci.