Skip to content

build(deps): bump the prod-deps group across 1 directory with 3 updates#44

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/packages/worker/prod-deps-7b94e89104
Open

build(deps): bump the prod-deps group across 1 directory with 3 updates#44
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/packages/worker/prod-deps-7b94e89104

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps the prod-deps group with 3 updates in the /packages/worker directory: chanfana, hono and zod.

Updates chanfana from 2.8.3 to 3.3.0

Release notes

Sourced from chanfana's releases.

v3.3.0

Minor Changes

  • #316 d30cc36 Thanks @​G4brym! - Add customizable pagination and ordering parameter names to ListEndpoint via pageFieldName, perPageFieldName, orderByFieldName, and orderByDirectionFieldName class properties.

    Breaking change for subclasses overriding optionFields: optionFields is now a computed getter derived from the four *FieldName properties. Subclasses that previously overrode optionFields directly should instead override the individual field name properties.

  • #317 39c89d2 Thanks @​G4brym! - Add validateResponse router option to validate and sanitize response bodies against their Zod schemas at runtime.

    When enabled, responses are parsed through z.object().parseAsync(), which strips unknown fields and validates required fields/types. This prevents accidental data leaks (e.g., internal fields like passwordHash reaching the client) and catches handler bugs where the response doesn't match the declared schema.

    const router = fromHono(app, { validateResponse: true });

    Behavior:

    • Plain object responses are validated against the 200 response schema
    • Response objects with application/json content are cloned, validated, and reconstructed with corrected headers
    • Non-JSON responses and responses without a matching Zod schema are passed through unchanged
    • Validation failures return 500 Internal Server Error (code 7013) and log the full error via console.error

    New exports:

    • ResponseValidationException — thrown when a handler's response doesn't match its declared schema (status 500, code 7013, isVisible: false)
  • #315 47d304a Thanks @​G4brym! - Add SerializerContext parameter to auto endpoint serializer function, providing access to filters and options for context-aware serialization.

    The serializer signature changes from (obj: object) => object to (obj: object, context?: SerializerContext) => object. The SerializerContext type contains:

    • filtersArray<FilterCondition>: the active filter conditions for the current request
    • options — pagination and ordering options (page, per_page, order_by, order_by_direction)

    Context passed per endpoint type:

    Endpoint Context
    ListEndpoint / ReadEndpoint { filters, options }
    UpdateEndpoint / DeleteEndpoint { filters }
    CreateEndpoint { filters: [] }
    const meta = {
      model: {
        schema: UserSchema,
        primaryKeys: ["id"],
        tableName: "users",
        serializer: (obj: any, context?: SerializerContext) => {
          const hasRoleFilter = context?.filters?.some((f) => f.field === "role");
          // Conditionally include fields based on active filters

... (truncated)

Changelog

Sourced from chanfana's changelog.

3.3.0

Minor Changes

  • #316 d30cc36 Thanks @​G4brym! - Add customizable pagination and ordering parameter names to ListEndpoint via pageFieldName, perPageFieldName, orderByFieldName, and orderByDirectionFieldName class properties.

    Breaking change for subclasses overriding optionFields: optionFields is now a computed getter derived from the four *FieldName properties. Subclasses that previously overrode optionFields directly should instead override the individual field name properties.

  • #317 39c89d2 Thanks @​G4brym! - Add validateResponse router option to validate and sanitize response bodies against their Zod schemas at runtime.

    When enabled, responses are parsed through z.object().parseAsync(), which strips unknown fields and validates required fields/types. This prevents accidental data leaks (e.g., internal fields like passwordHash reaching the client) and catches handler bugs where the response doesn't match the declared schema.

    const router = fromHono(app, { validateResponse: true });

    Behavior:

    • Plain object responses are validated against the 200 response schema
    • Response objects with application/json content are cloned, validated, and reconstructed with corrected headers
    • Non-JSON responses and responses without a matching Zod schema are passed through unchanged
    • Validation failures return 500 Internal Server Error (code 7013) and log the full error via console.error

    New exports:

    • ResponseValidationException — thrown when a handler's response doesn't match its declared schema (status 500, code 7013, isVisible: false)
  • #315 47d304a Thanks @​G4brym! - Add SerializerContext parameter to auto endpoint serializer function, providing access to filters and options for context-aware serialization.

    The serializer signature changes from (obj: object) => object to (obj: object, context?: SerializerContext) => object. The SerializerContext type contains:

    • filtersArray<FilterCondition>: the active filter conditions for the current request
    • options — pagination and ordering options (page, per_page, order_by, order_by_direction)

    Context passed per endpoint type:

    Endpoint Context
    ListEndpoint / ReadEndpoint { filters, options }
    UpdateEndpoint / DeleteEndpoint { filters }
    CreateEndpoint { filters: [] }
    const meta = {
      model: {
        schema: UserSchema,
        primaryKeys: ["id"],
        tableName: "users",
        serializer: (obj: any, context?: SerializerContext) => {
          const hasRoleFilter = context?.filters?.some((f) => f.field === "role");

... (truncated)

Commits
  • c305d32 Version Packages (#327)
  • 028c256 Change case of Hono in build command (#335)
  • 15932ca fix: correct dead link in docs advanced-topics-patterns (#329)
  • 662ff72 feat: include CHANGELOG.md in npm package and add docs changelog page (#328)
  • d30cc36 feat: add customizable pagination and ordering parameter names (#316)
  • 47d304a feat: add serializer context + validateResponse option (#315)
  • 39c89d2 feat: add response body validation via validateResponse option (#317)
  • ae7b3ee Version Packages (#326)
  • c182e59 feat: export OrderByDirection type alias (#325)
  • 8353f7e fix: resolve VitePress dead link build error (#324)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for chanfana since your current version.


Updates hono from 4.10.7 to 4.12.9

Release notes

Sourced from hono's releases.

v4.12.9

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.8...v4.12.9

v4.12.8

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.7...v4.12.8

v4.12.7

Security hardening

Ignore __proto__ path segments in parseBody({ dot: true }) to prevent potential prototype pollution when merged with unsafe patterns.


Full Changelog: honojs/hono@v4.12.6...v4.12.7

v4.12.6

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.5...v4.12.6

v4.12.5

What's Changed

... (truncated)

Commits
  • e1ae0eb 4.12.9
  • 66fe9fe fix(cors): reflect request origin when credentials is true with wildcard (#4813)
  • 50e2611 fix(service-worker): make fire() fallback behavior consistent with `handle(...
  • be85106 fix(ssg): pass SSG_CONTEXT to forGetInfoURLRequest (#4810)
  • d1722e3 feat(client): add PickResponseByStatusCode type (#4791)
  • 8bd9ddd fix(request): remove parseBody from bodyCache to prevent TypeError (#4807)
  • fe689ec 4.12.8
  • 0c0bf8d fix(bearer-auth): escape regex metacharacters in bearer auth prefix option (#...
  • 488ea6a fix(utils/mime): Normalize input extension to lowercase before MIME check (#4...
  • b0aba5b 4.12.7
  • Additional commits viewable in compare view

Updates zod from 3.25.76 to 4.3.6

Release notes

Sourced from zod's releases.

v4.3.6

Commits:

  • 9977fb0868432461de265a773319e80a90ba3e37 Add brand.dev to sponsors
  • f4b7bae3468f6188b8f004e007d722148fc91d77 Update pullfrog.yml (#5634)
  • 251d7163a0ac7740fee741428d913e3c55702ace Clean up workflow_call
  • edd4132466da0f5065a8e051b599d01fdd1081d8 fix: add missing User-agent to robots.txt and allow all (#5646)
  • 85db85e9091d0706910d60c7eb2e9c181edd87bd fix: typo in codec.test.ts file (#5628)
  • cbf77bb12bdfda2e054818e79001f5cb3798ce76 Avoid non null assertion (#5638)
  • dfbbf1c1ae0c224b8131d80ddf0a264262144086 Avoid re-exported star modules (#5656)
  • 762e911e5773f949452fd6dd4e360f2362110e8e Generalize numeric key handling
  • ca3c8629c0c2715571f70b44c2433cad3db7fe4e v4.3.6

v4.3.5

Commits:

  • 21afffdb42ccab554036312e33fed0ea3cb8f982 [Docs] Update migration guide docs for deprecation of message (#5595)
  • e36743e513aadb307b29949a80d6eb0dcc8fc278 Improve mini treeshaking
  • 0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c 4.3.5

v4.3.4

Commits:

  • 1a8bea3b474eada6f219c163d0d3ad09fadabe72 Add integration tests
  • e01cd02b2f23d7e9078d3813830b146f8a2258b4 Support patternProperties for looserecord (#5592)
  • 089e5fbb0f58ce96d2c4fb34cd91724c78df4af5 Improve looseRecord docs
  • decef9c418d9a598c3f1bada06891ba5d922c5cd Fix lint
  • 9443aab00d44d5d5f4a7eada65fc0fc851781042 Drop iso time in fromJSONSchema
  • 66bda7491a1b9eab83bdeec0c12f4efc7290bd48 Remove .refine() from ZodMiniType
  • b4ab94ca608cd5b581bfc12b20dd8d95b35b3009 4.3.4

v4.3.3

Commits:

  • f3b2151959d215d405f54dff3c7ab3bf1fd887ca v4.3.3

v4.3.2

Commits:

  • bf96635d243118de6e4f260077aa137453790bf6 Loosen strictObjectinside intersection (#5587)
  • f71dc0182ab0f0f9a6be6295b07faca269e10179 Remove Juno (#5590)
  • 0f41e5a12a43e6913c9dcb501b2b5136ea86500d 4.3.2

v4.3.1

Commits:

  • 0fe88407a4149c907929b757dc6618d8afe998fc allow non-overwriting extends with refinements. 4.3.1

v4.3.0

This is Zod's biggest release since 4.0. It addresses several of Zod's longest-standing feature requests.

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the prod-deps group with 3 updates in the /packages/worker directory: [chanfana](https://github.com/cloudflare/chanfana), [hono](https://github.com/honojs/hono) and [zod](https://github.com/colinhacks/zod).


Updates `chanfana` from 2.8.3 to 3.3.0
- [Release notes](https://github.com/cloudflare/chanfana/releases)
- [Changelog](https://github.com/cloudflare/chanfana/blob/main/CHANGELOG.md)
- [Commits](cloudflare/chanfana@v2.8.3...v3.3.0)

Updates `hono` from 4.10.7 to 4.12.9
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.10.7...v4.12.9)

Updates `zod` from 3.25.76 to 4.3.6
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.3.6)

---
updated-dependencies:
- dependency-name: chanfana
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod-deps
- dependency-name: hono
  dependency-version: 4.12.9
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-deps
- dependency-name: zod
  dependency-version: 4.3.6
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 23, 2026
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