This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
0.18.0
- [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 importingcodemirror-promql
, it means you
will need to adddist
in the import. For exampleimport { newCompleteStrategy } from 'codemirror-promql/cjs/complete';
becomesimport { newCompleteStrategy } from 'codemirror-promql/dist/cjs/complete';
- [BreakingChange]: lezer-promql has been migrated into codemirror-promql in the
grammar
folder - [BreakingChange]: Support last version of Codemirror.next (v0.19.0).