Packages

@hey-api/openapi-ts

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

Your version

0.99.0

Latest22 Jun 2026Where it was published

In short

4 breaking6 new21 fixed3 internal

  • Breaking

    BREAKING plugin: rename .symbols to .imports

  • Breaking

    BREAKING config: merge duplicate plugin configurations

  • Breaking

    BREAKING plugin(@hey-api/schemas): widen schema type in nameBuilder to unknown

  • Breaking

    BREAKING plugin: remove .external() method

Release note

The section about @hey-api/openapi-ts of a note shared by several packages.

Minor Changes

  • Breaking

    BREAKING plugin: rename .symbols to .imports

To better represent its functionality, the plugin.symbols property has been renamed to plugin.imports.

  • Breaking

    BREAKING config: merge duplicate plugin configurations

Plugin duplicates behavior

If you specified the same plugin multiple times, only the last instance would be used. We eventually added a warning for this behavior, but that didn't treat the root issue. This release changes that by merging duplicate plugin configurations.

  • Breaking

    BREAKING plugin(@hey-api/schemas): widen schema type in nameBuilder to unknown

  • Breaking

    BREAKING plugin: remove .external() method

Removed plugin.external() function

This function was used to reference external symbols. All plugins now use the Imports API, which allows you to reference external symbols in a type-safe way through plugin.imports.

Patch Changes

  • api: replace ~ fields with $

  • config: add Presets API

  • plugin(@hey-api/client-angular): fix: send an empty object request body when explicitly provided in flat parameters mode

  • client: use getBaseUrl() function to determine default value

  • plugin(zod): improve discriminator handling

  • plugin(@tanstack/preact-query): fix: strip initialData from the inferred result types for infinite query options

  • plugin(@tanstack/solid-query): fix: strip initialData from the inferred result types for infinite query options

  • plugin(valibot): support custom regular expression error messages with x-pattern-message

  • plugin(@hey-api/client-next): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(@hey-api/client-axios): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(zod): support creating optional request schemas

  • plugin(@tanstack/react-query): fix: strip initialData from the inferred result types for infinite query options

  • plugin(@hey-api/client-ky): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(valibot): support creating optional request schemas

  • exports: add /plugins exported module

  • plugin(@tanstack/svelte-query): fix: strip initialData from the inferred result types for infinite query options

  • plugin(@hey-api/client-nuxt): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(zod): support custom regular expression error messages with x-pattern-message

  • plugin(@tanstack/angular-query-experimental): fix: strip initialData from the inferred result types for infinite query options

  • plugin(@hey-api/client-ofetch): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(@hey-api/client-fetch): fix: send an empty object request body when explicitly provided in flat parameters mode

  • plugin(@hey-api/typescript): improve discriminator handling

  • plugin(orpc): make .input() optional if all layers are optional

  • *parser: fix: delete unresolvable $ref keywords

  • plugin(@tanstack/vue-query): fix: strip initialData from the inferred result types for infinite query options

  • plugin(valibot): improve discriminator handling

  • exports: export plugins type helpers

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.