mirror of
https://github.com/prometheus/prometheus
synced 2025-01-30 03:33:32 +00:00
Merge pull request #10052 from prometheus/cm-promql-0-19
Cut v0.19.0 of codemirror-promql
This commit is contained in:
commit
33c4f939b3
@ -1,9 +1,15 @@
|
||||
0.19.0 / 2021-12-20
|
||||
===================
|
||||
|
||||
* **[Enhancement]**: Add a negative autocompletion boost to some trigonometric functions that can overlap with other more popular PromQL functions.
|
||||
* **[BugFix]**: Improve checking of whether a `PrometheusConfig` object was passed to `newCompleteStrategy()`.
|
||||
|
||||
0.18.0 / 2021-10-20
|
||||
===================
|
||||
|
||||
* **[Feature]**: Allow overriding the API prefix used to contact a remote Prometheus.
|
||||
* **[Feature]**: Add linter and autocompletion support for trigonometric functions (like `sin`, `cos`)
|
||||
* **[BreakingChange]**: The lib is now exposed under the `dist` folder. When importing `codemirror-promql`, it means you
|
||||
* **[BreakingChange]**: The lib is now exposed under the `dist` folder. When importing `codemirror-promql`, it means you
|
||||
will need to add `dist` in the import. For example `import { newCompleteStrategy } from 'codemirror-promql/cjs/complete';`
|
||||
becomes `import { newCompleteStrategy } from 'codemirror-promql/dist/cjs/complete';`
|
||||
* **[BreakingChange]**: lezer-promql has been migrated into codemirror-promql in the `grammar` folder
|
||||
@ -22,8 +28,8 @@ becomes `import { newCompleteStrategy } from 'codemirror-promql/dist/cjs/complet
|
||||
name. (#142)
|
||||
* **[Feature]**: Autocomplete `NaN` and `Inf` (#141)
|
||||
* **[Enhancement]**: Fetch series using the HTTP `POST` method (#139)
|
||||
* **[Enhancement]**: Upgrade lezer-promql that fixed the parsing of metric names starting with `Inf`/`NaN` like infra (#142)
|
||||
* **[BreakingChange]**: The constant `promQLLanguage` has been changed to be a function. It takes a `LanguageType` as a
|
||||
* **[Enhancement]**: Upgrade lezer-promql that fixed the parsing of metric names starting with `Inf`/`NaN` like infra (#142)
|
||||
* **[BreakingChange]**: The constant `promQLLanguage` has been changed to be a function. It takes a `LanguageType` as a
|
||||
parameter (#142)
|
||||
|
||||
0.15.0 / 2021-04-13
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "codemirror-promql",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"description": "a CodeMirror mode for the PromQL language",
|
||||
"main": "dist/cjs/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
|
6
web/ui/package-lock.json
generated
6
web/ui/package-lock.json
generated
@ -14,7 +14,7 @@
|
||||
}
|
||||
},
|
||||
"module/codemirror-promql": {
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"lru-cache": "^6.0.0"
|
||||
@ -7246,7 +7246,7 @@
|
||||
"@fortawesome/react-fontawesome": "^0.1.16",
|
||||
"@nexucis/fuzzy": "^0.3.0",
|
||||
"bootstrap": "^4.6.1",
|
||||
"codemirror-promql": "0.18.0",
|
||||
"codemirror-promql": "0.19.0",
|
||||
"css.escape": "^1.5.1",
|
||||
"downshift": "^6.1.7",
|
||||
"i": "^0.3.7",
|
||||
@ -29701,7 +29701,7 @@
|
||||
"@types/sinon": "^10.0.6",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
|
||||
"bootstrap": "^4.6.1",
|
||||
"codemirror-promql": "0.18.0",
|
||||
"codemirror-promql": "0.19.0",
|
||||
"css.escape": "^1.5.1",
|
||||
"downshift": "^6.1.7",
|
||||
"enzyme": "^3.11.0",
|
||||
|
@ -21,7 +21,7 @@
|
||||
"@fortawesome/react-fontawesome": "^0.1.16",
|
||||
"@nexucis/fuzzy": "^0.3.0",
|
||||
"bootstrap": "^4.6.1",
|
||||
"codemirror-promql": "0.18.0",
|
||||
"codemirror-promql": "0.19.0",
|
||||
"css.escape": "^1.5.1",
|
||||
"downshift": "^6.1.7",
|
||||
"i": "^0.3.7",
|
||||
|
Loading…
Reference in New Issue
Block a user