Skip to content
Compare
Choose a tag to compare
@lrlna lrlna released this 08 Jun 12:43
· 650 commits to main since this release

0.2.7 - 2022-06-08

Features

  • Resource bound parsing execution - garypen, pull/239 closes issue/225

    Introduce recursion limit enforced during SelectionSet parsing.

    There is now a default limit (4_096) applied to parsers during SelectionSet
    parsing to help prevent stack overflows. This limit can be set manually when
    creating a parser by using the new fn, Parser::with_recursion_limit().
    Details about recursion consumption can be retrieved using the new fn
    SyntaxTree::recursion_limit(). Recursion limit details are also output as
    part of the AST debug output when printing a SyntaxTree.