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 Mar 13, 2024
1 parent 171842f commit 4fdcca6
Show file tree
Hide file tree
Showing 754 changed files with 14,268 additions and 10,211 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ yarn-error.log*

dist/out-tsc/*

# Locale backup files
packages/wallet/src/i18n/locales/*_old.json
# Locale backup/generated files
packages/wallet/src/i18n/locales/source/*_old.json
packages/wallet/src/i18n/locales/@types/resources.d.ts

# ci
.ci-cache/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@vercel/og/dist/index.edge.js b/node_modules/@vercel/og/dist/index.edge.js
index 5187f88..eda01d0 100644
--- a/node_modules/@vercel/og/dist/index.edge.js
+++ b/node_modules/@vercel/og/dist/index.edge.js
diff --git a/dist/index.edge.js b/dist/index.edge.js
index 5187f88ab3375622199e7628cf15c00ffef65584..c9bd7c209ea70b8db3b57d277bf87535ccd07f6f 100644
--- a/dist/index.edge.js
+++ b/dist/index.edge.js
@@ -18673,8 +18673,8 @@ var Resvg2 = class extends Resvg {
};

Expand Down Expand Up @@ -32,10 +32,10 @@ index 5187f88..eda01d0 100644
weight: 700,
style: "normal"
}
diff --git a/node_modules/@vercel/og/dist/types.d.ts b/node_modules/@vercel/og/dist/types.d.ts
index dde26cc..d075e99 100644
--- a/node_modules/@vercel/og/dist/types.d.ts
+++ b/node_modules/@vercel/og/dist/types.d.ts
diff --git a/dist/types.d.ts b/dist/types.d.ts
index dde26cc6bbee29507d79bd0a9ec6c27719420038..d075e99d4ac094f35379c8a9014e6ca0b3c8be0f 100644
--- a/dist/types.d.ts
+++ b/dist/types.d.ts
@@ -28,9 +28,8 @@ declare type ImageOptions = {
* A list of fonts to use.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@web3-react/coinbase-wallet/dist/index.js b/node_modules/@web3-react/coinbase-wallet/dist/index.js
index f38d06e..4f8fa19 100644
--- a/node_modules/@web3-react/coinbase-wallet/dist/index.js
+++ b/node_modules/@web3-react/coinbase-wallet/dist/index.js
diff --git a/dist/index.js b/dist/index.js
index f38d06e2de52b5035560d63d6889dc54d5ca021b..4f8fa194b60c73a901dbce4a742f598b1c95c026 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -62,7 +62,7 @@ class CoinbaseWallet extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
if (this.eagerConnection)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@web3-react/gnosis-safe/dist/index.js b/node_modules/@web3-react/gnosis-safe/dist/index.js
index 015a33c..4cd7cde 100644
--- a/node_modules/@web3-react/gnosis-safe/dist/index.js
+++ b/node_modules/@web3-react/gnosis-safe/dist/index.js
diff --git a/dist/index.js b/dist/index.js
index 015a33c37fe87f13f31559d462351acd7ae9bac7..4cd7cdeb4437f30c1c063c0ffb8fd5692a399dbf 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -68,8 +68,8 @@ class GnosisSafe extends types_1.Connector {
if (this.eagerConnection)
return;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@web3-react/metamask/dist/index.js b/node_modules/@web3-react/metamask/dist/index.js
index c8476dd..c0bfce7 100644
--- a/node_modules/@web3-react/metamask/dist/index.js
+++ b/node_modules/@web3-react/metamask/dist/index.js
diff --git a/dist/index.js b/dist/index.js
index c8476dd9b01c0599dfc545f4c86432081bd0fcec..c0bfce759654232df771724e59a650c92b392f78 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -54,7 +54,7 @@ class MetaMask extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
if (this.eagerConnection)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@web3-react/walletconnect-v2/dist/index.js b/node_modules/@web3-react/walletconnect-v2/dist/index.js
index 1a36d14..908b8c5 100644
--- a/node_modules/@web3-react/walletconnect-v2/dist/index.js
+++ b/node_modules/@web3-react/walletconnect-v2/dist/index.js
diff --git a/dist/index.js b/dist/index.js
index 1a36d14c5d7c9ee55b2eccd11216c8adb6839daf..908b8c57a2d8cd565030e34e15c56caf7d182cfd 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -84,7 +84,7 @@ class WalletConnect extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
const rpcMap = this.rpcMap ? (0, utils_1.getBestUrlMap)(this.rpcMap, this.timeout) : undefined;
Expand All @@ -11,10 +11,10 @@ index 1a36d14..908b8c5 100644
this.provider = yield ethProviderModule.default.init(Object.assign(Object.assign(Object.assign({}, this.options), chainProps), { rpcMap: yield rpcMap }));
return this.provider
.on('disconnect', this.disconnectListener)
diff --git a/node_modules/@web3-react/walletconnect-v2/dist/utils.js b/node_modules/@web3-react/walletconnect-v2/dist/utils.js
index 17539b6..9ea6371 100644
--- a/node_modules/@web3-react/walletconnect-v2/dist/utils.js
+++ b/node_modules/@web3-react/walletconnect-v2/dist/utils.js
diff --git a/dist/utils.js b/dist/utils.js
index 17539b6f910e65aeaebcc116395dce56ae4ce193..9ea637118844ebbdc55db71009b44849992603d2 100644
--- a/dist/utils.js
+++ b/dist/utils.js
@@ -62,8 +62,8 @@ function getBestUrl(urls, timeout) {
if (urls.length === 1)
return urls[0];
Expand Down
14 changes: 14 additions & 0 deletions .yarn/patches/detox-npm-20.18.1-b532b310b4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/android/rninfo.gradle b/android/rninfo.gradle
index c09d2af1d219a4134dc0301e9270aef568730d2b..f1b887cf5dcf56c2f66fff3e6f1b674d48704dac 100644
--- a/android/rninfo.gradle
+++ b/android/rninfo.gradle
@@ -3,7 +3,8 @@ import groovy.json.JsonSlurper
def getRNVersion = { workingDir ->
println("RNInfo: workingDir=$workingDir")
def jsonSlurper = new JsonSlurper()
- def packageFile = "$workingDir/../node_modules/react-native/package.json"
+ // Fixes patch to node_modules in monorepo project
+ def packageFile = "$workingDir/../../../node_modules/react-native/package.json"
println("RNInfo: reading $packageFile")
Map<String, Object> packageJSON = jsonSlurper.parse(new File(packageFile))
String rnVersion = packageJSON.get('version')
Binary file not shown.
18 changes: 18 additions & 0 deletions .yarn/patches/rive-react-native-npm-6.1.1-39035aee2b.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/android/build.gradle b/android/build.gradle
index 83a10e5c57ba7c8d82db28f8e868a93327790457..dbda4fa4b0391a210f902c8ab17375a29594d22d 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -50,6 +50,13 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
+ // Resolves library merge issues during detox e2e build
+ packagingOptions {
+ pickFirst 'lib/x86/libc++_shared.so'
+ pickFirst 'lib/x86_64/libc++_shared.so'
+ pickFirst 'lib/armeabi-v7a/libc++_shared.so'
+ pickFirst 'lib/arm64-v8a/libc++_shared.so'
+ }
}

repositories {
58 changes: 58 additions & 0 deletions .yarn/patches/zone.js-npm-0.14.4-2d2e93cd7c.patch

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @uniswap/web-admins
77 changes: 72 additions & 5 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,8 +1,75 @@
We are back with another round of updates. Here’s what’s new:
IPFS hash of the deployment:
- CIDv0: `QmbvpQZnmawF3Fj7MkSmPaiDXGaEgbnHUsHPcdphF2zdQS`
- CIDv1: `bafybeigj5csihxv2gcyb4r2jaceaco7bmkltzh6krxveckivxp7hzto6s4`

Launched uni.eth usernames! This is a readable username that makes it easy to receive crypto and build your web3 profile. Claim your username in the app.
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

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.

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

## 5.18.0 (2024-03-13)


### Features

* **web:** [info] correctly identify buy/sell txs on TDP (#6715) 2c2f316
* **web:** [info] correctly sort 1 day % change at different time intervals (#6703) 28e9f57
* **web:** [info] Unwrap Natives on Info Pages (#6655) 7f4164d
* **web:** [info] wrap error text in charts (#6705) c02ab49
* **web:** add more limits disclaimers (#6737) fb50849
* **web:** add trace.now() (#6782) 4384e96
* **web:** add zone.js (#6697) 8b47c08
* **web:** Hide 1H time option on PDP price chart (#6807) c6f84a3
* **web:** trace permit ops (#6784) 6417afd
* **web:** trace requests (#6698) 37eddbd
* **web:** trace tx ops (#6785) 7dd8d9c
* **web:** trace wallet ops (#6783) b7d6793
* **web:** update Sentry tracing integration (#6696) e3872d2


### Bug Fixes

* **web:** [charts] use neutral3 dot grid (#6678) deb3486
* **web:** [info] handle null priceHistory (#6806) 231d331
* **web:** [info] Update PDP TX Table on token order switch (#6772) 371b6b4
* **web:** adjust disconnect button hover state (#6788) 7df2c12
* **web:** avoid navigator.getBattery call on web (#6708) bdd8f91
* **web:** dedupe and use shared version of useAsyncData hook (#6734) 31275df
* **web:** fiatCurrency is undefined (#6811) 3c8bea8
* **web:** fix failing snapshot test for OffchainActivityModal (#6719) dedc87b
* **web:** fix grammar in limits disclaimer (#6704) c197a86
* **web:** fix incorrect label in OffchainActivityModal (#6694) 0215c87
* **web:** fix mouseover remnant (#6725) 7fe49b8
* **web:** fix token explore cypress tests (#6764) 2a5e945
* **web:** fixes for Limits Menu on mobile layout (#6706) dc67454
* **web:** limits cancellation gas estimates (#6716) 0406324
* **web:** navigation cypress test (#6765) 889f5a3
* **web:** patch zone.js to allow wc modal (#6865) c2166a8
* **web:** remove NFT Airdrop claim (#6754) 6235a76
* **web:** swap flow e2e tests (#6767) 8248b9e
* **web:** universal search cypress test (#6766) dbeb2c2


### Documentation

* **web:** Sentry readme (#5501) 1f3f75e


### Code Refactoring

* **web:** use NATIVE_CHAIN_ID over static string (#6770) 94c020a


### Tests

* **web:** fix token-explore-filter e2e test (#6763) 006dd59
* **web:** squelch flushSync error (#6781) c9eecd7

Other changes:

- Polish around recovery phrase settings and notifications
- 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 @@
mobile/1.22
web/5.18.0
1 change: 1 addition & 0 deletions apps/mobile/.depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ignores: [
"react-native-image-colors",
# Dependencies that depcheck thinks are missing but are actually present or never used
## Internal packages / workspaces
"e2e",
"src",
"ui",
"tsconfig",
Expand Down
78 changes: 78 additions & 0 deletions apps/mobile/.detoxrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
'$0': 'jest',
config: 'e2e/jest.config.js'
},
jest: {
setupTimeout: 300000
}
},
apps: {
'ios.debug': {
type: "ios.app",
binaryPath: "ios/build/Build/Products/Debug-iphonesimulator/Uniswap.app",
build: "RN_SRC_EXT=e2e.js,e2e.ts xcodebuild -workspace ios/Uniswap.xcworkspace -scheme Uniswap -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -arch x86_64"
},
'ios.release': {
type: 'ios.app',
binaryPath: "ios/build/Build/Products/Dev-iphonesimulator/Uniswap.app",
build: "RN_SRC_EXT=e2e.js,e2e.ts xcodebuild -workspace ios/Uniswap.xcworkspace -scheme Uniswap -configuration Dev -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -arch x86_64"
},
'android.debug': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/dev/debug/app-dev-debug.apk',
testBinaryPath: "android/app/build/outputs/apk/androidTest/dev/debug/app-dev-debug-androidTest.apk",
build: 'cd android && ./gradlew assembleDevDebug assembleAndroidTest -DtestBuildType=debug',
reversePorts: [
8081
]
},
'android.release': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/dev/release/app-dev-release.apk',
testBinaryPath: "android/app/build/outputs/apk/androidTest/dev/release/app-dev-release-androidTest.apk",
build: 'cd android && ./gradlew assembleDevRelease assembleAndroidTest -DtestBuildType=release'
}
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: "iPhone 15"
}
},
attached: {
type: 'android.attached',
device: {
adbName: '.*'
}
},
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_6_API_34'
}
}
},

configurations: {
"ios.sim.debug": {
device: "simulator",
app: "ios.debug"
},
"ios.sim.release": {
device: "simulator",
app: "ios.release"
},
"android.emu.debug": {
device: "emulator",
app: "android.debug"
},
"android.emu.release": {
device: "emulator",
app: "android.release"
}
}
};
49 changes: 0 additions & 49 deletions apps/mobile/.detoxrc.json

This file was deleted.

Loading

0 comments on commit 4fdcca6

Please sign in to comment.