Skip to content

Commit

Permalink
Prepare release v0.2.1 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
bourdakos1 committed Dec 6, 2021
1 parent 6edb4a8 commit d0a422a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.2.1 (Dec 5, 2021)

High level enhancements

- The demo panel now allows you to choose the security scheme from a dropdown that is populated by the OpenAPI definition (only showing the dropdown if more than one is listed)
- Adds support for using multiple auth modes simultaneously (Eg: `(BearerAuth) OR (ApiKeyAuth AND BasicAuth)`)
- Adds an `authPersistence` option to `themeConfig.api`. Defaults to `"localStorage"`, can be set to `false` to disable or `sessionStorage` to only persist while the window is open.

Other enhancements and bug fixes

- Add better auth support ([#74](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/74))

## 0.2.0 (Dec 4, 2021)

### 💥 Breaking Changes
Expand Down
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "demo",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -18,7 +18,7 @@
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1",
"docusaurus-preset-openapi": "^0.2.0",
"docusaurus-preset-openapi": "^0.2.1",
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0",
"version": "0.2.1",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docusaurus-plugin-openapi",
"description": "OpenAPI plugin for Docusaurus.",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-preset-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docusaurus-preset-openapi",
"description": "OpenAPI preset for Docusaurus.",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,8 +32,8 @@
"@docusaurus/preset-classic": "2.0.0-beta.9",
"@docusaurus/theme-classic": "2.0.0-beta.9",
"@docusaurus/theme-search-algolia": "2.0.0-beta.9",
"docusaurus-plugin-openapi": "^0.2.0",
"docusaurus-theme-openapi": "^0.2.0"
"docusaurus-plugin-openapi": "^0.2.1",
"docusaurus-theme-openapi": "^0.2.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docusaurus-theme-openapi",
"description": "OpenAPI theme for Docusaurus.",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -40,7 +40,7 @@
"@monaco-editor/react": "^4.3.1",
"buffer": "^6.0.3",
"clsx": "^1.1.1",
"docusaurus-plugin-openapi": "^0.2.0",
"docusaurus-plugin-openapi": "^0.2.1",
"immer": "^9.0.6",
"lodash": "^4.17.20",
"postman-code-generators": "^1.0.0",
Expand Down

0 comments on commit d0a422a

Please sign in to comment.