Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Releases: prometheus/lezer-promql

0.12.0

09 Feb 17:51
Compare
Choose a tag to compare
  • [Enhancement]: Generate index.d.ts in the dist 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

09 Feb 17:59
Compare
Choose a tag to compare
  • [BugFix]: Synchronized index.d.ts with parser.term.js

0.11.0

09 Feb 18:16
Compare
Choose a tag to compare
  • [BugFix]: Fix import/export in package.json to be esm compliant
  • [BugFix]: Fix daysInMonth node's name
  • [BreakingChange]: Remove unecessary case for the rule FunctionCallArgs

0.10.0

09 Feb 18:22
Compare
Choose a tag to compare
  • [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 as rate as a node instead of a plain string. Doing it like that will ease the way to analyze the PromQL tree.
  • [BreakingChange]: Define the different BinOp and MatchOp as a node instead of a plain string.

0.9.0

09 Feb 18:24
0.9.0
Compare
Choose a tag to compare

[Enhancement]: add some missing type definition terms into index.d.ts

0.8.0

09 Feb 18:27
0.8.0
Compare
Choose a tag to compare
  • [Feature]: Support new extended duration format. (followup the grammar upstream)
  • [Enhancement]: Add binOp and aggregation modifier terms.

0.7.0

09 Feb 18:32
Compare
Choose a tag to compare
  • [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.

0.6.0

09 Feb 18:33
0.6.0
Compare
Choose a tag to compare
  • [BreakingChange]: Support last version of lezer (v0.10.x)

0.5.0

09 Feb 18:38
0.5.0
Compare
Choose a tag to compare
  • [BugFix] Fix the package version. The previous version wasn't published because of this issue.

0.4.0

09 Feb 18:40
0.4.0
Compare
Choose a tag to compare
  • [BugFix]: Fix the different link in package.jsonf
  • [BreakingChange]: rename const promqlSyntax by promQLSyntax