Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/bump-swagger-ui-5-35-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chanfana": patch
---

Bump Swagger UI to 5.35.0
9 changes: 9 additions & 0 deletions .changeset/redoc-three-migration.md
Original file line number Diff line number Diff line change
@@ -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()`.
14 changes: 0 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Loading