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

feat: make ReDoc version configurable #29

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

martvaha
Copy link

@martvaha martvaha commented Apr 5, 2021

Current ReDoc version was quite old 2.0.0-rc.8-1 (released 2019-05-13).

This pull request adds redocVersion property to RedocOptions object that allows specifying wanted ReDoc version. Values can be 'next', 'latest' or some version (e.g. '2.0.0-rc.50'). Default value is 'latest'.
image

@martvaha
Copy link
Author

martvaha commented Apr 6, 2021

It might have been a cache issue but now https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js points to 2.0.0-rc.48 instead of 2.0.0-rc.8-1. Still would be nice to be able to lock down the version.

@ojoanalogo
Copy link
Owner

This is a good feature! I'll merge this into master and push a new version to the npm package registry.
Sorry for the long time It took to me for notice this PR!

@ojoanalogo ojoanalogo merged commit d2d2cc9 into ojoanalogo:master Apr 29, 2021
@ojoanalogo
Copy link
Owner

@martvaha updated package on npm registry, new version it's 2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants