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

chore: Version v12.7.0 #28230

Closed
wants to merge 314 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
314 commits
Select commit Hold shift + click to select a range
5790f85
feat: Migrate AccountTrackerController to BaseController v2 (#27258)
cryptodev-2s Oct 4, 2024
b10ffa6
fix: fix reading address from market data (#27604)
sahar-fehri Oct 4, 2024
f2192e9
chore: set bridge dest network, tokens and top assets (#26213)
micaelae Oct 4, 2024
a451a40
test: [Snaps E2E] add delay to installed snaps test to reduce flaking…
bowensanders Oct 4, 2024
ec698f8
chore: set bridge src network, tokens and top assets (#26214)
micaelae Oct 4, 2024
e354ad5
chore: update accounts related packages (#27284)
ccharly Oct 7, 2024
581d08a
fix(btc): disable balanceIsCached flag (#27636)
ccharly Oct 7, 2024
2e20dac
fix: fix sentry reading null (#27582)
sahar-fehri Oct 7, 2024
509c2aa
fix: fix sentry reading undefined (#27584)
sahar-fehri Oct 7, 2024
771a2ed
test: [POM] Migrate Snap Simple Keyring page and Snap List page to pa…
devin-ai-integration[bot] Oct 7, 2024
b7b3bdd
test: removing race condition for asserting inner values (PR-#1) (#27…
seaona Oct 7, 2024
98c0676
fix: Design papercuts for redesigned transactions (#27605)
pedronfigueiredo Oct 7, 2024
4c3232c
feat: change survey timeout time from a week to a day (#27603)
jonybur Oct 7, 2024
60ae8cb
feat: support Etherscan API keys (#27611)
matthewwalsh0 Oct 7, 2024
93500d2
fix(btc): do not show percentage for tokens (#27637)
ccharly Oct 7, 2024
8dedd3c
build: add lottie-web dependency to extension (#27632)
dbrans Oct 7, 2024
43f3989
feat(stx): animations and cosmetic changes to smart transaction statu…
dbrans Oct 7, 2024
11ca25b
feat: Adding delete metametrics data to security and privacy tab (#2…
NiranjanaBinoy Oct 7, 2024
fd4cdf0
fix: Test coverage quality gate (#27581)
itsyoboieltr Oct 7, 2024
bff1e21
refactor: routes constants (#27078)
HowardBraham Oct 8, 2024
44aa027
fix: banner alert to render multiple general alerts (#27339)
vinistevam Oct 8, 2024
782d037
fix: test coverage quality gate (#27691)
itsyoboieltr Oct 8, 2024
1f741ff
chore: Update coverage.json (#27696)
metamaskbot Oct 8, 2024
261e6bf
fix(btc): fix address validation (#27690)
ccharly Oct 8, 2024
83455b8
test: removing race condition for asserting inner values (PR-#2) (#27…
seaona Oct 8, 2024
29bc2f5
refactor: Typescript conversion of log-web3-shim-usage.js (#23732)
NiranjanaBinoy Oct 8, 2024
40e5c51
feat(NOTIFY-1193): add profile sync dev menu (#27666)
mathieuartu Oct 8, 2024
ad53037
fix: Disable redirecting Extension users using beta & flask build and…
NiranjanaBinoy Oct 8, 2024
83d5331
perf: add tags to UI startup trace (#27550)
matthewwalsh0 Oct 8, 2024
f41a625
fix: allow getAddTransactionRequest to pass through other params (#27…
martahj Oct 8, 2024
74378eb
test: Convert json-rpc e2e tests to TypeScript (#27659)
chloeYue Oct 8, 2024
b5b8b8f
ci: make git-diff-develop work for PRs from foreign repos (#27268)
legobeat Oct 8, 2024
b34484e
feat: Sort/Import Tokens in Extension (#27184)
gambinish Oct 8, 2024
ad1fb6c
fix: UI startup with no Sentry DSN (#27714)
matthewwalsh0 Oct 9, 2024
ca92f78
fix(btc): fetch btc balance right after account creation (#27628)
ccharly Oct 9, 2024
583d400
fix: Prefer token symbol to token name (#27693)
pedronfigueiredo Oct 9, 2024
65e656c
test: [POM] Migrate create snap account e2e tests to page object moda…
devin-ai-integration[bot] Oct 9, 2024
3defc89
Merge origin/develop into master-sync
hjetpoluru Oct 9, 2024
8f2bab5
fix: Limit amount of decimals on spending cap modal (#27672)
pedronfigueiredo Oct 9, 2024
420e4a6
fix(multichain): fix getMultichainCurrentCurrency selector (#27726)
ccharly Oct 9, 2024
fa072a5
Merge pull request #27729 from MetaMask/master-sync
Gudahtt Oct 9, 2024
b9a24a7
fix: trying to access an undefined object in swaps review quote compo…
jclancy93 Oct 9, 2024
50dceb5
fix: remove old phishfort list from clients (#27743)
AugmentedMode Oct 9, 2024
687cf3a
ci: followup to CircleCI Sentry reporting (#27548)
HowardBraham Oct 10, 2024
97758a6
feat: upgrade assets-controllers to v38.2.0 (#27629)
sahar-fehri Oct 10, 2024
11b9bd4
feat: Release Chain Permissions (#27561)
NidhiKJha Oct 10, 2024
86525fd
chore: bump profile-sync-controller to 0.9.7 (#27749)
mathieuartu Oct 10, 2024
04ba878
fix(btc): fix jazzicons generations (#27662)
ccharly Oct 10, 2024
68dd6f5
feat: add network picker to AssetPicker (#26559)
micaelae Oct 10, 2024
875ab21
fix: updated toasts component and copy (#27656)
NidhiKJha Oct 10, 2024
bfde1da
fix: SIWE signature page displays parsed URI instead of domain (#27754)
pedronfigueiredo Oct 10, 2024
b08b374
fix: issue with Snap title in Snap Authorship Header (#27752)
david0xd Oct 10, 2024
7d7f017
fix: Replace 'transaction fees' with 'network fees' in the insufficie…
pedronfigueiredo Oct 10, 2024
dc3fa10
docs: remove outdated Medium link, update "Twitter" to "X" (#26692)
davidmurdoch Oct 10, 2024
0798717
chore(3212): remove alert settings (#27709)
vinnyhoward Oct 10, 2024
61adc78
feat: adds the new default settings view to onboarding (#24562)
zone-live Oct 10, 2024
1bd1fa4
feat: Token send heading component (#27562)
pedronfigueiredo Oct 10, 2024
78e5866
feat: support gas fee flows in standard swaps (#27612)
matthewwalsh0 Oct 11, 2024
05dda70
test: Onboarding: Fix vault-decryption-chrome.spec.js (#27779)
darkwing Oct 11, 2024
a883924
Merge origin/develop into master-sync
hjetpoluru Oct 11, 2024
ca1281b
fix(snaps): Restore confirmation switching on routed confirmation (#2…
GuillaumeRx Oct 11, 2024
a4484f2
test: [POM] Migrate transaction with snap account e2e tests to page o…
chloeYue Oct 11, 2024
39e0251
chore: update Trezor Connect to v9.4.0, remove workarounds (#27112)
vthomas13 Oct 11, 2024
e4c71b7
chore: remove token list display component (#27772)
bergeron Oct 11, 2024
146779d
chore: remove old token details page (#27774)
bergeron Oct 11, 2024
726aa05
test: Fix Vault Decryptor Page e2e test on develop branch (#27794)
chloeYue Oct 11, 2024
f2f180b
ci: Improve validation for `sentry:publish` script (#26580)
Gudahtt Oct 12, 2024
f9ec0e0
fix: disable balance checker for Sepolia in account tracker (#27763)
cryptodev-2s Oct 12, 2024
c678db2
fix: sticky footer UI issue on Snaps Home Page in extended view (#27799)
david0xd Oct 14, 2024
ca14e7b
ci: Revert minimum E2E timeout to 20 minutes (#27827)
FrederikBolding Oct 14, 2024
1f1e142
fix: Fix Snaps usage of PhishingController (#27817)
FrederikBolding Oct 14, 2024
bf31876
feat: remove phishing detection from onboarding Security group (#27819)
jonybur Oct 14, 2024
d9d6fab
fix: no connected state for permissions page (#27660)
NidhiKJha Oct 14, 2024
90873fd
feat: Added metrics for edit networks and accounts (#27820)
NidhiKJha Oct 14, 2024
acbb17e
revert: use networkClientId to resolve chainId in PPOM Middleware (#2…
jiexi Oct 14, 2024
cedabc6
feat: preferences controller to base controller v2 (#27398)
kanthesha Oct 14, 2024
59dc0cd
feat: Create a quality gate for typescript coverage (#27717)
itsyoboieltr Oct 14, 2024
f523617
chore: Add react-beautiful-dnd to deprecated packages list (#27856)
FrederikBolding Oct 15, 2024
670d9cd
fix(multichain): fix eth send flow (from dapp) when a btc account is …
ccharly Oct 15, 2024
0793e75
fix: dismiss addToken modal for mmi (#27855)
sahar-fehri Oct 15, 2024
f880da8
fix: Reset nonce as network is switched (#27789)
jpuri Oct 15, 2024
85bf4c3
perf: include custom traces in benchmark results (#27701)
matthewwalsh0 Oct 15, 2024
3452eb9
fix: flaky test `MultiRpc: should select rpc from settings @no-mmi` (…
seaona Oct 15, 2024
5814224
fix: hackily wait longer for linea swap approval tx to increase chanc…
martahj Oct 15, 2024
2b45577
fix: flaky test `Add account should not affect public address when us…
seaona Oct 15, 2024
581b7fb
fix: updated permissions flow copy changes (#27658)
NidhiKJha Oct 15, 2024
b410e09
feat: update copy for 'Default settings' (#27821)
jonybur Oct 15, 2024
bd018b2
fix: "Update Network: should update added rpc url for exis..." flaky …
hjetpoluru Oct 15, 2024
988156b
feat: use messenger in AccountTracker to get Preferences state (#27711)
cryptodev-2s Oct 15, 2024
cd820ef
fix: phishing test to not check c2 domains (#27846)
AugmentedMode Oct 15, 2024
cc47ff9
fix: nonce value when there are multiple transactions in parallel (#2…
jpuri Oct 15, 2024
dc0dc67
feat: upgrade assets-controllers to v38.3.0 (#27755)
sahar-fehri Oct 15, 2024
82e5a45
test(TXL-308): initial e2e for stx using swaps (#27215)
dbrans Oct 15, 2024
a770169
chore: remove unused swaps code (#27679)
martahj Oct 15, 2024
42e5eab
fix: SENTRY_DSN_FAKE problem (#27881)
HowardBraham Oct 15, 2024
3f69851
test(mock-e2e): add private domains logic for the privacy report (#27…
ccharly Oct 16, 2024
bb2e2a9
fix: flaky test `Snap Account Signatures and Disconnects can connect …
seaona Oct 16, 2024
0edfb48
fix: flaky test `Wallet Revoke Permissions should revoke eth_accounts…
seaona Oct 16, 2024
95045ed
fix: flaky test `ERC721 NFTs testdapp interaction should prompt users…
seaona Oct 16, 2024
ec4fb5f
fix: flaky test `Permissions sets permissions and connect to Dapp` (#…
seaona Oct 16, 2024
130bdbf
test: [POM] Migrate signature with snap account e2e tests to page obj…
devin-ai-integration[bot] Oct 16, 2024
04b17ff
Merge pull request #27793 from MetaMask/master-sync (following v12.4.1)
danjm Oct 16, 2024
71de55b
fix: flaky test `ERC1155 NFTs testdapp interaction should batch trans…
seaona Oct 16, 2024
fd1fad8
feat: Use requested permissions as default selected values for AmonHe…
jiexi Oct 16, 2024
56ed693
fix: Contract Interaction - cannot read the property `text_signature`…
vinistevam Oct 16, 2024
bf87d72
feat: Adding typed sign support for NFT permit (#27796)
jpuri Oct 16, 2024
a1e0b71
test: set ENABLE_MV3 automatically (#27748)
HowardBraham Oct 16, 2024
6d9cc1f
feat: use asset pickers with network dropdown in cross-chain swaps pa…
micaelae Oct 16, 2024
526d3ec
fix: updated edit modals (#27623)
NidhiKJha Oct 16, 2024
601b5fa
fix: Onboarding: Code style nits (#27767)
darkwing Oct 16, 2024
ccc5aad
chore: update @metamask/bitcoin-wallet-snap to 0.7.0 (#27730)
ccharly Oct 16, 2024
d1d469e
chore: Bump Snaps packages (#27376)
Mrtenz Oct 16, 2024
aebd94a
fix: swapQuotesError as a property in the reported metric (#27712)
ejwessel Oct 16, 2024
70e2c08
fix(deps): update from eth-rpc-errors to @metamask/rpc-errors (cause …
legobeat Oct 16, 2024
55d0972
fix: SonarCloud for forks (#27700)
itsyoboieltr Oct 17, 2024
01ea106
fix: fall back to bundled chainlist (#23392)
legobeat Oct 17, 2024
935ad43
test: Update test-dapp to verison 8.7.0 (#27816)
pnarayanaswamy Oct 17, 2024
2afe52e
feat(logging): add extension request logging and retrieval (#27655)
albertolive Oct 17, 2024
bbba7c5
fix: flaky tests `Add existing token using search renders the balance…
seaona Oct 17, 2024
043ea3f
chore: bump `@metamask/eth-snap-keyring` to version 4.4.0 (#27864)
ccharly Oct 17, 2024
f58d598
fix: flaky test `Vault Decryptor Page is able to decrypt the vault pa…
seaona Oct 17, 2024
dc48117
feat: Add transaction flow and details sections (#27654)
pedronfigueiredo Oct 17, 2024
93fbaaf
feat(TXL-435): turn smart transactions on by default for new users (#…
dbrans Oct 17, 2024
bf475ee
feat: convert AlertController to typescript (#27764)
kanthesha Oct 17, 2024
327a260
fix: fix currency display when tokenToFiatConversion rate is not avai…
sahar-fehri Oct 17, 2024
fac4422
feat: NFT permit simulations (#27825)
jpuri Oct 17, 2024
654dff7
fix: add APE network icon (#27841)
sahar-fehri Oct 17, 2024
9716e94
fix: bump `@metamask/ppom-validator` from `0.34.0` to `0.35.1` (#27939)
cryptodev-2s Oct 17, 2024
35b86fc
fix: hide options menu that was being shown for preinstalled Snaps (#…
david0xd Oct 17, 2024
02f7ec4
fix: bump message signing snap to support portfolio automatic connect…
matteoscurati Oct 18, 2024
1648b83
test: [POM] Migrate contract interaction with snap account e2e tests …
devin-ai-integration[bot] Oct 18, 2024
ce8eeb1
chore: add testing-library/dom dependency (#27493)
cryptotavares Oct 18, 2024
079da08
chore: bump signature controller to remove message managers (#27787)
matthewwalsh0 Oct 18, 2024
776bc1e
feat: dapp initiated token transfer (#27875)
pedronfigueiredo Oct 18, 2024
eedeb24
chore(deps): upgrade from json-rpc-engine to @metamask/json-rpc-engin…
legobeat Oct 18, 2024
36bde61
feat: Convert AppStateController to typescript (#27572)
kanthesha Oct 18, 2024
9b370bd
feat: add “Incomplete Asset Displayed” metric & fix: should only set …
digiwand Oct 18, 2024
c44fb0b
fix: lint-lockfile flaky job by changing resources from medium to med…
seaona Oct 18, 2024
9ac0364
fix: flaky test `Confirmation Redesign ERC721 Approve Component Submi…
seaona Oct 18, 2024
7ae2c94
feat: add BTC send flow (#27964)
montelaidev Oct 18, 2024
e8bc6a5
perf: Create custom trace to measure performance of opening the accou…
MajorLift Oct 18, 2024
a9df78b
test: Remove delays from onboarding tests (#27961)
darkwing Oct 18, 2024
6794a10
chore: Disable account syncing in prod (#27943)
danjm Oct 19, 2024
4eaeb68
fix(snaps): Remove arrows of custom UI inputs (#27953)
GuillaumeRx Oct 19, 2024
f416f1e
feat: add migration 131 (#27364)
montelaidev Oct 21, 2024
15962f7
feat(metametrics): use specific `account_hardware_type` for OneKey de…
dawnseeker8 Oct 21, 2024
29e1c5b
fix: Automatically expand first insight (#27872)
FrederikBolding Oct 21, 2024
81f4678
fix: error in navigating between transaction when one of the transact…
jpuri Oct 21, 2024
6173a13
test: Completing missing step for import ERC1155 token origin dapp in…
NiranjanaBinoy Oct 21, 2024
82ad3b4
Merge origin/develop into master-sync
benjisclowder Oct 21, 2024
7d376e4
Merge pull request #27935 from MetaMask/master-sync
danjm Oct 21, 2024
f995e3c
ci: reduced Sentry frequency on CircleCI develop (#27912)
HowardBraham Oct 21, 2024
134d9a6
fix(deps): [email protected]>~2.6.0 (#27973)
legobeat Oct 22, 2024
d8f786b
fix(snaps): Adjust alignment of custom UI links (#27957)
GuillaumeRx Oct 22, 2024
c926f96
fix: updated event name for site cell component (#27981)
NidhiKJha Oct 22, 2024
528f2f5
test: update notification date tests to be timezone agnostic (#27925)
Prithpal-Sooriya Oct 22, 2024
088983a
feat: removed feature flag for confirmations screen (#27877)
NidhiKJha Oct 22, 2024
b87b4e5
feat: add ape token mainnet (#27974)
sahar-fehri Oct 22, 2024
80cfcf7
fix: prevent scrolling to account list item on send page (#27934)
bfullam Oct 22, 2024
6b94992
fix: Allow users to remove linea from networks list (#27512)
gambinish Oct 22, 2024
d473e13
refactor: remove circular dependency between `ui/ducks/custom-gas.js`…
davidmurdoch Oct 22, 2024
ad6d1b3
refactor: remove relative imports to `selectors/index.js` from other …
davidmurdoch Oct 22, 2024
eb77786
fix: @metamask/eth-json-rpc-filters@^7.0.0->^8.0.0 (#27917)
legobeat Oct 22, 2024
a1a62aa
refactor: routes.component.js and creation of ToastMaster (#27735)
HowardBraham Oct 22, 2024
5fcb31b
fix: Fix stream re-initialization (#28024)
Gudahtt Oct 23, 2024
4d26e24
feat(NOTIFY-1245): add account syncing E2E helpers & basic tests (#28…
mathieuartu Oct 23, 2024
08cf2a7
chore: updated package (#28002)
albertolive Oct 23, 2024
e63b7eb
refactor: remove global network usage from petnames (#27946)
matthewwalsh0 Oct 23, 2024
05a2875
feat: bump @metamask/notification-services-controller from 0.7.0 to 0…
matteoscurati Oct 23, 2024
eb5b2b2
fix: storybook `getManifest` issue (#28010)
Prithpal-Sooriya Oct 23, 2024
3195e3d
refactor: use `reselect`'s `createSelector` instead of going through …
davidmurdoch Oct 23, 2024
e6f3c67
feat: enable preview token (#27809)
matteoscurati Oct 23, 2024
266990b
fix: adjust spacing of quote rate in swaps (#28016)
martahj Oct 23, 2024
a91c2d0
fix: Gas changes for low Max base fee and Priority fee (#28037)
pedronfigueiredo Oct 23, 2024
5668333
fix(deps): @keystonehq/metamask-airgapped-keyring@^0.13.1->^0.14.1 (#…
legobeat Oct 23, 2024
be68e2c
feat: new phishing warning UI with metrics (#27942)
AugmentedMode Oct 23, 2024
fa895e5
chore: Bump gridplus-sdk to 2.7.1 (#28008)
legobeat Oct 24, 2024
2cc3f2c
fix(deps): @metamask/eth-json-rpc-filters@^8.0.0->^9.0.0 (#27956)
legobeat Oct 24, 2024
266da07
fix: Fix limited visibility of decrypt message (#27622)
OGPoyraz Oct 24, 2024
fa97321
feat: :sparkles: show a notification item in the settings page (#26843)
matteoscurati Oct 24, 2024
b7a79d0
fix: flaky anti-pattern getText + assert 2 (#28043)
seaona Oct 24, 2024
4e25617
fix: Fall back to token list for the token symbol (#28003)
pedronfigueiredo Oct 24, 2024
2ae9236
fix: Support dynamic native token name on gas component (#28048)
pedronfigueiredo Oct 24, 2024
1698011
docs: update debugging sentry step 3 (#28034)
Unik0rnMaggie Oct 24, 2024
639e46f
test: [POM] Create onboarding related page object modal base pages an…
devin-ai-integration[bot] Oct 24, 2024
4fe3a9f
feat: add support for external links in feature announcements (#26491)
matteoscurati Oct 24, 2024
5983dc1
fix: flaky anti-pattern getText + assert 3 (#28062)
seaona Oct 24, 2024
f1db383
chore: update stories for name component (#28049)
matthewwalsh0 Oct 24, 2024
f0aad1c
fix: disable notifications when basic functionality off (#28045)
matteoscurati Oct 24, 2024
da377be
test: notifications integration tests (#28022)
cmd-ob Oct 24, 2024
cbfd131
feat: NFT token transfer (#27955)
pedronfigueiredo Oct 24, 2024
27a3c01
test: NOTIFY-1256 - Extending E2E tests for Account Sync (#28067)
cmd-ob Oct 24, 2024
1e55692
feat: design changes in signature paged message section (#28038)
jpuri Oct 24, 2024
5695921
fix: c2 bypass (#28057)
AugmentedMode Oct 24, 2024
82eb8ff
test: Added e2e for switch network (#27967)
hjetpoluru Oct 24, 2024
7d75226
feat(3419): sensitive text component (#28056)
vinnyhoward Oct 24, 2024
a6734d6
test: Complete missing step for add a contact to the address book in …
benjisclowder Oct 25, 2024
684689e
fix: broken test `Vault Decryptor Page is able to decrypt the vault u…
seaona Oct 25, 2024
91ec3f8
fix: update storybook to support NFT images (#28105)
Prithpal-Sooriya Oct 25, 2024
aa6dd41
feat: better storybook stories for the notification pages (#27861)
matteoscurati Oct 25, 2024
440a0fa
fix(devDeps): [email protected]>7.25.9 (#28068)
legobeat Oct 25, 2024
c4727d9
fix: json-rpc-middleware-stream@^5 -> @metamask/json-rpc-middleware-s…
legobeat Oct 25, 2024
32a3b07
test: allow more simple findElement by data-testid (#28065)
HowardBraham Oct 25, 2024
d7d3b6d
feat: improved way to trigger mmi e2e tests (#27932)
albertolive Oct 25, 2024
317d2ef
feat: convert MetaMetricsController to typescript (#28072)
cryptodev-2s Oct 28, 2024
99e8e77
chore: Using button icon component for clikable icons (#28082)
jpuri Oct 28, 2024
4be7b4a
feat: share the same user storage mock instance in tests (#28119)
mathieuartu Oct 28, 2024
b6639fc
test: [POM] Migrate onboarding infura call privacy e2e tests (#28079)
devin-ai-integration[bot] Oct 28, 2024
46532ad
fix: Reduce usage of scientific notation (#27992)
pedronfigueiredo Oct 28, 2024
3624df4
test: blockaid update version and reenable specs (#28121)
seaona Oct 28, 2024
499de20
fix: broken not existing type file import (#28055)
georgewrmarshall Oct 28, 2024
42e2aa4
feat: update phishing controller version (#28131)
AugmentedMode Oct 28, 2024
6343b34
chore: bridge-api fetchBridgeQuotes util (#28027)
micaelae Oct 28, 2024
7169a28
feat(NOTIFY-1260): enable account syncing (#28120)
mathieuartu Oct 28, 2024
3ecc7f4
chore: small storybook and docs updates to SensitiveText component (#…
georgewrmarshall Oct 28, 2024
0c74bf6
chore: update @metamask/bitcoin-wallet-snap to 0.8.2 (#28135)
ccharly Oct 28, 2024
03196a8
feat: added test network as selected network if globally selected for…
NidhiKJha Oct 29, 2024
b649acf
test: [Snaps E2E] Unified methods and clean up snaps e2e tests (#27684)
bowensanders Oct 29, 2024
3a35385
chore: ignore warning for ethereumjs-wallet (#28145)
sahar-fehri Oct 29, 2024
6eae9bc
refactor: clean up profile sync hooks (#28132)
Prithpal-Sooriya Oct 29, 2024
1fd9510
fix: 0 token balance in send flow (#28136)
bergeron Oct 29, 2024
f6b9e79
fix: Reduce gas limit fallback from 95% to 35% of the block gas limit…
OGPoyraz Oct 29, 2024
6b321c8
test(ramps): fixes btc native token test (#27601)
georgeweiler Oct 29, 2024
54ae12f
refactor: remove global network usage from transaction simulation (#2…
matthewwalsh0 Oct 29, 2024
8ae8561
feat: Capture 3 existing properties within non-anonymous transaction …
pedronfigueiredo Oct 29, 2024
54b110a
fix: incorrect standard swap gas fee estimation (#28127)
matthewwalsh0 Oct 29, 2024
acb79ec
chore: bump asset controllers to 39 + polling API (#28025)
bergeron Oct 29, 2024
f1c9130
fix: Updated network message on Review Permission and Connections pag…
NidhiKJha Oct 29, 2024
7df5cef
chore: update bridge quote request on input change (#28028)
micaelae Oct 29, 2024
2c86162
feat: Add re-simulation logic (#28104)
OGPoyraz Oct 30, 2024
f6ccbfc
feat: enable security alerts api (#28040)
vinistevam Oct 30, 2024
41d7505
chore: upgrade signature controller to remove global network (#28063)
matthewwalsh0 Oct 30, 2024
d6c1df4
feat(snaps): Add `useDisplayName` hook (#27868)
GuillaumeRx Oct 30, 2024
62cc460
chore: update confirmations code ownership (#27862)
matthewwalsh0 Oct 30, 2024
05da3f7
feat: add privacy mode (#28021)
jonybur Oct 30, 2024
9cc7b41
fix: Fix #28097 - Prevent redirect after adding network in Onboarding…
darkwing Oct 30, 2024
3d4bab3
fix: Prevent coercing small spending caps to zero (#28179)
pedronfigueiredo Oct 30, 2024
7e765c3
chore: poll for bridge quotes (#28029)
micaelae Oct 30, 2024
5bb3885
feat: Native asset send (#27979)
pedronfigueiredo Oct 30, 2024
5227d6f
fix: flaky test `BTC Account - Overview has balance` (#28181)
seaona Oct 30, 2024
c04c119
feat: Token Network Filter UI [Extension] (#27884)
gambinish Oct 30, 2024
d61b77e
feat: Copy updates to satisfy UK regulation requirements (#28157)
georgeweiler Oct 30, 2024
d9328f6
chore: Add a new transaction event prop (#28153)
dan437 Oct 30, 2024
956f99a
feat: Bump `QueuedRequestController` from `^2.0.0` to `^7.0.0`  (#28090)
jiexi Oct 30, 2024
f301604
test: Fix data deletion e2e tests (#28221)
Gudahtt Oct 31, 2024
70ba803
feat: poll native currency prices across chains (#28196)
bergeron Oct 31, 2024
741aa96
test: add ui render for debug ui integration tests (#27621)
cryptotavares Oct 31, 2024
630352a
fix: Fix left-aligned fullscreen UI (#28218)
Gudahtt Oct 31, 2024
dd03cc2
feat: Improve provider method metrics for add/switch chain (#28214)
Gudahtt Oct 31, 2024
5cba109
Version v12.7.0
metamaskbot Oct 31, 2024
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
  •  
  •  
  •  
95 changes: 36 additions & 59 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ aliases:
cat ${HOME}/project/.circleci/scripts/enable-vnc.sh >> ~/.bashrc
fi

# Check if MMI Optional tests should run
- &check-mmi-optional
name: Check if MMI Optional tests should run
# Check if MMI tests should run
- &check-mmi-trigger
name: Check if MMI tests should run
command: |
RUN_MMI_OPTIONAL=$(cat ./RUN_MMI_OPTIONAL)
if [[ "${RUN_MMI_OPTIONAL}" == "true" ]]; then
echo "Running MMI Optional tests"
source mmi_trigger.env
if [ "${run_mmi_tests}" == "true" ]; then
echo "Running MMI tests"
else
echo "Skipping MMI Optional tests"
echo "Skipping MMI tests"
circleci step halt
fi

Expand All @@ -114,15 +114,13 @@ workflows:
- trigger-beta-build:
requires:
- prep-deps
- check-pr-tag
- check-mmi-trigger
- prep-deps
- get-changed-files-with-git-diff:
filters:
branches:
ignore:
- master
requires:
- prep-deps
branches:
ignore:
- master
- test-deps-audit:
requires:
- prep-deps
Expand Down Expand Up @@ -181,7 +179,7 @@ workflows:
- prep-build-test-mmi-playwright:
requires:
- prep-deps
- check-pr-tag
- check-mmi-trigger
- prep-build-storybook:
requires:
- prep-deps
Expand Down Expand Up @@ -233,7 +231,7 @@ workflows:
requires:
- prep-build-test-mmi
- get-changed-files-with-git-diff
- test-e2e-mmi-playwright - OPTIONAL:
- test-e2e-mmi-playwright:
requires:
- prep-build-test-mmi-playwright
- test-e2e-chrome-rpc-mmi:
Expand Down Expand Up @@ -360,11 +358,10 @@ workflows:
value: << pipeline.git.branch >>
jobs:
- prep-deps
- get-changed-files-with-git-diff:
requires:
- prep-deps
- get-changed-files-with-git-diff
- validate-locales-only:
requires:
- prep-deps
- get-changed-files-with-git-diff
- test-lint:
requires:
Expand Down Expand Up @@ -424,39 +421,6 @@ jobs:
name: Create GitHub Pull Request for version
command: .circleci/scripts/release-create-release-pr.sh

check-pr-tag:
docker:
- image: cimg/base:stable
steps:
- run:
name: Check for MMI Team Tag
command: |
#!/bin/bash

GH_LABEL=team-mmi
if [ -z "$CIRCLE_PULL_REQUESTS" ]; then
echo "Skipping tag check; this is not a PR."
echo "false" > ./RUN_MMI_OPTIONAL
exit 0
fi

echo $CIRCLE_PULL_REQUESTS | sed 's/,/\n/g'

# See if any associated PRs have matching label
HAS_MATCHING_PR=$(echo $CIRCLE_PULL_REQUESTS \
| sed -e 's#,#\n#g' -e 's#/github.com/#/api.github.com/repos/#g' -e 's#/pull/#/pulls/#g' \
| xargs -n1 curl -s \
| jq -s "map((.labels|map(select(.name==\"${GH_LABEL}\"))))|flatten|length > 0")

echo "${GH_LABEL} tag presence: ${HAS_MATCHING_PR}"

# assign the RUN_MMI_OPTIONAL variable
echo "${HAS_MATCHING_PR}" > ./RUN_MMI_OPTIONAL
- persist_to_workspace:
root: .
paths:
- RUN_MMI_OPTIONAL

prep-deps:
executor: node-browsers-medium
steps:
Expand Down Expand Up @@ -501,7 +465,6 @@ jobs:
- run: sudo corepack enable
- attach_workspace:
at: .
- gh/install
- run:
name: Get changed files with git diff
command: npx tsx .circleci/scripts/git-diff-develop.ts
Expand Down Expand Up @@ -843,7 +806,7 @@ jobs:
- run: corepack enable
- attach_workspace:
at: .
- run: *check-mmi-optional
- run: *check-mmi-trigger
- run:
name: Build MMI extension for Playwright e2e
command: |
Expand All @@ -858,7 +821,6 @@ jobs:
- persist_to_workspace:
root: .
paths:
- RUN_MMI_OPTIONAL
- dist-test-mmi-playwright
- builds-test-mmi-playwright
- store_artifacts:
Expand Down Expand Up @@ -1012,7 +974,7 @@ jobs:
command: ./development/shellcheck.sh

test-lint-lockfile:
executor: node-browsers-medium
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
Expand Down Expand Up @@ -1254,7 +1216,7 @@ jobs:
command: mv ./builds-test-flask-mv2 ./builds
- run:
name: test:e2e:firefox:flask
command: ENABLE_MV3=false .circleci/scripts/test-run-e2e.sh yarn test:e2e:firefox:flask
command: .circleci/scripts/test-run-e2e.sh yarn test:e2e:firefox:flask
no_output_timeout: 5m
- store_artifacts:
path: test-artifacts
Expand Down Expand Up @@ -1310,15 +1272,15 @@ jobs:
- store_test_results:
path: test/test-results/e2e

test-e2e-mmi-playwright - OPTIONAL:
test-e2e-mmi-playwright:
executor: playwright
parallelism: 2
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: corepack enable
- attach_workspace:
at: .
- run: *check-mmi-optional
- run: *check-mmi-trigger
- run:
name: Move test build to dist
command: mv ./dist-test-mmi-playwright ./dist
Expand Down Expand Up @@ -1397,7 +1359,7 @@ jobs:
command: mv ./builds-test-mv2 ./builds
- run:
name: test:e2e:firefox
command: ENABLE_MV3=false .circleci/scripts/test-run-e2e.sh yarn test:e2e:firefox
command: .circleci/scripts/test-run-e2e.sh yarn test:e2e:firefox
no_output_timeout: 5m
- store_artifacts:
path: test-artifacts
Expand Down Expand Up @@ -1747,3 +1709,18 @@ jobs:
- run:
name: All Tests Passed
command: echo 'whew - everything passed!'

check-mmi-trigger:
executor: node-browsers-medium
steps:
- checkout
- run:
name: Check for MMI Team Label or Reviewer
command: ./.circleci/scripts/check_mmi_trigger.sh
- store_artifacts:
path: mmi_trigger.env
destination: mmi_trigger.env
- persist_to_workspace:
root: .
paths:
- mmi_trigger.env
60 changes: 60 additions & 0 deletions .circleci/scripts/check_mmi_trigger.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/bin/bash
set -eo pipefail

# Ensure required environment variables are set
if [ -z "$CIRCLE_PULL_REQUEST" ] || [ -z "$GITHUB_TOKEN" ]; then
echo "This appears to be a fork or required environment variables are not set."
echo "Skipping MMI tests."
echo "run_mmi_tests=false" > mmi_trigger.env
exit 0
fi

# Extract PR number from the pull request URL
PR_NUMBER=$(echo "$CIRCLE_PULL_REQUEST" | awk -F'/' '{print $NF}')

# Define repository details
REPO_OWNER="$CIRCLE_PROJECT_USERNAME"
REPO_NAME=$(basename "$CIRCLE_REPOSITORY_URL" .git)

# Fetch PR details using GitHub API
PR_DETAILS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/pulls/$PR_NUMBER")

# Fetch submitted reviews
SUBMITTED_REVIEWS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/pulls/$PR_NUMBER/reviews")

# Check for label 'team-mmi'
LABEL_EXISTS=$(jq -r '.labels[]? | select(.name == "team-mmi") | length > 0' <<< "$PR_DETAILS")

# Check for individual reviewer 'mmi'
REVIEWER_REQUESTED=$(jq -r '.requested_reviewers[]? | select(.login == "mmi") | length > 0' <<< "$PR_DETAILS")

# Check for team reviewer 'mmi'
TEAM_REQUESTED=$(jq -r '.requested_teams[]? | select(.slug == "mmi") | length > 0' <<< "$PR_DETAILS")

# Check if 'mmi' submitted a review
REVIEWER_SUBMITTED=$(jq -r '.[]? | select(.user.login == "mmi") | length > 0' <<< "$SUBMITTED_REVIEWS")

# Determine which condition was met and trigger tests if needed
if [[ "$LABEL_EXISTS" == "true" || "$REVIEWER_REQUESTED" == "true" || "$TEAM_REQUESTED" == "true" || "$REVIEWER_SUBMITTED" == "true" ]]; then
echo "run_mmi_tests=true" > mmi_trigger.env

# Log exactly which condition was met
echo "Conditions met:"
if [[ "$LABEL_EXISTS" == "true" ]]; then
echo "- Label 'team-mmi' found."
fi
if [[ "$REVIEWER_REQUESTED" == "true" ]]; then
echo "- Reviewer 'mmi' requested."
fi
if [[ "$TEAM_REQUESTED" == "true" ]]; then
echo "- Team 'mmi' requested."
fi
if [[ "$REVIEWER_SUBMITTED" == "true" ]]; then
echo "- Reviewer 'mmi' submitted a review."
fi
else
echo "run_mmi_tests=false" > mmi_trigger.env
echo "Skipping MMI tests: Neither the 'team-mmi' label was found nor a reviewer from the 'MetaMask/mmi' team was assigned."
fi
Loading