Skip to content

Commit b18fcc0

Browse files
ci(release): publish latest release
1 parent 8f97706 commit b18fcc0

File tree

662 files changed

+10161
-9382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

662 files changed

+10161
-9382
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ dist/out-tsc/*
4242

4343
# Locale backup/generated files
4444
packages/uniswap/src/i18n/locales/source/*_old.json
45-
packages/uniswap/src/i18n/locales/@types/resources.d.ts
4645

4746
# ci
4847
.ci-cache/

RELEASE

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmdrE1xXozbrZCb5iS5iGpjWkdJh4y7iBGHqSC1rGPcH6i`
3-
- CIDv1: `bafybeihgolhp73f4twnioaonb2dvdyu2t44mxjdqx7pvnxfb7ibcosxcam`
2+
- CIDv0: `QmbKgKkW8gPc6Fc4CCbruxzdbgE968pGuSMwaFPPS57kdg`
3+
- CIDv1: `bafybeiga5awmbukdwmpf4jskzekpy76rzhk4blbqcmzvr745un6k6qulvm`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,15 +10,63 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeihgolhp73f4twnioaonb2dvdyu2t44mxjdqx7pvnxfb7ibcosxcam.ipfs.dweb.link/
14-
- https://bafybeihgolhp73f4twnioaonb2dvdyu2t44mxjdqx7pvnxfb7ibcosxcam.ipfs.cf-ipfs.com/
15-
- [ipfs://QmdrE1xXozbrZCb5iS5iGpjWkdJh4y7iBGHqSC1rGPcH6i/](ipfs://QmdrE1xXozbrZCb5iS5iGpjWkdJh4y7iBGHqSC1rGPcH6i/)
13+
- https://bafybeiga5awmbukdwmpf4jskzekpy76rzhk4blbqcmzvr745un6k6qulvm.ipfs.dweb.link/
14+
- https://bafybeiga5awmbukdwmpf4jskzekpy76rzhk4blbqcmzvr745un6k6qulvm.ipfs.cf-ipfs.com/
15+
- [ipfs://QmbKgKkW8gPc6Fc4CCbruxzdbgE968pGuSMwaFPPS57kdg/](ipfs://QmbKgKkW8gPc6Fc4CCbruxzdbgE968pGuSMwaFPPS57kdg/)
1616

17-
### 5.50.4 (2024-10-10)
17+
## 5.51.0 (2024-10-10)
18+
19+
20+
### Features
21+
22+
* **web:** add network costs to the addliquidity modal (#12557) 9beb5ce
23+
* **web:** add steps to the modal (#12431) 65639b4
24+
* **web:** add support for permit (#12575) b9d9579
25+
* **web:** add testnet modal (#12636) 350d97e
26+
* **web:** adding create modal (#12441) 3150f48
27+
* **web:** balance fetch switch on testnet mode (#12576) dfa44bd
28+
* **web:** call TradingAPI claim fees endpoint for v3/v4 (#12444) 8acafa7
29+
* **web:** deposit tokens step (#12377) 4c747d8
30+
* **web:** disable testnet on disconnect (#12750) 9f0bdbb
31+
* **web:** disable tx flows on explore pages (#12656) 6ed0b42
32+
* **web:** enable testnet mode on web with flag (#12505) dd7f272
33+
* **web:** hook up LP saga + confirm steps to the decrease flow (#12508) 3f0ff49
34+
* **web:** integrate with trading API for create flow (v2,v3) (#12434) 7283d2e
35+
* **web:** loading state for new PosDP (#12634) 688ea88
36+
* **web:** LP migrate page - update query and loading state (#12652) 88b336e
37+
* **web:** positions pagination and claim fees modal (#12341) 5f1eba2
38+
* **web:** testnet mode (#12566) abe823d
39+
* **web:** testnet portfolio row (#12616) ae5e5f5
40+
* **web:** unichain intro modal (#12554) 16fdb94
41+
* **web:** use single position query for PosDP (#12517) e242d90
42+
* **web:** use universe currency logo for testnets (#12607) d0767bd
43+
* **web:** use v3 uncollected fee values from Data API (#12555) 2a376be
44+
* **web:** v4 create position v2 (#12419) be27df2
45+
* **web:** v4 price range charts (#12525) cf9f515
1846

1947

2048
### Bug Fixes
2149

22-
* **web:** pass account to getSigner instead of using default [prod] (#12883) 688582d
50+
* **web:** 10 08 fix web log step and original error on web staging (#12825) c895745
51+
* **web:** add requestId and quoteId to post /order request (#12612) e08233f
52+
* **web:** astro chain ui info (#12671) 6923e48
53+
* **web:** default to crypto in send when on testnet (#12758) 5839f86
54+
* **web:** dont respect url flag overrides on prod (#12545) 3a68877
55+
* **web:** fix tick formatting + position details page (#12648) b606211
56+
* **web:** fixing v4 create bugs (#12514) 9da665d
57+
* **web:** hide gas for testnet unichain eth (#12759) 2dfd2d5
58+
* **web:** invalidate local activity cache for updates to transaction or signature state (#12650) f119f63
59+
* **web:** move connected wallet chain logic to universe (#12717) 5f78d74
60+
* **web:** native currency logo fetching on web (#12387) 81eb2ac
61+
* **web:** pass account to getSigner instead of using default [staging] (#12884) a11364b
62+
* **web:** rm prod arb+eth quicknode urls (#12646) d36d711
63+
* **web:** simplify/combine the liquidity saga logic (#12540) 5b72b61
64+
* **web:** ui nits and bugs (#12718) 6330bd4
65+
* **web:** uniswapx toasts/polling (#12658) 53dc7b1
66+
67+
68+
### Continuous Integration
69+
70+
* **web:** update sitemaps 82367d7
2371

2472

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.50.4
1+
web/5.51.0

apps/extension/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
"@svgr/webpack": "8.0.1",
1414
"@tamagui/core": "1.108.4",
1515
"@types/uuid": "9.0.1",
16-
"@uniswap/analytics-events": "2.37.0",
16+
"@uniswap/analytics-events": "2.38.0",
1717
"@uniswap/uniswapx-sdk": "^2.1.0-beta.14",
18-
"@uniswap/universal-router-sdk": "2.2.0",
19-
"@uniswap/v3-sdk": "3.14.0",
18+
"@uniswap/universal-router-sdk": "4.2.0",
19+
"@uniswap/v3-sdk": "3.17.0",
20+
"@uniswap/v4-sdk": "1.10.0",
2021
"dotenv-webpack": "8.0.1",
2122
"ethers": "5.7.2",
2223
"eventemitter3": "5.0.1",

apps/extension/src/app/PopupApp.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import i18n from 'uniswap/src/i18n/i18n'
2727
import { ExtensionScreens } from 'uniswap/src/types/screens/extension'
2828
import { logger } from 'utilities/src/logger/logger'
2929
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
30+
import { useTestnetModeForLoggingAndAnalytics } from 'wallet/src/features/testnetMode/hooks'
3031
import { SharedWalletProvider } from 'wallet/src/providers/SharedWalletProvider'
3132

3233
getLocalUserId()
@@ -54,6 +55,7 @@ function PopupContent(): JSX.Element {
5455
useEffect(() => {
5556
dispatch(syncAppWithDeviceLanguage())
5657
}, [dispatch])
58+
useTestnetModeForLoggingAndAnalytics()
5759

5860
const searchParams = new URLSearchParams(window.location.search)
5961
const tabId = searchParams.get('tabId')

apps/extension/src/app/SidebarApp.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ import { logger } from 'utilities/src/logger/logger'
5151
import { ONE_SECOND_MS } from 'utilities/src/time/time'
5252
import { useInterval } from 'utilities/src/time/timing'
5353
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
54+
import { useTestnetModeForLoggingAndAnalytics } from 'wallet/src/features/testnetMode/hooks'
5455
import { SharedWalletProvider } from 'wallet/src/providers/SharedWalletProvider'
5556

5657
getLocalUserId()
@@ -202,6 +203,7 @@ function useDappRequestPortListener(): void {
202203
function SidebarWrapper(): JSX.Element {
203204
const dispatch = useDispatch()
204205
useDappRequestPortListener()
206+
useTestnetModeForLoggingAndAnalytics()
205207

206208
useEffect(() => {
207209
dispatch(syncAppWithDeviceLanguage())

apps/extension/src/app/UnitagClaimApp.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import { UnitagUpdaterContextProvider } from 'uniswap/src/features/unitags/conte
2626
import i18n from 'uniswap/src/i18n/i18n'
2727
import { logger } from 'utilities/src/logger/logger'
2828
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
29+
import { useTestnetModeForLoggingAndAnalytics } from 'wallet/src/features/testnetMode/hooks'
2930
import { SharedWalletProvider } from 'wallet/src/providers/SharedWalletProvider'
3031

3132
getLocalUserId()
@@ -58,6 +59,7 @@ router.subscribe((state) => {
5859
setRouter(router)
5960

6061
function UnitagClaimAppInner(): JSX.Element {
62+
useTestnetModeForLoggingAndAnalytics()
6163
return (
6264
<Flex alignItems="center" justifyContent="center" minHeight="100vh" width="100%">
6365
<OnboardingStepsProvider

apps/extension/src/app/features/dapp/DappContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import { extractBaseUrl } from 'src/app/features/dappRequests/utils'
88
import { closePopup, PopupName } from 'src/app/features/popups/slice'
99
import { backgroundToSidePanelMessageChannel } from 'src/background/messagePassing/messageChannels'
1010
import { BackgroundToSidePanelRequestType } from 'src/background/messagePassing/types/requests'
11-
import { WalletChainId } from 'uniswap/src/types/chains'
11+
import { UniverseChainId } from 'uniswap/src/types/chains'
1212
import { useActiveAccountAddress } from 'wallet/src/features/wallet/hooks'
1313

1414
type DappContextState = {
1515
dappUrl: string
1616
dappIconUrl?: string
1717
isConnected: boolean
18-
lastChainId?: WalletChainId
18+
lastChainId?: UniverseChainId
1919
}
2020

2121
const DappContext = createContext<DappContextState | undefined>(undefined)

apps/extension/src/app/features/dapp/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import {
77
UpdateConnectionRequest,
88
} from 'src/background/messagePassing/types/requests'
99
import { chainIdToHexadecimalString } from 'uniswap/src/features/chains/utils'
10-
import { WalletChainId } from 'uniswap/src/types/chains'
10+
import { UniverseChainId } from 'uniswap/src/types/chains'
1111
import { Account } from 'wallet/src/features/wallet/accounts/types'
1212
import { getProviderSync } from 'wallet/src/features/wallet/context'
1313

14-
export async function saveDappChain(dappUrl: string, chainId: WalletChainId): Promise<void> {
14+
export async function saveDappChain(dappUrl: string, chainId: UniverseChainId): Promise<void> {
1515
dappStore.updateDappLatestChainId(dappUrl, chainId)
1616
const provider = getProviderSync(chainId)
1717

apps/extension/src/app/features/dapp/changeChain.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { DappResponseType } from 'src/app/features/dappRequests/types/DappReques
66
import { chainIdToHexadecimalString } from 'uniswap/src/features/chains/utils'
77
import { ExtensionEventName } from 'uniswap/src/features/telemetry/constants'
88
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
9-
import { WalletChainId } from 'uniswap/src/types/chains'
9+
import { UniverseChainId } from 'uniswap/src/types/chains'
1010

1111
// Mock dependencies
1212
jest.mock('@ethersproject/providers')
@@ -18,7 +18,7 @@ jest.mock('uniswap/src/features/chains/utils')
1818
describe('changeChain', () => {
1919
const mockRequestId = 'test-request-id'
2020
const mockProviderUrl = 'http://localhost:8545'
21-
const mockChainId = 1 as WalletChainId
21+
const mockChainId = 1 as UniverseChainId
2222

2323
let mockProvider: JsonRpcProvider
2424

0 commit comments

Comments
 (0)