From 297f91457e7742c5b5c334b975adf17e149f7f5c Mon Sep 17 00:00:00 2001 From: Steven Serrata <9343811+sserrata@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:14:36 -0400 Subject: [PATCH] Prepare release v2.2.2 (#916) --- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- demo/package.json | 6 +++--- lerna.json | 2 +- packages/docusaurus-plugin-openapi-docs/README.md | 2 +- .../docusaurus-plugin-openapi-docs/package.json | 2 +- .../docusaurus-theme-openapi-docs/package.json | 4 ++-- 7 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b39b66f4..d3be81314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 2.2.2 (Aug 14, 2024) + +High level enhancements + +- Various bug fixes and support for allOf, anyOf, oneOf. + +Other enhancements and bug fixes + +- Ensure same-level properties and allOf are rendered ([#904](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/904)) +- statically set generated date and date-time example value ([#901](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/901)) +- Fix support for example summaries ([#898](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/898)) +- Support anyOf/oneOf schema descriptions ([#897](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/897)) +- Check if the outputDir exists before attempting to create the versions.json file ([#892](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/892)) +- Add object primitive support to createAnyOneOf ([#895](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/895)) + ## 2.2.1 (Jul 3, 2024) High level enhancements diff --git a/README.md b/README.md index 6fd60456d..7175b43a7 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Key Features: Run the following to bootstrap a Docsaurus v3 site (classic theme) with `docusaurus-openapi-docs`: ```bash -npx create-docusaurus@3.4.0 my-website --package-manager yarn +npx create-docusaurus@2.4.3 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 1af9d074a..7bf81029d 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "2.2.1", + "version": "2.2.2", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -26,8 +26,8 @@ "@docusaurus/preset-classic": "2.4.3", "@mdx-js/react": "^1.6.22", "clsx": "^1.1.1", - "docusaurus-plugin-openapi-docs": "^2.2.0", - "docusaurus-theme-openapi-docs": "^2.2.1", + "docusaurus-plugin-openapi-docs": "^2.2.2", + "docusaurus-theme-openapi-docs": "^2.2.2", "prism-react-renderer": "^1.3.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/lerna.json b/lerna.json index 49c34af7e..78fe9ac58 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.2.1", + "version": "2.2.2", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/docusaurus-plugin-openapi-docs/README.md b/packages/docusaurus-plugin-openapi-docs/README.md index 6fd60456d..7175b43a7 100644 --- a/packages/docusaurus-plugin-openapi-docs/README.md +++ b/packages/docusaurus-plugin-openapi-docs/README.md @@ -50,7 +50,7 @@ Key Features: Run the following to bootstrap a Docsaurus v3 site (classic theme) with `docusaurus-openapi-docs`: ```bash -npx create-docusaurus@3.4.0 my-website --package-manager yarn +npx create-docusaurus@2.4.3 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 bf93bfed3..63848c438 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": "2.2.1", + "version": "2.2.2", "license": "MIT", "keywords": [ "openapi", diff --git a/packages/docusaurus-theme-openapi-docs/package.json b/packages/docusaurus-theme-openapi-docs/package.json index 1c21cec3c..f4c39f40c 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": "2.2.1", + "version": "2.2.2", "license": "MIT", "keywords": [ "openapi", @@ -41,7 +41,7 @@ "clsx": "^1.1.1", "copy-text-to-clipboard": "^3.1.0", "crypto-js": "^4.1.1", - "docusaurus-plugin-openapi-docs": "^2.2.0", + "docusaurus-plugin-openapi-docs": "^2.2.2", "docusaurus-plugin-sass": "^0.2.3", "file-saver": "^2.0.5", "lodash": "^4.17.20",