This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Releases: prometheus/lezer-promql
Releases · prometheus/lezer-promql
0.12.0
- [Enhancement]: Generate
index.d.ts
in thedist
folder - [BreakingChange]: Support last version of
lezer
(v0.11.x) - [BreakingChange]: Remove promQL terms. This things is usefull only when you want to autocomplete the syntax. So it doesn't make sense to have it at the grammar level.
0.11.1
0.11.0
0.10.0
- [Enhancement]]: The different name of the PromQL terms are now added to
index.d.ts
. It would be useful to have these constants as it would avoid to use a 'magic' string when iterating into the PromQL tree. - [BreakingChange]: Define the different
FunctionIdentifier
such asrate
as anode
instead of a plain string. Doing it like that will ease the way to analyze the PromQL tree. - [BreakingChange]: Define the different
BinOp
andMatchOp
as a node instead of a plain string.
0.9.0
0.8.0
0.7.0
- [Feature]: Export the different constante coming from
parser.term.js
. It will be useful to use these constants when iterating other the tree. - [Feature]: Define the different keyword of PromQL as a plain string that then can be used for the autocompletion. It's quite experimental, so it can be removed later if we think it doesn't fit.
- [Enhancement]: Support case-insensitive keywords.
- [BreakingChange]: Define the different
aggregateOp
as a node.