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

[V3] OpenAPI 3.0 Preview #660

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
e8bd71e
initial refactor
sserrata Nov 17, 2023
0428f74
convert contact info to markdown, update lessThan regex and escape de…
sserrata Nov 17, 2023
f0cd4cd
re-enable all API docs
sserrata Nov 17, 2023
6ce2141
bump version to 3.0.0-beta.0
sserrata Nov 17, 2023
30c1626
support v3.0.0 canary releases
sserrata Nov 17, 2023
f1ad0e3
update createSchema snapshot
sserrata Nov 17, 2023
dfe758a
update v2.0.0 refs to v3.0.0
sserrata Nov 17, 2023
08be0d0
Update deploy-preview.yml
sserrata Nov 17, 2023
4486cbb
Prepare release v3.0.0-beta.1 (#661)
sserrata Nov 17, 2023
9641610
Update release-beta.yaml
sserrata Nov 17, 2023
d20984b
Port v2 changes/fixes into v3 (#667)
sserrata Dec 1, 2023
9e57319
Prepare release v3.0.0-beta.2 (#668)
sserrata Dec 1, 2023
20a21b0
[V3] Improved Docusaurus 3 compatibility (#677)
Gijsdeman Dec 13, 2023
dfcdb04
install prettier plugin (#681)
sserrata Dec 13, 2023
315ef31
upgrade prettier
sserrata Dec 13, 2023
4836267
Prepare release v3.0.0-beta.3 (#682)
sserrata Dec 13, 2023
677381d
[V3] Refactor theme package to Typescript (#684)
Gijsdeman Jan 5, 2024
1207af7
Prepare release v3.0.0-beta.4 (#688)
sserrata Jan 5, 2024
27fb9c0
Add Callbacks Support to V3 (#700)
lucasassisrosa Jan 18, 2024
b326185
Add support to x-codeSamples in v3 (#701)
lucasassisrosa Jan 18, 2024
1f9c9fa
Prepare release v3.0.0-beta.5 (#702)
sserrata Jan 18, 2024
d1e4e6f
Fix x-codeSamples load when switching language tabs in V3 (#706)
lucasassisrosa Jan 24, 2024
d7b4b64
fix: markdown pages heading creation (#716)
lucasassisrosa Mar 12, 2024
47d7bdd
upgrade to docusaurus 3.1.1 (#740)
sserrata Mar 15, 2024
e146cc5
V2 feature parity (#742)
sserrata Mar 15, 2024
638a687
upgrade prettier
sserrata Mar 15, 2024
e2334e1
Prepare release v3.0.0-beta.6 (#743)
sserrata Mar 15, 2024
c3d0f72
Upgrade OpenAPI parsers (#749)
sserrata Mar 19, 2024
45cb59e
[bugfix] Ensure 0 and false are guarded correctly and add deprecated …
sserrata Mar 20, 2024
acc2a75
fix import/eslint errors
sserrata Mar 20, 2024
effd6b9
Prepare release v3.0.0-beta.7 (#757)
sserrata Mar 20, 2024
748e42c
ensure resize observer is calculated once per frame to avoid loops (#…
sserrata Mar 21, 2024
f28711e
uncomment line preventing grouping by operation tags (#764)
sserrata Mar 21, 2024
d7bbe20
Ensure qualifiers are rendered for polymorphic/primitive properties (…
sserrata Mar 21, 2024
850b5d0
Fix allOf schema qualifier and type (#766)
sserrata Mar 21, 2024
5877a91
Prepare release v3.0.0-beta.8 (#767)
sserrata Mar 21, 2024
530d2c8
ensure correct eval of required properties with allOf (#771)
sserrata Mar 22, 2024
ab5f392
Prepare release v3.0.0-beta.9 (#773)
sserrata Mar 22, 2024
80c6130
upgrade lerna to 8.1.2 (#778)
sserrata Mar 22, 2024
3b24626
use inline to remove p tag (#779)
sserrata Mar 22, 2024
82d70be
Prepare release v3.0.0-beta.10 (#780)
sserrata Mar 25, 2024
e00226f
Remove scrollbar width for Tab components (#785)
blindaa121 Mar 28, 2024
72e585f
Allow custom plugin to render (#784)
jlvandenhout Mar 28, 2024
253e455
changed theme and plugin to headings (#786)
tjperry07 Mar 28, 2024
7a4e93f
Ensure sidebars.ts and schemas are properly cleaned (#817)
sserrata May 6, 2024
f621777
preventing to send form onClick left/right arrows in SchemaTabs compo…
stakoov Apr 10, 2024
9732053
Add option to disable frontmatter api prop compression (#800)
sserrata May 6, 2024
58fa26b
add missing types and cast ref to LegacyRef (#818)
sserrata May 6, 2024
23c8c01
upgrade demo to docusaurus 3.3.2 (#822)
sserrata May 14, 2024
a8cffdf
fix: markdown table within the description attribute cannot be render…
htmlin Jun 17, 2024
cbca95e
Update index.tsx (#839)
Jun 17, 2024
10cda3c
fix col row padding footer&pagination (#810)
entense Jun 17, 2024
3056787
Implement the `x-tags` extension for schema objects (#837)
ElliotFriend Jun 17, 2024
65e87fd
Bug/set accept (#846)
sserrata Jun 24, 2024
e4626d4
transparent bg color when showing placeholder (#847)
sserrata Jun 24, 2024
f0d0fc4
ensure readOnly/writeOnly are evaluated first (#848)
sserrata Jun 24, 2024
ea36cfa
support empty object schema type (#849)
sserrata Jun 25, 2024
8c4ec14
upgrade to docusaurus 3.4.0 (#850)
sserrata Jun 25, 2024
3113ca2
cleanup legacy docusaurus config
sserrata Jun 26, 2024
b1f73af
cleanup legacy ApiDemoPanel component
sserrata Jun 26, 2024
4e960fd
handle various additionalProperties cases (#803)
Ugzuzg Jun 27, 2024
0a8aafc
check to avoid tagGroup config before concat operation, api, schemas …
ElliotFriend Jun 27, 2024
1122d94
[V3] Fix tagGroup display when showSchemas is configured (#852)
ElliotFriend Jun 27, 2024
8ea889e
Support custom downloadUrl for versions (#859)
sserrata Jul 1, 2024
03f3c9a
migrate back to canonical postman deps (#860)
sserrata Jul 1, 2024
2cd7890
Support flexible code snippet ordering and options (#862)
sserrata Jul 2, 2024
8437329
uncomment version dropdown styles (#863)
sserrata Jul 2, 2024
c618b4c
fix typo in attribute (#864)
sserrata Jul 2, 2024
3675c4e
Support absolute or relative downloadUrl (#865)
sserrata Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/canary-beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Canary Beta Release
on:
push:
branches:
- v2.0.0
- v3.0.0
paths:
- packages/**

Expand All @@ -14,7 +14,7 @@ jobs:
publish-canary:
name: Publish Canary Beta
runs-on: ubuntu-latest
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v2.0.0' && github.event_name == 'push' }}
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v3.0.0' && github.event_name == 'push' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,7 +30,7 @@ jobs:
git config --global user.name "Steven Serrata"
git config --global user.email "sserrata@paloaltonetworks.com"
git fetch
git checkout v2.0.0
git checkout v3.0.0
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> .npmrc
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CodeQL"

on:
push:
branches: [main, v2.0.0]
branches: [main, v3.0.0]

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Deploy Preview"

on:
pull_request_target:
branches: [main, v2.0.0]
branches: [main, v3.0.0]

jobs:
precheck:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- v2.0.0
- v3.0.0
types:
- opened
- synchronize
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Beta
on:
push:
branches:
- v2.0.0
- v3.0.0

env:
FORCE_COLOR: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: [main, v2.0.0]
branches: [main, v3.0.0]

env:
FORCE_COLOR: true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ dist
demo/**/*.api.mdx
demo/**/*.info.mdx
demo/**/*.tag.mdx
demo/**/sidebar.js
demo/**/sidebar.ts
demo/**/versions.json

4 changes: 3 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"trailingComma": "es5"
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[javascript][typescript][typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
}
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## 3.0.0-beta.3 (Dec 13, 2023)

High level enhancements

- Improve Docusaurus 3 compatibility
- Upgrade to Docusaurus 3.0.1

Other enhancements and bug fixes

- upgrade prettier
- install prettier plugin ([#681](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/681))
- [V3] Improved Docusaurus 3 compatibility ([#677](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/677))
- Prepare release v3.0.0-beta.2 ([#668](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/668))
- Port v2 changes/fixes into v3 ([#667](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/667))

## 3.0.0-beta.2 (Dec 1, 2023)

High level enhancements

- Port recent v2 changes/fixes into v3 ([#667](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/667))

## 3.0.0-beta.1 (Nov 17, 2023)

High level enhancements

- First beta release for v3.0.0

Other enhancements and bug fixes

- update v2.0.0 refs to v3.0.0
- update createSchema snapshot
- support v3.0.0 canary releases
- bump version to 3.0.0-beta.0
- re-enable all API docs
- convert contact info to markdown, update lessThan regex and escape description
- initial refactor
- Update README.md

## 2.0.0 (Nov 13, 2023)

High level enhancements
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions demo/docs/versioning.md → demo/docs/versioning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Import:

```javascript
const {
versionSelector,
versionSelector
} = require("docusaurus-plugin-openapi-docs/lib/sidebars/utils"); // imports utility
const petstoreVersions = require("./docs/petstore/versions.json"); // imports Petstore versions.json
```
Expand All @@ -102,7 +102,7 @@ Import:

```javascript
const {
versionCrumb,
versionCrumb
} = require("docusaurus-plugin-openapi-docs/lib/sidebars/utils");
```

Expand Down
Loading
Loading