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.1 #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
@hey-api/openapi-ts (source) devDependencies minor 0.55.3 -> 0.60.1

Release Notes

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

v0.60.1

Compare Source

Patch Changes

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.9
@backstage-community/plugin-scaffolder-backend-module-servicenow workspaces/scaffolder-backend-module-servicenow/plugins/scaffolder-backend-module-servicenow patch v2.3.0

@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-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 941ebdc to 371ce4e Compare December 26, 2024 02:38
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 371ce4e to 9df6c04 Compare December 27, 2024 01:42
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 9df6c04 to 0902cfa Compare December 27, 2024 01:42
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 0902cfa to ac2fb57 Compare December 27, 2024 19:15
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from ac2fb57 to 3729c5d Compare December 27, 2024 19:15
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 3729c5d to 372a352 Compare December 27, 2024 21:16
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 372a352 to cc07917 Compare December 27, 2024 21:17
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from cc07917 to a4a39d6 Compare December 29, 2024 20:14
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from a4a39d6 to db5cde0 Compare December 29, 2024 20:15
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from db5cde0 to bfdc86c Compare December 29, 2024 21:15
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from bfdc86c to 1a651c5 Compare December 29, 2024 21:15
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 1a651c5 to e636182 Compare January 2, 2025 10:15
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from e636182 to e83d3d8 Compare January 2, 2025 10:15
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from e83d3d8 to d3ab84b Compare January 2, 2025 11:16
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from d3ab84b to 67ded68 Compare January 2, 2025 11:16
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 67ded68 to 512ca05 Compare January 2, 2025 22:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 512ca05 to 2e97847 Compare January 2, 2025 22:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 2e97847 to 2560069 Compare January 3, 2025 05:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 2560069 to a271ff5 Compare January 3, 2025 05:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from a271ff5 to a7c753c Compare January 3, 2025 14:13
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from a7c753c to df41e1b Compare January 3, 2025 14:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from df41e1b to 4aef367 Compare January 3, 2025 15:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 4aef367 to 1dd3197 Compare January 3, 2025 15:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 1dd3197 to c77e2cc Compare January 3, 2025 16:13
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from c77e2cc to c3b4cfd Compare January 3, 2025 16:13
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from c3b4cfd to 7783a0b Compare January 3, 2025 17:12
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 7783a0b to 9eb55fa Compare January 3, 2025 17:12
@backstage-goalie backstage-goalie bot force-pushed the renovate/hey-api-openapi-ts-0.x branch from 9eb55fa to 3beee19 Compare January 4, 2025 00:18
@backstage-service backstage-service force-pushed the renovate/hey-api-openapi-ts-0.x branch from 3beee19 to 6f06d04 Compare January 4, 2025 00: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.

2 participants