From 68aa74776f1cb67d6923e3b7206072a723b152fd Mon Sep 17 00:00:00 2001 From: oleiade Date: Fri, 6 May 2022 09:40:50 +0200 Subject: [PATCH] Release v0.38.1 --- lib/consts/consts.go | 2 +- release notes/v0.38.1.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 release notes/v0.38.1.md diff --git a/lib/consts/consts.go b/lib/consts/consts.go index d3b51a0a2b0..cad561641a7 100644 --- a/lib/consts/consts.go +++ b/lib/consts/consts.go @@ -28,7 +28,7 @@ import ( ) // Version contains the current semantic version of k6. -const Version = "0.38.0" +const Version = "0.38.1" // VersionDetails can be set externally as part of the build process var VersionDetails = "" // nolint:gochecknoglobals diff --git a/release notes/v0.38.1.md b/release notes/v0.38.1.md new file mode 100644 index 00000000000..fc5e9f9dd1e --- /dev/null +++ b/release notes/v0.38.1.md @@ -0,0 +1,9 @@ +k6 v0.38.1 is a patch release containing a bugfix! + +### Threshold sub-metric selectors containing reserved symbols would fail ([#2512](https://github.com/grafana/k6/issues/2512)) + +There was a bug in threshold sub-metric selector parsing, which led to errors when users would use specific symbols such as `{`, `}` or `:` as part of their definitions. For instance, thresholds used for sub-metrics with [URL Grouping](https://k6.io/docs/using-k6/http-requests/#url-grouping) like `http_req_duration{name:"http://example.com/${}"}` would have led to failures in `v0.38.0`. + +The error messages for invalid metric, sub-metric and threshold definitions were also improved. + +Special thanks to @efdknittlfrank, who reported and helped us track down the issue.