Releases: djluck/PromQL.Parser
Releases · djluck/PromQL.Parser
3.2.0
Improving the pretty print algorithm to only break after lines reach a certain length
v3.1.0
- Adding basic pretty print support in the
Printer
class
3.0.3
- Fixed a bug that meant parenthesis weren't being emitted for binary expressions that used
group_left
/ group_right
without specifying any labels
3.0.2
- Fixing a bug in
DepthFirstVisitor
that meant VectorSelector
wasn't returned from MatrixSelector
3.0.1
- Added a package build for .NET 6.0
3.0.0
- Added support for deep cloning of
Expr
- Clarified support for mutability (only properties on types implementing
Expr
may be mutated)
- BREAKING CHANGE: Some existing properties on non-
Expr
types were mutable, made them immutable.
2.1.0
- Adding a new set,
Operators.BinaryArithmeticOperators
that describes binary operators involved with arithmetic
2.0.0
Adding stronger validation of PromQL expressions, principally type checking which will allow consumers to validate the type an expression produces.
This has meant a lot of improvements:
- Aggregate operator and function signatures are now defined in the library and parameter counts and types can be checked.
- Binary expressions are now parsed with the (correct) associativeness: left associativeness.
- Binary operators now have precedence associated with them and binary expressions are grouped according to this
- Every expression can determine it's return type
- Expression types preceeding offset expressions are now validated more carefully
- Positions of parsed expressions from the source input are now available in all AST nodes
1.2.0
- Making non-value AST types mutable- this will allow for easier updates of a parsed AST.
1.1.1
- Adding convenience constructors for common AST types