Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET 8 support #2799

Merged
merged 9 commits into from
May 12, 2024
Merged

Commits on May 8, 2024

  1. Add .NET 8 support

    - Add support for .NET 8.
    - Bump version to `6.6.0`.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    726379a View commit details
    Browse the repository at this point in the history
  2. Add .NET 8 Minimal API test app

    Add WeatherForecast .NET 8 Minimal API test application.
    Resolves domaindrivendev#2791.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8d66e39 View commit details
    Browse the repository at this point in the history
  3. Add test for DateOnly

    Add test for domaindrivendev#2771 for `DateOnly` values.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    c8596df View commit details
    Browse the repository at this point in the history
  4. Get serializer options for Minimal APIs

    Use JsonOptions for Minimal APIs in .NET 8+ if not available from MVC.
    Use `JsonSerializerOptions.Default` where available.
    See domaindrivendev#2593 (comment).
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    a14134b View commit details
    Browse the repository at this point in the history
  5. Use Regex source generator

    Use the Regex source generator for .NET 7+.
    Resolves domaindrivendev#2794.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    a6e1d8d View commit details
    Browse the repository at this point in the history
  6. Fix Regex

    Fix copy-pasta during rebase.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    763ead8 View commit details
    Browse the repository at this point in the history
  7. Use Assert.Multiple

    Use xunit's `Assert.Multiple()` method to combine failed assertions together.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    9a65e75 View commit details
    Browse the repository at this point in the history
  8. Refactor JsonSerializerOptions resolution

    - Move resolution to own private class.
    - Only resolve the value once.
    - Add comments about resolution.
    - Make `ISerializerDataContractResolver` a singleton by default.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    d83c092 View commit details
    Browse the repository at this point in the history
  9. Fix tests

    Fix tests for `net8.0`.
    martincostello committed May 8, 2024
    Configuration menu
    Copy the full SHA
    c29aeef View commit details
    Browse the repository at this point in the history