diff --git a/CHANGELOG.md b/CHANGELOG.md index f5e8e202c..6343c9e24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## 4.0.1 (Aug 22, 2024) + +High level enhancements + +- Improved support for rendering discriminator properties + +Other enhancements and bug fixes + +- Merge pull request #927 from PaloAltoNetworks/discriminator-no-mapping +- add test cases for discriminator +- add discriminator test spec +- handle discriminators with no mapping as simply property +- Add additional oneOf tests ([#924](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/924)) + ## 4.0.0 (Aug 20, 2024) High level enhancements diff --git a/README.md b/README.md index 9278e7db9..26459434e 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,9 @@ Key Features: | Docusaurus OpenAPI Docs | Docusaurus | | ----------------------- | --------------- | -| 4.0.0 (current) | `3.5.0 - 3.5.2` | -| 3.0.2 (legacy) | `3.0.1 - 3.4.0` | -| 2.2.1 (legacy) | `2.4.1 - 2.4.3` | +| 4.0.x (current) | `3.5.0 - 3.5.2` | +| 3.0.x (end-of-support) | `3.0.1 - 3.4.0` | +| 2.2.3 (legacy) | `2.4.1 - 2.4.3` | | 1.7.3 (end-of-support) | `2.0.1 - 2.2.0` | ## Bootstrapping from Template (new Docusaurus site) diff --git a/demo/docs/intro.mdx b/demo/docs/intro.mdx index a81fab3c9..9e9861c89 100644 --- a/demo/docs/intro.mdx +++ b/demo/docs/intro.mdx @@ -58,9 +58,9 @@ Key Features: | Docusaurus OpenAPI Docs | Docusaurus | | ----------------------- | --------------- | -| 4.0.0 (current) | `3.5.0 - 3.5.2` | -| 3.0.2 (legacy) | `3.0.1 - 3.4.0` | -| 2.2.1 (legacy) | `2.4.1 - 2.4.3` | +| 4.0.x (current) | `3.5.0 - 3.5.2` | +| 3.0.x (end-of-support) | `3.0.1 - 3.4.0` | +| 2.2.3 (legacy) | `2.4.1 - 2.4.3` | | 1.7.3 (end-of-support) | `2.0.1 - 2.2.0` | diff --git a/demo/package.json b/demo/package.json index e3a8faf33..9c0742d52 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "4.0.0", + "version": "4.0.1", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -25,8 +25,8 @@ "@docusaurus/plugin-google-gtag": "3.5.2", "@docusaurus/preset-classic": "3.5.2", "clsx": "^1.1.1", - "docusaurus-plugin-openapi-docs": "^4.0.0", - "docusaurus-theme-openapi-docs": "^4.0.0", + "docusaurus-plugin-openapi-docs": "^4.0.1", + "docusaurus-theme-openapi-docs": "^4.0.1", "prism-react-renderer": "^2.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/lerna.json b/lerna.json index 5a30cf2f8..cf6293bac 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "version": "4.0.0", + "version": "4.0.1", "npmClient": "yarn" } diff --git a/packages/docusaurus-plugin-openapi-docs/README.md b/packages/docusaurus-plugin-openapi-docs/README.md index 3ee1b3fac..427522e4c 100644 --- a/packages/docusaurus-plugin-openapi-docs/README.md +++ b/packages/docusaurus-plugin-openapi-docs/README.md @@ -41,9 +41,9 @@ Key Features: | Docusaurus OpenAPI Docs | Docusaurus | | ----------------------- | --------------- | -| 4.0.0 (current) | `3.5.0 - 3.5.2` | -| 3.0.2 (legacy) | `3.0.1 - 3.4.0` | -| 2.2.1 (legacy) | `2.4.1 - 2.4.3` | +| 4.0.x (current) | `3.5.0 - 3.5.2` | +| 3.0.x (end-of-support) | `3.0.1 - 3.4.0` | +| 2.2.3 (legacy) | `2.4.1 - 2.4.3` | | 1.7.3 (end-of-support) | `2.0.1 - 2.2.0` | ## Bootstrapping from Template (new Docusaurus site) diff --git a/packages/docusaurus-plugin-openapi-docs/package.json b/packages/docusaurus-plugin-openapi-docs/package.json index 6e0002330..8685c39d6 100644 --- a/packages/docusaurus-plugin-openapi-docs/package.json +++ b/packages/docusaurus-plugin-openapi-docs/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-plugin-openapi-docs", "description": "OpenAPI plugin for Docusaurus.", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "keywords": [ "openapi", diff --git a/packages/docusaurus-theme-openapi-docs/package.json b/packages/docusaurus-theme-openapi-docs/package.json index 57175eab1..0c2003ecb 100644 --- a/packages/docusaurus-theme-openapi-docs/package.json +++ b/packages/docusaurus-theme-openapi-docs/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-theme-openapi-docs", "description": "OpenAPI theme for Docusaurus.", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "keywords": [ "openapi", @@ -42,7 +42,7 @@ "clsx": "^1.1.1", "copy-text-to-clipboard": "^3.1.0", "crypto-js": "^4.1.1", - "docusaurus-plugin-openapi-docs": "^4.0.0", + "docusaurus-plugin-openapi-docs": "^4.0.1", "docusaurus-plugin-sass": "^0.2.3", "file-saver": "^2.0.5", "lodash": "^4.17.20",