这是indexloc提供的服务,不要输入任何密码
Skip to content

Version Packages #2272

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

Merged
merged 1 commit into from
Jul 4, 2025
Merged

Version Packages #2272

merged 1 commit into from
Jul 4, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 4, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@hey-api/openapi-ts@0.78.0

Minor Changes

  • #2246 a11a8c5 Thanks @mrlubos! - feat(config): add parser options

    Added parser options

    Previously, @hey-api/typescript would generate correct types, but the validator plugins would have to re-implement the same logic or generate schemas that didn't match the generated types.

    Since neither option was ideal, this release adds a dedicated place for parser options. Parser is responsible for preparing the input so plugins can generate more accurate output with less effort.

    You can learn more about configuring parser on the Parser page.

    Moved input options

    The following options were moved to the new parser group.

    • input.filters moved to parser.filters
    • input.pagination moved to parser.pagination
    • input.patch moved to parser.patch
    • input.validate_EXPERIMENTAL moved to parser.validate_EXPERIMENTAL

    Updated typescript options

    The following options were renamed.

    • enumsCase moved to enums.case
    • enumsConstantsIgnoreNull moved to enums.constantsIgnoreNull

    Moved typescript options

    The following options were moved to the new parser group.

    • exportInlineEnums moved to parser.transforms.enums
    • readOnlyWriteOnlyBehavior moved to parser.transforms.readWrite.enabled
    • readableNameBuilder moved to parser.transforms.readWrite.responses.name
    • writableNameBuilder moved to parser.transforms.readWrite.requests.name

    Updated readWrite.responses name

    Additionally, the naming pattern for response schemas has changed from {name}Readable to {name}. This is to prevent your code from breaking by default when using a schema that gets updated with a write-only field.

Patch Changes

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Jul 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hey-api-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2025 8:21pm

@github-actions github-actions bot force-pushed the changeset-release/main branch from a6a5b47 to 83862c0 Compare July 4, 2025 20:20
@mrlubos mrlubos merged commit dedfeef into main Jul 4, 2025
2 checks passed
@mrlubos mrlubos deleted the changeset-release/main branch July 4, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant