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 v11.1.0 RC #20752

Merged
merged 391 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
391 commits
Select commit Hold shift + click to select a range
4c37448
Added IPFS toggle (#20172)
NidhiKJha Aug 1, 2023
034626a
Fix ipfs-ens-resolution.spec.js E2E intermittent failure (#20311)
darkwing Aug 1, 2023
ee48d8f
Fix/check pr labels (#20353)
gauthierpetetin Aug 1, 2023
4e08301
fix weird lockfile irregularities (#20333)
brad-decker Aug 1, 2023
512fdca
Replaced with new checkbox in ConnectedAccountsPermissions (#20228)
akp111 Aug 1, 2023
9b55791
fix/migrate AvatarAccount to TS (#20208)
dhruvv173 Aug 1, 2023
067d385
Replaced ActionableMessage Instances in edit-gas (#20196)
pritam1813 Aug 1, 2023
d375dc5
Part of #18714: Replacing deprecated constants (#19843)
dhruvv173 Aug 1, 2023
d879f08
Update ModalOverlay to use TS Box version (#20203)
Jainex17 Aug 1, 2023
5b5ca45
Replaces SEVERITIES const with Severity enum in BannerAlert (#20200)
pritam1813 Aug 1, 2023
038eb63
Upgrade to yarn 4 (#20249)
brad-decker Aug 1, 2023
b825ee8
Fix migration 88 to handle the case where chainId keys can be undefin…
danjm Aug 1, 2023
023249a
migration of HeaderBase to use TS Box version (#20250)
Jainex17 Aug 2, 2023
484fd1a
Updating deprecated code and using design system components (#19562)
dhruvv173 Aug 2, 2023
446c7bb
Security Alert Settings: update copy to match figma (#20300)
digiwand Aug 2, 2023
ad91902
UX Improvement: Fixed tooltip for token-list-item (#20258)
NidhiKJha Aug 2, 2023
36c0dfb
Check for blocked snaps on extension startup (#20336)
GuillaumeRx Aug 2, 2023
ef5d171
Whats new blockaid popup (#20071)
segun Aug 2, 2023
f91d4fb
Updated copy change for the IPFS toggle (#20358)
NidhiKJha Aug 2, 2023
1099a37
Feat/swaps link buy gas (#20241)
infiniteflower Aug 2, 2023
39edef5
Merge origin/develop into master-sync
danjm Aug 2, 2023
bf93115
bump @metamask/network-controller from v10.3.1 to v11.0.0 (#20367)
adonesky1 Aug 2, 2023
8e8bef1
Merge pull request #20373 from MetaMask/master-sync
danjm Aug 2, 2023
6947133
Update critical error styles (#20350)
digiwand Aug 2, 2023
97073e1
Move "Enable Opensea API" and "NFT Autodetect" into Security & Privac…
vthomas13 Aug 2, 2023
d4e33b0
close popover on backgroiund click (#20359)
NidhiKJha Aug 3, 2023
03f315e
Added e2e test for ipfs toggle (#20360)
NidhiKJha Aug 3, 2023
8c46f85
Confirmation page alerts (#20125)
jpuri Aug 3, 2023
e351a6b
fix: minimise public api of tx controller (#20361)
OGPoyraz Aug 3, 2023
5a9addc
Fix 'Global Menu Explorer / Account Details' What's New (#20371)
darkwing Aug 3, 2023
72cc669
Fix #20274 - Update locked network menu controls (#20277)
darkwing Aug 3, 2023
840eb63
Fix #19647 - Allow importing multiple tokens (#20224)
darkwing Aug 3, 2023
0eb8e33
Fix import that was resulting in a `depcheck` error (#20383)
Gudahtt Aug 3, 2023
a7a0865
Force an update of the phishing warning configuration (#20381)
Gudahtt Aug 3, 2023
fca943a
UX: Snaps: Make Notifications Font Consistent with Other Global Items…
darkwing Aug 3, 2023
6594f70
adapt to use networksMetadata state instead of single networkStatus a…
adonesky1 Aug 3, 2023
23ea1a6
uses the asertInAnyOrder helper to fix flaky test cases (#20366)
brad-decker Aug 3, 2023
6c1b71b
Updated copy changes for display NFT Media (#20380)
NidhiKJha Aug 3, 2023
d482b21
updated to newer Checkbox (#20242)
akp111 Aug 3, 2023
b46501c
migration of button icon to use TS box version (#20227)
mishramonalisha76 Aug 3, 2023
066c568
Improvements to Swaps quote auto-selection logic, fix and edge case w…
dan437 Aug 3, 2023
52c4492
Part #19737 - Replace deprecated FormField component with TextField, …
Jainex17 Aug 3, 2023
66b4d7c
Replacing deprecated constants and components (#19718)
dhruvv173 Aug 4, 2023
a85a4cf
feat(878): add new incomingTxn component and change styles of setting…
DDDDDanica Aug 4, 2023
fee1606
Fix #20305 - Show the network name in Delete Network modal (#20309)
darkwing Aug 4, 2023
8c2e85b
Replaced ActionableMessage component in srp-input (#20111)
pritam1813 Aug 4, 2023
658ceb9
Fix-Migrate Picker-Network to TS (#20365)
dhruvv173 Aug 4, 2023
2ff289e
Add Opt-out Settings toggle for 4byte contract method names resolutio…
vthomas13 Aug 4, 2023
90adb46
UX Multichain: Fixed fiat and eth value in Account List Menu (#20334)
NidhiKJha Aug 4, 2023
3915482
ButtonPrimary to TS (#20390)
garrettbear Aug 4, 2023
798a9b0
migration of Popover to use TS Box version (#20279)
Jainex17 Aug 4, 2023
29ad914
Fix #19882 - MetaMask support link alignment v2 (#20354)
dominikrudzki Aug 4, 2023
91f6545
UX: Remove the 'Source' and 'Link' URLs from NFT detail (#20248)
darkwing Aug 4, 2023
70a1329
Feat/18889/update buttonlink ts (#20372)
garrettbear Aug 4, 2023
8c953d2
Fix #20184 - Prevent overflow within the activity list (#20188)
darkwing Aug 5, 2023
e02f597
[FLASK] `[email protected]` (#20420)
FrederikBolding Aug 7, 2023
ae76364
Create What's New storybook item (#20392)
darkwing Aug 14, 2023
f69180c
UX: Remove unwanted spacing from last NFT collection (#20442)
darkwing Aug 14, 2023
bd37b30
Merge origin/develop into master-sync
danjm Aug 14, 2023
d28f699
Specify that Base is a multilayer network (#20097)
danyalprout Aug 14, 2023
d6eecf8
Use `createNewVaultAndRestore` from core `KeyringController` (#19816)
mikesposito Aug 14, 2023
ee4bf2d
Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553)
darkwing Aug 14, 2023
2550eaa
PPOM dependency updates (#20342)
jpuri Aug 14, 2023
f8187c2
Fix opening of speedup popover in activity list (in the popup view) (…
danjm Aug 14, 2023
e9fbf85
Merge pull request #20403 from MetaMask/master-sync
danjm Aug 14, 2023
136ede5
Add Blockaid / PPOM Failed Request Security Alert (#20362)
digiwand Aug 14, 2023
712a62e
UX: Remove unwanted extra spacing on home screen (#20441)
darkwing Aug 14, 2023
e0a6435
Bump SES to fix audit failure (#20434)
FrederikBolding Aug 14, 2023
e31c933
updating SnapSettingsCard (#20296)
dhruvv173 Aug 14, 2023
7c2f767
ButtonSecondary to TS (#20411)
dhruvv173 Aug 14, 2023
63d67f3
replacing deprecated Box component and updating story (#20301)
dhruvv173 Aug 14, 2023
2609624
`[email protected]` (#20450)
FrederikBolding Aug 15, 2023
0ca4a3c
Fix bad changelog entry for v10.34.1 (#20445)
danjm Aug 15, 2023
b0fcb12
Update BannerAlert icon to match Figma Issue#20355 (#20407)
bhavyagor12 Aug 15, 2023
19de95d
Updating props to optional and providing defaults (#20448)
georgewrmarshall Aug 15, 2023
b8475f8
Part of #17670 for: privacy-settings.js (#20288)
PrgrmrHarshShukla Aug 15, 2023
73add90
fix/AvatarFavicon to TS (#20430)
dhruvv173 Aug 15, 2023
d368f51
Log before and after each migration run (#20424)
danjm Aug 15, 2023
cde910f
Replacing deprecated components in ConfirmationWarningModal (#20416)
Jainex17 Aug 15, 2023
6512cac
Replaced ActionableMessage in confirm-page-container-content (#20417)
pritam1813 Aug 15, 2023
fed047f
[FLASK] Create new E2E test for snaps lifecycle-hooks (#20352)
bowensanders Aug 16, 2023
42d05ef
Use `addNewAccount` from core `KeyringController` (#19814)
mikesposito Aug 16, 2023
9e302ea
Update `protobufjs` (#20469)
Gudahtt Aug 16, 2023
a6ef7bb
Add additional Sentry E2E tests (#20425)
Gudahtt Aug 16, 2023
9bbabd4
Capture app and migration version (#20458)
danjm Aug 16, 2023
c0fd770
Fix Sentry error e2e tests (#20479)
Gudahtt Aug 16, 2023
4e93b86
Split Sentry mask into UI and background masks (#20426)
Gudahtt Aug 16, 2023
419bf92
Removing Box props description from TS component docs (#20451)
georgewrmarshall Aug 16, 2023
63a0ae7
Use unflattened state for Sentry (#20428)
Gudahtt Aug 16, 2023
5cbfa82
Fix Typo in en.json (#20429)
Unik0rnMaggie Aug 16, 2023
b874a30
Capture exception with sentry when invariant conditions are met in mi…
danjm Aug 16, 2023
3ab5c1b
Rename BackupController to Backup (#20465)
Gudahtt Aug 16, 2023
b2a56ca
Add additional validation for persisted state metadata (#20462)
Gudahtt Aug 16, 2023
1f508a3
Add types of hidden properties to Sentry data (#20457)
Gudahtt Aug 16, 2023
3aa5b7d
Use `importAccountWithStrategy` from core `KeyringController` (#19815)
mikesposito Aug 17, 2023
6b72316
Fix infinite rerender on network change while active signature reques…
OGPoyraz Aug 17, 2023
f033a59
Remove invalid `tokensChainsCache` state (#20495)
Gudahtt Aug 17, 2023
20e16d4
Improve Sentry state pre-initialization (#20491)
Gudahtt Aug 17, 2023
486ade8
[MMI] Fixed connect mmi button several issues (#20455)
albertolive Aug 17, 2023
5e617ce
[MMI] Fix signed messages from non custodial accounts (#20506)
albertolive Aug 17, 2023
8f178bc
Enable snaps in stable (#19134)
FrederikBolding Aug 17, 2023
2529b36
Track usage of snap exports (#20503)
FrederikBolding Aug 17, 2023
4cf886f
Initialize composable observable store after update (#20468)
Gudahtt Aug 17, 2023
861c30d
Updating blockaid related packages (#20480)
jpuri Aug 17, 2023
6c50587
Add flag to update E2E snapshots (#20514)
Gudahtt Aug 17, 2023
88212a7
Require `test-deps-depcheck` to pass CI (#20386)
Gudahtt Aug 17, 2023
65c13d3
Fix Sentry breadcrumbs collection during initialization (#20521)
Gudahtt Aug 18, 2023
8807d06
Security Alert Blockaid: fix propType and add instance to ConfirmAppr…
digiwand Aug 18, 2023
60f1491
[MMI] Set approved status in tx controller in MMI logic (#20507)
albertolive Aug 18, 2023
ca1ddeb
Fix and test log.info calls run for each migration (#20517)
danjm Aug 18, 2023
23249b6
feat: github actions to automatically create and close bug report iss…
gauthierpetetin Aug 18, 2023
8df77ed
[MMI] Always redirect to MMI portfolio dashboard upon the user clicki…
albertolive Aug 18, 2023
7f157ca
Deprecation message has been added above @mixin H1 (#20500)
strawhatrag Aug 18, 2023
3d9457e
Replacing deprecated Popover with Modal (#20413)
Jainex17 Aug 18, 2023
9cfa9ba
Fix pre-initialization UI error state capture (#20529)
Gudahtt Aug 18, 2023
dc6069a
Deprecating ErrorMessage in favor of BannerAlert (#20461)
georgewrmarshall Aug 18, 2023
885a8ce
Fix Sentry breadcrumb collection during initialization (again) (#20532)
Gudahtt Aug 18, 2023
07abc53
fix/BannerBase to TS (#20421)
dhruvv173 Aug 18, 2023
efd3434
Use KeyringController messenger events (#20341)
mikesposito Aug 18, 2023
c32b406
Merge origin/develop into master-sync
danjm Aug 18, 2023
ba31f87
fix/TagUrl to TS (#20519)
dhruvv173 Aug 19, 2023
785e0d0
[FLASK] Fix regression in transaction confirmation tabs (#20267)
Mrtenz Aug 21, 2023
12a1c66
Use primary transaction to get token value in useTransactionDisplayDa…
danjm Aug 21, 2023
8afa75e
Update version in e2e state snapshot
Gudahtt Aug 21, 2023
a56ab44
Merge pull request #20534 from MetaMask/master-sync
Gudahtt Aug 21, 2023
a712298
updated mmi packages version (#20545)
albertolive Aug 21, 2023
702ee23
Remove snapshot update from release process (#20546)
Gudahtt Aug 21, 2023
8ca0b76
Don't call "toPrecisionWithoutTrailingZeros" if a destination value i…
dan437 Aug 21, 2023
37209a7
Replace IncomingTransactionsController with helper (#20378)
matthewwalsh0 Aug 22, 2023
f1b00de
fix(action): octokit not supported on MetaMask repos (#20544)
gauthierpetetin Aug 22, 2023
e543fca
New Crowdin translations by Github Action (#18017)
metamaskbot Aug 22, 2023
e6cd452
fix: Remove sentry warning on `undefined` `TokenListController` (#20547)
pedronfigueiredo Aug 22, 2023
787fc13
Fixed bug that was causing to not show the correct account name and i…
albertolive Aug 22, 2023
b852556
Enable legacy HD paths for trezor users (#19552)
danjm Aug 22, 2023
d3d30fd
fix(settings): fixed two IPFS gateway issues (#19700)
HowardBraham Aug 23, 2023
021c293
Removed code fences that were causing to not being able to sign corre…
albertolive Aug 23, 2023
3f24662
Update derivation paths used by snaps (#20558)
FrederikBolding Aug 23, 2023
b296f48
Fixing iconUrl issue setting the custodianName to custodianType if cu…
albertolive Aug 23, 2023
0489911
Remove call to `_updateMemStoreKeyrings` (#20369)
danroc Aug 23, 2023
79d9c18
UX: Multichain: Add address to account picker, change connection to c…
darkwing Aug 23, 2023
4a93163
Remove web3 shim usage event (#20376)
rekmarks Aug 24, 2023
f36261a
Update snaps URLs (#20582)
FrederikBolding Aug 24, 2023
a478f67
Fixed balance error when creating a new EOA account (#20585)
albertolive Aug 24, 2023
00d155c
feat(878): implement network txn toggle and new style (#20363)
DDDDDanica Aug 24, 2023
9514b47
fix(878): fix toggle align styles for eth-sign in settings (#20587)
DDDDDanica Aug 24, 2023
b9097de
Fix injection blocklist regex (#20584)
FrederikBolding Aug 24, 2023
d6a0a32
Fix v10.34.1 changelog entry (#20572)
Gudahtt Aug 24, 2023
d76b458
fix(privateKey): Restore hold-to-reveal button for private key export…
HowardBraham Aug 24, 2023
679d668
Show a slippage notification again before submitting a swap, improve …
dan437 Aug 25, 2023
6576a28
Added missing bindings (#20602)
albertolive Aug 25, 2023
f8a7a83
Update snaps-related copy (#20601)
Mrtenz Aug 25, 2023
96210b9
Always show connected accounts permissions if they exist (#20600)
Mrtenz Aug 25, 2023
77c7f34
Updating watch NFT page header (#20569)
jpuri Aug 25, 2023
cf651c4
Multichain v1 App Footer component (#20550)
vthomas13 Aug 25, 2023
71357b2
fix:remove extra $ after variale in french locale (#20606)
DDDDDanica Aug 25, 2023
c3f907f
fix:fix error of balance fetching when add/import an account (#20612)
DDDDDanica Aug 25, 2023
3044aa0
Fix account selectors when balances are missing (#20385)
Gudahtt Aug 26, 2023
a35df21
Part of #20163 for file ui\components\app\detected-token\detected-tok…
PrgrmrHarshShukla Aug 26, 2023
64aef2a
split advancedGasFee by network and erase previous options (#20576)
brad-decker Aug 27, 2023
4374e53
Track snap uninstalls (#20624)
FrederikBolding Aug 28, 2023
551cd3d
Fix Sentry source maps (#20616)
Gudahtt Aug 28, 2023
4c88961
fix: Remove obsolete network controller state properties (#20586)
pedronfigueiredo Aug 28, 2023
c542129
20488: Declare <Chip/> as deprecated (#20579)
jase-b Aug 28, 2023
6629233
Feat/18890/button ts update (#20492)
garrettbear Aug 28, 2023
0cbd22d
Fixing linting issue caused by bad merge of HoldToRevealModal and the…
georgewrmarshall Aug 28, 2023
7e1ed4b
deprecating Dialog in favour of BannerAlert (#20623)
dhruvv173 Aug 28, 2023
a455b6d
deprecating ConfirmPageContainerWarning in favour of BannerAlert (#20…
dhruvv173 Aug 28, 2023
b6ad074
deprecating NetworkDisplay in favour of PickerNetwork (#20619)
dhruvv173 Aug 28, 2023
877e184
Added deprecatation comment to menu.js file and Add deprecation notic…
subhajit20 Aug 29, 2023
c065468
Merge remote-tracking branch 'origin/develop' into master-sync
Gudahtt Aug 29, 2023
4e14e17
Update UI for blocked tokens, use the latest dev gas api URL (#20625)
dan437 Aug 29, 2023
bf1c087
Capture exceptions (#20562)
dan437 Aug 29, 2023
6254fbb
Bump snaps packages to `1.0.2` (#20643)
FrederikBolding Aug 29, 2023
b8b94c2
UX Multichain: Added balance-overview component (#20528)
NidhiKJha Aug 29, 2023
2154302
Created new route for connections (#20556)
NidhiKJha Aug 29, 2023
6a17d76
UX Multichain: Added Select an action Modal (#20559)
NidhiKJha Aug 29, 2023
e2789cb
Adding correct types so ButtonBase and all button variants ButtonPrim…
georgewrmarshall Aug 29, 2023
0c9a61a
Merge pull request #20637 from MetaMask/master-sync
Gudahtt Aug 29, 2023
863362d
Add whats new popup for changes to advanced gas fee (#20632)
brad-decker Aug 29, 2023
3747bc6
fix: overflow of link and warnings (#20375)
montelaidev Aug 29, 2023
a889681
deprecating SiteOrigin in favour TagUrl (#20620)
dhruvv173 Aug 29, 2023
827c2fb
feat: Add more state props from controllers to Sentry mask (#20595)
pedronfigueiredo Aug 29, 2023
131321a
Declared <TextField/> as deprecated (#20640)
subhajit20 Aug 30, 2023
4f14178
Update network.ts (#20617)
nikhilverma360 Aug 30, 2023
e2be27e
Use `verifySeedPhrase` from `KeyringController` (#19817)
mikesposito Aug 30, 2023
3f5bc97
Fix Blockaid and OpenSea BannerAlert placement for Token Allowance, C…
digiwand Aug 30, 2023
982a1b2
Bump @metamask/post-message-stream and extension-port-stream core lib…
weizman Aug 30, 2023
8b93092
Declared <IconWithFallback/> as deprecated (#20656)
subhajit20 Aug 30, 2023
9d59ec5
fix/BannerTip to TS (#20538)
dhruvv173 Aug 30, 2023
656b787
Use getEncryptionPublicKey from Core KeyringController (#20646)
cryptodev-2s Aug 30, 2023
92ad4bc
use @blockaid/ppom_release vs @blockaid/ppom (#20669)
brad-decker Aug 30, 2023
e50d941
Bump test-dapp to v7.1.0 (#20665)
seaona Aug 31, 2023
ebf2156
UX: Nit: Avoid AccountPicker props error (#20645)
darkwing Aug 31, 2023
c152263
style: update Desktop App settings styles (#20676)
digiwand Aug 31, 2023
53f585b
UX: Create selector for blockie preference (#20577)
darkwing Aug 31, 2023
90a89f3
fix(20314): fix window.left negative value causing polifll warning (#…
DDDDDanica Aug 31, 2023
1e558af
Fix: UnitInput too narrow for small and trailing zeroed numbers (#20666)
bergeron Aug 31, 2023
9b1de22
Fix #20648 - Show Linea ETH fiat value by default (#20672)
darkwing Aug 31, 2023
ec0a02f
style: fix Settings pages padding (#20674)
digiwand Aug 31, 2023
3376ea4
[MMI] Adding missing logic to handle custodian approval in token allo…
albertolive Aug 31, 2023
2180d9c
Updating padding for 'import-token__custom-token-form' to match 'impo…
bra0xit Aug 31, 2023
83b1f17
Subscribe to event fired by KeyringController on account removal (#20…
cryptodev-2s Aug 31, 2023
df2d57e
Merge remote-tracking branch 'origin/develop' into master-sync
Gudahtt Aug 31, 2023
32c4559
Merge pull request #20680 from MetaMask/master-sync
Gudahtt Sep 1, 2023
acf386c
Fix missing property on snap export metric (#20685)
FrederikBolding Sep 1, 2023
92f04eb
AvatarIcon prod updates and some deprecated fixes (#20557)
garrettbear Sep 1, 2023
907cd8b
add whatsnew popup to drop ledger support for firefox (#19498)
montelaidev Sep 1, 2023
3d2de02
feat: Update Blockaid copies on What's new modal, Settings, and Banne…
digiwand Sep 1, 2023
52f4936
Add resolution for `semver` (#20710)
FrederikBolding Sep 4, 2023
20f654a
Reduce logging in production builds (#20694)
Gudahtt Sep 4, 2023
51cdb73
Fix position of a warning triangle icon on Snap Install Warning (#20712)
david0xd Sep 4, 2023
6ee90ac
Add what's new popup for snaps (#20686)
FrederikBolding Sep 4, 2023
07adba5
Use transactions array in frontend (#20523)
matthewwalsh0 Sep 4, 2023
0e9845f
Added Specification for opBNB as a multilayer network (#20715)
jpuri Sep 5, 2023
997d135
Reverting ppom.js file to old version (#20566)
jpuri Sep 5, 2023
7906f18
Blockaid validation should be done on ethereum mainnet only (#20709)
jpuri Sep 5, 2023
5194441
feat(locale): New Crowdin translations by Github Action (#20563)
metamaskbot Sep 5, 2023
0962e85
Add missing derivation path names (#20735)
Mrtenz Sep 5, 2023
8608655
fix(20548): fix warning levels in migration file (#20737)
DDDDDanica Sep 5, 2023
2511499
fix(readme): yarn v3 no longer required (#20713)
gauthierpetetin Sep 5, 2023
376ceb2
Use versioned URL for `manageAccounts` test (#20739)
FrederikBolding Sep 5, 2023
335d959
Update Snap privacy warning content (#20741)
david0xd Sep 5, 2023
ab37800
Update PPOM Validator (#20738)
jpuri Sep 5, 2023
3c90079
Merge remote-tracking branch 'origin/develop' into master-sync
Gudahtt Sep 5, 2023
0f938c5
Merge pull request #20744 from MetaMask/master-sync
Gudahtt Sep 5, 2023
388243c
v11.1.0
danjm Sep 6, 2023
dd3f2e5
[MMI] Shows Stake & Portfolio buttons and hides the Buy and Bridge bu…
zone-live Sep 11, 2023
591f81c
[MMI] Show the NFT tab content for mmi (#20830)
zone-live Sep 12, 2023
421a7b4
Update send native token origin MM.csv (#20880)
benjisclowder Sep 14, 2023
6edf447
Make permissions modal scrollable (#20409)
dominikrudzki Sep 13, 2023
1a7d373
Fix broken `approveTokenDescriptionWithoutSymbol` translation key (#2…
GuillaumeRx Sep 11, 2023
ed09d92
Fix undefined getCurrentNetworkTransactions on speed up (#20899)
matthewwalsh0 Sep 15, 2023
7b1339e
fix: "Allow quick Add Account name based on default name" (20168) (#2…
HowardBraham Sep 6, 2023
658c3a0
Use first non-symbol character as snap fallback icon (#20851)
FrederikBolding Sep 13, 2023
a848343
Only show enabled insight snaps on the confirmation screen (#20850)
FrederikBolding Sep 13, 2023
c4f970a
Update `useScrollRequired` logic (#20889)
GuillaumeRx Sep 15, 2023
189a0f5
Updating ppom validator (#20756)
jpuri Sep 7, 2023
54fda97
Adding env vars for blockaid to build file (#20769)
jpuri Sep 12, 2023
7facdeb
Revert ppom.js exactly yo audited version (#20826)
jpuri Sep 12, 2023
74970e7
Add MMI builds to metamaskbot comment (#20783)
Gudahtt Sep 7, 2023
cdc33a5
Publish MMI builds alongside stable releases (#20788)
Gudahtt Sep 8, 2023
f134493
Fix spacing on connected sites in the snap details page (#20854)
FrederikBolding Sep 13, 2023
b8d91f5
Bump LavaMoat and SES (#20877)
Mrtenz Sep 21, 2023
645af3d
Fix #20910 - Turn off ENS resolution if IPFS is turned off (#20915)
darkwing Sep 21, 2023
f18a4c7
UX: updated placeholder for erc-1155 image (#20927)
NidhiKJha Sep 21, 2023
b5626eb
fix: Copy and add 3rd party API links (#20929)
pedronfigueiredo Sep 20, 2023
e2968e0
fix: Incoming tx on activity tab when transfering funds between walle…
pedronfigueiredo Sep 22, 2023
aed5d87
Render Default Image when NFT Display Media is Off (#21033)
NidhiKJha Sep 26, 2023
55dccf2
fix: Tweak banner copy (#20981)
pedronfigueiredo Sep 22, 2023
7b7ab8f
Update changelog v11.1.0 (#20800)
danjm Sep 26, 2023
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
  •  
  •  
  •  
146 changes: 123 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ version: 2.1
executors:
node-browsers:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
node-browsers-medium-plus:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
resource_class: medium+
environment:
NODE_OPTIONS: --max_old_space_size=2048
node-browsers-large:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
resource_class: large
environment:
NODE_OPTIONS: --max_old_space_size=2048
Expand Down Expand Up @@ -101,6 +101,9 @@ workflows:
build-type: [main, beta, flask, mmi, desktop]
requires:
- prep-deps
- prep-build-mmi:
requires:
- prep-deps
- prep-build:
requires:
- prep-deps
Expand Down Expand Up @@ -144,6 +147,9 @@ workflows:
- test-e2e-firefox:
requires:
- prep-build-test
- test-e2e-chrome-rpc:
requires:
- prep-build-test
- test-e2e-chrome-snaps:
requires:
- prep-build-test
Expand Down Expand Up @@ -192,6 +198,9 @@ workflows:
ignore: master
requires:
- prep-build-desktop
- validate-source-maps-mmi:
requires:
- prep-build-mmi
- validate-source-maps-flask:
requires:
- prep-build-flask
Expand All @@ -212,6 +221,7 @@ workflows:
- prep-build-flask
- all-tests-pass:
requires:
- test-deps-depcheck
- validate-lavamoat-allow-scripts
- validate-lavamoat-policy-build
- validate-lavamoat-policy-webapp
Expand All @@ -228,6 +238,7 @@ workflows:
- validate-source-maps-beta
- validate-source-maps-desktop
- validate-source-maps-flask
- validate-source-maps-mmi
- test-mozilla-lint
- test-mozilla-lint-desktop
- test-mozilla-lint-flask
Expand All @@ -251,6 +262,7 @@ workflows:
- prep-build
- trigger-beta-build
- prep-build-desktop
- prep-build-mmi
- prep-build-flask
- prep-build-storybook
- prep-build-ts-migration-dashboard
Expand All @@ -267,6 +279,7 @@ workflows:
- prep-deps
- prep-build
- prep-build-desktop
- prep-build-mmi
- prep-build-flask
- all-tests-pass
- job-publish-storybook:
Expand Down Expand Up @@ -347,27 +360,9 @@ jobs:
# required and add the new dependencies, and the cache will be persisted.
- dependency-cache-v1-
- gh/install
- run:
name: Set IS_DRAFT environment variable
command: |
PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}"
if [ -n "$PR_NUMBER" ]
then
echo "IS_DRAFT=$(gh pr view --json isDraft --jq '.isDraft' "$PR_NUMBER")" >> "$BASH_ENV"
source "$BASH_ENV"
else
echo "Not a PR; skipping"
fi
- run:
name: Install dependencies
command: |
if [[ $IS_DRAFT == 'true' ]]
then
# Use GitHub registry on draft PRs, allowing the use of preview builds
METAMASK_NPM_REGISTRY=https://npm.pkg.github.com yarn --immutable
else
yarn --immutable
fi
command: .circleci/scripts/install-dependencies.sh
- save_cache:
key: dependency-cache-v1-{{ checksum "yarn.lock" }}
paths:
Expand Down Expand Up @@ -478,6 +473,49 @@ jobs:
- dist-desktop
- builds-desktop

prep-build-mmi:
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone
- attach_workspace:
at: .
- when:
condition:
not:
matches:
pattern: /^master$/
value: << pipeline.git.branch >>
steps:
- run:
name: build:dist
command: yarn build --build-type mmi dist
- when:
condition:
matches:
pattern: /^master$/
value: << pipeline.git.branch >>
steps:
- run:
name: build:prod
command: yarn build --build-type mmi prod
- run:
name: build:debug
command: find dist/ -type f -exec md5sum {} \; | sort -k 2
- run:
name: Move mmi build to 'dist-mmi' to avoid conflict with production build
command: mv ./dist ./dist-mmi
- run:
name: Move mmi zips to 'builds-mmi' to avoid conflict with production build
command: mv ./builds ./builds-mmi
- persist_to_workspace:
root: .
paths:
- dist-mmi
- builds-mmi
- store_artifacts:
path: builds-mmi
destination: builds-mmi

prep-build-flask:
executor: node-browsers-medium-plus
steps:
Expand Down Expand Up @@ -663,6 +701,9 @@ jobs:
- run:
name: lockfile-lint
command: yarn lint:lockfile
- run:
name: check yarn resolutions
command: yarn --check-resolutions

test-lint-changelog:
executor: node-browsers
Expand Down Expand Up @@ -698,7 +739,7 @@ jobs:
at: .
- run:
name: yarn audit
command: .circleci/scripts/yarn-audit.sh
command: yarn audit

test-deps-depcheck:
executor: node-browsers
Expand Down Expand Up @@ -775,6 +816,43 @@ jobs:
path: test-artifacts
destination: test-artifacts

test-e2e-chrome-rpc:
executor: node-browsers
parallelism: 1
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 ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: test:e2e:chrome:rpc
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:rpc --retries 2
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml

test-e2e-firefox-snaps:
executor: node-browsers
parallelism: 4
Expand Down Expand Up @@ -1079,6 +1157,9 @@ jobs:
- store_artifacts:
path: builds-flask
destination: builds-flask
- store_artifacts:
path: builds-mmi
destination: builds-mmi
- store_artifacts:
path: coverage
destination: coverage
Expand Down Expand Up @@ -1121,6 +1202,9 @@ jobs:
- run:
name: Publish Flask release to Sentry
command: yarn sentry:publish --build-type flask
- run:
name: Publish MMI release to Sentry
command: yarn sentry:publish --build-type mmi
- run:
name: Create GitHub release
command: |
Expand Down Expand Up @@ -1268,6 +1352,22 @@ jobs:
name: Validate source maps
command: yarn validate-source-maps

validate-source-maps-mmi:
executor: node-browsers
steps:
- run: *shallow-git-clone
- attach_workspace:
at: .
- run:
name: Move mmi build to dist
command: mv ./dist-mmi ./dist
- run:
name: Move mmi zips to builds
command: mv ./builds-mmi ./builds
- run:
name: Validate source maps
command: yarn validate-source-maps

validate-source-maps-flask:
executor: node-browsers
steps:
Expand Down
42 changes: 42 additions & 0 deletions .circleci/scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env bash

set -e
set -o pipefail

IS_NON_FORK_DRAFT='false'

if [[ -n $CIRCLE_PULL_REQUEST ]] && gh auth status
then
PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}"
if [ -n "$PR_NUMBER" ]
then
IS_NON_FORK_DRAFT="$(gh pr view --json isDraft --jq '.isDraft' "$PR_NUMBER")"
fi
fi

# Build query to see whether there are any "preview-like" packages in the manifest
# A "preview-like" package is a `@metamask`-scoped package with a prerelease version that has no period.
QUERY='.dependencies + .devDependencies' # Get list of all dependencies
QUERY+=' | with_entries( select(.key | startswith("@metamask") ) )' # filter to @metamask-scoped packages
QUERY+=' | to_entries[].value' # Get version ranges
QUERY+=' | select(test("^\\d+\\.\\d+\\.\\d+-[^.]+$"))' # Get pinned versions where the prerelease part has no "."

# Use `-e` flag so that exit code indicates whether any matches were found
if jq -e "${QUERY}" < ./package.json
then
echo "Preview builds detected"
HAS_PREVIEW_BUILDS='true'
else
echo "No preview builds detected"
HAS_PREVIEW_BUILDS='false'
fi

if [[ $IS_NON_FORK_DRAFT == 'true' && $HAS_PREVIEW_BUILDS == 'true' ]]
then
# Use GitHub registry on draft PRs, allowing the use of preview builds
echo "Installing with preview builds"
METAMASK_NPM_REGISTRY=https://npm.pkg.github.com yarn --immutable
else
echo "Installing without preview builds"
yarn --immutable
fi
36 changes: 22 additions & 14 deletions .circleci/scripts/release-create-gh-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,42 @@ function install_github_cli ()
popd
}

function print_flask_version ()
function print_build_version ()
{
local flask_filename
flask_filename="$(find ./builds-flask -type f -name 'metamask-flask-chrome-*.zip' -exec basename {} .zip \;)"
local build_type="${1}"; shift

local flask_build_filename_prefix
flask_build_filename_prefix='metamask-flask-chrome-'
local flask_build_filename_prefix_size
flask_build_filename_prefix_size="${#flask_build_filename_prefix}"
local filename
filename="$(find "./builds-${build_type}" -type f -name "metamask-${build_type}-chrome-*.zip" -exec basename {} .zip \;)"

local build_filename_prefix
build_filename_prefix="metamask-${build_type}-chrome-"
local build_filename_prefix_size
build_filename_prefix_size="${#build_filename_prefix}"

# Use substring parameter expansion to remove the filename prefix, leaving just the version
echo "${flask_filename:$flask_build_filename_prefix_size}"
echo "${filename:$build_filename_prefix_size}"
}

function publish_flask_tag ()

function publish_tag ()
{
local flask_version="${1}"; shift
local build_name="${1}"; shift
local build_version="${1}"; shift

git config user.email "[email protected]"
git config user.name "MetaMask Bot"
git tag -a "v${flask_version}" -m "Flask version ${flask_version}"
git tag -a "v${build_version}" -m "${build_name} version ${build_version}"
repo_slug="$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
git push "https://[email protected]/$repo_slug" "v${flask_version}"
git push "https://[email protected]/$repo_slug" "v${build_version}"
}

current_commit_msg=$(git show -s --format='%s' HEAD)

if [[ $current_commit_msg =~ Version[-[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+) ]]
then
tag="${BASH_REMATCH[1]}"
flask_version="$(print_flask_version)"
flask_version="$(print_build_version 'flask')"
mmi_version="$(print_build_version 'mmi')"

install_github_cli

Expand All @@ -67,12 +72,15 @@ then
--attach builds/metamask-firefox-*.zip \
--attach builds-flask/metamask-flask-chrome-*.zip \
--attach builds-flask/metamask-flask-firefox-*.zip \
--attach builds-mmi/metamask-mmi-chrome-*.zip \
--attach builds-mmi/metamask-mmi-firefox-*.zip \
--message "Version ${tag##v}" \
--message "$release_body" \
--commitish "$CIRCLE_SHA1" \
"$tag"

publish_flask_tag "${flask_version}"
publish_tag 'Flask' "${flask_version}"
publish_tag 'MMI' "${mmi_version}"
else
printf '%s\n' 'Version not found in commit message; skipping GitHub Release'
exit 0
Expand Down
Loading
Loading