diff --git a/.changeset/bump-swagger-ui-5-35-0.md b/.changeset/bump-swagger-ui-5-35-0.md new file mode 100644 index 00000000..40f5d505 --- /dev/null +++ b/.changeset/bump-swagger-ui-5-35-0.md @@ -0,0 +1,5 @@ +--- +"chanfana": patch +--- + +Bump Swagger UI to 5.35.0 diff --git a/.changeset/redoc-three-migration.md b/.changeset/redoc-three-migration.md new file mode 100644 index 00000000..55906a6f --- /dev/null +++ b/.changeset/redoc-three-migration.md @@ -0,0 +1,9 @@ +--- +"chanfana": major +--- + +Upgrade the bundled documentation page from Redoc 2.1.5 to Redoc 3.1.0, loading the pinned CDN bundle as an ES module with updated subresource integrity. + +Redoc 3 changes the documentation layout, deep links, and supported configuration options. Update `redoc_options` using the Redoc migration guide: https://redocly.com/docs/redoc/config-migration. For example, `disable-search` was removed, `hide-download-button` became `hide-download-buttons`, and `json-sample-expand-level` became `json-samples-expand-level`. Legacy options are passed through without translation. + +Disable Redoc telemetry by default. To enable it explicitly, set `redoc_options: { "disable-telemetry": false }` or pass the same option to `getReDocUI()`. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f52076a..8ae0d999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,5 @@ # chanfana -## 4.0.0 - -### Major Changes - -- [#393](https://github.com/cloudflare/chanfana/pull/393) [`3271503`](https://github.com/cloudflare/chanfana/commit/3271503f7081656e6fd126727e928f3155f28364) Thanks [@rafamolina1](https://github.com/rafamolina1)! - Upgrade the bundled documentation page from Redoc 2.1.5 to Redoc 3.1.0, loading the pinned CDN bundle as an ES module with updated subresource integrity. - - Redoc 3 changes the documentation layout, deep links, and supported configuration options. Update `redoc_options` using the Redoc migration guide: https://redocly.com/docs/redoc/config-migration. For example, `disable-search` was removed, `hide-download-button` became `hide-download-buttons`, and `json-sample-expand-level` became `json-samples-expand-level`. Legacy options are passed through without translation. - - Disable Redoc telemetry by default. To enable it explicitly, set `redoc_options: { "disable-telemetry": false }` or pass the same option to `getReDocUI()`. - -### Patch Changes - -- [#396](https://github.com/cloudflare/chanfana/pull/396) [`ca9b21a`](https://github.com/cloudflare/chanfana/commit/ca9b21a9cb472ae2acdb8c04d314869e3f54f577) Thanks [@G4brym](https://github.com/G4brym)! - Bump Swagger UI to 5.35.0 - ## 3.6.0 ### Minor Changes diff --git a/package.json b/package.json index ac49d32d..2f52b887 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chanfana", - "version": "4.0.0", + "version": "3.6.0", "description": "OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/template/package.json b/template/package.json index 5d09644d..47c3eb10 100644 --- a/template/package.json +++ b/template/package.json @@ -14,7 +14,7 @@ "db:migrate:remote": "wrangler d1 migrations apply tasks-db --remote" }, "dependencies": { - "chanfana": "^4.0.0", + "chanfana": "^3.6.0", "hono": "^4.13.14", "zod": "^4.6.7" },