Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v10.22.0 #16353

Merged
merged 112 commits into from
Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
90b6dbd
Some icon fixes (#16044)
georgewrmarshall Oct 3, 2022
5cc4119
Fixes display of avatr in flex display with elements of different hei…
georgewrmarshall Oct 3, 2022
02d7eb3
Add Aurora to the popular custom network list (#16039)
filipsekulic Oct 3, 2022
3b63ecf
Update eth-lattice-keyring to v0.12.3 (#15997)
adonesky1 Oct 4, 2022
fc38f11
ensure phishing-detection page preload works in MV3 (#16029)
adonesky1 Oct 4, 2022
0a0eb20
Hardware wallet copy updates, referral and tutorial buttons (#14738)
AlexJupiter Oct 4, 2022
392b08a
Fix: show whats new to users who created, not imported, a new wallet,…
danjm Oct 4, 2022
22f07ae
Update Jest config to avoid transpiling dependencies (#16068)
Mrtenz Oct 4, 2022
c8067e9
Add more unit / integration tests for Swaps (#16040)
dan437 Oct 4, 2022
46d970e
15087: Add Button Base (#15998)
garrettbear Oct 4, 2022
29c2b13
Replace setInterval with chrome alarms for MetaMetrics FinalizeEventF…
NiranjanaBinoy Oct 4, 2022
393088e
forwarding refs to Box and Text component (#16062)
georgewrmarshall Oct 4, 2022
76af0f4
Renamed setApproveForAllArg variable to be isApprovalOrRejection (#16…
filipsekulic Oct 4, 2022
512b9bd
Sign-in With Ethereum Design Update (#16019)
skgbafa Oct 4, 2022
047d664
Lower coverage requirement (#16087)
FrederikBolding Oct 5, 2022
3271b81
Removing use of window object from sentry code (#16022)
jpuri Oct 5, 2022
ca6701c
[FLASK] Fix transaction insight data display (#16023)
GuillaumeRx Oct 5, 2022
d97b9c7
Fix typo in French translation for "removeAccount" (#16095)
ryanml Oct 5, 2022
a993509
Review spending cap screen (#15919)
filipsekulic Oct 5, 2022
12aa200
15090: add primary button (#16079)
garrettbear Oct 6, 2022
466e753
Fixing Identicon import paths (#16101)
ryanml Oct 6, 2022
6918bff
Created the NFT component for single NFT allowance (#15825)
adnansahovic Oct 6, 2022
055a7c5
Adding `TextFieldBase` component (#16043)
georgewrmarshall Oct 6, 2022
db59186
Adding ast-types to resolutions (#16103)
georgewrmarshall Oct 6, 2022
7ba0f78
[FLASK] `[email protected]` (#16069)
FrederikBolding Oct 7, 2022
e755d83
patch ethereumjs-util stripHexPrefix (#16094)
adonesky1 Oct 7, 2022
90badb2
Adding border radius full to `Box` component (#16118)
georgewrmarshall Oct 7, 2022
e4dc8ce
Fix intermittent storybook build failure (#16124)
Gudahtt Oct 7, 2022
958cfe6
Feat/15951/add button secondary (#16097)
garrettbear Oct 7, 2022
e72dfad
added AvatarAccount component (#15795)
NidhiKJha Oct 7, 2022
7279ea5
Use current version of the phishing warning page (#16123)
Gudahtt Oct 7, 2022
7604009
[FLASK] Fix wrong action name for `wallet_getSnaps` hook (#16125)
FrederikBolding Oct 7, 2022
dc775b5
add decrypt e2e (#16122)
PeterYinusa Oct 10, 2022
1b3dc0d
[MV3] Add e2e chrome test job for MV3 build (#15991)
seaona Oct 10, 2022
f6f8edf
Update `eth-json-rpc-middleware` to v9.0.1 (#16096)
Gudahtt Oct 10, 2022
9125ecf
add box height and width responsive sizes (#16111)
garrettbear Oct 10, 2022
321e5ab
e2e test for gas API fallback (#16137)
seaona Oct 10, 2022
20986e1
Persist state in metaRPCHandler so that we are sure state is persiste…
adonesky1 Oct 10, 2022
b34d249
Update provider (#16131)
jpuri Oct 11, 2022
d4c3900
Data from TokenListController gets cleared when the service worker re…
NiranjanaBinoy Oct 11, 2022
3a5616e
Remove docs.google.com from blocked domains list (#16154)
ryanml Oct 11, 2022
d4de8ea
Show fiat conversion by default on custom networks (#16132)
ryanml Oct 11, 2022
6995174
MV3 Segment Fix (#16020)
jpuri Oct 11, 2022
385e929
Fixing forgot password action after wallet creation (#16156)
ryanml Oct 11, 2022
d640c9a
[FLASK] `[email protected]` (#16161)
FrederikBolding Oct 11, 2022
33522a7
Fix @keystonehq/bc-ur-registry patch (#16155)
mcmire Oct 11, 2022
7149da8
Continue converting tests from enzyme to @testing-library/react (#16032)
tmashuang Oct 11, 2022
6781171
Added Tag Component (#15947)
NidhiKJha Oct 12, 2022
0fe3633
Added AvatarBadge component (#15676)
NidhiKJha Oct 12, 2022
47f7096
16083: Fix deposit eth popover layout (#16100)
garrettbear Oct 12, 2022
9372ce0
added AvatarFavicon component (#16135)
NidhiKJha Oct 12, 2022
41e3ab1
chore: add build stats history json file (#16168)
mikesposito Oct 13, 2022
7eb93ff
Update to text-field-base docs (#16170)
georgewrmarshall Oct 13, 2022
c09e685
Keep imported tokens in the Assets list (#16167)
dan437 Oct 13, 2022
91df712
Feat/15089/add button link (#16115)
garrettbear Oct 13, 2022
1b4f134
[FLASK] Create E2E Test for BIP-32 test-snap (#16037)
bowensanders Oct 14, 2022
6ba9f65
[FLASK] Add E2E for `wallet_getSnaps` (#16169)
FrederikBolding Oct 14, 2022
928e9b9
Sort add network list alphabetically (#16089)
danjm Oct 14, 2022
8b2e137
Ensure that portfolio tooltip does not show if new custom network pop…
danjm Oct 14, 2022
c00749d
ci: fix stats-module-load-init step (#16196)
mikesposito Oct 18, 2022
4581a3a
Fix/16207/text component storybook (#16214)
garrettbear Oct 19, 2022
8075a39
Continue converting tests from enzyme to @testing-library/react (#16175)
tmashuang Oct 20, 2022
359f782
[FLASK] Fix flaky BIP-32 E2E test (#16255)
FrederikBolding Oct 24, 2022
863cda6
[FLASK] Clear snap state on restore (#16228)
FrederikBolding Oct 24, 2022
65e3047
Chromedriver v106 (#16213)
PeterYinusa Oct 24, 2022
1526b14
Fix inputs that should allow decimals (#16254)
danjm Oct 25, 2022
68642ee
Updating controller dependency (#16033)
jpuri Oct 25, 2022
c88efad
Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH net…
ryanml Oct 25, 2022
da4e6d3
Adding `TextField` component (#16105)
georgewrmarshall Oct 25, 2022
29a33b4
TextFieldBase updates after design reveiw (#16201)
georgewrmarshall Oct 25, 2022
cf265ed
[FLASK] Allow snaps insights to show on regular EOA transactions (#16…
GuillaumeRx Oct 26, 2022
c519d3e
[e2e] Fix Dapp interactions flaky test on chrome (#16282)
seaona Oct 26, 2022
6c84e96
Enable "Add Popular Network" feature by default for all users (#16172)
ryanml Oct 27, 2022
f03b3a8
Fix e2e incremental-secuirty test for mv3 build (#16265)
seaona Oct 27, 2022
d452613
[MV3] Fix e2e `encrypt-decrypt` test for MV3 test build (#16264)
seaona Oct 27, 2022
012e9fa
Improve transaction confirmation page performance (#16205)
FrederikBolding Oct 28, 2022
0b4532e
E2e test fixtures (#16061)
PeterYinusa Oct 28, 2022
2f84010
Add e2e tests for Swaps notifications (#16202)
dan437 Oct 28, 2022
802a204
Exclude E2E tests for swaps until they are stabilised (#16303)
dan437 Oct 28, 2022
ba16fd9
Merge remote-tracking branch 'origin/develop' into sync-master
Gudahtt Oct 29, 2022
17af3bb
Making permission and approval controller methods idempotent (#15848)
jpuri Oct 31, 2022
88a6f37
[E2E] Restore tests (#16298)
PeterYinusa Oct 31, 2022
a8c1756
Remove 3box feature and delete ThreeBoxController (#14571)
rekmarks Oct 31, 2022
f8e01a0
Merge branch 'develop' into sync-master
Gudahtt Oct 31, 2022
143793c
Merge pull request #16309 from MetaMask/sync-master
Gudahtt Oct 31, 2022
25fae8d
Increase provider rate limited to 5 minutes (#16308)
Gudahtt Oct 31, 2022
08a4f93
remove unused zh locales directory in favor of zh_CN (#16322)
adonesky1 Oct 31, 2022
aa59f7f
ensure that we default users with browser language code 'zh' to the s…
adonesky1 Oct 31, 2022
b744eab
ci: temporarily downgrade ubuntu to 20.04 (#16320)
legobeat Nov 1, 2022
d837250
Fix "Learn more" link on Connected Account notification (#16339)
ryanml Nov 1, 2022
9a74c99
[LavaMoat] improve policy generation performance in dev workflow (#16…
kumavis Nov 1, 2022
c246eaa
Updating chromedriver to last stable version (#16310)
seaona Nov 2, 2022
6f78b5e
Merge branch 'master' into develop
seaona Nov 2, 2022
19aa432
Merge pull request #16351 from MetaMask/sync-master
Gudahtt Nov 2, 2022
b3be9ce
Run update-changelog script
seaona Nov 2, 2022
95dcf07
added new tests for editing and deleting contact from address book (#…
mirjanaKukic Nov 2, 2022
36b3fe0
[FLASK] Fix crash on snaps settings page if snap has no permissions (…
FrederikBolding Nov 2, 2022
a983968
Fix Secret Recovery Phrase video clipping issue for smaller viewports…
ryanml Nov 2, 2022
adad036
Fix issue where ens resolution stops working after sw is terminated (…
adonesky1 Nov 2, 2022
47736bd
Merge branch 'develop' into Version-v10.22.0
seaona Nov 3, 2022
129ba12
Continue converting tests from enzyme to @testing-library/react (#16249)
tmashuang Nov 3, 2022
d634ff8
Enable and stabilise e2e tests for Swaps, add debouncing (#16326)
dan437 Nov 3, 2022
ab82ff5
Merge branch 'develop' into Version-v10.22.0
seaona Nov 3, 2022
ad5793b
Sync master and update changelog
seaona Nov 8, 2022
18f11fc
Fix the rendering of certain domain names in connected-sites list (#1…
NicholasEllul Nov 4, 2022
15c7530
Changelog for 10.22.0 (#16436)
seaona Nov 10, 2022
73ee36a
Merge branch 'master' into Version-v10.22.0
seaona Nov 10, 2022
1db38ad
Call onbootcleanup at the end of the tx controller constructor (#16449)
danjm Nov 10, 2022
568683d
Warning on a Send transaction request (#16220)
adnansahovic Nov 9, 2022
de0f1ec
BETA - Update verbiage for success messages after onboarding (#16343)
darkwing Nov 9, 2022
68684bf
fix chainId validation on network form (#16452)
adonesky1 Nov 11, 2022
d4d8a8a
Add Changelog entry for fix Network form by validating chainId
seaona Nov 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 35 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ workflows:
- test-e2e-firefox-snaps:
requires:
- prep-build-test-flask
- test-e2e-chrome-mv3:
requires:
- prep-build-test-mv3
- test-unit:
requires:
- prep-deps
Expand Down Expand Up @@ -386,7 +389,7 @@ jobs:
- builds-test

prep-build-storybook:
executor: node-browsers
executor: node-browsers-medium-plus
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -537,6 +540,33 @@ jobs:
- store_artifacts:
path: test-artifacts
destination: test-artifacts

test-e2e-chrome-mv3:
executor: node-browsers
steps:
- checkout
- run:
name: Re-Install Chrome
command: ./.circleci/scripts/chrome-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test-mv3 ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test-mv3 ./builds
- run:
name: test:e2e:chrome
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome --retries 2 || echo "Temporarily suppressing MV3 e2e test failures"
fi
no_output_timeout: 20m
- store_artifacts:
path: test-artifacts
destination: test-artifacts

test-e2e-firefox-snaps:
executor: node-browsers
Expand Down Expand Up @@ -644,7 +674,7 @@ jobs:
root: .
paths:
- test-artifacts

user-actions-benchmark:
executor: node-browsers-medium-plus
steps:
Expand Down Expand Up @@ -697,6 +727,9 @@ jobs:
- run:
name: Run page load benchmark
command: yarn mv3:stats:chrome --out test-artifacts/chrome/mv3
- run:
name: Install jq
command: sudo apt install jq -y
- run:
name: Record bundle size at commit
command: ./.circleci/scripts/bundle-stats-commit.sh
Expand Down
22 changes: 22 additions & 0 deletions .circleci/scripts/bundle-stats-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ cp temp/stats/bundle_size_data.temp.js temp/stats/bundle_size_data.js

echo " }" >> temp/stats/bundle_size_data.js

if [ -f temp/stats/bundle_size_data.json ]; then
# copy bundle_size_data.json in bundle_size_data.temp.json without last 2 lines
head -$(($(wc -l < temp/stats/bundle_size_data.json) - 2)) temp/stats/bundle_size_data.json > bundle_size_stats.temp.json

{
echo "},";
echo "\"$CIRCLE_SHA1\":";
cat test-artifacts/chrome/mv3/bundle_size_stats.json;
echo "}";
} >> bundle_size_stats.temp.json
else
{
echo "{";
echo "\"$CIRCLE_SHA1\":";
cat test-artifacts/chrome/mv3/bundle_size_stats.json;
echo "}";
} > bundle_size_stats.temp.json
fi

jq . bundle_size_stats.temp.json > temp/stats/bundle_size_data.json
rm bundle_size_stats.temp.json

cd temp

git add .
Expand Down
4 changes: 2 additions & 2 deletions .circleci/scripts/chrome-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ set -u
set -o pipefail

# To get the latest version, see <https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable>
CHROME_VERSION='105.0.5195.102-1'
CHROME_VERSION='107.0.5304.87-1'
CHROME_BINARY="google-chrome-stable_${CHROME_VERSION}_amd64.deb"
CHROME_BINARY_URL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/${CHROME_BINARY}"

# To retrieve this checksum, run the `wget` and `shasum` commands below
CHROME_BINARY_SHA512SUM='3a1f2267ae009424ee8c623c3f78760d969dc1f3acb490e103e667d11e52cf0d955f201aeb3892dd41f33e68625af77ca5a20244b5be718f794eccb07a4c0413'
CHROME_BINARY_SHA512SUM='07b443bc1382431da84f6812b7e19f1149aa195fb8b3d28834630cc5964fb9d12124abbf4ec1c98d5c0513cdf16c2a3f16a74518c984aaf57ca418b3cd36a4e2'

wget -O "${CHROME_BINARY}" -t 5 "${CHROME_BINARY_URL}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
CLABot:
if: github.event_name == 'pull_request_target' || contains(github.event.comment.html_url, '/pull/')
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
pull-requests: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:

Expand Down
3 changes: 0 additions & 3 deletions .iyarc
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# improved-yarn-audit advisory exclusions
GHSA-93q8-gq69-wqmw
GHSA-257v-vj4p-3w2h
GHSA-wm7h-9275-46v2
GHSA-pfrx-2q88-qq97
8 changes: 0 additions & 8 deletions .storybook/test-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1383,12 +1383,6 @@ const state = {
},
},
},
threeBoxSyncingAllowed: false,
showRestorePrompt: true,
threeBoxLastUpdated: 0,
threeBoxAddress: null,
threeBoxSynced: false,
threeBoxDisabled: false,
swapsState: {
quotes: {},
fetchParams: null,
Expand Down Expand Up @@ -1479,8 +1473,6 @@ const state = {
},
networksTabSelectedRpcUrl: '',
loadingMethodData: false,
show3BoxModalAfterImport: false,
threeBoxLastUpdated: null,
requestAccountTabs: {},
openMetaMaskTabs: {},
currentWindowTab: {},
Expand Down
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [10.22.0]
### Added
- Add Aurora network to the Popular Custom Network list ([#16039](https://github.com/MetaMask/metamask-extension/pull/16039))
- Add array of valid sizes for Box `height` and `width` to support responsive layout ([#16111](https://github.com/MetaMask/metamask-extension/pull/16111))
- [FLASK] Allow snaps insights to show on regular EOA transactions ([#16093](https://github.com/MetaMask/metamask-extension/pull/16093))

### Changed
- Update `eth-lattice-keyring` to `v0.12.3` ([#15997](https://github.com/MetaMask/metamask-extension/pull/15997))
- Updates `@ethereumjs/util` to `v8.0.0` to reduce bundle size
- Removes `secp256k1` and `@ethereumjs/common` to reduce bundle size
- Updates `gridplus-sdk` to v2.2.9
- Adds caching for calls to block explorers to improve UX ([PR](https://github.com/GridPlus/gridplus-sdk/pull/469))
- Remove unused `zh` locales directory in favor of `zh_CN` for Chinese translations ([#16322](https://github.com/MetaMask/metamask-extension/pull/16322))
- Remove 3box sync feature and delete the `ThreeBoxController` ([#14571](https://github.com/MetaMask/metamask-extension/pull/14571))

### Fixed
- Fix Secret Recovery Phrase video overlapping lateral box for smaller viewports ([#16345](https://github.com/MetaMask/metamask-extension/pull/16345))
- Fix "Learn more" link on Connected Account notification ([#16339](https://github.com/MetaMask/metamask-extension/pull/16339))
- Fix default users with browser language code `zh` to point the supported `zh_CN` language code ([#16329](https://github.com/MetaMask/metamask-extension/pull/16329))
- Fix Forgot Password flow after Wallet Creation ([#16156](https://github.com/MetaMask/metamask-extension/pull/16156))
- Fix fiat conversion for Popular Custom networks displaying it by default ([#16132](https://github.com/MetaMask/metamask-extension/pull/16132))
- Fix restricted injection, by removing docs.google.com from blocked domains list ([#16154](https://github.com/MetaMask/metamask-extension/pull/16154))
- Fix squeezing avatar, by adding a flex property to keep always the same ratio ([#16047](https://github.com/MetaMask/metamask-extension/pull/16047))
- Fix domain names not always being rendered correctly in the connected sites list ([#16074](https://github.com/MetaMask/metamask-extension/pull/16074))
- Fix transaction confirmation page performance ([#16205](https://github.com/MetaMask/metamask-extension/pull/16205))
- Fix Add Network form by blocking the submission when `chainId` does not match the one returned by the `rpcUrl` ([#16452](https://github.com/MetaMask/metamask-extension/pull/16452))
- Swaps: fix tokens being removed from the Asset lists, after canceling a Swap ([#16167](https://github.com/MetaMask/metamask-extension/pull/16167))
- Swaps: add debouncing for the `Swap from` and `Swap to` form fields ([#16326](https://github.com/MetaMask/metamask-extension/pull/16326))
- [FLASK] Fix crash on snaps settings page if snap has no permissions ([#16354](https://github.com/MetaMask/metamask-extension/pull/16354))
- [FLASK] Fix crash after restoring MetaMask if you had snaps installed ([#16228](https://github.com/MetaMask/metamask-extension/pull/16228))
- [FLASK] Fix a problem with displaying snaps transaction insight data ([#16023](https://github.com/MetaMask/metamask-extension/pull/16023))

## [10.21.2]
### Fixed
- Fix undefined txParams when calling approveTransaction, by adding the id on the txMeta argument ([#16382](https://github.com/MetaMask/metamask-extension/pull/16382))
Expand Down Expand Up @@ -3257,7 +3289,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Uncategorized
- Added the ability to restore accounts from seed words.

[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.21.2...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.22.0...HEAD
[10.22.0]: https://github.com/MetaMask/metamask-extension/compare/v10.21.2...v10.22.0
[10.21.2]: https://github.com/MetaMask/metamask-extension/compare/v10.21.1...v10.21.2
[10.21.1]: https://github.com/MetaMask/metamask-extension/compare/v10.21.0...v10.21.1
[10.21.0]: https://github.com/MetaMask/metamask-extension/compare/v10.20.0...v10.21.0
Expand Down
20 changes: 0 additions & 20 deletions app/_locales/de/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions app/_locales/el/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading