Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade demo and packages to support 3.7.0 #1064

Merged
merged 5 commits into from
Jan 15, 2025
Merged

Upgrade demo and packages to support 3.7.0 #1064

merged 5 commits into from
Jan 15, 2025

Conversation

sserrata
Copy link
Member

Description

Upgrades demo and supporting packages to support Docusaurus 3.7.0. Changes should be backward compatible with previous supported releases.

@sserrata sserrata added the v4.0.0 v4.0.0 label Jan 14, 2025
@sserrata sserrata self-assigned this Jan 14, 2025
Copy link

Size Change: +46.6 kB (+2.3%)

Total Size: 2.07 MB

Filename Size Change
demo/.docusaurus/site-metadata.json 1.35 kB +130 B (+10.61%) ⚠️
demo/build/assets/js/main.********.js 735 kB +42.3 kB (+6.1%) 🔍
demo/build/index.html 91.1 kB +645 B (+0.71%)
demo/build/petstore/add-pet/index.html 27.5 kB +95 B (+0.35%)
demo/build/petstore/create-user/index.html 21.6 kB +95 B (+0.44%)
demo/build/petstore/create-users-with-array-input/index.html 21.6 kB +95 B (+0.44%)
demo/build/petstore/create-users-with-list-input/index.html 21.6 kB +95 B (+0.44%)
demo/build/petstore/delete-order/index.html 21.6 kB +95 B (+0.44%)
demo/build/petstore/delete-pet/index.html 21.7 kB +95 B (+0.44%)
demo/build/petstore/delete-user/index.html 21.9 kB +95 B (+0.44%)
demo/build/petstore/find-pets-by-status/index.html 22.3 kB +95 B (+0.43%)
demo/build/petstore/find-pets-by-tags/index.html 23 kB +95 B (+0.41%)
demo/build/petstore/get-inventory/index.html 20.9 kB +95 B (+0.46%)
demo/build/petstore/get-order-by-id/index.html 21.9 kB +95 B (+0.44%)
demo/build/petstore/get-pet-by-id/index.html 22.5 kB +95 B (+0.42%)
demo/build/petstore/get-user-by-name/index.html 22 kB +95 B (+0.43%)
demo/build/petstore/login-user/index.html 22.5 kB +95 B (+0.42%)
demo/build/petstore/logout-user/index.html 21.3 kB +95 B (+0.45%)
demo/build/petstore/new-pet/index.html 21.9 kB +95 B (+0.44%)
demo/build/petstore/pet/index.html 23.6 kB +95 B (+0.4%)
demo/build/petstore/place-order/index.html 21.1 kB +95 B (+0.45%)
demo/build/petstore/schemas/apiresponse/index.html 22.9 kB +95 B (+0.42%)
demo/build/petstore/schemas/cat/index.html 36.8 kB +95 B (+0.26%)
demo/build/petstore/schemas/category/index.html 24 kB +95 B (+0.4%)
demo/build/petstore/schemas/dog/index.html 37.2 kB +95 B (+0.26%)
demo/build/petstore/schemas/honeybee/index.html 37.3 kB +95 B (+0.26%)
demo/build/petstore/schemas/id/index.html 21 kB +95 B (+0.45%)
demo/build/petstore/schemas/order/index.html 25.1 kB +95 B (+0.38%)
demo/build/petstore/schemas/pet/index.html 36.7 kB +95 B (+0.26%)
demo/build/petstore/schemas/tag/index.html 22.4 kB +95 B (+0.43%)
demo/build/petstore/schemas/user/index.html 44.9 kB +95 B (+0.21%)
demo/build/petstore/store/index.html 21.6 kB +95 B (+0.44%)
demo/build/petstore/subscribe-to-the-store-events/index.html 27.9 kB +95 B (+0.34%)
demo/build/petstore/swagger-petstore-yaml/index.html 28 kB +237 B (+0.85%)
demo/build/petstore/update-pet-with-form/index.html 21.8 kB +95 B (+0.44%)
demo/build/petstore/update-pet/index.html 22.3 kB +95 B (+0.43%)
demo/build/petstore/update-user/index.html 21.9 kB +95 B (+0.44%)
demo/build/petstore/upload-file/index.html 21.7 kB +95 B (+0.44%)
demo/build/petstore/user/index.html 22.5 kB +95 B (+0.42%)
ℹ️ View Unchanged
Filename Size Change
demo/.docusaurus/codeTranslations.json 2 B 0 B
demo/.docusaurus/docusaurus.config.mjs 13.9 kB 0 B
demo/.docusaurus/globalData.json 39 kB 0 B
demo/.docusaurus/i18n.json 267 B 0 B
demo/.docusaurus/registry.js 57.5 kB 0 B
demo/.docusaurus/routes.js 53.1 kB 0 B
demo/.docusaurus/routesChunkNames.json 22 kB 0 B
demo/build/assets/css/styles.********.css 146 kB 0 B
demo/build/assets/js/runtime~main.********.js 15.3 kB +2 B (+0.01%)

compressed-size-action

Copy link

Visit the preview URL for this PR (updated for commit c533b82):

https://docusaurus-openapi-36b86--pr1064-lamwmdyq.web.app

(expires Thu, 13 Feb 2025 22:51:26 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

"clsx": "^1.1.1",
"docusaurus-plugin-openapi-docs": "^4.3.1",
"docusaurus-theme-openapi-docs": "^4.3.1",
"prism-react-renderer": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgraded to React 19 which is required by 3.7.0

<LazyComponent {...props} />
</Suspense>
);
return <ParamsDetailsComponent {...props} />;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed use of Suspense for handling lazy loading of component...now relying strictly on BrowserOnly.

@sserrata sserrata merged commit c0eba4b into main Jan 15, 2025
9 checks passed
@sserrata sserrata deleted the support-3.7.0 branch January 15, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4.0.0 v4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant