Skip to content

Version Packages #7149

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
May 23, 2025
Merged

Version Packages #7149

merged 1 commit into from
May 23, 2025

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented May 23, 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

[email protected]

Minor Changes

  • #7103 f3abea3 Thanks @jnsdls! - Added webhook verification functionality to securely verify incoming webhooks from thirdweb. This includes:

    • New Webhook.parse function to verify webhook signatures and timestamps
    • Support for both x-payload-signature and x-pay-signature header formats
    • Timestamp verification with configurable tolerance
    • Version 2 webhook payload type support

    Example usage:

    import { Webhook } from "thirdweb/bridge";
    
    const webhook = await Webhook.parse(
      payload,
      headers,
      secret,
      300, // optional tolerance in seconds
    );

@thirdweb-dev/[email protected]


PR-Codex overview

This PR focuses on updating the versioning and changelogs for the @thirdweb-dev/wagmi-adapter and thirdweb packages, while introducing new webhook verification functionality in the thirdweb package.

Detailed summary

  • Updated @thirdweb-dev/wagmi-adapter version from 0.2.82 to 0.2.83.
  • Added changelog entry for thirdweb version 5.101.0:
    • Introduced Webhook.parse function for webhook verification.
    • Supported x-payload-signature and x-pay-signature headers.
    • Added timestamp verification with configurable tolerance.
    • Included support for Version 2 webhook payload type.
  • Updated thirdweb version from 5.100.2 to 5.101.0.
  • Reformatted typesVersions in thirdweb/package.json for clarity.

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

Summary by CodeRabbit

  • Documentation

    • Updated changelogs to reflect new versions and recent changes.
    • Removed a documentation file related to webhook verification.
  • Chores

    • Increased package versions for improved release tracking.
    • Reformatted configuration in package files for consistency.

@joaquim-verges joaquim-verges requested review from a team as code owners May 23, 2025 21:01
Copy link

vercel bot commented May 23, 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 May 23, 2025 9:10pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 9:10pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 9:10pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 9:10pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 9:10pm

Copy link
Contributor

coderabbitai bot commented May 23, 2025

Walkthrough

This change removes a documentation file for webhook verification, updates changelogs for two packages, and increments their version numbers. It also updates the typesVersions formatting in one package's configuration. No source code changes are made; only documentation and metadata are affected.

Changes

Files/Groups Summary
.changeset/webhook-verification.md Deleted documentation file describing the webhook verification feature and its usage.
packages/thirdweb/CHANGELOG.md Added changelog entry for version 5.101.0, documenting the new Webhook.parse function and its features.
packages/thirdweb/package.json Updated version to 5.101.0 and reformatted typesVersions array values for readability.
packages/wagmi-adapter/CHANGELOG.md Added changelog entry for version 0.2.83 with no further details.
packages/wagmi-adapter/package.json Updated version to 0.2.83.

Possibly related PRs

Suggested labels

packages, SDK


🪧 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.

Copy link
Contributor

graphite-app bot commented May 23, 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.

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels May 23, 2025
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)
packages/thirdweb/CHANGELOG.md (1)

14-25: Clarify example snippet context
The code block uses a top-level await and an import from "thirdweb/bridge". For clarity:

  • Note that top-level await requires an ES module environment (or wrap this call in an async function).
  • Confirm that thirdweb/bridge is the correct entry point for the Webhook export.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between f3abea3 and 7917337.

📒 Files selected for processing (5)
  • .changeset/webhook-verification.md (0 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (2 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/webhook-verification.md
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Unit Tests
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (6)
packages/wagmi-adapter/CHANGELOG.md (1)

3-3: Changelog: Add new version entry 0.2.83
The header for version 0.2.83 has been inserted correctly to reflect the package bump.

packages/wagmi-adapter/package.json (1)

3-3: package.json: Bump version to 0.2.83
The package version has been updated from 0.2.82 to 0.2.83, aligning with the release automation.

packages/thirdweb/package.json (2)

3-3: Version bump to 5.101.0 looks correct.
This aligns with the intended release of webhook verification functionality.


150-209: Only formatting updates in the typesVersions block.
No changes to the actual paths or behavior—just expanded arrays for readability.

packages/thirdweb/CHANGELOG.md (2)

3-6: Changelog section formatting is consistent
The new version header (## 5.101.0) and the ### Minor Changes subsection match the style of previous entries (e.g., ## 5.100.2 / ### Patch Changes).


7-13: Verify commit and PR references
The entry lists PR [#7103] and the commit hash f3abea3… for the webhook verification feature. Please double-check that these links point to the correct PR/commit and that the summary accurately reflects the upstream changes.

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

🔭 Outside diff range comments (1)
packages/wagmi-adapter/package.json (1)

35-39: 🛠️ Refactor suggestion

Update peerDependency for thirdweb
The peerDependencies field still pins thirdweb to ^5.85.0, which doesn’t cover the newly released 5.101.0. Consumers installing this adapter alongside the updated core package may encounter version conflicts. Consider updating the range to include the new version (e.g., ^5.101.0).

🧹 Nitpick comments (2)
packages/wagmi-adapter/CHANGELOG.md (1)

3-4: Add release notes for version 0.2.83
The new ## 0.2.83 heading has no accompanying details. Please document any dependency bumps, bug fixes, or other changes introduced in this release for transparency.

packages/thirdweb/CHANGELOG.md (1)

7-7: Refine bullet formatting for consistency.

The line nests two hyphens (- [...]! - Added) which can read awkwardly. Consider replacing the second hyphen with a colon or removing it for clearer style:

-[#7103](https://github.com/thirdweb-dev/js/pull/7103) […]! - Added webhook verification functionality to securely verify incoming webhooks from thirdweb.
+[#7103](https://github.com/thirdweb-dev/js/pull/7103) […]! Added webhook verification functionality to securely verify incoming webhooks from thirdweb.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between f3abea3 and 7917337.

📒 Files selected for processing (5)
  • .changeset/webhook-verification.md (0 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (2 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/webhook-verification.md
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Unit Tests
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (4)
packages/wagmi-adapter/package.json (1)

3-3: Bump package version
The version change from 0.2.82 to 0.2.83 aligns with the release process and looks good.

packages/thirdweb/package.json (2)

3-3: Approve version bump to 5.101.0
The package version has been correctly updated to 5.101.0 to match the new release.


149-210: Approve cosmetic reformat of typesVersions
The change expands single-line arrays into multi-line arrays for improved readability. This is purely formatting and has no functional impact.

packages/thirdweb/CHANGELOG.md (1)

3-13: Approve changelog update for version 5.101.0.

The new section accurately documents the webhook verification feature, including detailed bullets and example usage, and adheres to the existing changelog structure.

@jnsdls jnsdls merged commit f9b34ff into main May 23, 2025
15 of 21 checks passed
@jnsdls jnsdls deleted the changeset-release/main branch May 23, 2025 21:04
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 61.7 KB (0%) 1.3 s (0%) 432 ms (+140.32% 🔺) 1.7 s
thirdweb (cjs) 344.59 KB (0%) 6.9 s (0%) 1.6 s (+4.07% 🔺) 8.5 s
thirdweb (minimal + tree-shaking) 5.69 KB (0%) 114 ms (0%) 132 ms (+921.84% 🔺) 246 ms
thirdweb/chains (tree-shaking) 531 B (0%) 11 ms (0%) 56 ms (+1150.38% 🔺) 66 ms
thirdweb/react (minimal + tree-shaking) 19.54 KB (0%) 391 ms (0%) 113 ms (+255.27% 🔺) 504 ms

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.

2 participants