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 v12.14.0 RC #30617

Draft
wants to merge 143 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
1c4ae15
fix: fix network switch on dapp (#30211)
salimtb Feb 14, 2025
213037b
fix: flaky test `Settings Should show crypto value when price checker…
seaona Feb 14, 2025
1880f16
chore: bump `@metamask/api-specs` to `^0.10.15` (#30273)
jiexi Feb 14, 2025
8c81e3a
fix: bump assets-controllers to v49 (#30250)
sahar-fehri Feb 14, 2025
e7bbf08
chore(deps): update `express` (#29708)
mikesposito Feb 14, 2025
d6e21aa
fix: Add BNB Smart Chain to Smart Transactions description in setting…
httpJunkie Feb 14, 2025
2936a3c
fix: fetch quotes when src amount's decimals are greater than token's…
micaelae Feb 14, 2025
8be74f3
feat: MMS-1872 destination account picker for sol-evm (standalone com…
ghgoodreau Feb 14, 2025
346e3b8
fix(snaps): Add missing controller names to `ControllersToInitialize`…
GuillaumeRx Feb 17, 2025
cafa47a
chore: fix edge case for uploading git diff artifacts needed for POM …
seaona Feb 17, 2025
739fac8
fix(30190): fix flaky tests for user traits (#30346)
DDDDDanica Feb 17, 2025
422201c
feat: add unichain logo (#30361)
salimtb Feb 17, 2025
1f4afda
feat: integrate multichain assets rates controller to extension UI (#…
salimtb Feb 17, 2025
9f6f506
fix: cp-12.13.0 dependency version (#30375)
itsyoboieltr Feb 17, 2025
2f30c2e
fix: revisit list of currencies (#30324)
salimtb Feb 18, 2025
599a4b5
fix: Revert "fix: Avoid nonce flicker when transaction is submitted" …
pedronfigueiredo Feb 18, 2025
de15960
chore: adds call to the multichain transactions controller (#30369)
zone-live Feb 18, 2025
b5f4f0f
fix: remove supported chains check (#29773)
vinistevam Feb 18, 2025
e478643
fix: Perf: Prevent AddressCopyButton rerenders (#30289)
darkwing Feb 18, 2025
8ae2876
feat: bump notification services controller (#30339)
Prithpal-Sooriya Feb 18, 2025
6d08a65
refactor(snap-keyring): refactor Snap keyring implementation (#30244)
ccharly Feb 18, 2025
7d050e1
build: remove some unncessary autofix warnings (#30342)
Prithpal-Sooriya Feb 18, 2025
8746cf3
feat: update slides descriptions (#30270)
jonybur Feb 18, 2025
0b66f5d
fix: cp-12.13.0 fix modal scroll bar flash (#30355)
georgewrmarshall Feb 18, 2025
e758c07
feat: Bump `@metamask/providers` to `^20.0.0` (#29936)
jiexi Feb 18, 2025
2b39e3b
feat: GitHub-hosted runners for benchmarks (#29955)
HowardBraham Feb 18, 2025
fad21cd
refactor: remove circular dependency in `token-buttons.tsx` (#30299)
davidmurdoch Feb 19, 2025
159a416
docs: add code comments to better describe date formatting util (#29242)
Prithpal-Sooriya Feb 19, 2025
af66eb6
feat(action): Improve bug report creation (#30176)
gauthierpetetin Feb 19, 2025
c7e077e
feat: add `@metamask/multichain-network-controller` (#30426)
ccharly Feb 19, 2025
f73fd30
chore: bump `@metamask/keyring-controller` to `^19.1.0` (#30367)
mikesposito Feb 19, 2025
0832bdd
fix: flaky tests `Test Snap bip-44 can pop up bip-44 snap and get pri…
seaona Feb 19, 2025
2abb96a
chore: Bump Snaps dependencies (#30396)
FrederikBolding Feb 19, 2025
a19a398
fix: fix spinner display in NFT tab (#30427)
sahar-fehri Feb 19, 2025
03c5f58
feat: MMS-1868 new quote card and story (#30303)
ghgoodreau Feb 19, 2025
67aa6aa
chore: set swap input parameters (#30284)
micaelae Feb 19, 2025
c1f1f6b
fix: text visibility issues in error page in dark mode (#30408)
georgewrmarshall Feb 19, 2025
f28216f
fix: cp-12.13.0 fixes drag and drop in network list menu modal (#30437)
georgewrmarshall Feb 19, 2025
e04e2f7
refactor: remove circular dependency between `actions.ts` and `swaps.…
davidmurdoch Feb 19, 2025
468ab8f
fix: flaky test `Speed Up and Cancel Transaction Tests Cancel transac…
seaona Feb 19, 2025
42bd11d
fix: cp-12.13.0 Disable origin throttling middleware if cause is "rej…
OGPoyraz Feb 19, 2025
7b03791
refactor: remove circular dependencies in `ui/pages/snap-account-redi…
davidmurdoch Feb 19, 2025
0e3f87d
chore: Remove unnecessary resolutions (#30446)
Gudahtt Feb 19, 2025
9eabbc6
feat: re-enable account syncing (#30464)
mathieuartu Feb 20, 2025
eeeb584
chore: bump @metamask/utils to 11.1.0 (#30467)
sahar-fehri Feb 20, 2025
bab4d50
fix: flaky test `Full-size View Setting opens the extension in popup …
seaona Feb 20, 2025
94e764b
refactor: Expose E2E Chrome driver extension ID (#30444)
Gudahtt Feb 20, 2025
94643bf
refactor: remove circular dependency in `name-details.tsx` (#30414)
davidmurdoch Feb 20, 2025
68f20ec
refactor: remove circular dependency from `notifications.tsx` and `no…
davidmurdoch Feb 20, 2025
c86416d
refactor: remove circular dependencies from `account-picker.tsx` (#30…
davidmurdoch Feb 20, 2025
f2d52fb
fix(25182): reloading page during SRP creation breaks flow (#30178)
vinnyhoward Feb 20, 2025
e96b5db
refactor: remove circular dependencies from `ui/components/*` (#30457)
davidmurdoch Feb 20, 2025
eaa9b51
refactor: remove circular dependency from `confirm-alert-model.tsx` (…
davidmurdoch Feb 20, 2025
5a84737
feat(27255): allow local modification for remote feature flags (#29696)
DDDDDanica Feb 21, 2025
dc2249c
test: adds Anvil classes + Viem and migrates first specs from Ganache…
seaona Feb 21, 2025
ff041ab
fix: Add transaction simulation supported networks global mock (#30507)
Gudahtt Feb 21, 2025
3e51501
fix: Fix attribution generation (#30498)
Gudahtt Feb 21, 2025
c7a1c2f
fix: flaky tests `Confirmation Redesign Token Send ERC1155 Wallet ini…
seaona Feb 21, 2025
ee40f2f
feat: make Snap account creation flow async (#30406)
ccharly Feb 21, 2025
472b5d9
chore(bitcoin): add bitcoin build feature + disable it temporarily (#…
ccharly Feb 21, 2025
2c72002
fix: Handle nullish value in `alphanumeric sort` (#30500)
gambinish Feb 22, 2025
a245dc3
feat: add multi-srp support to the background script (#29942)
montelaidev Feb 24, 2025
aa2cd60
chore: multichain tx package update (#30499)
zone-live Feb 24, 2025
f6a628b
chore: assets controller package update (#30526)
zone-live Feb 24, 2025
d03d6f9
feat(multichain): add block explorer format URLs (#30085)
ccharly Feb 24, 2025
16c2173
chore: adds the multichain and solana fence to the needed places (#30…
zone-live Feb 24, 2025
4ec2d26
feat(3765): Add modal to include metric id before redirecting to supp…
DDDDDanica Feb 24, 2025
f4c3889
fix: Hide non-zero hex data alert for contract deployment confirmatio…
pedronfigueiredo Feb 24, 2025
a8804d3
refactor: bridge support for CAIP chainIds and non-hex addresses (#30…
micaelae Feb 24, 2025
ffe7ec5
feat: Integrate SPL tokens and rates from multichainAssetsRates (#30389)
sahar-fehri Feb 24, 2025
5a44781
feat: beta support link (#30482)
aganglada Feb 24, 2025
cfa0467
feat: account sync - primary SRP filtering, bulk accounts creation an…
mathieuartu Feb 24, 2025
da8838f
refactor: Use browser.runtime.onInstalled instead of a check for empt…
danjm Feb 24, 2025
32af047
feat(multichain-connect-ui): Add UI preparation changes for multichai…
david0xd Feb 24, 2025
78c5d2c
fix: Nft chainId and current global chainId arent always the same (#3…
gambinish Feb 25, 2025
32c2077
feat(snap-keyring): handle `displayAccountNameSuggestion` flag (#30531)
danroc Feb 25, 2025
0ad093f
feat: replace experimental add solana account with remote flag (#30487)
aganglada Feb 25, 2025
2fffd78
fix: Add `snap_experimentalProviderRequest` to unrestricted methods (…
Mrtenz Feb 25, 2025
5ddd7e9
fix: clear transaction data after submission or cancellation (#30546)
pedronfigueiredo Feb 25, 2025
5c6862f
feat(ci): Auto add needs-triage label on bug open (#30512)
desi Feb 25, 2025
9a9513b
chore: Expose extension ID to E2E tests (#30539)
Gudahtt Feb 25, 2025
3726202
refactor: refactor network picker (#30433)
gantunesr Feb 25, 2025
cfba6a9
feat: bump notifications services controller to v1.0.0 (#30532)
Prithpal-Sooriya Feb 25, 2025
ce68358
fix: upgrade assets controllers to v51.0.2 (#30563)
salimtb Feb 25, 2025
64dbed6
refactor: support non-evm tokens in asset-picker (#30313)
micaelae Feb 25, 2025
f0b840a
fix: critical error message visibility bug in dark mode (#30570)
georgewrmarshall Feb 25, 2025
d249fa7
fix(30371): refresh activity page (#30571)
GustavoRSSilva Feb 25, 2025
ce289f5
feat: Aggregated multichain balance (Flask) (#30516)
gambinish Feb 26, 2025
4e2b1d4
fix: Fix send max on gas value changes (#30523)
OGPoyraz Feb 26, 2025
838e4cb
fix: exclude smart transaction status page from rate limiting (#30537)
httpJunkie Feb 26, 2025
a1f0d09
feat: add metrics to carousel banner (#30405)
jonybur Feb 26, 2025
115238c
chore: keyring api bump (#30576)
aganglada Feb 26, 2025
2b91f8f
feat: fetch sol quotes + account picker and quote card (#30452)
micaelae Feb 26, 2025
e743cad
feat: convert non-evm amounts to fiat (#30568)
micaelae Feb 26, 2025
e957fed
chore: cp-12.13.0 remove SRP video (#30586)
vinnyhoward Feb 26, 2025
445f286
feat: firefox-bundle-script (#30476)
itsyoboieltr Feb 26, 2025
70899b0
fix(30583): broken gha check template and labels (#30584)
GustavoRSSilva Feb 26, 2025
8cc8382
feat: fetch non-evm token list and quote refresh rates (#30567)
micaelae Feb 26, 2025
eb3c73a
fix: swap-send decimals should be rounded in firefox (#30593)
micaelae Feb 26, 2025
c186fb0
fix: cp-12.13.0 replace 3D flask mascot with 2D version (#30592)
vinnyhoward Feb 27, 2025
dc73251
style: apply Prettier to md, mdx, and yml files (#30440)
HowardBraham Feb 27, 2025
0d40caf
fix: Solana snap validation (#30596)
GustavoRSSilva Feb 27, 2025
b3eec46
feat: add entropySource to non-evm accounts (#30549)
PatrykLucka Feb 27, 2025
7e06eab
chore: updates solana snap version (#30606)
zone-live Feb 27, 2025
5abb061
fix: Tweak threshold on coin-overview flask build (#30585)
gambinish Feb 27, 2025
eef1e71
chore: bump `@metamask/accounts-controller` to `^24.1.0` (#30587)
ccharly Feb 27, 2025
4e6ff51
chore: clean up old solana values (#30609)
zone-live Feb 27, 2025
d9f27c4
chore: switch between evm<>non-evm networks within Bridge experience …
micaelae Feb 27, 2025
c0a93d6
feat(multi-srp): add number_of_hd_entropies metrics user trait (#30392)
PatrykLucka Feb 27, 2025
b770118
feat: test covering SPL tokens and transaction list (#30471)
javiergarciavera Feb 27, 2025
e98d34d
feat: submit multichain tx (#30416)
micaelae Feb 27, 2025
ebc6f30
refactor: Support permitted chains on permission confirmation page (#…
Gudahtt Feb 27, 2025
da43a67
Version v12.14.0
metamaskbot Feb 27, 2025
53d364b
Update Attributions
metamaskbot Feb 28, 2025
9792fe9
chore: Fix changelog lint job (#30626)
benjisclowder Feb 28, 2025
c19e6ac
fix: cp-711ebe8891 from main to RC branch (fix: Update decimal precis…
benjisclowder Feb 28, 2025
7832d98
feat: add solana to beta (#30613) (#30633)
aganglada Feb 28, 2025
7914d2a
chore(runway): cherry-pick fix: cp-12.14.0 Fix FF send max e2e specs …
runway-github[bot] Feb 28, 2025
af9200f
chore (cherry-pick): fix yarn audit (`@trezor/connect-web`) (#30640) …
danjm Feb 28, 2025
a29b63e
feat: removed useless click (#30615)
javiergarciavera Feb 27, 2025
14f7362
Merge remote-tracking branch 'origin/master' into merge-master-v12.14.0
danjm Feb 28, 2025
17ddc9b
Merge pull request #30653 from MetaMask/merge-master-v12.14.0
danjm Feb 28, 2025
3183b75
Update Attributions
metamaskbot Feb 28, 2025
b5f2020
feat: calculate solana quote fees (#30574)
micaelae Feb 27, 2025
21d1ff5
chore: swap input selection defaults (#30600)
micaelae Feb 27, 2025
5b9301c
fix: swap src token balance on multichain network (#30622)
micaelae Feb 28, 2025
f07c666
fix: destWalletAddress selection for multichain bridging (#30618)
micaelae Feb 28, 2025
3bb9a7b
feat: track sol bridge txs (#30619)
ghgoodreau Feb 27, 2025
a1c41f2
Merge pull request #30657 from MetaMask/cherry-pick-solana-swap-bridge
danjm Feb 28, 2025
f437e04
fix(30662): balance when non evms accounts (#30671) (#30746)
GustavoRSSilva Mar 4, 2025
a6216e8
cherry-pick(#30731): solana snap version update (#30751)
aganglada Mar 5, 2025
94ec64d
chore(runway): cherry-pick fix: cp-12.14.0 replace 3D beta mascot wit…
runway-github[bot] Mar 5, 2025
98751ea
fix: cp-12.14.0 disable click handler on non-evm tokens to not throw …
gambinish Mar 5, 2025
1b763b8
chore(runway): cherry-pick fix: cp-12.14.0 color inheritance (#30654)
runway-github[bot] Mar 5, 2025
3da9950
fix: fixes swap transactions showing up as bridge (#30656) (#30755)
ghgoodreau Mar 5, 2025
4cce492
fix: fixes bridging label showing for solana swap (#30756) (#30784)
ghgoodreau Mar 5, 2025
2a09fec
fix: cherry pick fix for bridging to native tokens (#30789)
micaelae Mar 5, 2025
ec2c15a
fix: cherry pick accountListItem aggregated fiat balance into v12.14.…
sahar-fehri Mar 6, 2025
aee1c1b
chore: cp-12.14.0 fix trezor audit (#30850) (#30859)
MajorLift Mar 7, 2025
8163eda
cherry-pick: Solana RC (#30866)
aganglada Mar 7, 2025
4966927
fix (cherry-pick): Bridge and Send pages crash when there's no solana…
micaelae Mar 7, 2025
59ad940
cherry-pick c9d7dd1 (#30614) in v12.14.0 (#30813)
gantunesr Mar 7, 2025
0b97367
cherry-pick 77f59b1 (#30722) in v12.14.0 (#30814)
gantunesr Mar 7, 2025
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,9 @@ jobs:
job-publish-release:
executor: node-browsers-small
steps:
- add_ssh_keys:
fingerprints:
- 'SHA256:It7UdNvvXY8g5aN32yfbPKFxZSV9ny7K8ifDdlP53rQ'
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
Expand All @@ -1075,6 +1078,9 @@ jobs:
- run:
name: Create GitHub release
command: .circleci/scripts/release-create-gh-release.sh
- run:
name: Push Firefox bundle script
command: .circleci/scripts/push-firefox-bundle-script.sh

job-publish-ts-migration-dashboard:
executor: node-browsers-small
Expand Down
54 changes: 54 additions & 0 deletions .circleci/scripts/bundle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#!/usr/bin/env bash

export CIRCLE_BRANCH=""
export CONTENTFUL_ACCESS_SPACE_ID=""
export CONTENTFUL_ACCESS_TOKEN=""
export ETHERSCAN_API_KEY=""
export FIREBASE_API_KEY=""
export FIREBASE_APP_ID=""
export FIREBASE_AUTH_DOMAIN=""
export FIREBASE_MEASUREMENT_ID=""
export FIREBASE_MESSAGING_SENDER_ID=""
export FIREBASE_PROJECT_ID=""
export FIREBASE_STORAGE_BUCKET=""
export INFURA_BETA_PROJECT_ID=""
export INFURA_FLASK_PROJECT_ID=""
export INFURA_MMI_PROJECT_ID=""
export INFURA_PROD_PROJECT_ID=""
export INFURA_PROJECT_ID=""
export MMI_CONFIGURATION_SERVICE_URL=""
export PUBNUB_PUB_KEY=""
export SEGMENT_BETA_WRITE_KEY=""
export SEGMENT_FLASK_WRITE_KEY=""
export SEGMENT_MMI_WRITE_KEY=""
export SEGMENT_PROD_LEGACY_WRITE_KEY=""
export SEGMENT_PROD_WRITE_KEY=""
export SEGMENT_WRITE_KEY=""
export ANALYTICS_DATA_DELETION_SOURCE_ID=""
export ANALYTICS_DATA_DELETION_ENDPOINT=""
export SENTRY_AUTH_TOKEN=""
export SENTRY_DSN=""
export SENTRY_MMI_DSN=""
export SENTRY_DSN_DEV=""
export VAPID_KEY=""
export TZ="UTC"
export ENABLE_MV3="false"

# 1. Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/179d45050be0a71fd57591b0ed8aedf9b177ba10/install.sh | bash

# 2. Activate nvm in lieu of restarting the shell
# shellcheck disable=SC1091
\. "${HOME}/.nvm/nvm.sh"

# 3. Download and install Node.js
nvm install

# 4. Enable corepack to install yarn
corepack enable

# 5. Install dependencies
yarn

# 6. Run the production build command
yarn build prod
45 changes: 45 additions & 0 deletions .circleci/scripts/push-firefox-bundle-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env bash

set -e
set -o pipefail

if [[ "${CI:-}" != 'true' ]]
then
printf '%s\n' 'CI environment variable must be set to true'
exit 1
fi

if [[ "${CIRCLECI:-}" != 'true' ]]
then
printf '%s\n' 'CIRCLECI environment variable must be set to true'
exit 1
fi

git config --global user.name "MetaMask Bot"
git config --global user.email [email protected]
version=$(git show -s --format='%s' HEAD | grep -Eo 'v[0-9]+\.[0-9]+\.[0-9]+')

git clone [email protected]:MetaMask/firefox-bundle-script.git
cd firefox-bundle-script
git checkout release
cp ../.circleci/scripts/bundle.sh ./bundle.sh

# sed works differently on macOS and Linux
# macOS requires an empty string argument for -i
# so we need to handle this case based on the OS
if sed --version 2>/dev/null | grep -q GNU; then
SED_OPTS=(-i)
else
SED_OPTS=(-i '')
fi

# Insert exported environment variables
awk -F '=' '/^\s*export / {gsub(/^export /, ""); print $1}' bundle.sh | while read -r var; do
if [[ -n "${!var}" ]]; then
sed "${SED_OPTS[@]}" "s|^\(\s*export $var=\).*|\1\"${!var}\"|" bundle.sh
fi
done

git add bundle.sh
git commit --allow-empty -m "${version}"
git push origin release
10 changes: 2 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,8 @@ module.exports = {
rules: {
'react/no-unused-prop-types': 'warn',
'react/no-unused-state': 'warn',
'react/jsx-boolean-value': 'warn',
'react/jsx-curly-brace-presence': [
'warn',
{
props: 'never',
children: 'never',
},
],
'react/jsx-boolean-value': 'off',
'react/jsx-curly-brace-presence': 'off',
'react/no-deprecated': 'warn',
'react/default-props-match-prop-types': 'warn',
'react/jsx-no-duplicate-props': 'warn',
Expand Down
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ There are also plenty of open issues we'd love help with. Search the [`good firs
If you're picking up a bounty or an existing issue, feel free to ask clarifying questions on the issue as you go about your work.

### Submitting a pull request

When you're done with your project / bugfix / feature and ready to submit a PR, there are a couple guidelines we ask you to follow:

- [ ] **Make sure you followed our [`coding guidelines`](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md)**: These guidelines aim to maintain consistency and readability across the codebase. They help ensure that the code is easy to understand, maintain, and modify, which is particularly important when working with multiple contributors.
Expand Down
Loading
Loading