Skip to content

Commit 4ce623a

Browse files
ci(release): publish latest release
1 parent f230d55 commit 4ce623a

File tree

881 files changed

+17204
-12837
lines changed

Some content is hidden

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

881 files changed

+17204
-12837
lines changed

RELEASE

+55-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmdhNVNTTE8WpUyhrkdiNQz5rLkUF7wyDC8sJ9aA1yDQtu`
3-
- CIDv1: `bafybeihefyuu3tgh7s3zrkveulspuate3kjfrqoler2mmqvefxldfnmudy`
2+
- CIDv0: `QmWGmmxMXRoU7TLNMzuoS2q2NdvqXPNRAohP4T3SnUrif1`
3+
- CIDv1: `bafybeidv34uycjmpmnvpdu2oouq7r3saf2o34davruawyxtavesx3kpeda`
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://bafybeihefyuu3tgh7s3zrkveulspuate3kjfrqoler2mmqvefxldfnmudy.ipfs.dweb.link/
14-
- https://bafybeihefyuu3tgh7s3zrkveulspuate3kjfrqoler2mmqvefxldfnmudy.ipfs.cf-ipfs.com/
15-
- [ipfs://QmdhNVNTTE8WpUyhrkdiNQz5rLkUF7wyDC8sJ9aA1yDQtu/](ipfs://QmdhNVNTTE8WpUyhrkdiNQz5rLkUF7wyDC8sJ9aA1yDQtu/)
13+
- https://bafybeidv34uycjmpmnvpdu2oouq7r3saf2o34davruawyxtavesx3kpeda.ipfs.dweb.link/
14+
- https://bafybeidv34uycjmpmnvpdu2oouq7r3saf2o34davruawyxtavesx3kpeda.ipfs.cf-ipfs.com/
15+
- [ipfs://QmWGmmxMXRoU7TLNMzuoS2q2NdvqXPNRAohP4T3SnUrif1/](ipfs://QmWGmmxMXRoU7TLNMzuoS2q2NdvqXPNRAohP4T3SnUrif1/)
1616

17-
### 5.44.4 (2024-08-30)
17+
## 5.45.0 (2024-09-04)
18+
19+
20+
### Features
21+
22+
* **web:** [multi-explore] add analytics event for explore page chain switch (#11380) d53777d
23+
* **web:** [multi-explore] hide txs tab in aggregated view (#11363) a700d9f
24+
* **web:** [multi-explore] multichain top tokens table (#10659) dcc8035
25+
* **web:** [multi-explore] Rounded volume bars (#11416) 1d998ba
26+
* **web:** [multi-explore] Support multichain REST data query (#10658) e09c6a6
27+
* **web:** [multichain_explore] hide network selector on explore pages (#11345) 6cabe23
28+
* **web:** [multichain_explore] update protocol legend styles (#11185) b419ff3
29+
* **web:** [multichain_explore] update tvl chart styles (#11088) 5dda845
30+
* **web:** [multichain_explore] update volume chart styles (#11225) e30658f
31+
* **web:** [rest] Add context layer to Explore page (#10477) edf40fb
32+
* **web:** [rest] use rest data for Explore TVL Chart (#10645) 86e1725
33+
* **web:** [rest] use rest data for Explore Volume Chart (#10646) 2c56637
34+
* **web:** [rest] use rest data for Top Pools Table (#10621) fd3c7b4
35+
* **web:** [rest] use rest data for Top Tokens Sparkline graphs (#11120) fa6bc46
36+
* **web:** [rest] use rest data for Top Tokens Table (#10587) 9beb701
37+
* **web:** add account CTA experiments (#11358) 0f6e6b0
38+
* **web:** BE zkSync Support (#11406) fcfaed9
39+
* **web:** hide spam nfts if toggled (#9772) 56f0482
40+
* **web:** tamaguify TDP (incl. snapshots) (#11119) f1f2552
41+
* **web:** update account CTA buttons (#11359) 69ddd39
42+
* **web:** update ctas on mobile for downloading the app (#11319) ed9d949
43+
* **web:** update GetStarted modal (#11360) 1ec11c6
44+
* **web:** upgrade exploreClient and split exploreStats query (#11386) 750ec18
45+
* **web:** utilize universe's isBlocked (#11400) 058e49b
46+
* **web:** web using standardized search results (#10907) 9515b7e
1847

1948

2049
### Bug Fixes
2150

22-
* **web:** realign explore charts - prod (#11421) a5cfafa
51+
* **web:** add back unfilled alerttriangle when user is connected to unsupported chain (#11451) c9e6509
52+
* **web:** add link to vote (#11423) cabd3f2
53+
* **web:** fix e2e tests (#11244) f4a487a
54+
* **web:** fix missing charts on PDP (#11508) bfa97eb
55+
* **web:** fix switchChain for single-chain wallets (#11339) 3a3148e
56+
* **web:** fix text not ellipsing on explore token table cell (#11448) 91394ef
57+
* **web:** hide scroll for more -staging (#11510) 5bead57
58+
* **web:** realign explore charts (#11420) a6a7995
59+
* **web:** show share menu over chart (#11514) db47942
60+
* **web:** use account.address and update Mobile app promo banner font weight (#11450) eb94c66
61+
* **web:** use input and output currency info for derived swap info (#11398) f251b6b
62+
* **web:** use input and output currency info for parsed amounts (trade) (#11391) 6d9efb6
63+
* **web:** Use neutralContrast for Add Liq and Preview buttons (#11314) a35ff6f
64+
* **web:** use row variant for Flex (#11145) db98ecc
65+
* **web:** Volume Explore chart TimeSelector colors (#11320) 436beb2
66+
67+
68+
### Continuous Integration
69+
70+
* **web:** update sitemaps 911076c
2371

2472

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.44.4
1+
web/5.45.0

apps/extension/src/app/OnboardingApp.tsx

+6-9
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ import { initExtensionAnalytics } from 'src/app/utils/analytics'
3838
import { checksIfSupportsSidePanel } from 'src/app/utils/chrome'
3939
import { PrimaryAppInstanceDebuggerLazy } from 'src/store/PrimaryAppInstanceDebuggerLazy'
4040
import { getReduxPersistor, getReduxStore } from 'src/store/store'
41+
import { LocalizationContextProvider } from 'uniswap/src/features/language/LocalizationContext'
4142
import Trace from 'uniswap/src/features/telemetry/Trace'
4243
import { ExtensionEventName } from 'uniswap/src/features/telemetry/constants'
4344
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
4445
import { UnitagUpdaterContextProvider } from 'uniswap/src/features/unitags/context'
4546
import i18n from 'uniswap/src/i18n/i18n'
4647
import { ExtensionOnboardingFlow } from 'uniswap/src/types/screens/extension'
4748
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
48-
import { LocalizationContextProvider } from 'wallet/src/features/language/LocalizationContext'
49-
import { WalletUniswapProvider } from 'wallet/src/features/transactions/contexts/WalletUniswapContext'
50-
import { SharedProvider } from 'wallet/src/provider'
49+
import { SharedWalletProvider } from 'wallet/src/provider'
5150

5251
const supportsSidePanel = checksIfSupportsSidePanel()
5352

@@ -174,20 +173,18 @@ export default function OnboardingApp(): JSX.Element {
174173
<PersistGate persistor={getReduxPersistor()}>
175174
<ExtensionStatsigProvider>
176175
<I18nextProvider i18n={i18n}>
177-
<SharedProvider reduxStore={getReduxStore()}>
176+
<SharedWalletProvider reduxStore={getReduxStore()}>
178177
<ErrorBoundary>
179178
<GraphqlProvider>
180179
<LocalizationContextProvider>
181180
<UnitagUpdaterContextProvider>
182-
<WalletUniswapProvider>
183-
<PrimaryAppInstanceDebuggerLazy />
184-
<RouterProvider router={router} />
185-
</WalletUniswapProvider>
181+
<PrimaryAppInstanceDebuggerLazy />
182+
<RouterProvider router={router} />
186183
</UnitagUpdaterContextProvider>
187184
</LocalizationContextProvider>
188185
</GraphqlProvider>
189186
</ErrorBoundary>
190-
</SharedProvider>
187+
</SharedWalletProvider>
191188
</I18nextProvider>
192189
</ExtensionStatsigProvider>
193190
</PersistGate>

apps/extension/src/app/PopupApp.tsx

+9-12
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@ import { getReduxPersistor, getReduxStore } from 'src/store/store'
1818
import { Button, Flex, Image, Text } from 'ui/src'
1919
import { CHROME_LOGO, UNISWAP_LOGO } from 'ui/src/assets'
2020
import { iconSizes, spacing } from 'ui/src/theme'
21+
import { LocalizationContextProvider } from 'uniswap/src/features/language/LocalizationContext'
22+
import { syncAppWithDeviceLanguage } from 'uniswap/src/features/settings/slice'
2123
import Trace from 'uniswap/src/features/telemetry/Trace'
2224
import { ElementName } from 'uniswap/src/features/telemetry/constants'
2325
import { UnitagUpdaterContextProvider } from 'uniswap/src/features/unitags/context'
2426
import i18n from 'uniswap/src/i18n/i18n'
2527
import { ExtensionScreens } from 'uniswap/src/types/screens/extension'
2628
import { logger } from 'utilities/src/logger/logger'
2729
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
28-
import { LocalizationContextProvider } from 'wallet/src/features/language/LocalizationContext'
29-
import { syncAppWithDeviceLanguage } from 'wallet/src/features/language/slice'
30-
import { WalletUniswapProvider } from 'wallet/src/features/transactions/contexts/WalletUniswapContext'
31-
import { SharedProvider } from 'wallet/src/provider'
30+
import { SharedWalletProvider } from 'wallet/src/provider'
3231

3332
getLocalUserId()
3433
.then((userId) => {
@@ -128,22 +127,20 @@ export default function PopupApp(): JSX.Element {
128127
<PersistGate persistor={getReduxPersistor()}>
129128
<ExtensionStatsigProvider>
130129
<I18nextProvider i18n={i18n}>
131-
<SharedProvider reduxStore={getReduxStore()}>
130+
<SharedWalletProvider reduxStore={getReduxStore()}>
132131
<ErrorBoundary>
133132
<GraphqlProvider>
134133
<LocalizationContextProvider>
135134
<UnitagUpdaterContextProvider>
136-
<WalletUniswapProvider>
137-
<TraceUserProperties />
138-
<DappContextProvider>
139-
<RouterProvider router={router} />
140-
</DappContextProvider>
141-
</WalletUniswapProvider>
135+
<TraceUserProperties />
136+
<DappContextProvider>
137+
<RouterProvider router={router} />
138+
</DappContextProvider>
142139
</UnitagUpdaterContextProvider>
143140
</LocalizationContextProvider>
144141
</GraphqlProvider>
145142
</ErrorBoundary>
146-
</SharedProvider>
143+
</SharedWalletProvider>
147144
</I18nextProvider>
148145
</ExtensionStatsigProvider>
149146
</PersistGate>

apps/extension/src/app/SidebarApp.tsx

+11-15
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'src/app/Global.css'
44
import { useEffect, useRef, useState } from 'react'
55
import { I18nextProvider } from 'react-i18next'
66
import { useDispatch } from 'react-redux'
7-
import { RouterProvider, ScrollRestoration } from 'react-router-dom'
7+
import { RouterProvider } from 'react-router-dom'
88
import { PersistGate } from 'redux-persist/integration/react'
99
import { ExtensionStatsigProvider } from 'src/app/StatsigProvider'
1010
import { GraphqlProvider } from 'src/app/apollo'
@@ -38,6 +38,8 @@ import {
3838
import { BackgroundToSidePanelRequestType } from 'src/background/messagePassing/types/requests'
3939
import { PrimaryAppInstanceDebuggerLazy } from 'src/store/PrimaryAppInstanceDebuggerLazy'
4040
import { getReduxPersistor, getReduxStore } from 'src/store/store'
41+
import { LocalizationContextProvider } from 'uniswap/src/features/language/LocalizationContext'
42+
import { syncAppWithDeviceLanguage } from 'uniswap/src/features/settings/slice'
4143
import Trace from 'uniswap/src/features/telemetry/Trace'
4244
import { ExtensionEventName } from 'uniswap/src/features/telemetry/constants'
4345
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
@@ -48,10 +50,7 @@ import { logger } from 'utilities/src/logger/logger'
4850
import { ONE_SECOND_MS } from 'utilities/src/time/time'
4951
import { useInterval } from 'utilities/src/time/timing'
5052
import { ErrorBoundary } from 'wallet/src/components/ErrorBoundary/ErrorBoundary'
51-
import { LocalizationContextProvider } from 'wallet/src/features/language/LocalizationContext'
52-
import { syncAppWithDeviceLanguage } from 'wallet/src/features/language/slice'
53-
import { WalletUniswapProvider } from 'wallet/src/features/transactions/contexts/WalletUniswapContext'
54-
import { SharedProvider } from 'wallet/src/provider'
53+
import { SharedWalletProvider } from 'wallet/src/provider'
5554

5655
getLocalUserId()
5756
.then((userId) => {
@@ -205,7 +204,6 @@ function SidebarWrapper(): JSX.Element {
205204

206205
return (
207206
<>
208-
<ScrollRestoration />
209207
<WebNavigation />
210208
</>
211209
)
@@ -242,23 +240,21 @@ export default function SidebarApp(): JSX.Element {
242240
<PersistGate persistor={getReduxPersistor()}>
243241
<ExtensionStatsigProvider>
244242
<I18nextProvider i18n={i18n}>
245-
<SharedProvider reduxStore={getReduxStore()}>
243+
<SharedWalletProvider reduxStore={getReduxStore()}>
246244
<ErrorBoundary>
247245
<GraphqlProvider>
248246
<LocalizationContextProvider>
249247
<UnitagUpdaterContextProvider>
250-
<WalletUniswapProvider>
251-
<TraceUserProperties />
252-
<DappContextProvider>
253-
<PrimaryAppInstanceDebuggerLazy />
254-
<RouterProvider router={router} />
255-
</DappContextProvider>
256-
</WalletUniswapProvider>
248+
<TraceUserProperties />
249+
<DappContextProvider>
250+
<PrimaryAppInstanceDebuggerLazy />
251+
<RouterProvider router={router} />
252+
</DappContextProvider>
257253
</UnitagUpdaterContextProvider>
258254
</LocalizationContextProvider>
259255
</GraphqlProvider>
260256
</ErrorBoundary>
261-
</SharedProvider>
257+
</SharedWalletProvider>
262258
</I18nextProvider>
263259
</ExtensionStatsigProvider>
264260
</PersistGate>

apps/extension/src/app/components/PasswordInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function StrengthIndicator({ strength }: { strength: PasswordStrength }): JSX.El
5858

5959
return (
6060
<Flex position="absolute" right="$spacing24">
61-
<Text color={color} variant="buttonLabel4">
61+
<Text color={color} variant="buttonLabel2">
6262
{text}
6363
</Text>
6464
</Flex>

apps/extension/src/app/components/Trace/TraceUserProperties.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { useEffect } from 'react'
22
import { useColorScheme } from 'react-native'
3+
import { useAppFiatCurrencyInfo } from 'uniswap/src/features/fiatCurrency/hooks'
4+
import { useCurrentLanguage } from 'uniswap/src/features/language/hooks'
35
import { useHideSmallBalancesSetting, useHideSpamTokensSetting } from 'uniswap/src/features/settings/hooks'
46
import { ExtensionUserPropertyName, setUserProperty } from 'uniswap/src/features/telemetry/user'
57
// eslint-disable-next-line no-restricted-imports
68
import { analytics } from 'utilities/src/telemetry/analytics/analytics'
7-
import { useAppFiatCurrencyInfo } from 'wallet/src/features/fiatCurrency/hooks'
89
import { useGatingUserPropertyUsernames } from 'wallet/src/features/gating/userPropertyHooks'
9-
import { useCurrentLanguage } from 'wallet/src/features/language/hooks'
1010
import { useActiveAccount, useSignerAccounts, useViewOnlyAccounts } from 'wallet/src/features/wallet/hooks'
1111

1212
/** Component that tracks UserProperties during the lifetime of the app */

apps/extension/src/app/components/buttons/CopyButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function CopyButton({ onCopyPress }: { onCopyPress: () => Promise<void> }
6060
color={valueCopied ? '$statusSuccess' : '$neutral2'}
6161
cursor="pointer"
6262
flexShrink={1}
63-
variant="buttonLabel4"
63+
variant="buttonLabel3"
6464
x={valueCopied ? -2 : 0}
6565
y={0.5}
6666
>

apps/extension/src/app/components/modal/InfoModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function InfoModal({
6565
</Button>
6666
{linkText && linkUrl && (
6767
<Anchor href={linkUrl} lineHeight={16} p="$spacing12" target="_blank" textDecorationLine="none">
68-
<Text color="$neutral2" textAlign="center" variant="buttonLabel4">
68+
<Text color="$neutral2" textAlign="center" variant="buttonLabel3">
6969
{linkText}
7070
</Text>
7171
</Anchor>

apps/extension/src/app/features/accounts/AccountItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import { removeAllDappConnectionsForAccount } from 'src/app/features/dapp/action
77
import { ContextMenu, Flex, MenuContentItem, Text, TouchableArea } from 'ui/src'
88
import { CopySheets, Edit, TrashFilled, TripleDots } from 'ui/src/components/icons'
99
import { iconSizes } from 'ui/src/theme'
10+
import { useLocalizationContext } from 'uniswap/src/features/language/LocalizationContext'
1011
import { ElementName, ModalName } from 'uniswap/src/features/telemetry/constants'
1112
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
1213
import { WarningSeverity } from 'uniswap/src/features/transactions/WarningModal/types'
1314
import { setClipboard } from 'uniswap/src/utils/clipboard'
1415
import { NumberType } from 'utilities/src/format/types'
1516
import { AddressDisplay } from 'wallet/src/components/accounts/AddressDisplay'
1617
import { WarningModal } from 'wallet/src/components/modals/WarningModal/WarningModal'
17-
import { useLocalizationContext } from 'wallet/src/features/language/LocalizationContext'
1818
import { pushNotification } from 'wallet/src/features/notifications/slice'
1919
import { AppNotificationType, CopyNotificationType } from 'wallet/src/features/notifications/types'
2020
import { EditAccountAction, editAccountActions } from 'wallet/src/features/wallet/accounts/editAccountSaga'

apps/extension/src/app/features/accounts/AccountSwitcherScreen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export function AccountSwitcherScreen(): JSX.Element {
246246
px="$spacing12"
247247
>
248248
<PlusCircle />
249-
<Text color="$neutral2" py="$spacing8" variant="buttonLabel3">
249+
<Text color="$neutral2" py="$spacing8" variant="buttonLabel2">
250250
{t('account.wallet.button.add')}
251251
</Text>
252252
</Flex>

apps/extension/src/app/features/accounts/__snapshots__/AccountSwitcherScreen.test.tsx.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
170170
data-testid="account-card"
171171
>
172172
<span
173-
class="font_button _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-675002279 _fontFamily-299667014 _cursor-pointer _fontSize-229441158 _fontWeight-233016109 _lineHeight-222976511"
173+
class="font_button _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-675002279 _fontFamily-299667014 _cursor-pointer _fontSize-229441189 _fontWeight-233016109 _lineHeight-222976542"
174174
>
175175
Edit label
176176
</span>
@@ -222,7 +222,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
222222
</svg>
223223
</div>
224224
<span
225-
class="font_button _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _pt-1481558245 _pb-1481558245 _fontSize-229441158 _lineHeight-222976511 _fontWeight-233016109"
225+
class="font_button _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _pt-1481558245 _pb-1481558245 _fontSize-229441189 _lineHeight-222976542 _fontWeight-233016109"
226226
data-disable-theme="true"
227227
>
228228
Add wallet
@@ -404,7 +404,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
404404
data-testid="account-card"
405405
>
406406
<span
407-
class="font_button _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-675002279 _fontFamily-299667014 _cursor-pointer _fontSize-229441158 _fontWeight-233016109 _lineHeight-222976511"
407+
class="font_button _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-675002279 _fontFamily-299667014 _cursor-pointer _fontSize-229441189 _fontWeight-233016109 _lineHeight-222976542"
408408
>
409409
Edit label
410410
</span>
@@ -456,7 +456,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
456456
</svg>
457457
</div>
458458
<span
459-
class="font_button _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _pt-1481558245 _pb-1481558245 _fontSize-229441158 _lineHeight-222976511 _fontWeight-233016109"
459+
class="font_button _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _pt-1481558245 _pb-1481558245 _fontSize-229441189 _lineHeight-222976542 _fontWeight-233016109"
460460
data-disable-theme="true"
461461
>
462462
Add wallet

0 commit comments

Comments
 (0)