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 Feb 12, 2024
1 parent a795e14 commit 88709da
Show file tree
Hide file tree
Showing 1,286 changed files with 27,176 additions and 72,298 deletions.
1 change: 0 additions & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ ignores: [
"@yarnpkg/plugin-git",
"semver",
"typanion",
"turbo-ignore",
]
15 changes: 0 additions & 15 deletions .yarn/patches/@gorhom-bottom-sheet-npm-4.5.1-d8ef5d483d.patch

This file was deleted.

145 changes: 9 additions & 136 deletions .yarn/patches/react-native-wagmi-charts-npm-2.3.0-8e836a8f3c.patch
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
diff --git a/lib/typescript/src/charts/line/useDatetime.d.ts b/lib/typescript/src/charts/line/useDatetime.d.ts
index c6f73dd8b31294d0e4c0597519dd998ccd84ad30..9f9eb03e25d1e020de37c706e8f8803d0b9dcefa 100644
--- a/lib/typescript/src/charts/line/useDatetime.d.ts
+++ b/lib/typescript/src/charts/line/useDatetime.d.ts
@@ -1,13 +1,10 @@
import type { TFormatterFn } from '../candle/types';
+import { SharedValue } from 'react-native-reanimated';
export declare function useLineChartDatetime({ format, locale, options, }?: {
format?: TFormatterFn<number>;
locale?: string;
options?: Intl.DateTimeFormatOptions;
}): {
- value: Readonly<{
- value: string;
- }>;
- formatted: Readonly<{
- value: string;
- }>;
+ value: SharedValue<string>;
+ formatted: SharedValue<string>;
};
diff --git a/src/charts/line/ChartPath.tsx b/src/charts/line/ChartPath.tsx
index 3807c185c9456d2976c305df94574ff7d948b32a..7b49281318da294617ec25c1a2c04d3e231bb298 100644
index 3807c185c9456d2976c305df94574ff7d948b32a..5cf985422cf49120f943c98084b08c16faf452d9 100644
--- a/src/charts/line/ChartPath.tsx
+++ b/src/charts/line/ChartPath.tsx
@@ -18,7 +18,6 @@ const BACKGROUND_COMPONENTS = [
Expand All @@ -31,12 +10,13 @@ index 3807c185c9456d2976c305df94574ff7d948b32a..7b49281318da294617ec25c1a2c04d3e
'LineChartTooltip',
];
const FOREGROUND_COMPONENTS = ['LineChartHighlight', 'LineChartDot'];
@@ -166,6 +165,18 @@ export function LineChartPathWrapper({
@@ -166,10 +165,25 @@ export function LineChartPathWrapper({
<View style={StyleSheet.absoluteFill}>
<AnimatedSVG animatedProps={svgProps} height={height}>
<LineChartPath color={color} width={strokeWidth} {...pathProps} />
+ </AnimatedSVG>
+ </View>
+
+ </LineChartPathContext.Provider>
+ <LineChartPathContext.Provider
+ value={{
Expand All @@ -50,116 +30,9 @@ index 3807c185c9456d2976c305df94574ff7d948b32a..7b49281318da294617ec25c1a2c04d3e
{foregroundChildren}
</AnimatedSVG>
</View>
diff --git a/src/charts/line/Dot.tsx b/src/charts/line/Dot.tsx
index dd49d3e49231a5e4f56138bbf3ec51013515f7b0..dfdaa349e9a25dca297234120cc6bd9f5915ed0d 100644
--- a/src/charts/line/Dot.tsx
+++ b/src/charts/line/Dot.tsx
@@ -2,13 +2,12 @@ import * as React from 'react';
import Animated, {
Easing,
useAnimatedProps,
- useDerivedValue,
withRepeat,
withSequence,
withTiming,
} from 'react-native-reanimated';
-import { Circle, CircleProps } from 'react-native-svg';
import { getYForX } from 'react-native-redash';
+import { Circle, CircleProps } from 'react-native-svg';

import { LineChartDimensionsContext } from './Chart';
import { LineChartPathContext } from './LineChartPathContext';
@@ -72,29 +71,13 @@ export function LineChartDot({

////////////////////////////////////////////////////////////

- const x = useDerivedValue(
- () => withTiming(pointWidth * at),
- [at, pointWidth]
- );
- const y = useDerivedValue(
- () => withTiming(getYForX(parsedPath!, x.value) || 0),
- [parsedPath, x]
- );
+ const x = pointWidth * at;
+ const y = getYForX(parsedPath!, x) ?? 0;

////////////////////////////////////////////////////////////

- const animatedDotProps = useAnimatedProps(
- () => ({
- cx: x.value,
- cy: y.value,
- }),
- [x, y]
- );
-
const animatedOuterDotProps = useAnimatedProps(() => {
let defaultProps = {
- cx: x.value,
- cy: y.value,
opacity: 0.1,
r: outerSize,
};
@@ -113,25 +96,27 @@ export function LineChartDot({
const easing = Easing.out(Easing.sin);
const animatedOpacity = withRepeat(
withSequence(
- withTiming(0.8),
+ withTiming(0.8, {
+ duration: 0,
+ }),
withTiming(0, {
duration: pulseDurationMs,
easing,
})
),
- -1,
- false
+ -1
);
const scale = withRepeat(
withSequence(
- withTiming(0),
+ withTiming(0, {
+ duration: 0,
+ }),
withTiming(outerSize, {
duration: pulseDurationMs,
easing,
})
),
- -1,
- false
+ -1
);

if (pulseBehaviour === 'while-inactive') {
@@ -146,15 +131,16 @@ export function LineChartDot({
opacity: animatedOpacity,
r: scale,
};
- }, [hasPulse, isActive, outerSize, pulseBehaviour, pulseDurationMs, x, y]);
+ }, [hasPulse, isActive, outerSize, pulseBehaviour, pulseDurationMs]);

////////////////////////////////////////////////////////////

return (
<>
<AnimatedCircle
- animatedProps={animatedDotProps}
r={size}
+ cx={x}
+ cy={y}
fill={color}
opacity={opacity}
{...dotProps}
@@ -163,6 +149,8 @@ export function LineChartDot({
<AnimatedCircle
animatedProps={animatedOuterDotProps}
fill={color}
+ cx={x}
+ cy={y}
{...outerDotProps}
/>
)}
+
</LineChartPathContext.Provider>
+
</>
);
}
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

30 changes: 10 additions & 20 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
IPFS hash of the deployment:
- CIDv0: `QmciGvhbiSVjSu6u9JwRzFp5uBRnawnd5M8NMk8d9XNACT`
- CIDv1: `bafybeigvrxb4vjhzc3k7xqtwa4dijoev545kpjmo4anikgsbckku45k4qq`
Another week, another update. Check out whats new below:

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
Settings Polish — We switched spam and low balance settings to universal settings. In addition, we added an opt out for anonymous analytics within the app.

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://bafybeigvrxb4vjhzc3k7xqtwa4dijoev545kpjmo4anikgsbckku45k4qq.ipfs.dweb.link/
- https://bafybeigvrxb4vjhzc3k7xqtwa4dijoev545kpjmo4anikgsbckku45k4qq.ipfs.cf-ipfs.com/
- [ipfs://QmciGvhbiSVjSu6u9JwRzFp5uBRnawnd5M8NMk8d9XNACT/](ipfs://QmciGvhbiSVjSu6u9JwRzFp5uBRnawnd5M8NMk8d9XNACT/)

## 5.8.0 (2024-02-09)


### Features

* **web:** outage banner for arbitrum, optimism, polygon (#6218) e57ca63
Quick Copy Contract Addresses — We added the ability quickly copy any token address! Simply press and hold on any token to bring up the option to swap or copy a contract address.

Other notable changes:

- View-only wallet polish
- Activity bug fixes
- Receive QR polish
- Import wallet polish
- Token details page bug fixes
- Updated treatment for tokens with no logos
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.8.0
mobile/1.19.2
1 change: 1 addition & 0 deletions apps/mobile/.depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ignores: [
"src",
"ui",
"tsconfig",
"eslint-config-custom",
## Subpackages of installed packages
"@redux-saga/core",
"@ethersproject/constants",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
extends: ['@uniswap/eslint-config/native'],
extends: ['custom'],
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
Expand Down
6 changes: 3 additions & 3 deletions apps/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ android {
dev {
isDefault(true)
applicationIdSuffix ".dev"
versionName "1.21"
versionName "1.19.2"
dimension "variant"
}
beta {
applicationIdSuffix ".beta"
versionName "1.21"
versionName "1.19.2"
dimension "variant"
}
prod {
dimension "variant"
versionName "1.21"
versionName "1.19.2"
}
}

Expand Down
1 change: 0 additions & 1 deletion apps/mobile/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

<application
android:name=".MainApplication"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MainActivity : ReactActivity() {
window.isNavigationBarContrastEnforced = false
}
val sharedI18nUtilInstance = I18nUtil.getInstance()
sharedI18nUtilInstance.allowRTL(applicationContext, false)
sharedI18nUtilInstance.allowRTL(applicationContext, true)
}

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/e2e/usecases/Create.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { by, device, element, expect } from 'detox'
import { Accounts } from 'src/e2e/utils/fixtures'
import { ElementName } from 'src/features/telemetry/constants'
import { sleep } from 'utilities/src/time/timing'
import { ElementName } from 'wallet/src/telemetry/constants'

export function Create() {
it('onboards a new account', async () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/e2e/usecases/ImportAccounts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { by, device, element, expect } from 'detox'
import { Accounts } from 'src/e2e/utils/fixtures'
import { ElementName } from 'src/features/telemetry/constants'
import { sleep } from 'utilities/src/time/timing'
import { ElementName } from 'wallet/src/telemetry/constants'

export function ImportAccounts() {
it('creates a readonly account', async () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/e2e/usecases/Swap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { by, device, element, expect } from 'detox'
import { ElementName } from 'wallet/src/telemetry/constants'
import { ElementName } from 'src/features/telemetry/constants'

export function Swap() {
it('saves the original amount on usd toggle', async () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/e2e/utils/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { by, device, element } from 'detox'
import { Accounts } from 'src/e2e/utils/fixtures'
import { ElementName } from 'src/features/telemetry/constants'
import { sleep } from 'utilities/src/time/timing'
import { ElementName } from 'wallet/src/telemetry/constants'

/** Opens Account page and imports a managed account */
export async function quickOnboarding() {
Expand Down
4 changes: 4 additions & 0 deletions apps/mobile/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ target 'Uniswap' do

installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < '9.0'.to_f
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end

config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
end
Expand Down
35 changes: 30 additions & 5 deletions apps/mobile/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1282,10 +1282,35 @@ PODS:
- React-Core
- RNPermissions (3.6.0):
- React-Core
- RNReanimated (3.6.2):
- RCT-Folly (= 2021.07.22.00)
- RNReanimated (3.3.0):
- DoubleConversion
- FBLazyVector
- FBReactNativeSpec
- glog
- hermes-engine
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- React-callinvoker
- React-Core
- React-Core/DevSupport
- React-Core/RCTWebSocket
- React-CoreModules
- React-cxxreact
- React-hermes
- React-jsi
- React-jsiexecutor
- React-jsinspector
- React-RCTActionSheet
- React-RCTAnimation
- React-RCTBlob
- React-RCTImage
- React-RCTLinking
- React-RCTNetwork
- React-RCTSettings
- React-RCTText
- ReactCommon/turbomodule/core
- Yoga
- RNScreens (3.24.0):
- React-Core
- React-RCTImage
Expand Down Expand Up @@ -1635,7 +1660,7 @@ SPEC CHECKSUMS:
Apollo: fe380f40e55e501a2499dd5885fab0cdf082b2bb
AppsFlyerFramework: 88a6eed37ad52bcee4ad74232efa8e22809d06c9
Argon2Swift: 99482c1b8122a03524b61e41c4903a9548e7c33b
boost: 0a937fbcfdd646fca221c4f1d9750d7ccfdfc2dc
boost: 57d2868c099736d80fcd648bf211b4431e51a558
BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
Burnt: 708556f6283e1b81767e6642e088819d85d1ea08
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
Expand Down Expand Up @@ -1740,7 +1765,7 @@ SPEC CHECKSUMS:
RNImageColors: 9ac05083b52d5c350e6972650ae3ba0e556466c1
RNLocalize: d4b8af4e442d4bcca54e68fc687a2129b4d71a81
RNPermissions: de7b7c3fe1680d974ac7a85e3e97aa539c0e68ea
RNReanimated: 807546b6fc06d978ef0edc0ebc54db5741c6e432
RNReanimated: d6b4b867b6d1ee0798f5fb372708fa4bb8d66029
RNScreens: b21dc57dfa2b710c30ec600786a3fc223b1b92e7
RNSentry: 4fb2cd7d2d6cb94423c24884488206ef881da136
RNSVG: c1e76b81c76cdcd34b4e1188852892dc280eb902
Expand All @@ -1754,6 +1779,6 @@ SPEC CHECKSUMS:
Yoga: 135109c9b8c5d1a8af3a58d21cd4c7aa7f3bf555
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: 22ab4b87e0bceeaa9e245c485c36fca595139568
PODFILE CHECKSUM: 632909767e5e0022317f148f858c5b6f587e5900

COCOAPODS: 1.14.3
Loading

0 comments on commit 88709da

Please sign in to comment.