Skip to content

build(deps): bump tree-sitter-c-sharp from 0.23.1 to 0.24.0 - #745

Closed
dependabot[bot] wants to merge 70 commits into
dependabot/npm_and_yarn/tree-sitter-0.25.1from
dependabot/npm_and_yarn/tree-sitter-c-sharp-0.24.0
Closed

dependabot[bot] wants to merge 70 commits into
dependabot/npm_and_yarn/tree-sitter-0.25.1from
dependabot/npm_and_yarn/tree-sitter-c-sharp-0.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-c-sharp from 0.23.1 to 0.24.0.

Release notes

Sourced from tree-sitter-c-sharp's releases.

v0.24.0

NOTE: Download tree-sitter-c-sharp.tar.gz for the complete source code.

C# 14

  • Add C# 14 language support, including extension declarations (#429)
  • Parse file-based app directives such as #:package and #:sdk (#462)

Parsing fixes

  • Parse (IDENT) && EXPR as a logical AND rather than a cast (#430)
  • Parse *(T*)p and *(p + 1) as dereferences (#464)
  • Allow ref before partial in struct modifiers (#464)
  • Accept checked and unchecked expressions as constant patterns (#464)
  • Parse lambdas whose first parameter is typed with in or out (#464)
  • Parse else, method bodies and returns that span #if branches (#464)
  • Let an #if block hold whole elements of an initializer or collection (#464)
  • Open an interpolation hole straight after an escaped {{ (#448)
  • End a verbatim interpolated string at one quote, not at a run of them (#466)
  • Preserve slice-only list patterns before logical operators (#444)
  • Stop reading when after a list pattern as its designation (#467)

Other changes

  • Highlight unsafe block statements (#422)
  • Build with tree-sitter CLI 0.27 (#465)
  • Add a schema link to tree-sitter.json (#408)

Upgrade notes

  • Queries: some code now parses to a different tree, so queries that matched the old shape may need updating.
  • New node types: directive_kind, directive_name, directive_separator, directive_value, extension_body, extension_declaration, ignored_directive, receiver_parameter and slice_pattern.
  • New fields: body on preproc_if, preproc_elif and preproc_else; kind, name, separator and value on ignored_directive; name and type on receiver_parameter.
  • Python: the package now requires tree-sitter 0.25 or later (#465).

v0.23.5

NOTE: Download tree-sitter-c-sharp.tar.gz for the complete source code.

v0.23.4

NOTE: Download tree-sitter-c-sharp.tar.gz for the complete source code.

v0.23.3

NOTE: Download tree-sitter-c-sharp.tar.gz for the complete source code.

Changelog

Sourced from tree-sitter-c-sharp's changelog.

Releasing tree-sitter-c-sharp

Pushing a tag publishes the release. Published versions cannot be reused, so do the checks below before you push it.

Quick checklist

  • Publishing prerequisites still hold
  • CI is green on master
  • Version chosen and bumped through a PR
  • PR merged and master shows the new version
  • Tag pushed
  • Every job in the publish run passed
  • Checksums and install tests passed
  • GitHub release notes written
  • Fixed issues closed

What a tag publishes

.github/workflows/publish.yml runs on any tag and calls the shared workflows in tree-sitter/workflows. It first checks that the tag matches the version in Cargo.toml, package.json, pyproject.toml and tree-sitter.json, and publishes nothing if any differ.

Target What is published Credential
GitHub Releases tree-sitter-c-sharp.tar.gz and tree-sitter-c_sharp.wasm, with attestations Built-in token
npm Package with 6 prebuilt binaries and the Wasm file NPM_TOKEN (repo secret)
crates.io Rust crate CARGO_REGISTRY_TOKEN (org secret)
PyPI 8 wheels and a source package PYPI_API_TOKEN (org secret)
Go, Swift Nothing to upload. Consumers use the tag None

NuGet is not part of the release.

This repo has several git remotes, so the gh commands below pass -R explicitly.

REPO=tree-sitter/tree-sitter-c-sharp
PKG=tree-sitter-c-sharp
VERSION=0.0.0   # the version being released, without the leading v

1. Check the publishing prerequisites

These are the things that broke the 0.24.0 release.

Repository variables. The org still sets NODE_VERSION=20 and PYTHON_VERSION=3.8, which no longer work, so this repo overrides them.

gh variable list -R "$REPO"

Expect NODE_VERSION to be 24 and PYTHON_VERSION to be 3.11.

... (truncated)

Commits
  • d4bbe18 0.24.0
  • 93b6d10 ci: parse CmdPalProtocolActivation.cs again
  • 0cf720b fix: stop reading when after a list pattern as its designation (#467)
  • 7921551 fix: preserve slice-only list patterns before logical operators (#444)
  • c0170b6 fix: end a verbatim interpolated string at one quote, not at a run of them (#...
  • fa9bbdc fix: open an interpolation hole straight after an escaped {{ (#448)
  • fbb3f28 fix: add schema link to tree-sitter.json (#408)
  • 59cde90 fix: bundle open grammar fixes and drop the example exclusions they resolve (...
  • 0f6e97d feat: support C# 14 file-based app directives (#:) (#462)
  • b868075 ci: bump tree-sitter/parse-action from 4 to 5 (#460)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

github-actions Bot and others added 30 commits September 2, 2026 10:21
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: askpt <2493377+askpt@users.noreply.github.com>
…n group across 1 directory (#600)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…and_yarn group across 1 directory (#602)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: askpt <2493377+askpt@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…t() (#624)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: askpt <2493377+askpt@users.noreply.github.com>
#629)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: askpt <2493377+askpt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…635)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
…zer (#643)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot and others added 24 commits September 27, 2026 18:43
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: askpt <2493377+askpt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#723)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 8.72.0 (#726)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oup across 1 directory (#737)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/tree-sitter/tree-sitter-c-sharp/releases)
- [Changelog](https://github.com/tree-sitter/tree-sitter-c-sharp/blob/master/Release.md)
- [Commits](tree-sitter/tree-sitter-c-sharp@v0.23.1...v0.24.0)

---
updated-dependencies:
- dependency-name: tree-sitter-c-sharp
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from askpt as a code owner November 23, 2026 09:08
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 23, 2026
@askpt
askpt changed the base branch from main to dependabot/npm_and_yarn/tree-sitter-0.25.1 November 23, 2026 09:12
…abot/npm_and_yarn/tree-sitter-c-sharp-0.24.0
@askpt askpt closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants