Skip to content

Bump rules_dotnet from 0.23.0-codeql.1 to 0.23.0 - #23341

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_dotnet-0.23.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_dotnet-0.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Bumps rules_dotnet from 0.23.0-codeql.1 to 0.23.0.

Release notes

Sourced from rules_dotnet's releases.

v0.23.0

rules_dotnet 0.23.0

Breaking changes

These are the API changes since 0.22.2 that require changes to MODULE.bazel, BUILD or .bzl files. The commits are in v0.22.2...v0.23.0.

Bazel 9 is required

bazel_compatibility is now >=9.0.0 (was >=8.0.0).

dotnet.toolchain no longer takes name

The name attribute of dotnet.toolchain is removed, and a build uses one SDK: the root-most dotnet.toolchain tag picks it. Any module in the graph that passes name, even name = "dotnet", fails module resolution. (#571)

The <name>_toolchains, dotnet_<platform> (for example @dotnet_x86_64-unknown-linux-gnu) and dotnet_apphost_* repositories are removed. Use @rules_dotnet//dotnet:resolved_toolchain instead of a per-platform SDK repository. (#571, #574)

# Before
dotnet.toolchain(name = "dotnet8", dotnet_version = "8.0.100")
use_repo(dotnet, "dotnet8_toolchains")
register_toolchains("@dotnet8_toolchains//:all")
After
dotnet.toolchain(dotnet_version = "8.0.100")  # or global_json = "//:global.json"
use_repo(dotnet, "dotnet_toolchains")
register_toolchains("@​dotnet_toolchains//:all")

paket2bazel is replaced by the paket extension

@rules_dotnet//tools/paket2bazel is removed, and with it the paket.<group>.bzl / paket.<group>_extension.bzl files it generated. A module extension now reads paket.lock directly. (#558)

# Before
main_extension = use_extension("//:paket.main_extension.bzl", "main_extension")
use_repo(main_extension, "paket.main")
</tr></table> 

... (truncated)

Commits

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)

Bumps [rules_dotnet](https://github.com/bazel-contrib/rules_dotnet) from 0.23.0-codeql.1 to 0.23.0.
- [Release notes](https://github.com/bazel-contrib/rules_dotnet/releases)
- [Commits](https://github.com/bazel-contrib/rules_dotnet/commits/v0.23.0)

---
updated-dependencies:
- dependency-name: rules_dotnet
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner December 3, 2026 04:07
@dependabot dependabot Bot added the bazel Pull requests that update bazel code label Dec 3, 2026
Copilot AI adaptive review requested due to automatic review settings December 3, 2026 04:07
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Switching to the unpatched rules_dotnet archive removes a guard that prevents nested assets, such as localized assemblies, from entering framework-asset processing.

1 open issue
What changed in this PR

This PR switches CodeQL’s Bazel .NET dependency from a locally patched version to upstream 0.23.0.

Changes:

  • Updates the rules_dotnet version declaration.
  • Removes the local NuGet asset-processing patch without changing the underlying upstream release.
File Description
MODULE.bazel Changes rules_dotnet from 0.23.0-codeql.1 to 0.23.0.

Review effort: Balanced (adaptive)

Comment thread MODULE.bazel
bazel_dep(name = "rules_kotlin", version = "2.4.21-codeql.1")
bazel_dep(name = "gazelle", version = "0.54.0")
bazel_dep(name = "rules_dotnet", version = "0.23.0-codeql.1")
bazel_dep(name = "rules_dotnet", version = "0.23.0")

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant