Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @hey-api/openapi-ts to v0.60.0 #2099

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

backstage-goalie[bot]
Copy link
Contributor

@backstage-goalie backstage-goalie bot commented Nov 29, 2024

This PR contains the following updates:

Package Type Update Change Pending
@hey-api/openapi-ts (source) devDependencies minor 0.55.3 -> 0.60.0 0.60.1

Release Notes

hey-api/openapi-ts (@​hey-api/openapi-ts)

v0.60.0

Compare Source

Minor Changes
Added sdk.transformer option
When generating SDKs, you now have to specify `transformer` in order to modify response data. By default, adding `@hey-api/transformers` to your plugins will only produce additional output. To preserve the previous functionality, set `sdk.transformer` to `true`.

```js
import { defaultPlugins } from '@​hey-api/openapi-ts';

export default {
  client: '@​hey-api/client-fetch',
  input: 'path/to/openapi.json',
  output: 'src/client',
  plugins: [
    ...defaultPlugins,
    {
      dates: true,
      name: '@​hey-api/transformers',
    },
    {
      name: '@​hey-api/sdk',
      transformer: true, // [!code ++]
    },
  ],
};
```
Patch Changes

v0.59.2

Compare Source

Patch Changes

v0.59.1

Compare Source

Patch Changes

v0.59.0

Compare Source

Minor Changes
Added logs.level option
You can now configure different log levels. As part of this feature, we had to introduce a breaking change by moving the `debug` option to `logs.level`. This will affect you if you're calling `@hey-api/openapi-ts` from Node.js (not CLI) or using the configuration file.

```js
export default {
  client: '@​hey-api/client-fetch',
  debug: true, // [!code --]
  input: 'path/to/openapi.json',
  logs: {
    level: 'debug', // [!code ++]
  },
  output: 'src/client',
};
```
Updated default plugins
`@hey-api/schemas` has been removed from the default plugins. To continue using it, add it to your plugins array.

```js
import { defaultPlugins } from '@​hey-api/openapi-ts';

export default {
  client: '@​hey-api/client-fetch',
  experimentalParser: true,
  input: 'path/to/openapi.json',
  output: 'src/client',
  plugins: [
    ...defaultPlugins,
    '@​hey-api/schemas', // [!code ++]
  ],
};
```
Patch Changes

v0.58.0

Compare Source

Minor Changes
Added typescript.identifierCase option
**This change affects only the experimental parser.** By default, the generated TypeScript interfaces will follow the PascalCase naming convention. In the previous versions, we tried to preserve the original name as much as possible. To keep the previous behavior, set `typescript.identifierCase` to `preserve`.

```js
export default {
  client: '@​hey-api/client-fetch',
  experimentalParser: true,
  input: 'path/to/openapi.json',
  output: 'src/client',
  plugins: [
    // ...other plugins
    {
      identifierCase: 'preserve', // [!code ++]
      name: '@​hey-api/typescript',
    },
  ],
};
```
Removed schemas.gen.ts re-export
`index.ts` will no longer re-export `schemas.gen.ts` to reduce the chance of producing broken output. Please update your code to import from `schemas.gen.ts` directly.

```js
import { mySchema } from 'client'; // [!code --]
import { mySchema } from 'client/schemas.gen'; // [!code ++]
```
Removed transformers.gen.ts re-export
`index.ts` will no longer re-export `transformers.gen.ts` to reduce the chance of producing broken output. Please update your code to import from `transformers.gen.ts` directly.

```js
import { myTransformer } from 'client'; // [!code --]
import { myTransformer } from 'client/transformers.gen'; // [!code ++]
```
Added output.clean option
By default, the `output.path` folder will be emptied on every run. To preserve the previous behavior, set `output.clean` to `false`.

```js
export default {
  client: '@​hey-api/client-fetch',
  input: 'path/to/openapi.json',
  output: {
    clean: false, // [!code ++]
    path: 'src/client',
  },
};
```
Patch Changes

v0.57.1

Compare Source

Patch Changes

v0.57.0

Compare Source

Minor Changes
Renamed @hey-api/services plugin
This plugin has been renamed to `@hey-api/sdk`.
Changed sdk.output value
To align with the updated name, the `@hey-api/sdk` plugin will generate an `sdk.gen.ts` file. This will result in a breaking change if you're importing from `services.gen.ts`. Please update your imports to reflect this change.

```js
import { client } from 'client/services.gen'; // [!code --]
import { client } from 'client/sdk.gen'; // [!code ++]
```
Renamed @hey-api/types plugin
This plugin has been renamed to `@hey-api/typescript`.
Added typescript.exportInlineEnums option
By default, inline enums (enums not defined as reusable components in the input file) will be generated only as inlined union types. You can set `exportInlineEnums` to `true` to treat inline enums as reusable components. When `true`, the exported enums will follow the style defined in `enums`.

This is a breaking change since in the previous versions, inline enums were always treated as reusable components. To preserve your current output, set `exportInlineEnums` to `true`. This feature works only with the experimental parser.

```js
export default {
  client: '@​hey-api/client-fetch',
  experimentalParser: true,
  input: 'path/to/openapi.json',
  output: 'src/client',
  plugins: [
    // ...other plugins
    {
      exportInlineEnums: true, // [!code ++]
      name: '@​hey-api/typescript',
    },
  ],
};
```
Patch Changes

v0.56.3

Compare Source

Patch Changes

v0.56.2

Compare Source

Patch Changes

v0.56.1

Compare Source

Patch Changes

v0.56.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@backstage-goalie backstage-goalie bot requested review from schultzp2020 and a team as code owners November 29, 2024 15:09
@backstage-goalie backstage-goalie bot added the dependencies Pull requests that update a dependency file label Nov 29, 2024
@backstage-goalie
Copy link
Contributor Author

backstage-goalie bot commented Nov 29, 2024

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-nexus-repository-manager workspaces/nexus-repository-manager/plugins/nexus-repository-manager patch v1.10.8
@backstage-community/plugin-scaffolder-backend-module-servicenow workspaces/scaffolder-backend-module-servicenow/plugins/scaffolder-backend-module-servicenow patch v2.2.4

@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from b69f7d2 to 0c71b96 Compare November 29, 2024 15:10
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0c71b96 to 50850eb Compare November 29, 2024 18:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 50850eb to e604cb1 Compare November 29, 2024 18:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from e604cb1 to ef3313d Compare November 29, 2024 19:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from ef3313d to 5602d72 Compare November 29, 2024 19:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 5602d72 to 8845323 Compare November 29, 2024 20:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 8845323 to 512ba18 Compare November 29, 2024 20:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 512ba18 to 1b7c643 Compare November 29, 2024 21:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 1b7c643 to d2228d6 Compare November 29, 2024 21:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from d2228d6 to 4c8e3b5 Compare December 1, 2024 18:13
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 4c8e3b5 to 56ea224 Compare December 1, 2024 18:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 56ea224 to d792fa3 Compare December 1, 2024 19:13
@backstage-goalie backstage-goalie bot changed the title chore(deps): update dependency @hey-api/openapi-ts to v0.57.1 Update dependency @hey-api/openapi-ts to v0.57.1 Dec 1, 2024
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from d792fa3 to 616924d Compare December 1, 2024 19:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 616924d to f0cd15a Compare December 3, 2024 15:23
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from f0cd15a to 83d8d4a Compare December 3, 2024 15:23
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 83d8d4a to ce796bc Compare December 3, 2024 16:22
@backstage-goalie backstage-goalie bot changed the title Update dependency @hey-api/openapi-ts to v0.57.1 chore(deps): update dependency @hey-api/openapi-ts to v0.57.1 Dec 3, 2024
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from ce796bc to 42a0f78 Compare December 3, 2024 16:22
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 42a0f78 to 9c7dd16 Compare December 4, 2024 20:13
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 9c7dd16 to 312bcf2 Compare December 4, 2024 20:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 312bcf2 to 4747168 Compare December 4, 2024 23:11
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 4747168 to 0ef672e Compare December 4, 2024 23:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0ef672e to 192a32f Compare December 5, 2024 08:10
@backstage-goalie backstage-goalie bot changed the title chore(deps): update dependency @hey-api/openapi-ts to v0.57.1 chore(deps): update dependency @hey-api/openapi-ts to v0.58.0 Dec 5, 2024
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 75a34a9 to 60c9475 Compare December 18, 2024 08:22
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 60c9475 to e93cf31 Compare December 18, 2024 08:22
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from e93cf31 to 4d0f2ab Compare December 18, 2024 12:22
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 4d0f2ab to 4a8c18d Compare December 18, 2024 12:22
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 4a8c18d to a90f966 Compare December 18, 2024 14:26
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from a90f966 to 3e4e448 Compare December 18, 2024 14:26
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 3e4e448 to b631ae4 Compare December 18, 2024 16:22
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from b631ae4 to f79c446 Compare December 18, 2024 16:22
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from f79c446 to 15c925c Compare December 18, 2024 17:20
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 15c925c to b65b9be Compare December 18, 2024 17:21
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from b65b9be to 2948d21 Compare December 18, 2024 18:21
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 2948d21 to 0a02d86 Compare December 18, 2024 18:22
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0a02d86 to 3eb9cef Compare December 18, 2024 21:21
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 3eb9cef to 983f7f7 Compare December 18, 2024 21:21
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 983f7f7 to c74dbc3 Compare December 19, 2024 14:23
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from c74dbc3 to 900c880 Compare December 19, 2024 14:23
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 900c880 to e101354 Compare December 19, 2024 15:20
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from e101354 to f3536cc Compare December 19, 2024 15:21
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from f3536cc to 0fb7bef Compare December 19, 2024 23:19
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0fb7bef to 97ef3fe Compare December 19, 2024 23:19
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 97ef3fe to 0b0c676 Compare December 20, 2024 13:22
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0b0c676 to 9019408 Compare December 20, 2024 13:23
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 9019408 to e7a9300 Compare December 20, 2024 14:17
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from e7a9300 to 644d11c Compare December 20, 2024 14:18
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 644d11c to ded709e Compare December 20, 2024 21:10
@backstage-goalie backstage-goalie bot changed the title chore(deps): update dependency @hey-api/openapi-ts to v0.59.2 chore(deps): update dependency @hey-api/openapi-ts to v0.60.0 Dec 20, 2024
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from ded709e to 280b5d1 Compare December 20, 2024 21:11
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 280b5d1 to c564ce2 Compare December 20, 2024 23:17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from c564ce2 to 8733fe6 Compare December 20, 2024 23:18
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant