Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Slang Version #1098

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Bump Slang Version #1098

merged 1 commit into from
Oct 9, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 18, 2024

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! - add TerminalKindExtensions.is_valid() API to distinguish correctly-parsed and erroneous nodes

  • #1117 be7bb79 Thanks @OmarTawfik! - rename Language API to Parser, in preparation for introducing a multi-file compilation API.

  • #1116 c88f9b5 Thanks @OmarTawfik! - merge language, parse_error, parse_output namespaces into the parser namespace.

  • #1115 96df645 Thanks @OmarTawfik! - merge cursor, kinds, query, and text_index namespaces into the cst namespace.

  • #1120 25eef3e Thanks @OmarTawfik! - unify API methods on TerminalNode and NonTerminalNode, and add type assertions and guards to both types

  • #1120 25eef3e Thanks @OmarTawfik! - expose edges and edge labels on CST nodes via Node.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! - add TerminalNode.id and Nonterminal.id properties to get a numeric ID that can be used in indexing/comparison at runtime.

  • #1120 25eef3e Thanks @OmarTawfik! - add TerminalKindExtensions.is_trivia() API to distinguish between trivia nodes and other contentful nodes

Patch Changes

@github-actions github-actions bot requested a review from a team as a code owner September 18, 2024 09:56
@github-actions github-actions bot force-pushed the changeset-release/main branch 14 times, most recently from 8ad91b6 to c568b93 Compare October 2, 2024 23:10
@OmarTawfik OmarTawfik closed this Oct 9, 2024
@OmarTawfik OmarTawfik reopened this Oct 9, 2024
@OmarTawfik OmarTawfik added this pull request to the merge queue Oct 9, 2024
Merged via the queue into main with commit 81a8f61 Oct 9, 2024
1 check passed
@OmarTawfik OmarTawfik deleted the changeset-release/main branch October 9, 2024 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant