Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Aug 5, 2024
1 parent fbe0233 commit 66754ca
Show file tree
Hide file tree
Showing 81 changed files with 8,613 additions and 11,346 deletions.
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

21 changes: 7 additions & 14 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
IPFS hash of the deployment:
- CIDv0: `Qmb16dcqcbFFjG7vkpfKEeZp4fNHBcbzXwuPLW92MQNRAx`
- CIDv1: `bafybeif4ewp6t3m3h2yfzmgwe6o3lcccxeec5asf5xkezonc6vwcpxw5de`
We are back with some new new updates! Here’s the latest:

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
UniswapX is live: We’ve integrated the UniswapX protocol, which aggregates liquidity across onchain and offchain sources for better quotes.

You can also access the Uniswap Interface from an IPFS gateway.
**BEWARE**: The Uniswap interface uses [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) to remember your settings, such as which tokens you have imported.
**You should always use an IPFS gateway that enforces origin separation**, or our hosted deployment of the latest release at [app.uniswap.org](https://app.uniswap.org).
Your Uniswap settings are never remembered across different URLs.
Easy import to Uniswap Extension: Onboard onto our new Chrome extension wallet easily by scanning a QR code with your Uniswap Mobile App.

IPFS gateways:
- https://bafybeif4ewp6t3m3h2yfzmgwe6o3lcccxeec5asf5xkezonc6vwcpxw5de.ipfs.dweb.link/
- https://bafybeif4ewp6t3m3h2yfzmgwe6o3lcccxeec5asf5xkezonc6vwcpxw5de.ipfs.cf-ipfs.com/
- [ipfs://Qmb16dcqcbFFjG7vkpfKEeZp4fNHBcbzXwuPLW92MQNRAx/](ipfs://Qmb16dcqcbFFjG7vkpfKEeZp4fNHBcbzXwuPLW92MQNRAx/)

### 5.40.3 (2024-07-25)
Transaction Details: Press anything on the Activity Screen and see more robust details about any of your transactions (swaps, sends, NFTs, etc).

Other changes:

- Onboarding improvements
- Various bug fixes and performance improvements
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.40.3
mobile/1.31.1
6 changes: 3 additions & 3 deletions apps/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,17 @@ android {
dev {
isDefault(true)
applicationIdSuffix ".dev"
versionName "1.31"
versionName "1.31.1"
dimension "variant"
}
beta {
applicationIdSuffix ".beta"
versionName "1.31"
versionName "1.31.1"
dimension "variant"
}
prod {
dimension "variant"
versionName "1.31"
versionName "1.31.1"
}
}

Expand Down
32 changes: 16 additions & 16 deletions apps/mobile/ios/Uniswap.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
Expand Down Expand Up @@ -2580,7 +2580,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.widgets;
Expand Down Expand Up @@ -2626,7 +2626,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.dev.widgets;
Expand Down Expand Up @@ -2672,7 +2672,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.beta.widgets;
Expand Down Expand Up @@ -2714,7 +2714,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
Expand Down Expand Up @@ -2757,7 +2757,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.WidgetIntentExtension;
Expand Down Expand Up @@ -2800,7 +2800,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.dev.WidgetIntentExtension;
Expand Down Expand Up @@ -2843,7 +2843,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.beta.WidgetIntentExtension;
Expand Down Expand Up @@ -2879,7 +2879,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -2917,7 +2917,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -3103,7 +3103,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
Expand Down Expand Up @@ -3147,7 +3147,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.OneSignalNotificationServiceExtension;
Expand Down Expand Up @@ -3251,7 +3251,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -3322,7 +3322,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.beta.OneSignalNotificationServiceExtension;
Expand Down Expand Up @@ -3426,7 +3426,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -3497,7 +3497,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.31;
MARKETING_VERSION = 1.31.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.uniswap.mobile.dev.OneSignalNotificationServiceExtension;
Expand Down
8 changes: 8 additions & 0 deletions apps/mobile/src/app/migrations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import {
v63Schema,
v64Schema,
v65Schema,
v66Schema,
v6Schema,
v7Schema,
v8Schema,
Expand Down Expand Up @@ -1407,4 +1408,11 @@ describe('Redux state migrations', () => {
const v66 = migrations[66]
testActivatePendingAccounts(v66, v65Schema)
})

it('migrates from v66 to v67', () => {
const v66Stub = { ...v66Schema }
const v67 = migrations[67](v66Stub)

expect(v67.behaviorHistory.extensionOnboardingState).toBe(ExtensionOnboardingState.Undefined)
})
})
14 changes: 13 additions & 1 deletion apps/mobile/src/app/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,18 @@ export const migrations = {
65: addRoutingFieldToTransactions,

66: activatePendingAccounts,

67: function resetOnboardingStateForGA(state: any) {
const newState = { ...state }

// Reset state so that everyone gets the new promo banner even if theyve dismissed the beta version.
newState.behaviorHistory = {
...state.behaviorHistory,
extensionOnboardingState: ExtensionOnboardingState.Undefined,
}

return newState
},
}

export const MOBILE_STATE_VERSION = 66
export const MOBILE_STATE_VERSION = 67
4 changes: 3 additions & 1 deletion apps/mobile/src/app/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@ export const v65Schema = { ...v64Schema }

export const v66Schema = { ...v65Schema }

export const v67Schema = { ...v66Schema }

// TODO: [MOB-201] use function with typed output when API reducers are removed from rootReducer
// export const getSchema = (): RootState => v0Schema
export const getSchema = (): typeof v65Schema => v65Schema
export const getSchema = (): typeof v67Schema => v67Schema
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function WalletConnectRequestModalContent({

<Flex gap="$spacing8" mb="$spacing12" pt="$spacing20" px="$spacing4">
<NetworkFeeFooter chainId={chainId} gasFeeUSD={hasGasFee ? gasFeeUSD : '0'} showNetworkLogo={hasGasFee} />
<AddressFooter activeAccountAddress={request.account} />
<AddressFooter activeAccountAddress={request.account} px="$spacing8" />
</Flex>

{!hasSufficientFunds && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const SwitchAccountRow = ({ activeAddress, setModalState }: SwitchAccountProps):
return (
<TouchableArea disabled={!accountIsSwitchable} m="$none" testID={TestID.WCDappSwitchAccount} onPress={onPress}>
<Flex row justifyContent="space-between">
<AddressFooter activeAccountAddress={activeAddress} />
<AddressFooter activeAccountAddress={activeAddress} px="$spacing8" />
{accountIsSwitchable && <RotatableChevron color="$neutral2" direction="down" height={16} width={16} />}
</Flex>
</TouchableArea>
Expand Down
23 changes: 9 additions & 14 deletions apps/mobile/src/components/home/ActivityTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,13 @@ export const ActivityTab = memo(
dispatch(openModal({ name: ModalName.WalletConnectScan, initialState: ScannerModalState.WalletQr }))
}

const { maybeLoaderComponent, maybeEmptyComponent, renderActivityItem, sectionData, keyExtractor } =
useActivityData({
owner,
authTrigger: requiresBiometrics ? biometricsTrigger : undefined,
isExternalProfile,
emptyComponentStyle: containerProps?.emptyComponentStyle,
onPressEmptyState: onPressReceive,
})
const { maybeEmptyComponent, renderActivityItem, sectionData, keyExtractor } = useActivityData({
owner,
authTrigger: requiresBiometrics ? biometricsTrigger : undefined,
isExternalProfile,
emptyComponentStyle: containerProps?.emptyComponentStyle,
onPressEmptyState: onPressReceive,
})

const refreshControl = useMemo(() => {
return (
Expand All @@ -77,12 +76,8 @@ export const ActivityTab = memo(
ref={ref as ForwardedRef<Animated.FlatList<any>>}
ListEmptyComponent={maybeEmptyComponent}
// we add a footer to cover any possible space, so user can scroll the top menu all the way to the top
ListFooterComponent={
<>
{maybeLoaderComponent}
{isExternalProfile ? null : adaptiveFooter}
</>
}
ListFooterComponent={isExternalProfile ? null : adaptiveFooter}
// `sectionData` will be either an array of transactions or an array of loading skeletons
data={sectionData}
estimatedItemSize={ESTIMATED_ITEM_SIZE}
initialNumToRender={20}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function key(item: FORServiceProvider): string {
}

const CEX_ICON_SIZE = iconSizes.icon36
const CEX_ICON_BORDER_RADIUS = 12
const CEX_ICON_BORDER_RADIUS = 8

function CEXItemWrapper({
serviceProvider,
Expand Down
Loading

0 comments on commit 66754ca

Please sign in to comment.