Skip to content

Commit 84cab16

Browse files
authored
Prepare release 0.3.1 (#115)
1 parent 59ee167 commit 84cab16

File tree

7 files changed

+58
-12
lines changed

7 files changed

+58
-12
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## 0.3.1 (Dec 21, 2021)
2+
3+
High level enhancements
4+
5+
- Added support for more schema qualifiers:
6+
7+
```
8+
- maxLength
9+
- minLength
10+
- maximum
11+
- minumum
12+
- exclusiveMaximum
13+
- exclusiveMinimum
14+
- pattern
15+
```
16+
17+
Example:
18+
19+
```yaml
20+
slug:
21+
type: string
22+
description: The human-readable, unique identifier, used to identify the document.
23+
minLength: 1
24+
maxLength: 40
25+
pattern: "^[a-zA-Z0-9_-]*$"
26+
```
27+
28+
Displays:
29+
<table><tbody><tr><td>
30+
31+
`slug` string
32+
33+
**Possible values:** 1 ≤ length ≤ 40, Value must match regular expression `^[a-zA-Z0-9_-]*$`
34+
35+
The human-readable, unique identifier, used to identify the document.
36+
37+
</td></tr></tbody></table>
38+
39+
Other enhancements and bug fixes
40+
41+
- Add additional schema qualifiers ([#112](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/112))
42+
- Sidebar generation refactor ([#111](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/111))
43+
- Add recursive folder structure reading & labeling support ([#107](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/107))
44+
- Add experimental support for loading a multiple OpenAPI definitions ([#103](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/103))
45+
- Add sidebar item classname for method ([#104](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/104))
46+
- Fix schema name bug with allOf ([#102](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/102))
47+
148
## 0.3.0 (Dec 16, 2021)
249

350
High level enhancements

demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "demo",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",
@@ -18,7 +18,7 @@
1818
"@mdx-js/react": "^1.6.21",
1919
"@svgr/webpack": "^5.5.0",
2020
"clsx": "^1.1.1",
21-
"docusaurus-preset-openapi": "^0.3.0",
21+
"docusaurus-preset-openapi": "^0.3.1",
2222
"file-loader": "^6.2.0",
2323
"prism-react-renderer": "^1.2.1",
2424
"react": "^17.0.1",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.3.0",
2+
"version": "0.3.1",
33
"npmClient": "yarn",
44
"useWorkspaces": true
55
}

packages/docusaurus-plugin-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus-plugin-openapi",
33
"description": "OpenAPI plugin for Docusaurus.",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"license": "MIT",
66
"publishConfig": {
77
"access": "public"

packages/docusaurus-plugin-proxy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus-plugin-proxy",
33
"description": "A dev server proxy for Docusaurus.",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"license": "MIT",
66
"publishConfig": {
77
"access": "public"

packages/docusaurus-preset-openapi/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus-preset-openapi",
33
"description": "OpenAPI preset for Docusaurus.",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"license": "MIT",
66
"keywords": [
77
"openapi",
@@ -24,7 +24,6 @@
2424
"build": "tsc",
2525
"watch": "tsc --watch"
2626
},
27-
"devDependencies": {},
2827
"dependencies": {
2928
"@docusaurus/core": "2.0.0-beta.13",
3029
"@docusaurus/plugin-content-blog": "2.0.0-beta.13",
@@ -37,9 +36,9 @@
3736
"@docusaurus/preset-classic": "2.0.0-beta.13",
3837
"@docusaurus/theme-classic": "2.0.0-beta.13",
3938
"@docusaurus/theme-search-algolia": "2.0.0-beta.13",
40-
"docusaurus-plugin-openapi": "^0.3.0",
41-
"docusaurus-plugin-proxy": "^0.3.0",
42-
"docusaurus-theme-openapi": "^0.3.0"
39+
"docusaurus-plugin-openapi": "^0.3.1",
40+
"docusaurus-plugin-proxy": "^0.3.1",
41+
"docusaurus-theme-openapi": "^0.3.1"
4342
},
4443
"peerDependencies": {
4544
"react": "^16.8.4 || ^17.0.0",

packages/docusaurus-theme-openapi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus-theme-openapi",
33
"description": "OpenAPI theme for Docusaurus.",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"license": "MIT",
66
"publishConfig": {
77
"access": "public"
@@ -37,7 +37,7 @@
3737
"@monaco-editor/react": "^4.3.1",
3838
"buffer": "^6.0.3",
3939
"clsx": "^1.1.1",
40-
"docusaurus-plugin-openapi": "^0.3.0",
40+
"docusaurus-plugin-openapi": "^0.3.1",
4141
"immer": "^9.0.6",
4242
"lodash": "^4.17.20",
4343
"postman-code-generators": "^1.0.0",

0 commit comments

Comments
 (0)