Files
Nate Cook 043bca1136 Revert source break in 1.8.0 parse methods (#908)
This removes the `async` overloads to `parse` and `parseAsRoot`
that caused a source break in 1.8.0, and introduces new names
that disambiguate the methods with `async` behavior. Instead of
calling the existing methods with the `await` keyword, users can
call `await asyncParse` or `await asyncParseAsRoot`.

This change also adds a validation step to the synchronous parsing
path to check if an async completions function is called.

Users that have already updated their code to work around the
source break will revert to the old methods with this change,
which will yield a "No 'async' operations occur within 'await'
expression" warning. They can remove the `await` keyword or update
to call the async versions directly to fix the warning.
2026-05-26 20:17:35 -05:00
..