From 0f5d0c6c38d0eb829a53c7a5e015b6fe5599ba9f Mon Sep 17 00:00:00 2001 From: Devon-White Date: Wed, 3 Apr 2024 07:11:19 -0400 Subject: [PATCH] - Bumped all packages to 0.7.4 - Updated CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ demo/package.json | 4 ++-- lerna.json | 2 +- packages/create-docusaurus-openapi/package.json | 2 +- packages/docusaurus-plugin-openapi/package.json | 2 +- packages/docusaurus-plugin-proxy/package.json | 2 +- packages/docusaurus-preset-openapi/package.json | 8 ++++---- packages/docusaurus-template-openapi/package.json | 2 +- packages/docusaurus-template-openapi/template.json | 6 +++--- packages/docusaurus-theme-openapi/package.json | 2 +- 10 files changed, 24 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1acdb41..a617be68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.7.4 (Apr 1, 2024) + +Bug Fixes for Docusaurus 3.2.0 upgrade ([#283](https://github.com/cloud-annotations/docusaurus-openapi/pull/283)) + +- `addLeadingSlash` and `addTrailingSlash` are now imported from `@docusaurus/utils-common` +- Omit `showLastUpdateAuthor` and `showLastUpdateTime` from PluginOptions +- Updated `toNav` function to handle `nav.menu` items that now have a role of `button` instead of `link` +- Updated Docusaurus version to 3.2.0 + ## 0.7.3 (Jan 15, 2024) Enhancements and bug fixes diff --git a/demo/package.json b/demo/package.json index 43bfc88e..af522a60 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "0.7.3", + "version": "0.7.4", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -17,7 +17,7 @@ "@docusaurus/core": "^3.2.0", "@svgr/webpack": "^5.5.0", "clsx": "^1.2.1", - "docusaurus-preset-openapi": "^0.7.3", + "docusaurus-preset-openapi": "^0.7.4", "file-loader": "^6.2.0", "prism-react-renderer": "^2.1.0", "react": "^18.0.0", diff --git a/lerna.json b/lerna.json index c92df8ad..01d7f2f1 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.7.3", + "version": "0.7.4", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/create-docusaurus-openapi/package.json b/packages/create-docusaurus-openapi/package.json index 84a8b857..54bbfdec 100755 --- a/packages/create-docusaurus-openapi/package.json +++ b/packages/create-docusaurus-openapi/package.json @@ -1,6 +1,6 @@ { "name": "create-docusaurus-openapi", - "version": "0.7.3", + "version": "0.7.4", "description": "Create Docusaurus apps easily.", "repository": { "type": "git", diff --git a/packages/docusaurus-plugin-openapi/package.json b/packages/docusaurus-plugin-openapi/package.json index cb68bac6..7b9a12be 100644 --- a/packages/docusaurus-plugin-openapi/package.json +++ b/packages/docusaurus-plugin-openapi/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-plugin-openapi", "description": "OpenAPI plugin for Docusaurus.", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/docusaurus-plugin-proxy/package.json b/packages/docusaurus-plugin-proxy/package.json index 0f55e441..40f5c132 100644 --- a/packages/docusaurus-plugin-proxy/package.json +++ b/packages/docusaurus-plugin-proxy/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-plugin-proxy", "description": "A dev server proxy for Docusaurus.", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/docusaurus-preset-openapi/package.json b/packages/docusaurus-preset-openapi/package.json index d7c96ad4..bb8e7ed5 100644 --- a/packages/docusaurus-preset-openapi/package.json +++ b/packages/docusaurus-preset-openapi/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-preset-openapi", "description": "OpenAPI preset for Docusaurus.", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "keywords": [ "openapi", @@ -32,9 +32,9 @@ }, "dependencies": { "@docusaurus/preset-classic": "^3.2.0", - "docusaurus-plugin-openapi": "^0.7.3", - "docusaurus-plugin-proxy": "^0.7.3", - "docusaurus-theme-openapi": "^0.7.3" + "docusaurus-plugin-openapi": "^0.7.4", + "docusaurus-plugin-proxy": "^0.7.4", + "docusaurus-theme-openapi": "^0.7.4" }, "peerDependencies": { "react": "^18.0.0", diff --git a/packages/docusaurus-template-openapi/package.json b/packages/docusaurus-template-openapi/package.json index 11d8e532..4b5c0c8b 100644 --- a/packages/docusaurus-template-openapi/package.json +++ b/packages/docusaurus-template-openapi/package.json @@ -1,6 +1,6 @@ { "name": "docusaurus-template-openapi", - "version": "0.7.3", + "version": "0.7.4", "keywords": [ "react", "create-docusaurus", diff --git a/packages/docusaurus-template-openapi/template.json b/packages/docusaurus-template-openapi/template.json index c81af26c..32c6151c 100644 --- a/packages/docusaurus-template-openapi/template.json +++ b/packages/docusaurus-template-openapi/template.json @@ -1,7 +1,7 @@ { "package": { "name": "demo", - "version": "0.7.3", + "version": "0.7.4", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -15,8 +15,8 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@docusaurus/core": "^3.0.0", - "docusaurus-preset-openapi": "0.7.3", + "@docusaurus/core": "^3.2.0", + "docusaurus-preset-openapi": "0.7.4", "@mdx-js/react": "^3.0.0", "clsx": "^1.2.1", "prism-react-renderer": "^2.1.0", diff --git a/packages/docusaurus-theme-openapi/package.json b/packages/docusaurus-theme-openapi/package.json index 3816d325..29bd20f2 100644 --- a/packages/docusaurus-theme-openapi/package.json +++ b/packages/docusaurus-theme-openapi/package.json @@ -1,7 +1,7 @@ { "name": "docusaurus-theme-openapi", "description": "OpenAPI theme for Docusaurus.", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "publishConfig": { "access": "public"