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

Incompatible with Beta22 #151

Closed
homotechsual opened this issue Jul 9, 2022 · 5 comments
Closed

Incompatible with Beta22 #151

homotechsual opened this issue Jul 9, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@homotechsual
Copy link
Contributor

Describe the bug

Due to the changes to DocItem this is no longer compatible with Docusaurus Beta22

Expected behavior

Plugin works

Current behavior

Plugin errors because DocItemFooter no longer exists.

Possible solution

Steps to reproduce

Install Beta22 and attempt to build or serve.

@homotechsual homotechsual added the bug Something isn't working label Jul 9, 2022
@welcome-to-palo-alto-networks
Copy link

🎉 Thanks for opening your first issue here! Welcome to the community!

@blindaa121
Copy link
Collaborator

Thank you for brining this to our attention! It turns out that the latest upgrade to Docusaurus beta.22 moved the DocItemFooter component into a new directory. Although, there may be some additional minor fixes needed to get the plugin up and running with beta.22, will keep you posted! 👍

Reference: facebook/docusaurus#7644

@sserrata
Copy link
Member

Resolved in #155

@Damounet
Copy link

It seems that you did not bump the version of the lib. I have tried the 1.0.6 on my project but I still get the error

Module not found: Error: Can't resolve '@theme/DocItemFooter' in '/Users/xxx-doc/node_modules/docusaurus-theme-openapi-docs/lib-next/theme/ApiItem'
client (webpack 5.73.0) compiled with 1 error

I have started to use docusaurus-openapi-docs this morning, when I saw that you fixed this current issue. Never tried to install it before.

Or maybe I have another problem @sserrata ?

@sserrata
Copy link
Member

Hi @Damounet, we typically won't create a new release until after we've completed all the targeted bug fixes and enhancements. That said, we automatically publish canary releases which allow you to "preview" fixes/features before they're officially released. The latest canary will always be reflected in the README and documentation:

Look for this:

npm canary package

Install the version above to preview support for beta.22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants