Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@nomicfoundation/[email protected]
Minor Changes
#1120
25eef3e
Thanks @OmarTawfik! - migrate NAPI front-end to WASM and ESM#1120
25eef3e
Thanks @OmarTawfik! - addTerminalKindExtensions.is_valid()
API to distinguish correctly-parsed and erroneous nodes#1117
be7bb79
Thanks @OmarTawfik! - renameLanguage
API toParser
, in preparation for introducing a multi-file compilation API.#1116
c88f9b5
Thanks @OmarTawfik! - mergelanguage
,parse_error
,parse_output
namespaces into theparser
namespace.#1115
96df645
Thanks @OmarTawfik! - mergecursor
,kinds
,query
, andtext_index
namespaces into thecst
namespace.#1120
25eef3e
Thanks @OmarTawfik! - unify API methods onTerminalNode
andNonTerminalNode
, and add type assertions and guards to both types#1120
25eef3e
Thanks @OmarTawfik! - expose edges and edge labels on CST nodes viaNode.children()
method. This allows distinguishing between children of the same node based on their label/role in the parent, even if they have the same kind.#1120
25eef3e
Thanks @OmarTawfik! - addTerminalNode.id
andNonterminal.id
properties to get a numeric ID that can be used in indexing/comparison at runtime.#1120
25eef3e
Thanks @OmarTawfik! - addTerminalKindExtensions.is_trivia()
API to distinguish between trivia nodes and other contentful nodesPatch Changes
#1096
15c437c
Thanks @OmarTawfik! - add support for Solidity0.8.27
.#1120
25eef3e
Thanks @OmarTawfik! - changeParser::new()
constructor toParser::create()
static method.#1097
e17af22
Thanks @OmarTawfik! - Fix the grammar of keywords (blobbasefee
,blobhash
,mcopy
,tload
,tstore
) added in0.8.24
, as they were actually reserved in0.8.25
.