Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/OpenAPI.NET.OData
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: support/v3
Choose a base ref
...
head repository: microsoft/OpenAPI.NET.OData
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 35 files changed
  • 2 contributors

Commits on Nov 12, 2026

  1. fix!: support Microsoft.OData.Edm 9 and drop .NET versions below 10 (#…

    …940)
    
    * fix: support Microsoft.OData.Edm 9 on .NET 10
    
    Multi-target the reader for net8.0 (Microsoft.OData.Edm 8.4.4) and net10.0 (Microsoft.OData.Edm 9.0.0), since Edm 9 only supports .NET 10 and is binary incompatible with 8.x.
    
    - Replace the removed GetReturn() extension with IEdmOperation.ReturnType, available in both Edm versions.
    - Convert Edm 9 DateOnly values for revision dates and format DateOnly/TimeOnly example values as invariant OData literals.
    - Let Hidi take Edm from the reader so .NET 10 consumers do not get a package downgrade.
    - Run the reader tests on net8.0 and net10.0. Replace the IEdmModel Moq proxy, which cannot implement Edm 9 ReadOnlySpan members, and declare key properties in invalid test models.
    
    Fixes #937
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    
    * fix!: drop support for .NET versions below 10
    
    Target net10.0 only and depend solely on Microsoft.OData.Edm 9, removing
    the net8.0 multi-targeting and conditional compilation. .NET 8 is out of
    support for this release line.
    
    BREAKING CHANGE: Microsoft.OpenApi.OData and Hidi now target .NET 10 only and
    require Microsoft.OData.Edm 9.x. Consumers on earlier runtimes or Edm 8.x
    must stay on the previous major version.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    
    * ci: align workflows with .NET 10 only targets
    
    - Install only the .NET 10 SDK in the GitHub workflows.
    - Point Sonar at coverage.opencover.xml: with a single target framework,
      coverlet no longer suffixes the report with the TFM, so the previous
      coverage.net*.opencover.xml glob matched nothing.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    
    * refactor: remove obsolete internal compatibility members
    
    - Remove the unused obsolete ODataConstants.OdataCount field
      (superseded by CreateOdataCount).
    - Remove the CreateOrderBy/CreateSelect/CreateExpand overloads taking
      IEdmEntityType that only forwarded to the IEdmStructuredType overloads,
      and move their documentation to those overloads.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    
    * ci: remove .NET 6 install for ESRP signing
    
    The EsrpCodeSigning tasks were upgraded and no longer need the .NET 6
    runtime, so drop the UseDotNet 6.x steps from the Azure pipelines.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    
    ---------
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
    baywet and Copilot authored Nov 12, 2026
    Configuration menu
    Copy the full SHA
    2124246 View commit details
    Browse the repository at this point in the history
Loading