diff --git a/CHANGELOG.md b/CHANGELOG.md index 5190fcee6..939bb20bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 4.3.2 (Jan 24, 2025) + +High level enhancements + +- Add support for JSON Schema `null` type +- Improve handling of required fields in request bodies +- Normalize response body arrays to improve consistency + +Other enhancements and bug fixes + +- add support for json schema null type ([#1068](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1068)) +- allow default body to satisfy required ([#1067](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1067)) +- normalize body array instead of returning literal ([#1066](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1066)) +- Upgrade demo and packages to support 3.7.0 ([#1064](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1064)) + ## 4.3.1 (Dec 17, 2024) High level enhancements diff --git a/README.md b/README.md index 439097e43..2f4c4ec30 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Key Features: | Docusaurus OpenAPI Docs | Docusaurus | | ----------------------- | --------------- | -| 4.x.x (current) | `3.5.0 - 3.6.x` | +| 4.x.x (current) | `3.5.0 - 3.7.x` | | 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` | @@ -51,7 +51,7 @@ Key Features: Run the following to bootstrap a Docsaurus v3 site (classic theme) with `docusaurus-openapi-docs`: ```bash -npx create-docusaurus@3.6.3 my-website --package-manager yarn +npx create-docusaurus@3.7.0 my-website --package-manager yarn ``` > When prompted to select a template choose `Git repository`. diff --git a/demo/package.json b/demo/package.json index 31949e8e0..7a533a92d 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "4.3.1", + "version": "4.3.2", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -26,8 +26,8 @@ "@docusaurus/plugin-google-gtag": "3.7.0", "@docusaurus/preset-classic": "3.7.0", "clsx": "^1.1.1", - "docusaurus-plugin-openapi-docs": "^4.3.1", - "docusaurus-theme-openapi-docs": "^4.3.1", + "docusaurus-plugin-openapi-docs": "^4.3.2", + "docusaurus-theme-openapi-docs": "^4.3.2", "prism-react-renderer": "^2.3.0", "react": "^19.0.0", "react-dom": "^19.0.0" diff --git a/lerna.json b/lerna.json index 692a889a0..a62bf7838 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "version": "4.3.1", + "version": "4.3.2", "npmClient": "yarn" } diff --git a/packages/docusaurus-plugin-openapi-docs/README.md b/packages/docusaurus-plugin-openapi-docs/README.md index f31b69c56..24d0fb6e3 100644 --- a/packages/docusaurus-plugin-openapi-docs/README.md +++ b/packages/docusaurus-plugin-openapi-docs/README.md @@ -41,7 +41,7 @@ Key Features: | Docusaurus OpenAPI Docs | Docusaurus | | ----------------------- | --------------- | -| 4.0.x (current) | `3.5.0 - 3.6.x` | +| 4.0.x (current) | `3.5.0 - 3.7.x` | | 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` | @@ -51,7 +51,7 @@ Key Features: Run the following to bootstrap a Docsaurus v3 site (classic theme) with `docusaurus-openapi-docs`: ```bash -npx create-docusaurus@3.6.3 my-website --package-manager yarn +npx create-docusaurus@3.7.0 my-website --package-manager yarn ``` > When prompted to select a template choose `Git repository`. diff --git a/packages/docusaurus-plugin-openapi-docs/package.json b/packages/docusaurus-plugin-openapi-docs/package.json index 6bb23eaaf..ec98d5e52 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.3.1", + "version": "4.3.2", "license": "MIT", "keywords": [ "openapi", diff --git a/packages/docusaurus-theme-openapi-docs/package.json b/packages/docusaurus-theme-openapi-docs/package.json index caa6343ff..4b7a7db16 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.3.1", + "version": "4.3.2", "license": "MIT", "keywords": [ "openapi", @@ -34,7 +34,7 @@ "@types/file-saver": "^2.0.5", "@types/lodash": "^4.14.176", "concurrently": "^5.2.0", - "docusaurus-plugin-openapi-docs": "^4.3.1", + "docusaurus-plugin-openapi-docs": "^4.3.2", "docusaurus-plugin-sass": "^0.2.3", "eslint-plugin-prettier": "^5.0.1" },