@prometheus-io/lezer-promql 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.38.0 / 2022-08-16
4
+
5
+ * [FEATURE]: Web: Add a `/api/v1/format_query` HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005
6
+ * [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039
7
+ * [FEATURE]: DNS SD: Support MX records for discovering targets. #10099
8
+ * [FEATURE]: Templates: Add `toTime()` template function that allows converting sample timestamps to Go `time.Time` values. #10993
9
+ * [ENHANCEMENT]: Kubernetes SD: Add `__meta_kubernetes_service_port_number` meta label indicating the service port number. #11002 #11053
10
+ * [ENHANCEMENT]: Kubernetes SD: Add `__meta_kubernetes_pod_container_image` meta label indicating the container image. #11034 #11146
11
+ * [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995
12
+ * [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068
13
+ * [ENHANCEMENT]: Web: Speed up calls to `/api/v1/rules` by avoiding locks and using atomic types instead. #10858
14
+ * [ENHANCEMENT]: Scrape: Add a `no-default-scrape-port` feature flag, which omits or removes any default HTTP (`:80`) or HTTPS (`:443`) ports in the target's scrape address. #9523
15
+ * [BUGFIX]: TSDB: In the WAL watcher metrics, expose the `type="exemplar"` label instead of `type="unknown"` for exemplar records. #11008
16
+ * [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099
17
+
3
18
  ## 2.37.0 / 2022-07-14
4
19
 
5
20
  This release is a LTS (Long-Term Support) release of Prometheus and will
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prometheus-io/lezer-promql",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "lezer-based PromQL grammar",
5
5
  "main": "index.cjs",
6
6
  "type": "module",