Skip to content

build(deps): bump chanfana from 3.0.0 to 3.2.1#455

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/chanfana-3.2.1
Open

build(deps): bump chanfana from 3.0.0 to 3.2.1#455
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/chanfana-3.2.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps chanfana from 3.0.0 to 3.2.1.

Release notes

Sourced from chanfana's releases.

v3.2.1

Patch Changes

  • #325 c182e59 Thanks @​G4brym! - Export OrderByDirection type alias ("asc" | "desc") so consumers can import it directly instead of inlining literal unions

  • #325 c182e59 Thanks @​G4brym! - Add passthroughErrors option to bypass chanfana's error handling and let errors propagate raw to the framework's error handler

    import { Hono } from "hono";
    import { fromHono, ApiException } from "chanfana";
    import { ZodError } from "zod";
    const app = new Hono();
    app.onError((err, c) => {
    // Errors arrive as raw exceptions — no HTTPException wrapping
    if (err instanceof ApiException) {
    return c.json(
    { ok: false, code: err.code, message: err.message },
    err.status as any
    );
    }
    if (err instanceof ZodError) {
    return c.json({ ok: false, validationErrors: err.issues }, 400);
    }
    return c.json({ ok: false, message: "Internal Server Error" }, 500);
    });
    const openapi = fromHono(app, { passthroughErrors: true });

v3.2.0

Minor Changes

  • #314 2408999 Thanks @​G4brym! - Add tags support to auto endpoint _meta for OpenAPI tag grouping

  • #323 d9b7297 Thanks @​G4brym! - Add handleError hook, defaultOrderByDirection, fix validation error format and D1 update with extra columns

    • Add handleError(error) protected method on OpenAPIRoute to transform errors before chanfana formats them. Enables custom error wrapping (e.g., bypassing chanfana's formatter to use Hono's onError).

    • Add defaultOrderByDirection property to ListEndpoint (defaults to "asc"). Allows configuring the default sort direction when orderByFields is used.

    • Breaking: Validation errors from validateRequest() now return InputValidationException format instead of raw Zod issues. This makes the actual response match the OpenAPI schema that chanfana documents. If you parse validation error responses, update your code to use the new shape:

      Before:

      {
        "errors": [
          {

... (truncated)

Changelog

Sourced from chanfana's changelog.

3.2.1

Patch Changes

  • #325 c182e59 Thanks @​G4brym! - Export OrderByDirection type alias ("asc" | "desc") so consumers can import it directly instead of inlining literal unions

  • #325 c182e59 Thanks @​G4brym! - Add passthroughErrors option to bypass chanfana's error handling and let errors propagate raw to the framework's error handler

    import { Hono } from "hono";
    import { fromHono, ApiException } from "chanfana";
    import { ZodError } from "zod";
    const app = new Hono();
    app.onError((err, c) => {
    // Errors arrive as raw exceptions — no HTTPException wrapping
    if (err instanceof ApiException) {
    return c.json(
    { ok: false, code: err.code, message: err.message },
    err.status as any
    );
    }
    if (err instanceof ZodError) {
    return c.json({ ok: false, validationErrors: err.issues }, 400);
    }
    return c.json({ ok: false, message: "Internal Server Error" }, 500);
    });
    const openapi = fromHono(app, { passthroughErrors: true });

3.2.0

Minor Changes

  • #314 2408999 Thanks @​G4brym! - Add tags support to auto endpoint _meta for OpenAPI tag grouping

  • #323 d9b7297 Thanks @​G4brym! - Add handleError hook, defaultOrderByDirection, fix validation error format and D1 update with extra columns

    • Add handleError(error) protected method on OpenAPIRoute to transform errors before chanfana formats them. Enables custom error wrapping (e.g., bypassing chanfana's formatter to use Hono's onError).

    • Add defaultOrderByDirection property to ListEndpoint (defaults to "asc"). Allows configuring the default sort direction when orderByFields is used.

    • Breaking: Validation errors from validateRequest() now return InputValidationException format instead of raw Zod issues. This makes the actual response match the OpenAPI schema that chanfana documents. If you parse validation error responses, update your code to use the new shape:

      Before:

      {
        "errors": [
          {

... (truncated)

Commits
  • ae7b3ee Version Packages (#326)
  • c182e59 feat: export OrderByDirection type alias (#325)
  • 8353f7e fix: resolve VitePress dead link build error (#324)
  • a1a84b6 Version Packages (#322)
  • d9b7297 feat: add handleError hook, defaultOrderByDirection, fix validation error for...
  • eb00438 fix: use script file for changeset version command (#321)
  • 2513f3f fix: wrap changeset version command in bash for shell operator support (#320)
  • 2408999 feat: add tags support to auto endpoint _meta (#314)
  • c6192ff fix: flatten template D1 migration to single SQL file (#319)
  • 9534c7c docs: add deploy button and template quick start, switch to wrangler.jsonc (#...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 2, 2026
@github-actions github-actions bot enabled auto-merge March 2, 2026 20:55
Bumps [chanfana](https://github.com/cloudflare/chanfana) from 3.0.0 to 3.2.1.
- [Release notes](https://github.com/cloudflare/chanfana/releases)
- [Changelog](https://github.com/cloudflare/chanfana/blob/main/CHANGELOG.md)
- [Commits](cloudflare/chanfana@v3.0.0...v3.2.1)

---
updated-dependencies:
- dependency-name: chanfana
  dependency-version: 3.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chanfana-3.2.1 branch from 53306a6 to 757f824 Compare March 4, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants