Skip to content

Dropped pre .NET 10 targets + Preserve file extension#41

Merged
stesee merged 15 commits into
releasefrom
main
Jul 12, 2026
Merged

Dropped pre .NET 10 targets + Preserve file extension#41
stesee merged 15 commits into
releasefrom
main

Conversation

@stesee

@stesee stesee commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

stesee and others added 15 commits October 22, 2025 07:28
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-6

Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-7

Bump actions/checkout from 6 to 7
Move the library, demo, and tests to .NET 10 only, replacing the legacy .sln with a .slnx solution and removing net48-specific test branches. The workflow is simplified to a single Ubuntu build that publishes release artifacts for the NuGet push jobs, and test dependencies are updated to current versions.
Introduce a new `preserveFileNameExtension` parameter (defaulting to `true`) on `Sanitize` and `SanitizeFilename` overloads so long filenames can be truncated while keeping their extension. Update truncation logic to split name/extension and enforce the 255-byte limit on the combined result. Also simplify several legacy `#if NETSTANDARD2_0` branches and add coverage for long-name truncation behavior with and without extension preservation.
Replaces the `preserveFileNameExtension` boolean parameter with a `FilenameExtensionHandling` enum, adding a third option to throw when the extension is too long to fit within the 255-byte limit. Updates all call sites and tests accordingly.
Copilot AI review requested due to automatic review settings July 12, 2026 05:28
@stesee
stesee merged commit f2f927d into release Jul 12, 2026
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant