Skip to content

Make public api and tests the same for all TFMs#885

Merged
Romfos merged 4 commits intonsubstitute:mainfrom
Romfos:public-api-unification
Jul 13, 2025
Merged

Make public api and tests the same for all TFMs#885
Romfos merged 4 commits intonsubstitute:mainfrom
Romfos:public-api-unification

Conversation

@Romfos
Copy link
Contributor

@Romfos Romfos commented Jun 9, 2025

Changes:

  • Make public api and tests the same for all TFMs
  • Run the same set of tests for all platforms
  • Update System.Threading.Tasks.Extensions dependency
  • Hotfix release_packages.yml

Motivation:
Some public api is not available for for .NET Standard in current implementation.
Problem is that ValueTask is a core type in modern dotnet ecosystem. A lot of popular libraries using it.
Make sense to remove this gap and make public api the same for all platforms

Why System.Threading.Tasks.Extensions was updated?
Old version doesn't have non-generic ValueTask type

@Romfos Romfos requested a review from dtchepak June 9, 2025 05:10
@Romfos Romfos mentioned this pull request May 30, 2025
26 tasks
@Romfos Romfos marked this pull request as ready for review June 9, 2025 05:12
@Romfos Romfos merged commit d9e759f into nsubstitute:main Jul 13, 2025
8 checks passed
@Romfos Romfos deleted the public-api-unification branch July 13, 2025 10:24
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