Packages

@hey-api/openapi-ts

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

Your version

0.85.0

6 Oct 2025Where it was published

0.99.0 is the newest release of 0.85.x.

In short

3 new1 internal

Security

1 advisory affects 0.85.0; 0.97.3 fixes them

Release note

Updated output options

We made the output configuration more consistent by using null to represent disabled options. This change does not affect boolean options.

export default {
  input: 'hey-api/backend', // sign up at app.heyapi.dev
  output: {
    format: null,
    lint: null,
    path: 'src/client',
    tsConfigPath: null,
  },
};

Patch Changes

  • Support multiple configurations

  • config: Add output.importFileExtension option

  • pinia-colada: Query options use defineQueryOptions

Updated Pinia Colada query options

Pinia Colada query options now use defineQueryOptions to improve reactivity support. Instead of calling the query options function, you can use one of the following approaches.

No params

useQuery(getPetsQuery);

Constant

useQuery(getPetByIdQuery, () => ({
  path: {
    petId: 1,
  },
}));

Reactive

const petId = ref<number | null>(1);

useQuery(getPetByIdQuery, () => ({
  path: {
    petId: petId.value,
  },
}));

Properties

const petId = ref<number | null>(1);

useQuery(() => ({
  ...getPetByIdQuery({
    path: { petId: petId.value as number },
  }),
  enabled: () => petId.value != null,
}));

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.