Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2024

This PR contains the following updates:

Package Change Age Confidence
openapi-typescript (source) ^6.2.1 -> ^7.0.0 age confidence

Release Notes

openapi-ts/openapi-typescript (openapi-typescript)

v7.10.1

Compare Source

Patch Changes

v7.10.0

Compare Source

Minor Changes

v7.9.1

Compare Source

Patch Changes

v7.9.0

Compare Source

Minor Changes

v7.8.0

Compare Source

Minor Changes

v7.7.3

Compare Source

Patch Changes

v7.7.2

Compare Source

Patch Changes

v7.7.1

Compare Source

Patch Changes

v7.7.0

Compare Source

Minor Changes
Patch Changes

v7.6.1

Compare Source

Patch Changes

v7.6.0

Compare Source

Minor Changes

v7.5.2

Compare Source

Patch Changes

v7.5.1

Compare Source

Patch Changes

v7.5.0

Compare Source

Minor Changes

v7.4.4

Compare Source

Patch Changes

v7.4.3

Compare Source

Patch Changes

v7.4.2

Compare Source

Patch Changes

v7.4.1

Compare Source

Patch Changes

v7.4.0

Compare Source

Minor Changes

v7.3.3

Compare Source

Patch Changes
  • #​1877 94592a4 Thanks @​phk422! - fix: replace special characters using SPECIAL_CHARACTER_MAP for duplicate-identifiers

v7.3.2

Compare Source

Patch Changes

v7.3.1

Compare Source

Patch Changes

v7.3.0

Compare Source

Minor Changes

v7.2.0

Compare Source

Minor Changes

v7.1.2

Compare Source

Patch Changes

v7.1.1

Compare Source

Patch Changes
  • #​1784 c2f8655 Thanks @​yoshi2no! - Fix: Correct handling of identical minItems and maxItems in array schemas when arrayLength option is true

v7.1.0

Compare Source

Minor Changes
Patch Changes

v7.0.4

Compare Source

Patch Changes

v7.0.3

Compare Source

Patch Changes

v7.0.2

Compare Source

Patch Changes

v7.0.1

Compare Source

Patch Changes

v7.0.0

Compare Source

Major Changes
  • 6d1eb32 Thanks @​drwpow! - ⚠️ Breaking: The Node.js API now returns the TypeScript AST for the main method as well as transform() and postTransform(). To migrate, you’ll have to use the typescript compiler API:

    + import ts from "typescript";
    
    + const DATE = ts.factory.createIdentifier("Date");
    + const NULL = ts.factory.createLiteralTypeNode(ts.factory.createNull());
    
      const ast = await openapiTS(mySchema, {
        transform(schemaObject, metadata) {
          if (schemaObject.format === "date-time") {
    -       return schemaObject.nullable ? "Date | null" : "Date";
    +       return schemaObject.nullable
    +         ? ts.factory.createUnionTypeNode([DATE, NULL])
    +         : DATE;
          }
        },
      };

    Though it’s more verbose, it’s also more powerful, as now you have access to additional properties of the generated code you didn’t before (such as injecting comments).

    For example syntax, search this codebae to see how the TypeScript AST is used.

    Also see AST Explorer’s typescript parser to inspect how TypeScript is interpreted as an AST.

  • 6d1eb32 Thanks @​drwpow! - ⚠️ Breaking: Changing of several CLI flags and Node.js API options

    • The --auth, --httpHeaders, --httpMethod, and fetch (Node.js-only) options were all removed from the CLI and Node.js API
    • --immutable-types has been renamed to --immutable
    • --support-array-length has been renamed to --array-length
  • fbaf96d Thanks @​drwpow! - ⚠️ Breaking: Remove globbing schemas in favor of redocly.yaml config. Specify multiple schemas with outputs in there instead. See Multiple schemas for more info.

  • 6d1eb32 Thanks @​drwpow! - ⚠️ Breaking: Most optional objects are now always present in types, just typed as :never. This includes keys of the Components Object as well as HTTP methods.

  • 6d1eb32 Thanks @​drwpow! - ⚠️ Breaking: No more external export in schemas anymore. Everything gets flattened into the components object instead (if referencing a schema object from a remote partial, note it may have had a minor name change to avoid conflict).

  • 6d1eb32 Thanks @​drwpow! - ⚠️ Breaking defaultNonNullable option now defaults to true. You’ll now need to manually set false to return to old behavior.

  • 799194d Thanks @​drwpow~ - ⚠️ Breaking TypeScript is now a peerDependency and must be installed alongside openapi-typescript

Minor Changes
  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: automatically validate schemas with Redocly CLI (docs). No more need for external tools to report errors! 🎉

    • By default, it will only throw on actual schema errors (uses Redocly’s default settings)
    • For stricter linting or custom rules, you can create a redocly.yaml config
  • 312b7ba Thanks @​drwpow! - ✨ Feature: allow configuration of schemas via apis key in redocly.config.yaml. See docs for more info.

  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: add enum option to export top-level enums from schemas

  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: add formatOptions to allow formatting TS output

  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: header responses add [key: string]: unknown index type to allow for additional untyped headers

  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: bundle schemas with Redocly CLI

  • 6d1eb32 Thanks @​drwpow! - ✨ Feature: Added debugger that lets you profile performance and see more in-depth messages

  • #​1374 7ac5174 Thanks @​ElForastero! - Add support for x-enum-varnames and x-enum-descriptions

  • #​1545 9158b81 Thanks @​jaredLunde! - Replace # characters in operation IDs with a slash

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 becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Jun 20, 2024
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from f7a11fa to 5042093 Compare December 17, 2024 16:15
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch 2 times, most recently from 641f4f1 to 565392f Compare December 31, 2024 06:54
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 565392f to fa70594 Compare January 21, 2025 10:04
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from fa70594 to 6a85130 Compare February 11, 2025 12:29
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 6a85130 to dc7cea8 Compare March 25, 2025 06:56
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from dc7cea8 to 6b16a17 Compare April 23, 2025 17:58
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 6b16a17 to cd76d43 Compare May 6, 2025 12:31
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch 4 times, most recently from 2998950 to 623dd67 Compare August 13, 2025 15:33
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 623dd67 to 81de957 Compare August 19, 2025 12:57
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 81de957 to 56a5ca6 Compare August 31, 2025 10:32
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from 56a5ca6 to 74ec144 Compare September 25, 2025 16:34
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch 2 times, most recently from e895d8e to ba42881 Compare October 15, 2025 17:15
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from ba42881 to fc8c9dc Compare November 10, 2025 14:45
@renovate renovate bot force-pushed the renovate/openapi-typescript-7.x branch from fc8c9dc to a7e7736 Compare November 18, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Projects

Status: 🔥 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant