Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/rotten-apes-sing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-sheep-doubt.md

This file was deleted.

8 changes: 8 additions & 0 deletions apps/wagmi-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# wagmi-inapp

## 0.0.20

### Patch Changes

- Updated dependencies [[`c83f1c6`](https://github.com/thirdweb-dev/js/commit/c83f1c6f7a38c8a9f424798e6e726e1d037ed042), [`219fc69`](https://github.com/thirdweb-dev/js/commit/219fc69d72b1ca861bf0228589039788008ea0c0)]:
- thirdweb@5.111.0
- @thirdweb-dev/wagmi-adapter@0.2.175

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/wagmi-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wagmi-inapp",
"private": true,
"version": "0.0.19",
"version": "0.0.20",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
7 changes: 7 additions & 0 deletions packages/nebula/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @thirdweb-dev/nebula

## 0.2.78

### Patch Changes

- Updated dependencies [[`c83f1c6`](https://github.com/thirdweb-dev/js/commit/c83f1c6f7a38c8a9f424798e6e726e1d037ed042), [`219fc69`](https://github.com/thirdweb-dev/js/commit/219fc69d72b1ca861bf0228589039788008ea0c0)]:
- thirdweb@5.111.0

## 0.2.77

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nebula/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"type": "module",
"types": "./dist/types/exports/thirdweb.d.ts",
"typings": "./dist/types/exports/thirdweb.d.ts",
"version": "0.2.77"
"version": "0.2.78"
}
10 changes: 10 additions & 0 deletions packages/thirdweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# thirdweb

## 5.111.0

### Minor Changes

- [#8335](https://github.com/thirdweb-dev/js/pull/8335) [`c83f1c6`](https://github.com/thirdweb-dev/js/commit/c83f1c6f7a38c8a9f424798e6e726e1d037ed042) Thanks [@MananTank](https://github.com/MananTank)! - Remove `Bridge.routes` and `useBridgeRoutes`

Comment on lines +3 to +8
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Call out BREAKING removal and add migration notes

Removing Bridge.routes and useBridgeRoutes is a breaking API change but it’s listed under Minor Changes with no migration path. Please:

  • Mark this as BREAKING in the entry title/body.
  • Add a brief “Migration” section pointing devs to supported replacements:
    • Use Bridge.Buy.quote/prepare or Bridge.Sell.quote/prepare for route discovery and execution.
    • For single‑leg transfers, use Bridge.Transfer.prepare.
    • Use Bridge.chains and Bridge.tokens to enumerate supported chains/tokens.

Example (suggested edit):

- Remove `Bridge.routes` and `useBridgeRoutes`
+ BREAKING: Removed `Bridge.routes` and `useBridgeRoutes`.
+ Migration:
+ - For quotes and execution, use:
+   `Bridge.Buy.quote/prepare` or `Bridge.Sell.quote/prepare`
+ - For direct same‑chain transfers, use:
+   `Bridge.Transfer.prepare`
+ - For discovery, use:
+   `Bridge.chains()` and `Bridge.tokens()`
+ See PR #8335 for details.

Also verify no packages/docs still reference the removed symbols before publishing. Based on learnings.


🏁 Script executed:

#!/bin/bash
# Search for remaining references to the removed Bridge APIs
echo "=== Searching for Bridge.routes references ==="
rg -n 'Bridge\.routes' --type=ts --type=tsx --type=js --type=jsx -C2

echo ""
echo "=== Searching for useBridgeRoutes references ==="
rg -n 'useBridgeRoutes' --type=ts --type=tsx --type=js --type=jsx -C2

echo ""
echo "=== Checking for Bridge export/type definition ==="
rg -n 'export.*Bridge' packages/thirdweb -C2 | head -50

Length of output: 3669


🏁 Script executed:

#!/bin/bash
# Check the specific commit/PR for more context
echo "=== Checking PR #8335 and commit context ==="
git log --oneline --all | grep -i "bridge.routes\|useBridgeRoutes" | head -10

echo ""
echo "=== Looking for BREAKING or migration notes in recent CHANGELOG ==="
head -50 packages/thirdweb/CHANGELOG.md

Length of output: 3594


🏁 Script executed:

#!/bin/bash
# Search for Bridge.Buy, Bridge.Sell, Bridge.Transfer, Bridge.chains, Bridge.tokens mentioned in migration
echo "=== Checking suggested replacements exist ==="
rg -n 'Bridge\.(Buy|Sell|Transfer|chains|tokens)' packages/thirdweb --type=ts --type=tsx | head -20

Length of output: 73


🏁 Script executed:

#!/bin/bash
# Corrected search without problematic file type flags
echo "=== Searching for Bridge.routes references (all files) ==="
rg -n 'Bridge\.routes' packages/thirdweb -C2 2>&1 | head -30

echo ""
echo "=== Searching for useBridgeRoutes references ==="
rg -n 'useBridgeRoutes' packages/thirdweb -C2 2>&1 | head -30

Length of output: 3871


🏁 Script executed:

#!/bin/bash
# Verify the suggested replacement APIs are exported
echo "=== Checking bridge exports in index.ts ==="
cat packages/thirdweb/src/bridge/index.ts

echo ""
echo "=== Checking for Buy, Sell, Transfer, chains, tokens ==="
ls -la packages/thirdweb/src/bridge/ | grep -E 'Buy|Sell|Transfer|Token|Chain'

Length of output: 1551


🏁 Script executed:

#!/bin/bash
# Search git history for migration notes or deprecation messages
echo "=== Checking commit message for migration guidance ==="
git show --stat c83f1c6f 2>/dev/null | head -50

echo ""
echo "=== Looking for BREAKING keyword in CHANGELOG history ==="
grep -i "BREAKING" packages/thirdweb/CHANGELOG.md | head -10

Length of output: 3492


BREAKING change miscategorized — move to Breaking Changes section and add migration path

Removing Bridge.routes and useBridgeRoutes is a breaking change (confirmed in the commit message), but it's listed under Minor Changes. Move this entry to a Breaking Changes section and add a migration path for users:

  • For route discovery and execution → use Bridge.Buy.quote/prepare or Bridge.Sell.quote/prepare
  • For direct same-chain transfers → use Bridge.Transfer.prepare
  • For enumerating chains and tokens → use Bridge.chains() and Bridge.tokens()

All replacement APIs are already exported and available. Verify internal docs/guides have been updated accordingly before publishing.

🤖 Prompt for AI Agents
In packages/thirdweb/CHANGELOG.md around lines 3 to 8, the removal of
Bridge.routes and useBridgeRoutes is incorrectly listed under "Minor Changes";
move that entry into a new "Breaking Changes" section and update the entry to
include a concise migration path: replace route discovery/execution with
Bridge.Buy.quote/prepare or Bridge.Sell.quote/prepare, replace direct same-chain
transfers with Bridge.Transfer.prepare, and replace enumeration with
Bridge.chains() and Bridge.tokens(); also add a note that the replacement APIs
are exported and available and confirm any internal docs/guides are updated
before publishing.

### Patch Changes

- [#8345](https://github.com/thirdweb-dev/js/pull/8345) [`219fc69`](https://github.com/thirdweb-dev/js/commit/219fc69d72b1ca861bf0228589039788008ea0c0) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Update x402 flows to use remote /accepts endpoint

## 5.110.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,5 +430,5 @@
}
},
"typings": "./dist/types/exports/thirdweb.d.ts",
"version": "5.110.6"
"version": "5.111.0"
}
2 changes: 2 additions & 0 deletions packages/wagmi-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @thirdweb-dev/wagmi-adapter

## 0.2.175

## 0.2.174

## 0.2.173
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
"type": "module",
"types": "./dist/types/exports/thirdweb.d.ts",
"typings": "./dist/types/exports/thirdweb.d.ts",
"version": "0.2.174"
"version": "0.2.175"
}
Loading