Skip to content

Commit 43aa76d

Browse files
Prepare release v0.7.0 (#268)
1 parent b20c708 commit 43aa76d

31 files changed

Lines changed: 3012 additions & 4461 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
## 0.7.0 (Dec 13, 2023)
2+
3+
High-level enhancements
4+
5+
- Docusaurus v3 support ([#266](https://github.com/cloud-annotations/docusaurus-openapi/pull/266))
6+
- Allow pressing enter to perform the 'Execute' action ([#255](https://github.com/cloud-annotations/docusaurus-openapi/pull/255))
7+
- Render examples in a `<code>` block ([#256](https://github.com/cloud-annotations/docusaurus-openapi/pull/256))
8+
9+
Other enhancements and bug fixes
10+
11+
- Wrap code examples tabs in narrow browser windows ([#250](https://github.com/cloud-annotations/docusaurus-openapi/pull/250))
12+
- Add border to form inputs when using light theme ([#252](https://github.com/cloud-annotations/docusaurus-openapi/pull/252))
13+
- Fix: Page crash on half surrogate pair ([#261](https://github.com/cloud-annotations/docusaurus-openapi/pull/261))
14+
115
## 0.6.4 (Mar 15, 2023)
216

3-
High level enhancements
17+
High-level enhancements
418

519
- Fixes and enhancements for array query param handling ([#241](https://github.com/cloud-annotations/docusaurus-openapi/pull/241))
620
- Respect the `maxItems` property for array query params
@@ -18,7 +32,7 @@ Other enhancements and bug fixes
1832

1933
## 0.6.3 (Nov 7, 2022)
2034

21-
High level enhancements
35+
High-level enhancements
2236

2337
- Compatibility with Docusaurus 2.2.0 ([#223](https://github.com/cloud-annotations/docusaurus-openapi/pull/223))
2438
- Support for loading custom Markdown Files: ([#193](https://github.com/cloud-annotations/docusaurus-openapi/pull/193))
@@ -30,7 +44,7 @@ Other enhancements and bug fixes
3044

3145
## 0.6.2 (Aug 11, 2022)
3246

33-
High level enhancements
47+
High-level enhancements
3448

3549
- Authorize with api keys in header
3650

@@ -54,7 +68,7 @@ Other enhancements and bug fixes
5468

5569
## 0.6.0 (Jun 23, 2022)
5670

57-
High level enhancements
71+
High-level enhancements
5872

5973
- Compatibility with Docusaurus 2.0.0-beta.21
6074

@@ -68,7 +82,7 @@ Other enhancements and bug fixes
6882

6983
## 0.5.0 (Jan 9, 2022)
7084

71-
High level enhancements
85+
High-level enhancements
7286

7387
- All theme components are now TypeScript 🎉
7488

@@ -97,7 +111,7 @@ Enhancements and bug fixes
97111

98112
## 0.4.0 (Dec 23, 2021)
99113

100-
High level enhancements
114+
High-level enhancements
101115

102116
- Docusaurus beta.14 support
103117

@@ -156,7 +170,7 @@ Other enhancements and bug fixes
156170

157171
## 0.3.1 (Dec 21, 2021)
158172

159-
High level enhancements
173+
High-level enhancements
160174

161175
- Added support for more schema qualifiers:
162176

@@ -203,7 +217,7 @@ Other enhancements and bug fixes
203217

204218
## 0.3.0 (Dec 16, 2021)
205219

206-
High level enhancements
220+
High-level enhancements
207221

208222
- Docusaurus beta.13 support (Thanks @Josh-Cena!)
209223

@@ -281,7 +295,7 @@ Fix broken package
281295

282296
## 0.2.1 (Dec 5, 2021)
283297

284-
High level enhancements
298+
High-level enhancements
285299

286300
- 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)
287301
- Adds support for using multiple auth modes simultaneously (Eg: `(BearerAuth) OR (ApiKeyAuth AND BasicAuth)`)

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.6.4",
3+
"version": "0.7.0",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",
@@ -17,7 +17,7 @@
1717
"@docusaurus/core": "^3.0.0",
1818
"@svgr/webpack": "^5.5.0",
1919
"clsx": "^1.2.1",
20-
"docusaurus-preset-openapi": "^0.6.4",
20+
"docusaurus-preset-openapi": "^0.7.0",
2121
"file-loader": "^6.2.0",
2222
"prism-react-renderer": "^2.1.0",
2323
"react": "^18.0.0",

lerna.json

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

packages/create-docusaurus-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-docusaurus-openapi",
3-
"version": "0.6.4",
3+
"version": "0.7.0",
44
"description": "Create Docusaurus apps easily.",
55
"repository": {
66
"type": "git",

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.6.4",
4+
"version": "0.7.0",
55
"license": "MIT",
66
"publishConfig": {
77
"access": "public"

packages/docusaurus-plugin-openapi/src/markdown/createParamsTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
import { escape } from "lodash";
99

10-
import { ApiItem } from "../types";
1110
import { createDescription } from "./createDescription";
1211
import { createFullWidthTable } from "./createFullWidthTable";
1312
import { getQualifierMessage, getSchemaName } from "./schema";
1413
import { create, guard } from "./utils";
14+
import { ApiItem } from "../types";
1515

1616
interface Props {
1717
parameters: ApiItem["parameters"];

packages/docusaurus-plugin-openapi/src/markdown/createSchemaTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
import { escape } from "lodash";
99

10-
import { MediaTypeObject, SchemaObject } from "../openapi/types";
1110
import { createDescription } from "./createDescription";
1211
import { createFullWidthTable } from "./createFullWidthTable";
1312
import { getQualifierMessage, getSchemaName } from "./schema";
1413
import { create, guard } from "./utils";
14+
import { MediaTypeObject, SchemaObject } from "../openapi/types";
1515

1616
function resolveAllOf(allOf: SchemaObject[]) {
1717
// TODO: naive implementation (only supports objects, no directly nested allOf)

packages/docusaurus-plugin-openapi/src/markdown/createStatusCodesTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { ApiItem } from "../types";
98
import { createDescription } from "./createDescription";
109
import { createFullWidthTable } from "./createFullWidthTable";
1110
import { createSchemaTable } from "./createSchemaTable";
1211
import { create } from "./utils";
12+
import { ApiItem } from "../types";
1313

1414
interface Props {
1515
responses: ApiItem["responses"];

packages/docusaurus-plugin-openapi/src/markdown/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
import { escape } from "lodash";
99

10-
import { ApiPageMetadata, InfoPageMetadata } from "../types";
1110
import { createDeprecationNotice } from "./createDeprecationNotice";
1211
import { createDescription } from "./createDescription";
1312
import { createParamsTable } from "./createParamsTable";
1413
import { createRequestBodyTable } from "./createRequestBodyTable";
1514
import { createStatusCodesTable } from "./createStatusCodesTable";
1615
import { createVersionBadge } from "./createVersionBadge";
1716
import { render } from "./utils";
17+
import { ApiPageMetadata, InfoPageMetadata } from "../types";
1818

1919
export function createApiPageMD({
2020
title,

packages/docusaurus-plugin-openapi/src/openapi/openapi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import { kebabCase } from "lodash";
1818
import Converter from "openapi-to-postmanv2";
1919
import sdk, { Collection } from "postman-collection";
2020

21-
import { ApiMetadata, ApiPageMetadata, InfoPageMetadata } from "../types";
22-
import { isURL } from "../util";
2321
import { sampleFromSchema } from "./createExample";
2422
import { OpenApiObject, OpenApiObjectWithRef, TagObject } from "./types";
23+
import { ApiMetadata, ApiPageMetadata, InfoPageMetadata } from "../types";
24+
import { isURL } from "../util";
2525

2626
/**
2727
* Finds any reference objects in the OpenAPI definition and resolves them to a finalized value.

0 commit comments

Comments
 (0)