Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Oct 24, 2025

This PR intended to add .NET 10 package publishing (Currently RC2)

What's changed in this PR

  • Add net10.0 to TargetFrameworks. (Previously it's enabled only when .NET 10 SDK is installed)
  • Update LangVersion to 14
  • Modify base TargetFramework from net8.0 to net10.0
  • Modify CI workflows to install target SDKs explicitly.
  • Modify code that cause errors when using LangVersion to 14 (That is caused by Breaking Changes: C# 14 overload resolution with span parameters
    • For non-perf related code. Simply add ToArray/AsSpan to resolve overload.
    • For Reverse overload issue. Add file-local extension method that similar to Reverse overload that introduced by .NET 10

@filzrev filzrev force-pushed the feat-add-support-for-net10 branch from 700d850 to ba68a10 Compare October 24, 2025 04:34
@neuecc
Copy link
Member

neuecc commented Nov 10, 2025

Thank you.
I'm already using VS2026 all the time, so I'll merge it now (the official release is the day after tomorrow).

@neuecc neuecc merged commit 5876b67 into Cysharp:main Nov 10, 2025
4 checks passed
IhateTrains pushed a commit to ParadoxGameConverters/ImperatorToCK3 that referenced this pull request Nov 14, 2025
Updated [ZLinq](https://github.com/Cysharp/ZLinq) from 1.5.3 to 1.5.4.

<details>
<summary>Release notes</summary>

_Sourced from [ZLinq's
releases](https://github.com/Cysharp/ZLinq/releases)._

## 1.5.4

## What's Changed
* ci: add id-token: write for NuGet Trusted Publish by @​guitarrapc in
Cysharp/ZLinq#219
* feat: Add .NET10 package publishing by @​filzrev in
Cysharp/ZLinq#223
* chore(deps): bump actions/upload-artifact from 4.6.1 to 5.0.0 by
@​dependabot[bot] in Cysharp/ZLinq#225
* Adding uint casts by @​unsafePtr in
Cysharp/ZLinq#224
* chore: fix System.Linq benchmark project build error on .NET 10 by
@​filzrev in Cysharp/ZLinq#226
* chore: Update System.Linq compatibility tests by @​filzrev in
Cysharp/ZLinq#228
* fix .Order().Skip(0).Take(0).ToArray() return wrong data #​227

## New Contributors
* @​unsafePtr made their first contribution in
Cysharp/ZLinq#224

**Full Changelog**:
Cysharp/ZLinq@1.5.3...1.5.4

Commits viewable in [compare
view](Cysharp/ZLinq@1.5.3...1.5.4).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ZLinq&package-manager=nuget&previous-version=1.5.3&new-version=1.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

2 participants