diff --git a/.changeset/tricky-papayas-burn.md b/.changeset/tricky-papayas-burn.md new file mode 100644 index 0000000000..9726591757 --- /dev/null +++ b/.changeset/tricky-papayas-burn.md @@ -0,0 +1,5 @@ +--- +"@redocly/cli": patch +--- + +Updated Redoc to v2.5.0. diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 4112fdf4f7..d01cb5f1a3 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -12,7 +12,7 @@ jobs: env: PR_TITLE: ${{ github.event.pull_request.title }} run: | - if ! echo "$PR_TITLE" | grep -E "^(fix|feat|chore|docs)(\([a-z-]+\))?: (🔖 |🧪 )?[a-z].+[^.]$"; then + if ! echo "$PR_TITLE" | grep -E "^(fix|feat|chore|docs)(\([a-z0-9-]+\))?: (🔖 |🧪 )?[a-z].+[^.]$"; then echo "❌ PR title '$PR_TITLE' does not match the required format" echo "Required format: type(scope): subject" echo "Examples:" diff --git a/__tests__/build-docs/simple-build-docs/snapshot.js b/__tests__/build-docs/simple-build-docs/snapshot.js index 0426265988..e5014c62bb 100644 --- a/__tests__/build-docs/simple-build-docs/snapshot.js +++ b/__tests__/build-docs/simple-build-docs/snapshot.js @@ -4,7 +4,7 @@ exports[`E2E build-docs simple build-docs 1`] = ` Found undefined and using theme.openapi options Prerendering docs -🎉 bundled successfully in: redoc-static.html (330 KiB) [⏱ ms]. +🎉 bundled successfully in: redoc-static.html (332 KiB) [⏱ ms]. `; diff --git a/__tests__/commands.test.ts b/__tests__/commands.test.ts index 5b07e2f8c9..99aa9d5879 100644 --- a/__tests__/commands.test.ts +++ b/__tests__/commands.test.ts @@ -667,7 +667,7 @@ describe('E2E', () => { (expect(cleanupOutput(result))).toMatchSpecificSnapshot(join(testPath, 'snapshot.js')); expect(fs.existsSync(join(testPath, 'nested/redoc-static.html'))).toEqual(true); - expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(36238); + expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(36309); }); }); diff --git a/__tests__/smoke/pre-built/redoc.html b/__tests__/smoke/pre-built/redoc.html index 8e1b629cbe..bcebd6e157 100644 --- a/__tests__/smoke/pre-built/redoc.html +++ b/__tests__/smoke/pre-built/redoc.html @@ -12,7 +12,7 @@ margin: 0; } -