Skip to content

Conversation

@juliusmarminge
Copy link
Member

@juliusmarminge juliusmarminge commented Aug 17, 2025

Summary by CodeRabbit

  • Chores

    • Bumped runtime and platform dependencies (Effect and related packages) across multiple packages for stability and compatibility.
    • Updated development tooling and dev-dependencies (language service, testing, docs tooling).
    • Applied broad dependency/version bumps across the repo; no functional or public API changes.
  • Changelog

    • Added a changeset marking patch bumps for nine packages with note: "fix: cjs interop issue."

@changeset-bot
Copy link

changeset-bot bot commented Aug 17, 2025

🦋 Changeset detected

Latest commit: 0998824

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
uploadthing Patch
@uploadthing/mime-types Patch
@uploadthing/shared Patch
@uploadthing/react Patch
@uploadthing/expo Patch
@uploadthing/vue Patch
@uploadthing/nuxt Patch
@uploadthing/solid Patch
@uploadthing/svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Aug 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-uploadthing Ready Ready Preview Comment Aug 17, 2025 7:45pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
legacy-docs-uploadthing Ignored Ignored Aug 17, 2025 7:45pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 17, 2025

Walkthrough

Dependency version bumps across multiple package.json files: upgraded runtime Effect packages (effect, @effect/*), dev/test tooling (tsdown, @effect/vitest), and @effect/language-service in tooling. No source code or public API changes.

Changes

Cohort / File(s) Change summary
Runtime Effect libraries bump
examples/backend-adapters/server/package.json, packages/shared/package.json, packages/uploadthing/package.json, playground/package.json, playground-v6/package.json
Bumped effect to 3.17.7; bumped @effect/platform where present to 0.90.3; bumped @effect/platform-node to 0.96.0 in the server example.
Dev/Test tooling bump
packages/expo/package.json, packages/mime-types/package.json, packages/react/package.json, packages/shared/package.json, packages/uploadthing/package.json, packages/vue/package.json
Bumped tsdown to 0.14.1 across packages; bumped @effect/vitest to 0.25.1 where present.
TypeScript tooling / language-service
tooling/tsconfig/package.json
Bumped @effect/language-service to 0.35.2 and effect to 3.17.7.
Release metadata
.changeset/honest-days-love.md
Added changeset listing patch bumps for multiple packages with note: "fix: cjs interop issue."

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

examples

Suggested reviewers

  • markflorkowski

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch package-bumps

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 17, 2025

📦 Bundle size comparison

Bundle Size (gzip) Visualization
Main 30.36KB See Treemap 📊
PR (cdf627a) 31.16KB See Treemap 📊
Diff ↑806.00B

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 17, 2025

More templates

@uploadthing/expo

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/expo@1232

@uploadthing/mime-types

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/mime-types@1232

@uploadthing/nuxt

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/nuxt@1232

@uploadthing/react

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/react@1232

@uploadthing/shared

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/shared@1232

uploadthing

npm i https://pkg.pr.new/pingdotgg/uploadthing@1232

@uploadthing/vue

npm i https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/vue@1232

commit: 0998824

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
tooling/tsconfig/package.json (1)

9-11: Tooling bumps LGTM; consider dependency classification.

  • Upgrading @effect/language-service and effect is fine. Optional: you could keep these as devDependencies (or peerDependencies + devDependencies) if this package is only consumed in-repo for tooling, to avoid hoisting them as regular deps when published.

If you want to explore that direction, I can propose a variant with peerDependencies/devDependencies and a small README note about expected workspace tooling versions.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between f79af3e and 2828446.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (10)
  • examples/backend-adapters/server/package.json (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/mime-types/package.json (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/shared/package.json (2 hunks)
  • packages/uploadthing/package.json (2 hunks)
  • packages/vue/package.json (1 hunks)
  • playground-v6/package.json (1 hunks)
  • playground/package.json (1 hunks)
  • tooling/tsconfig/package.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: bundle-analyze-result
  • GitHub Check: build
  • GitHub Check: typecheck
  • GitHub Check: lint
  • GitHub Check: build
  • GitHub Check: e2e-node (minimal-pagedir)
  • GitHub Check: e2e-node (minimal-appdir)
  • GitHub Check: e2e-node (backend-adapters)
  • GitHub Check: build
🔇 Additional comments (13)
packages/mime-types/package.json (1)

93-93: tsdown version and Node/TypeScript compatibility verified

  • All workspace packages (packages/expo, packages/mime-types, packages/react, packages/shared, packages/vue, packages/uploadthing) use [email protected].
  • Root package.json’s "node": ">=22.x" meets [email protected]’s "node": ">=20.19.0" requirement.
  • Dev TypeScript is 5.8.3 everywhere, satisfying tsdown’s typescript: "^5.0.0" peer requirement.
playground/package.json (1)

14-14: effect version alignment complete
All packages depending on effect are now pinned to 3.17.7, so there are no mismatched versions in the workspace and no risk of multiple copies or subtle type inconsistencies. No further dependency updates are needed here.

(Optional) Review the Effect 3.17.x release notes for any breaking changes that might impact our usage.

packages/react/package.json (1)

91-91: tsdown 0.14.1 bump LGTM; ensure CI build stays green.

  • Matches pattern used elsewhere (build/dev scripts). No further changes needed.

Optionally confirm uniform tsdown usage and Node/TS versions with the script I shared on the mime-types package comment.

packages/expo/package.json (1)

49-49: tsdown 0.14.1 bump LGTM.

  • Consistent with other packages. Expo’s React/React Native setup is unchanged; no conflicts anticipated from this dev tooling update.
packages/vue/package.json (1)

49-49: tsdown bump LGTM; repo‐wide version consistency confirmed

  • All packages that declare tsdown in devDependencies (expo, mime-types, react, shared, vue, uploadthing) are pinned to 0.14.1.
  • No package invokes tsdown in its scripts without declaring it as a devDependency.

Please verify that the --no-clean flag is still supported in [email protected] before merging.

packages/shared/package.json (3)

53-53: tsdown bump mirrors other packages

Consistent with the monorepo; see earlier script to verify uniformity.


40-40: All effect dependencies aligned to 3.17.7

Ran the audit across every package.json—no packages are pinning effect to a non-3.17.7 version. You’re clear to merge.


44-44: Approved: @effect/vitest 0.25.1 compatibility verified

Quick consistency check across the repo shows:

No mismatches found—ready to merge.

packages/uploadthing/package.json (3)

164-164: @effect/vitest 0.25.1 aligns with vitest 3.2.4

No issues anticipated; ensure test suite remains green post-bump.


183-183: tsdown 0.14.1 bump consistent; confirm build pipeline

Given this package’s broader output surface (client/server/next/etc.), ensure CI builds for all targets succeed with tsdown 0.14.x.

You can reuse the tsdown verification script from the Vue package comment; additionally, confirm CI ran the build matrix for this package.


157-162: Upgrade to @effect/platform 0.90.3 requires migration; effect 3.17.7 is low-risk

– For @effect/platform (0.85.x → 0.90.3), there are several breaking-change migration points. Please review and update:
• HttpClient API refactor – replace all HttpClient.fetch calls with the new Context.Tag–based client methods (client.get/post/execute), wrap response helpers in Effect.scoped, and switch provisioning to FetchHttpClient.layer.
• Flat HTTP module exports – update imports to pull HttpClient, HttpClientRequest, HttpClientResponse, etc., directly from @effect/platform instead of aggregated or indirect paths.
• Re-export removals and package consolidation – ensure any formerly re-exported types (e.g. NodeRuntime) are now imported from their explicit packages (e.g. @effect/platform-node).
• Transferable schema encoding fix – audit any Transferable schemas for changed type shapes and adjust your type usages accordingly.
• HttpApi surface changes – if you use HttpApi, migrate to the new chainable API and update middleware/success-schema calls per the 3.10 release notes.
• Plus non-breaking yet important fixes around URL objects and multipart/query-param handling—run your full test suite against real HTTP flows.

– For effect (3.16.x → 3.17.7), there are only minor, non-breaking additions (notably exposing RcMap.has). No core runtime or scheduler changes were introduced.

Next steps:

  1. Search your codebase for HttpClient.fetch, flat-import paths, Transferable, and any HttpApi usage and apply the above migrations.
  2. Run tsc and your tests—TypeScript errors will pinpoint renamed/removed APIs.
  3. Verify real-world HTTP flows (body parsing, multivalue params) in your integration tests.
playground-v6/package.json (1)

14-14: effect bump to 3.17.7 in playground — OK

No concerns. Sanity-check that example pages compile with the new effect version.

examples/backend-adapters/server/package.json (1)

16-18: Backend adapters updated to latest @effect versions — manual smoke test recommended

We’ve bumped @effect/platform to 0.90.3 and @effect/platform-node to 0.96.0 (also applies at line 24). These align with core packages, but subtle API tweaks can slip through—please spin up each server variant and confirm nothing breaks:

In examples/backend-adapters/server/package.json, run:

  • build:
    npm run buildtsc
  • dev:cf:
    npm run dev:cfwrangler dev --port 3003
  • dev:elysia:
    npm run dev:elysiaNODE_ENV=development bun run --hot src/elysia.ts
  • dev:express:
    npm run dev:expressNODE_ENV=development tsx watch src/express.ts
  • dev:fastify:
    npm run dev:fastifyNODE_ENV=development tsx watch src/fastify.ts
  • dev:hono:
    npm run dev:honoNODE_ENV=development tsx watch src/hono.ts
  • dev:h3:
    npm run dev:h3NODE_ENV=development listhen -w src/h3.ts
  • dev:effect:
    npm run dev:effectNODE_ENV=development PORT=3003 tsx watch src/effect-platform.ts

Once all variants start without errors, these changes are good to go.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.changeset/honest-days-love.md (1)

13-13: Polish the summary: remove “fix:” prefix and clarify capitalization.

Changeset type is already encoded in the frontmatter; the body should be a concise, sentence-cased description. Recommend:

-fix: cjs interop issue
+Fix CommonJS interop issue.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between cb3f843 and 0998824.

📒 Files selected for processing (1)
  • .changeset/honest-days-love.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.changeset/honest-days-love.md

[grammar] ~13-~13: There might be a mistake here.
Context: ...elte": patch --- fix: cjs interop issue

(QB_NEW_EN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: bundle-analyze-result
  • GitHub Check: e2e-node (backend-adapters)
  • GitHub Check: build
🔇 Additional comments (2)
.changeset/honest-days-love.md (2)

1-11: Frontmatter looks valid for a multi-package patch bump.

The changeset header correctly targets the intended packages with patch releases. No issues spotted.


2-10: Confirm scope: are all listed framework packages affected by the CJS interop fix?

If the interop issue didn’t impact every framework wrapper, consider narrowing the list to avoid unnecessary patch releases. Otherwise, keep as-is.

@juliusmarminge juliusmarminge merged commit f239968 into main Aug 17, 2025
22 checks passed
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.

2 participants