chore: remove deprecated @hey-api/client-next dependency#294
Open
chore: remove deprecated @hey-api/client-next dependency#294
Conversation
The @hey-api/client-next package has been deprecated since v0.73.0 of @hey-api/openapi-ts, which now bundles the client functionality directly. This removes the redundant dependency. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
This PR removes the deprecated @hey-api/client-next package from devDependencies. The client functionality has been bundled directly into @hey-api/openapi-ts since v0.73.0, making the separate package unnecessary. The project is using v0.90.10, which includes the bundled client.
Changes:
- Removed
@hey-api/client-nextfrom devDependencies in package.json - Updated pnpm-lock.yaml to reflect the dependency removal
- Regenerated client code with improved JSON parsing that handles empty response bodies
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Removes the deprecated @hey-api/client-next dependency from devDependencies |
| pnpm-lock.yaml | Updates lock file to remove all references to the deprecated package |
| src/generated/client/client.gen.ts | Auto-generated client code updated with improved JSON parsing logic for edge cases |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@hey-api/client-nextpackage from devDependencies@hey-api/openapi-tssince v0.73.0Why
Renovate flagged
@hey-api/client-nextas deprecated with no replacement available. The package is no longer needed as a separate dependency since its functionality was merged into the main@hey-api/openapi-tspackage.