Skip to content

Version Packages #7467

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
Jun 29, 2025
Merged

Version Packages #7467

merged 1 commit into from
Jun 29, 2025

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Jun 28, 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

@thirdweb-dev/nebula@0.2.4

Patch Changes

  • Updated dependencies [bc51255]:
    • thirdweb@5.105.4

thirdweb@5.105.4

Patch Changes

  • #7465 bc51255 Thanks @gregfromstl! - Adds paymentMethods prop to BuyWidget, CheckoutWidget, and TransactionWidget to control available payment options. Accepts an array of "crypto" and/or "card" values.

@thirdweb-dev/wagmi-adapter@0.2.101


PR-Codex overview

This PR focuses on updating version numbers and changelogs for various packages, including thirdweb, wagmi-adapter, and nebula. It introduces new features and dependency updates.

Detailed summary

  • Updated version in packages/thirdweb/package.json from 5.105.3 to 5.105.4.
  • Updated version in packages/wagmi-adapter/package.json from 0.2.100 to 0.2.101.
  • Updated version in packages/nebula/package.json from 0.2.3 to 0.2.4.
  • Added changelog entries for 0.2.4 in packages/nebula/CHANGELOG.md.
  • Added changelog entries for 5.105.4 in packages/thirdweb/CHANGELOG.md, detailing new paymentMethods prop in widgets.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

  • New Features

    • Added a new paymentMethods property to BuyWidget, CheckoutWidget, and TransactionWidget, allowing customization of available payment options (crypto and/or card).
  • Chores

    • Updated package versions for @thirdweb-dev/nebula, thirdweb, and @thirdweb-dev/wagmi-adapter.
    • Updated changelogs to reflect recent changes and version bumps.

@joaquim-verges joaquim-verges requested review from a team as code owners June 28, 2025 11:11
Copy link

vercel bot commented Jun 28, 2025

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 11:42am
nebula ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 11:42am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 11:42am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 11:42am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 11:42am

Copy link
Contributor

coderabbitai bot commented Jun 28, 2025

Walkthrough

This update increments version numbers for the thirdweb, nebula, and wagmi-adapter packages and updates their changelogs. It documents the addition of a paymentMethods property to BuyWidget, CheckoutWidget, and TransactionWidget in the thirdweb package, enabling control over available payment options.

Changes

Files/Paths Change Summary
packages/thirdweb/CHANGELOG.md, packages/thirdweb/package.json Added changelog entry and bumped version to 5.105.4; documents new paymentMethods prop for widgets.
packages/nebula/CHANGELOG.md, packages/nebula/package.json Added changelog entry and bumped version to 0.2.4; updated dependency to thirdweb 5.105.4.
packages/wagmi-adapter/CHANGELOG.md, packages/wagmi-adapter/package.json Added changelog entry and bumped version to 0.2.101.
.changeset/dull-breads-start.md Deleted changeset describing the addition of paymentMethods to widget components.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant BuyWidget/CheckoutWidget/TransactionWidget
    participant PaymentOptions

    Developer->>BuyWidget/CheckoutWidget/TransactionWidget: Passes paymentMethods prop (["crypto", "card"])
    BuyWidget/CheckoutWidget/TransactionWidget->>PaymentOptions: Render only specified payment methods
    PaymentOptions-->>Developer: User sees only allowed payment options
Loading

Possibly related PRs

  • Version Packages #7304: Introduces the BuyWidget, CheckoutWidget, and TransactionWidget components, which are now extended with the paymentMethods prop in this PR.

Suggested labels

packages, SDK


📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 8cee17a and fcac508.

📒 Files selected for processing (7)
  • .changeset/dull-breads-start.md (0 hunks)
  • packages/nebula/CHANGELOG.md (1 hunks)
  • packages/nebula/package.json (1 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (1 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/dull-breads-start.md
✅ Files skipped from review due to trivial changes (3)
  • packages/wagmi-adapter/package.json
  • packages/thirdweb/package.json
  • packages/nebula/package.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • packages/nebula/CHANGELOG.md
  • packages/wagmi-adapter/CHANGELOG.md
  • packages/thirdweb/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Unit Tests
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Lint Packages
  • GitHub Check: Build Packages
  • GitHub Check: Size
  • GitHub Check: Analyze (javascript)

🪧 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.
    • Explain this complex logic.
    • 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. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • 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 src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

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

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

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

Documentation and Community

  • 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 github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Jun 28, 2025
Copy link
Contributor

graphite-app bot commented Jun 28, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@joaquim-verges joaquim-verges force-pushed the changeset-release/main branch from 8cee17a to fcac508 Compare June 28, 2025 11:13
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 (3)
packages/wagmi-adapter/CHANGELOG.md (1)

3-4: Populate the empty changelog section
An empty heading makes the changelog harder to consume. Add at least a one-liner noting the dependency bump so that downstream consumers can quickly see why this version exists.

 ## 0.2.101
+
+### Patch Changes
+* Internal release – bumps peer/workspace dependency to **thirdweb @ 5.105.4** in lock-step with related packages.
packages/nebula/CHANGELOG.md (1)

3-9: Optionally enrich the changelog with user-facing context
The entry correctly records the dependency bump, but adding a short note that the thirdweb@5.105.4 update introduces the new paymentMethods prop (crypto / card selection) would help downstream consumers understand the practical impact without cross-referencing the other package.

Example patch:

 ## 0.2.4
 ### Patch Changes
 - Updated dependencies [[`bc51255`](https://github.com/thirdweb-dev/js/commit/bc512551ab3a685bdb0ac167105f8aa7385d46d8)]:
   - thirdweb@5.105.4
+  - This thirdweb patch adds a **`paymentMethods`** option to `BuyWidget`, `CheckoutWidget`, and `TransactionWidget`, allowing apps to restrict payment to `"crypto"` and/or `"card"`.
packages/thirdweb/CHANGELOG.md (1)

7-7: Use back-ticks for identifiers to match existing CHANGELOG style

Component and prop names are usually wrapped in back-ticks for readability.
Proposed tweak:

- Adds paymentMethods prop to BuyWidget, CheckoutWidget, and TransactionWidget to control available payment options. Accepts an array of "crypto" and/or "card" values.
+ Adds `paymentMethods` prop to `BuyWidget`, `CheckoutWidget`, and `TransactionWidget` to control available payment options. Accepts an array of `"crypto"` and/or `"card"` values.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 143ab6d and 8cee17a.

📒 Files selected for processing (7)
  • .changeset/dull-breads-start.md (0 hunks)
  • packages/nebula/CHANGELOG.md (1 hunks)
  • packages/nebula/package.json (1 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (1 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/dull-breads-start.md
🧰 Additional context used
📓 Path-based instructions (2)
`packages/wagmi-adapter/*`: Wagmi ecosystem integration is located in packages/wagmi-adapter/.

packages/wagmi-adapter/*: Wagmi ecosystem integration is located in packages/wagmi-adapter/.

📄 Source: CodeRabbit Inference Engine (CLAUDE.md)

List of files the instruction was applied to:

  • packages/wagmi-adapter/CHANGELOG.md
  • packages/wagmi-adapter/package.json
`packages/thirdweb/*`: Every public symbol in the SDK must have comprehensive TS...

packages/thirdweb/*: Every public symbol in the SDK must have comprehensive TSDoc with at least one @example block that compiles and custom annotation tags (@beta, @internal, @experimental).
Export everything via the exports/ directory, grouped by feature.
Place tests alongside code: foo.ts ↔ foo.test.ts.
Use real function invocations with stub data in tests; avoid brittle mocks.
Use Mock Service Worker (MSW) for fetch/HTTP call interception in tests.
Keep tests deterministic and side-effect free.

📄 Source: CodeRabbit Inference Engine (CLAUDE.md)

List of files the instruction was applied to:

  • packages/thirdweb/package.json
  • packages/thirdweb/CHANGELOG.md
🧠 Learnings (4)
packages/wagmi-adapter/CHANGELOG.md (1)
Learnt from: CR
PR: thirdweb-dev/js#0
File: CLAUDE.md:0-0
Timestamp: 2025-06-25T02:13:08.257Z
Learning: For multi-platform support, provide platform-specific exports and adapters (e.g., React Native, Node.js, Wagmi, Ethers).
packages/thirdweb/package.json (1)
Learnt from: MananTank
PR: thirdweb-dev/js#7356
File: apps/nebula/src/app/not-found.tsx:1-1
Timestamp: 2025-06-17T18:30:52.976Z
Learning: In the thirdweb/js project, the React namespace is available for type annotations (like React.FC) without needing to explicitly import React. This is project-specific configuration that differs from typical TypeScript/React setups.
packages/wagmi-adapter/package.json (2)
Learnt from: CR
PR: thirdweb-dev/js#0
File: CLAUDE.md:0-0
Timestamp: 2025-06-25T02:13:08.257Z
Learning: For multi-platform support, provide platform-specific exports and adapters (e.g., React Native, Node.js, Wagmi, Ethers).
Learnt from: MananTank
PR: thirdweb-dev/js#7356
File: apps/nebula/src/app/not-found.tsx:1-1
Timestamp: 2025-06-17T18:30:52.976Z
Learning: In the thirdweb/js project, the React namespace is available for type annotations (like React.FC) without needing to explicitly import React. This is project-specific configuration that differs from typical TypeScript/React setups.
packages/thirdweb/CHANGELOG.md (1)

undefined

<retrieved_learning>
Learnt from: MananTank
PR: #7227
File: apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/OpenEditionMetadata.tsx:26-26
Timestamp: 2025-05-30T17:14:25.332Z
Learning: The ModuleCardUIProps interface already includes a client prop of type ThirdwebClient, so when components use Omit<ModuleCardUIProps, "children" | "updateButton">, they inherit the client prop without needing to add it explicitly.
</retrieved_learning>

⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Size
  • GitHub Check: Unit Tests
  • GitHub Check: Lint Packages
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (3)
packages/wagmi-adapter/package.json (1)

58-58: Version bump is correct and semver-safe
^5.85.0 already ranges up to <6.0.0, so the new thirdweb@5.105.4 is covered. No other manifest tweaks are required.

packages/thirdweb/package.json (1)

407-407: Package version bump aligns with released changes – LGTM
"version": "5.105.4" matches the changelog and the published changeset. No further action required.

packages/nebula/package.json (1)

3-3: Version bump looks correct
"version": "0.2.4" is consistent with the changelog entry.

Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 63.11 KB (0%) 1.3 s (0%) 292 ms (+158.11% 🔺) 1.6 s
thirdweb (cjs) 352.76 KB (0%) 7.1 s (0%) 986 ms (+13.16% 🔺) 8.1 s
thirdweb (minimal + tree-shaking) 5.72 KB (0%) 115 ms (0%) 113 ms (+1608.05% 🔺) 227 ms
thirdweb/chains (tree-shaking) 530 B (0%) 11 ms (0%) 91 ms (+3892.04% 🔺) 101 ms
thirdweb/react (minimal + tree-shaking) 19.59 KB (0%) 392 ms (0%) 185 ms (+1057.5% 🔺) 577 ms

Copy link

codecov bot commented Jun 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.92%. Comparing base (143ab6d) to head (fcac508).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7467   +/-   ##
=======================================
  Coverage   51.91%   51.92%           
=======================================
  Files         949      949           
  Lines       64149    64149           
  Branches     4226     4230    +4     
=======================================
+ Hits        33306    33312    +6     
+ Misses      30737    30731    -6     
  Partials      106      106           
Flag Coverage Δ
packages 51.92% <ø> (+<0.01%) ⬆️

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages SDK Involves changes to the thirdweb SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant