Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 28, 2025

Bumps @hey-api/openapi-ts from 0.62.3 to 0.63.0.

Release notes

Sourced from @​hey-api/openapi-ts's releases.

@​hey-api/openapi-ts@​0.63.0

Minor Changes

  • #1626 8eba19d Thanks @​mrlubos! - feat: move clients to plugins

    Client plugins

    Clients are now plugins generating their own client.gen.ts file. There's no migration needed if you're using CLI. If you're using the configuration file, move client options to plugins.

    export default {
      client: '@hey-api/client-fetch', // [!code --]
      input: 'path/to/openapi.json',
      output: 'src/client',
      plugins: ['@hey-api/client-fetch'], // [!code ++]
    };

Patch Changes

  • #1626 8eba19d Thanks @​mrlubos! - fix: move sdk.throwOnError option to client.throwOnError

    Moved sdk.throwOnError option

    This SDK configuration option has been moved to the client plugins where applicable. Not every client can be configured to throw on error, so it didn't make sense to expose the option when it didn't have any effect.

    export default {
      input: 'path/to/openapi.json',
      output: 'src/client',
      plugins: [
        {
          name: '@hey-api/client-fetch',
          throwOnError: true, // [!code ++]
        },
        {
          name: '@hey-api/sdk',
          throwOnError: true, // [!code --]
        },
      ],
    };
  • #1626 8eba19d Thanks @​mrlubos! - fix: sdks import client from client.gen.ts instead of defining it inside the file

    Added client.gen.ts file

    The internal client instance previously located in sdk.gen.ts is now defined in client.gen.ts. If you're importing it in your code, update the import module.

... (truncated)

Commits
  • c928e80 Merge pull request #1632 from hey-api/changeset-release/main
  • 6b1914d Version Packages
  • 14cc209 Merge pull request #1626 from hey-api/feat/client-api
  • 8eba19d feat: move clients to plugins
  • 3d17490 Merge pull request #1615 from hey-api/chore/compiler-updates
  • 8040010 chore: small quality of life updates
  • 5cd4bb2 Merge pull request #1608 from hey-api/dependabot/npm_and_yarn/vite-6.0.9
  • 0d6661f chore(deps-dev): bump vite from 6.0.7 to 6.0.9
  • See full diff in compare view

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) from 0.62.3 to 0.63.0.
- [Release notes](https://github.com/hey-api/openapi-ts/releases)
- [Changelog](https://github.com/hey-api/openapi-ts/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/hey-api/openapi-ts/compare/@hey-api/openapi-ts@0.62.3...@hey-api/openapi-ts@0.63.0)

---
updated-dependencies:
- dependency-name: "@hey-api/openapi-ts"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 Jan 28, 2025
@aaronzi aaronzi merged commit eb65a2a into main Jan 28, 2025
4 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hey-api/openapi-ts-0.63.0 branch January 28, 2025 14:55
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.

1 participant