Skip to content

Releases: microsoft/OpenAPI.NET

v2.0.0-preview.12

07 Mar 13:11
33f1fac
Compare
Choose a tag to compare

2.0.0-preview.12 (2025-03-07)

Bug Fixes

  • fixes serialization of openApidocs with operation tags with settings to inline references (8eecae6)
  • fixes serialization of openApidocs with operation tags with settings to inline references. (f67fe64)

v2.0.0-preview.11

03 Mar 14:45
6022bdd
Compare
Choose a tag to compare

2.0.0-preview.11 (2025-03-03)

Bug Fixes

  • rename OpenApiDocument.SecurityRequirements as Security (d8553d6)

Miscellaneous Chores

  • release 2.0.0-preview.11 (f425b8e)

v2.0.0-preview10

27 Feb 10:36
db10afa
Compare
Choose a tag to compare

2.0.0-preview10 (2025-02-27)

Features

  • deduplicates tags at the document level (93c468e)
  • tags references are now deduplicated as well (763c0c1)

Bug Fixes

  • add logic for serializing date time objects (23395c5)
  • adds missing cancellation parameter to async method (243a111)
  • avoid creating new http clients to load additional documents of the workspace (0f23798)
  • deduplicates exclusive min/max properties in the object model (08414a1)
  • deduplicates exclusive min/max properties in the object model (0d5b471)
  • moves the http client for the reader to settings so it can be passed by client application (9b910f3)
  • OpenAPIDocument JsonSchemaDialect property is now a URI (45977b5)
  • openapischema schema property is now a Uri (452a6b9)
  • primitive parsing for strings as DateTimes is too greedy (4ee1d8b)
  • removes static readers registry (fe7a2fd)
  • use a single http client in hidi (9386fae)

v2.0.0-preview9

21 Feb 17:28
5a05d1e
Compare
Choose a tag to compare

2.0.0-preview9 (2025-02-21)

Features

  • add support for dependentRequired (75d7a66)

Bug Fixes

  • an issue where deprecation extension parsing would fail (5db8757)
  • an issue where deprecation extension parsing would fail (b59864c)
  • refactor ToIdentifier() to normalize flaggable enums (#2156) (b80e934)

v2.0.0-preview8

17 Feb 07:59
911b191
Compare
Choose a tag to compare

2.0.0-preview8 (2025-02-17)

Bug Fixes

  • a bug where external reference loading for local files would not work on linux (df99a00)
  • add meaningful exception message during validation (4a6547d)
  • add meaningful exception message during validation (74d20ed)
  • adds a cancellation token argument to external document loading (a5ffab1)
  • parsing failure on nodes set to null (20aacc1)
  • parsing failure on nodes set to null (4245de9)

v2.0.0-preview7

06 Feb 08:21
9856058
Compare
Choose a tag to compare
v2.0.0-preview7 Pre-release
Pre-release

2.0.0-preview7 (2025-02-06)

Bug Fixes

  • do not write null for types on parameters in v2 (f889937)
  • do not write null for types on parameters in v2 (4aef7b7)

v2.0.0-preview6

05 Feb 15:24
v2.0.0-preview6
3c5f8ab
Compare
Choose a tag to compare
v2.0.0-preview6 Pre-release
Pre-release

2.0.0-preview6 (2025-02-05)

Features

  • adds a net8 target to benefit from all the conditional compilation (a201aa2)
  • adds components registration method for schemas (10e548a)
  • adds deconstructor to read result (79336f6)
  • adds deconstructor to read result (d8c1593)
  • adds to identifier mapping to non nullable enum (bd9622e)
  • bumps target OAS version to 3.1.1 (9e8d8a4)
  • configure AOT for trimming compatibility (b4f9c3e)
  • makes document optional (754f763)
  • makes the reference interface covariant (7405f3c)
  • splits described and summarized interfaces (2a10cd9)

Bug Fixes

  • 3.0 serialization when type is set to null (920a51a)
  • a bug where 3.0 downcast of type null would not work (6b636d5)
  • a bug where 3.0 downcast of type null would not work (ac05342)
  • a flaky behaviour for format property serialization (3ea1fa9)
  • a flaky behaviour for format property serialization (52981d4)
  • additional 3.1.0 constants after merge and v2 release (9e8d8a4)
  • adds generic shallow copy method to avoid inadvertent conversions of references to schemas (e4c14a4)
  • adds missing culture argument to date serialization (45329e4)
  • adds missing null prop operator to proxy properties (8361069)
  • adds missing null propagation operators for callback and header references (0cb4ccb)
  • adds support for all component types (8a73b54)
  • aligns callback parameter name with interface (68b25cc)
  • aligns missing properties for override (e3325b9)
  • aligns parameter name with interface definition for example (d7e1f91)
  • aligns reference copy constructors (ce93aa7)
  • aligns to null propagation operator (8d57b81)
  • allow registration of component references (14750dc)
  • an empty security requirement should not result in an object during serialization (1c6fd8e)
  • build passes (ea68427)
  • callback reference proxy implementation (028d60b)
  • callback reference proxy implementation (2cbb0fa)
  • components schema copy (88daad5)
  • conditional version for extension causes invalid json (4030c1f)
  • conditional version for extension causes invalid json (0ce92cc)
  • date time and date time offset shifting zones (a6a44a7)
  • default settings in case of null value (ab2ddf0)
  • do not allow null argument for example copy constructor (aa80b19)
  • do not copy host document as it negatively impact performance (1043e4e)
  • do not copy host document as it negatively impact performance (a46e857)
  • do not emit a type array in 3.1 when unnecessary (3b3d0e6)
  • draft security scheme reference proxy design pattern (1bd2624)
  • empty security requirements are actually valid. to negate the document ones (42bd396)
  • enum description number values (ff7b4a9)
  • enum description number values (e29e24c)
  • enum parsing when encountering unknown values should not default to first member (d4e155b)
  • enum parsing when encountering unknown values should not default to first member (9d07ebb)
  • extensions collection initialization (4f28b65)
  • extraneous null prop removal (1006879)
  • failing unit test after merge (a4ac872)
  • failing unit tests for security scheme references in security requirements (d2e4111)
  • fixes inlining override when they should not happen (704943c)
  • fixes invalid OAI document for unit tests (837f000)
  • inconsistant API surface usage (47ad76b)
  • last reference to copy constructor (d87375d)
  • makes reference fields immutable (fda05d4)
  • makes reference of holder immutable (a182f44)
  • makes target field read only (89881fd)
  • missing defensive programming in copy constructors (227d99d)
  • missing doc comment for annotations (41759a1)
  • missing null prop operator on parameter reference (019eb99)
  • missing property rename (2443fa0)
  • multiple performance fixes for type serialization (bd9622e)
  • multiple performance fixes for type serialization feat: adds to identifier mapping to non nullable enum (5fef51c)
  • multiple unit test failures (2f171a3)
  • null flag comparison ([081e251](081e25...
Read more

2.0.0-preview5

21 Jan 10:58
8943e2a
Compare
Choose a tag to compare
2.0.0-preview5 Pre-release
Pre-release

Changes:

  • #2077: Release v2.0.0-preview5
  • #2076: Fix: Error validating OpenAPI using hidi preview
  • #2074: Bump preview versions
  • #2046: fix/reference copy
  • #2072: chore(deps): bump coverlet.collector from 6.0.3 to 6.0.4
  • #2071: chore(deps): bump docker/build-push-action from 6.11.0 to 6.12.0
  • #2073: chore(deps): bump coverlet.msbuild from 6.0.3 to 6.0.4
  • #2070: chore(deps): bump FluentAssertions from 7.0.0 to 7.1.0
  • #2063: feat: configure AOT for trimming compatibility
  • #2064: chore/reduce fluent assertions dependency
See More
  • #2033: fix: passes missing host document references to all layers
  • #2065: chore(deps): bump System.Formats.Asn1 and Microsoft.Windows.Compatibility
  • #2032: fix: side effects in tag references
  • #2061: chore(deps): bump System.Formats.Asn1 from 9.0.0 to 9.0.1
  • #2057: chore(deps): bump Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions and Microsoft.Extensions.Logging.Debug
  • #2059: chore(deps): bump Verify.Xunit from 28.8.1 to 28.9.0
  • #2056: chore(deps): bump docker/build-push-action from 6.10.0 to 6.11.0
  • #2053: make IDiagnosticExtensions internal and fix namespace
  • #2054: chore(deps): bump xunit.runner.visualstudio from 3.0.0 to 3.0.1
  • #2049: fix: enum parsing when encountering unknown values should not default to first member
  • #2051: fix/async surface
  • #2050: chore(deps): bump xunit from 2.9.2 to 2.9.3
  • #2031: fix/reference proxy single copy
  • #2041: fix: v2 references for properties do not work as expected
  • #2044: chore(deps): bump Verify.Xunit from 28.7.0 to 28.8.1
  • #2042: fix: v2 request body content null propagation
  • #2043: fix: conditional version for extension causes invalid json
  • #2038: fix/clone api
  • #2039: fix/json node serialization
  • #2040: chore/remove obsolete
  • #2037: fix/missing culture
  • #2035: chore(deps): bump coverlet.msbuild from 6.0.2 to 6.0.3
  • #2034: chore(deps): bump coverlet.collector from 6.0.2 to 6.0.3
  • #2028: dev
  • #2027: chore: bumps preview version
  • #2026: fix: specifies encoding for net fx
  • #2024: feat: adds deconstructor to read result
  • #2023: fix: enum description number values
  • #2025: chore(deps): bump Verify.Xunit from 28.6.1 to 28.7.0
  • #2021: fix/ci tag value to main
  • #2019: fix: reverts to a regular variable for the tag value
  • #2015: release of preview 3
  • #2017: fix/ci hidi gh upload to main
  • #2016: fix/ci hidi gh upload
  • #1975: Refactor readers to reduce surface area
  • #2014: chore/v1 sync
  • #2008: ci: fixes hidi gh release
  • #2005: ci: updates main with the latest ci changes
  • #2003: chore(deps): bump Verify.Xunit from 28.2.0 to 28.6.1
  • #2001: ci/align branches
  • #1999: chore: fixes extraneous master references
  • #2000: fix: sets hidi version to a preview
  • #1997: chore/linting
  • #1982: Add support for handling unrecognized keywords
  • #1981: Rename Read Result properties
  • #1996: chore: adds baywet to code owners
  • #1993: chore(deps): bump Verify.Xunit from 28.5.0 to 28.6.0
  • #1994: chore(deps): bump PublicApiGenerator from 11.2.0 to 11.3.0
  • #1939: Fix tags serialization bug
  • #1992: chore(deps): bump xunit.runner.visualstudio from 2.8.2 to 3.0.0
  • #1990: chore(deps): bump Verify.Xunit from 28.4.0 to 28.5.0
  • #1988: Bump preview versions
  • #1984: chore(deps): bump PublicApiGenerator from 11.1.0 to 11.2.0
  • #1986: chore(deps): bump Microsoft.OData.Edm from 8.2.2 to 8.2.3

This list of changes was auto generated.

2.0.0-preview4

24 Dec 15:01
cce2495
Compare
Choose a tag to compare
2.0.0-preview4 Pre-release
Pre-release

Changes:

  • #2028: dev
  • #2027: chore: bumps preview version
  • #2026: fix: specifies encoding for net fx
  • #2024: feat: adds deconstructor to read result
  • #2023: fix: enum description number values
  • #2025: chore(deps): bump Verify.Xunit from 28.6.1 to 28.7.0
  • #2021: fix/ci tag value to main
  • #2019: fix: reverts to a regular variable for the tag value
  • #2015: release of preview 3
  • #2017: fix/ci hidi gh upload to main
See More
  • #2016: fix/ci hidi gh upload
  • #1975: Refactor readers to reduce surface area
  • #2014: chore/v1 sync
  • #2008: ci: fixes hidi gh release
  • #2005: ci: updates main with the latest ci changes
  • #2003: chore(deps): bump Verify.Xunit from 28.2.0 to 28.6.1
  • #2001: ci/align branches
  • #1999: chore: fixes extraneous master references
  • #2000: fix: sets hidi version to a preview
  • #1997: chore/linting
  • #1982: Add support for handling unrecognized keywords
  • #1981: Rename Read Result properties
  • #1996: chore: adds baywet to code owners
  • #1993: chore(deps): bump Verify.Xunit from 28.5.0 to 28.6.0
  • #1994: chore(deps): bump PublicApiGenerator from 11.2.0 to 11.3.0
  • #1939: Fix tags serialization bug
  • #1992: chore(deps): bump xunit.runner.visualstudio from 2.8.2 to 3.0.0
  • #1990: chore(deps): bump Verify.Xunit from 28.4.0 to 28.5.0
  • #1988: Bump preview versions
  • #1984: chore(deps): bump PublicApiGenerator from 11.1.0 to 11.2.0
  • #1986: chore(deps): bump Microsoft.OData.Edm from 8.2.2 to 8.2.3
  • #1979: chore(deps): bump FluentAssertions from 6.12.2 to 7.0.0
  • #1978: Fix: Adds missing security metadata to the pipeline
  • #1977: chore(deps): bump docker/build-push-action from 6.9.0 to 6.10.0
  • #1976: chore(deps): bump Verify.Xunit from 28.3.2 to 28.4.0
  • #1955: Fix: Empty paths object is now failing for version 3.0.0
  • #1943: Add support for JSON schema const keyword in OpenApiSchema
  • #1956: Fix: Workbench fails because of a missing format parameter
  • #1942: Use range for STJ reference and suppress warnings
  • #1945: chore(deps): bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
  • #1944: chore(deps): bump Microsoft.OData.Edm from 8.2.1 to 8.2.2
  • #1941: chore(deps): bump Verify.Xunit from 28.3.1 to 28.3.2
  • #1938: Fix link to OpenAPI specification
  • #1936: chore(deps): bump Verify.Xunit from 28.2.1 to 28.3.1
  • #1932: chore(deps): bump Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console and System.Text.Json
  • #1931: chore: removes newtonsoft dependency all together
  • #1927: chore(deps): bump Microsoft.OData.Edm from 8.2.0 to 8.2.1
  • #1926: chore(deps): bump Microsoft.Extensions.Logging and Microsoft.Extensions.Logging.Abstractions
  • #1928: chore(deps): bump Microsoft.VisualStudio.Threading.Analyzers from 17.11.20 to 17.12.19
  • #1925: chore(deps): bump Verify.Xunit from 28.2.0 to 28.2.1
  • #1915: fix: multiple performance fixes for type serialization feat: adds to identifier mapping to non nullable enum
  • #1919: chore(deps): bump Microsoft.Extensions.Logging.Abstractions from 8.0.2 to 9.0.0
  • #1921: chore(deps): bump System.Formats.Asn1 and Microsoft.Windows.Compatibility
  • #1920: chore(deps): bump System.Text.Json from 8.0.5 to 9.0.0
  • #1914: Release hidi and libs
  • #1913: Bump up libs and hidi versions
  • #1894: feature/3.1.1
  • #1823: feature/3 0 4
  • #1912: chore(deps): bump Verify.Xunit from 28.0.0 to 28.2.0
  • #1909: chore(deps): bump Microsoft.OData.Edm from 8.1.0 to 8.2.0
  • #1910: chore(deps): bump FluentAssertions from 6.12.1 to 6.12.2
  • #1908: Release hidi
  • #1907: Bump hidi version
  • #1906: V2-preview1 release
  • #1904: V2.0-preview1 release
  • #1903: Sync latest vnext changes
  • #1897: Define JSON schema's Type property as a flaggable enum to allow storing multiple values
  • #1900: chore(deps): bump Verify.Xunit from 27.1.0 to 28.0.0
  • #1888: Remove DataTypeMismatch validation rule from the default ruleset
  • #1899: OpenApiSchema refactor to remove recursive keywords
  • #1898: Release Hidi
  • #1896: Bump up hidi and conversion lib versions

This list of changes was auto generated.

2.0.0-preview3

20 Dec 16:36
249ff45
Compare
Choose a tag to compare
2.0.0-preview3 Pre-release
Pre-release

Changes:

  • #2021: fix/ci tag value to main
  • #2015: release of preview 3
  • #2017: fix/ci hidi gh upload to main
  • #2016: fix/ci hidi gh upload
  • #1975: Refactor readers to reduce surface area
  • #2014: chore/v1 sync
  • #2008: ci: fixes hidi gh release
  • #2005: ci: updates main with the latest ci changes
  • #2003: chore(deps): bump Verify.Xunit from 28.2.0 to 28.6.1
  • #2001: ci/align branches
See More
  • #1999: chore: fixes extraneous master references
  • #2000: fix: sets hidi version to a preview
  • #1997: chore/linting
  • #1982: Add support for handling unrecognized keywords
  • #1981: Rename Read Result properties
  • #1996: chore: adds baywet to code owners
  • #1993: chore(deps): bump Verify.Xunit from 28.5.0 to 28.6.0
  • #1994: chore(deps): bump PublicApiGenerator from 11.2.0 to 11.3.0
  • #1939: Fix tags serialization bug
  • #1992: chore(deps): bump xunit.runner.visualstudio from 2.8.2 to 3.0.0
  • #1990: chore(deps): bump Verify.Xunit from 28.4.0 to 28.5.0
  • #1988: Bump preview versions
  • #1984: chore(deps): bump PublicApiGenerator from 11.1.0 to 11.2.0
  • #1986: chore(deps): bump Microsoft.OData.Edm from 8.2.2 to 8.2.3
  • #1979: chore(deps): bump FluentAssertions from 6.12.2 to 7.0.0
  • #1978: Fix: Adds missing security metadata to the pipeline
  • #1977: chore(deps): bump docker/build-push-action from 6.9.0 to 6.10.0
  • #1976: chore(deps): bump Verify.Xunit from 28.3.2 to 28.4.0
  • #1955: Fix: Empty paths object is now failing for version 3.0.0
  • #1943: Add support for JSON schema const keyword in OpenApiSchema
  • #1956: Fix: Workbench fails because of a missing format parameter
  • #1942: Use range for STJ reference and suppress warnings
  • #1945: chore(deps): bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
  • #1944: chore(deps): bump Microsoft.OData.Edm from 8.2.1 to 8.2.2
  • #1941: chore(deps): bump Verify.Xunit from 28.3.1 to 28.3.2
  • #1938: Fix link to OpenAPI specification
  • #1936: chore(deps): bump Verify.Xunit from 28.2.1 to 28.3.1
  • #1932: chore(deps): bump Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console and System.Text.Json
  • #1931: chore: removes newtonsoft dependency all together
  • #1927: chore(deps): bump Microsoft.OData.Edm from 8.2.0 to 8.2.1
  • #1926: chore(deps): bump Microsoft.Extensions.Logging and Microsoft.Extensions.Logging.Abstractions
  • #1928: chore(deps): bump Microsoft.VisualStudio.Threading.Analyzers from 17.11.20 to 17.12.19
  • #1925: chore(deps): bump Verify.Xunit from 28.2.0 to 28.2.1
  • #1915: fix: multiple performance fixes for type serialization feat: adds to identifier mapping to non nullable enum
  • #1919: chore(deps): bump Microsoft.Extensions.Logging.Abstractions from 8.0.2 to 9.0.0
  • #1921: chore(deps): bump System.Formats.Asn1 and Microsoft.Windows.Compatibility
  • #1920: chore(deps): bump System.Text.Json from 8.0.5 to 9.0.0
  • #1914: Release hidi and libs
  • #1913: Bump up libs and hidi versions
  • #1894: feature/3.1.1
  • #1823: feature/3 0 4
  • #1912: chore(deps): bump Verify.Xunit from 28.0.0 to 28.2.0
  • #1909: chore(deps): bump Microsoft.OData.Edm from 8.1.0 to 8.2.0
  • #1910: chore(deps): bump FluentAssertions from 6.12.1 to 6.12.2
  • #1908: Release hidi
  • #1907: Bump hidi version
  • #1906: V2-preview1 release
  • #1904: V2.0-preview1 release
  • #1903: Sync latest vnext changes
  • #1897: Define JSON schema's Type property as a flaggable enum to allow storing multiple values
  • #1900: chore(deps): bump Verify.Xunit from 27.1.0 to 28.0.0
  • #1888: Remove DataTypeMismatch validation rule from the default ruleset
  • #1899: OpenApiSchema refactor to remove recursive keywords
  • #1898: Release Hidi
  • #1896: Bump up hidi and conversion lib versions
  • #1890: Update workbench tool to parse 3.1 and YAML docs
  • #1895: chore(deps): bump Verify.Xunit from 27.0.1 to 27.1.0
  • #1892: docs: fixes doc comments to align with changes made in #1883
  • #1883: fix: emits number for integer formats
  • #1893: merge/vnext to release2

This list of changes was auto generated.