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

Switch to System.Text.Json #158

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Switch to System.Text.Json #158

wants to merge 7 commits into from

Commits on Jul 21, 2022

  1. Convert to system.text.json

    # Conflicts:
    #	Consul/Agent.cs
    #	Consul/Client.cs
    #	Consul/Client_Request.cs
    #	Consul/Consul.csproj
    #	Consul/Health.cs
    #	Consul/KV.cs
    #	Consul/Semaphore.cs
    #	Consul/Utilities/JsonConverters.cs
    highlyunavailable authored and mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    c0dcc4b View commit details
    Browse the repository at this point in the history
  2. build: remove Microsoft.CSharp reference

    this was needed by Newtonsoft.Json
    mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    dad3d61 View commit details
    Browse the repository at this point in the history
  3. update System.Text.Json to 6.0.2

    mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    452f22e View commit details
    Browse the repository at this point in the history
  4. remove unnecessary usings

    mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    00976e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8009a2a View commit details
    Browse the repository at this point in the history
  6. tests: remove netcoreapp2.1

    nuget\packages\system.runtime.compilerservices.unsafe\6.0.0\buildTransitive\netcoreapp2.0\System.Runtime.CompilerServices.Unsafe.targets(4,5): error : System.Runtime.CompilerServices.Unsafe doesn't support netcoreapp2.1. Consider updating your TargetFramework to netcoreapp3.1 or later.
    mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    8b5aedc View commit details
    Browse the repository at this point in the history
  7. add back support for netcoreapp2.1 TFM test

    System.Text.Json 5.0.2 has a dependency on a version of System.Runtime.CompilerServices.Unsafe which still supports netcoreapp2.1
    mfkl committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    e0b53e3 View commit details
    Browse the repository at this point in the history