Repository navigation
chore: Update Hey API for new type imports - #7298
Conversation
|
π Deployed to the trpc-pr-7298 environment in trpc-sse-and-websockets
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. π βΉοΈ Recent review infoβοΈ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: π Files selected for processing (27)
β Files skipped from review due to trivial changes (27)
π WalkthroughWalkthroughBumped Changes
Estimated code review effortπ― 3 (Moderate) | β±οΈ ~20 minutes Suggested labels
Suggested reviewers
Poem
π₯ Pre-merge checks | β 1 | β 2β Failed checks (2 warnings)
β Passed checks (1 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing Touchesπ Generate docstrings
π§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates @trpc/openapiβs Hey API integration to match upstream @hey-api/openapi-ts type export changes, and bumps the referenced Hey API version accordingly.
Changes:
- Switch Hey API-related type imports in
@trpc/openapi/heyapito usePlugins.*types from@hey-api/openapi-ts. - Bump
@hey-api/openapi-tsdevDependency and raise the optional peer dependency minimum to a compatible version. - Regenerate lockfile entries to reflect the dependency updates.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-lock.yaml | Updates lockfile to reflect @hey-api/[email protected] and related dependency resolutions. |
| packages/openapi/src/heyapi/index.ts | Refactors Hey API type references to Plugins.HeyApiTypeScript / Plugins.HeyApiClientFetch types. |
| packages/openapi/package.json | Bumps @hey-api/openapi-ts devDependency and updates optional peer dependency minimum version. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
π€ Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/openapi/package.json`:
- Line 96: The peerDependency for "@hey-api/openapi-ts" was bumped from
">=0.13.0" to ">=0.94.5", which is a breaking change for users on older
versions; either revert the minimum to the previous range (e.g., ">=0.13.0") in
the package.json entry for "@hey-api/openapi-ts" or add an explicit changelog/PR
note documenting the breaking change and migration guidance for users upgrading
to require >=0.94.5 so consumers know why the peerDependency increased.
πͺ Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
βΉοΈ Review info
βοΈ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 01fd311c-c14a-44b1-b8d8-676fb626f73d
β Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
π Files selected for processing (2)
packages/openapi/package.jsonpackages/openapi/src/heyapi/index.ts
e79f06a to
feb7e0c
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@trpc/client
@trpc/next
@trpc/openapi
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Closes #
π― Changes
What changes are made in this PR? Is it a feature or a bug fix?
β Checklist
Summary by CodeRabbit
Chores
Refactor
Documentation