unstale

npm / @hono/standard-validator

@hono/standard-validator

What changed in @hono/standard-validator 0.2 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking1 new APIs and options5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@hono/standard-validator 0.42 changes

New APIs and options 1

  • Adds a utility to sort errors by form and field errors, with field errors also sorted by path.

    0.4.0release notes

Fixes and other changes 1

  • The default 400 response body for header validation no longer includes the cookie header.

    0.4.1release notes

@hono/standard-validator 0.31 changes

Breaking changes 1

  • Uses InferInput from hono/validator instead of a local copy to avoid duplication; requires hono >=4.11.2.

    0.3.0release notes

@hono/standard-validator 0.24 changes

Fixes and other changes 4

  • Uses InferInput rather than InferOutput for hook data, matching the raw input value passed to the hook at runtime.

    0.2.3release notes

  • Preserves literal union types in the RPC client's input type, while retaining wire-level types for non-literal values.

    0.2.3release notes

  • Fixes an undefined Response type.

    0.2.1release notes

  • Error handling now respects the type of Response returned by the hook.

    0.2.0release notes