Packages

@hey-api/openapi-ts

0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed

Your version

0.95.0

2 Apr 2026Where it was published

0.99.0 is the newest release of 0.95.x.

In short

1 removed1 new9 fixed2 internal

  • Removed

    plugin(zod): remove request data schema

Security

1 advisory affects 0.95.0; 0.97.3 fixes them

Release note

Minor Changes

  • plugin(valibot): remove request data schema

Validator request schemas

Valibot plugin no longer exports composite request Data schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with shouldExtract:

export default {
  input: "hey-api/backend", // sign up at app.heyapi.dev
  output: "src/client",
  plugins: [
    // ...other plugins
    {
      name: "sdk",
      validator: "valibot",
    },
    {
      name: "valibot",
      requests: {
        shouldExtract: true,
      },
    },
  ],
};

Removed plugin.getSymbol() function

This function has been removed. You can use plugin.querySymbol() instead. It accepts the same arguments and returns the same result.

  • Removed

    plugin(zod): remove request data schema

Validator request schemas

Zod plugin no longer exports composite request Data schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with shouldExtract:

export default {
  input: "hey-api/backend", // sign up at app.heyapi.dev
  output: "src/client",
  plugins: [
    // ...other plugins
    {
      name: "sdk",
      validator: "zod",
    },
    {
      name: "zod",
      requests: {
        shouldExtract: true,
      },
    },
  ],
};

Patch Changes

  • plugin(@hey-api/client-axios): fix: improve beforeRequest typing

  • plugin(zod): export request body, path, query, and headers schemas

  • plugin(@hey-api/client-ky): fix: improve beforeRequest typing

  • plugin(@hey-api/client-next): fix: improve beforeRequest typing

  • plugin(@hey-api/client-angular): fix: improve beforeRequest typing

  • plugin(orpc): fix: adjust input shape

  • plugin(@hey-api/client-fetch): fix: improve beforeRequest typing

  • plugin(valibot): export request body, path, query, and headers schemas

  • plugin(@hey-api/sdk): improve types for SSE events

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.