Skip to content

Commit 10679a5

Browse files
Merge pull request #38384 from MetaMask/release/13.12.0
release: 13.12.0
2 parents bf5dbb2 + 51a252f commit 10679a5

File tree

779 files changed

+22875
-13806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

779 files changed

+22875
-13806
lines changed

.depcheckrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ignores:
88
- '@lavamoat/webpack'
99
- '@lavamoat/allow-scripts'
1010
- '@babel/runtime'
11+
- 'react-compiler-runtime'
1112
- '@fortawesome/fontawesome-free'
1213
- 'punycode'
1314
# injected via build system
@@ -83,6 +84,7 @@ ignores:
8384
- 'core-js-pure' # polyfills
8485
# babel
8586
- '@babel/plugin-transform-logical-assignment-operators'
87+
- 'babel-plugin-react-compiler'
8688
# used in image optimization script
8789
- 'sharp'
8890
# trezor

.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,9 @@ module.exports = {
320320
jsx: true,
321321
},
322322
},
323-
plugins: ['react'],
323+
plugins: ['react', 'react-compiler'],
324324
rules: {
325+
'react-compiler/react-compiler': 'error',
325326
'react/no-unused-prop-types': 'error',
326327
'react/no-unused-state': 'error',
327328
'react/jsx-boolean-value': 'error',
@@ -362,8 +363,9 @@ module.exports = {
362363
jsx: true,
363364
},
364365
},
365-
plugins: ['react'],
366+
plugins: ['react', 'react-compiler'],
366367
rules: {
368+
'react-compiler/react-compiler': 'error',
367369
'react/no-unused-prop-types': 'warn',
368370
'react/no-unused-state': 'warn',
369371
'react/jsx-boolean-value': 'off',

.github/workflows/check-pr-max-lines.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ permissions:
1717

1818
jobs:
1919
check-pr-max-lines:
20-
uses: metamask/github-tools/.github/workflows/pr-line-check.yml@main
21-
with:
22-
max_lines: 1000
23-
ignore_patterns: '(\.lock|\.snap|lavamoat\/.*policy\.json)$'
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Check PR lines changed
23+
uses: MetaMask/github-tools/.github/actions/pr-line-check@v1
24+
with:
25+
max-lines: '1000'
26+
ignore-patterns: '(\.lock|\.snap|lavamoat\/.*policy\.json)$'

.github/workflows/cla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
url-to-cladocument: 'https://metamask.io/cla'
2828
# This branch can't have protections, commits are made directly to the specified branch.
2929
branch: 'cla-signatures'
30-
allowlist: 'dependabot[bot],metamaskbot,crowdin-bot,runway-github[bot]'
30+
allowlist: 'dependabot[bot],metamaskbot,crowdin-bot,runway-github[bot],cursor'
3131
allow-organization-members: true
3232
blockchain-storage-flag: false

.github/workflows/flaky-test-report.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@ on:
44
schedule:
55
# Once every day from Monday-Friday at 08:00 UTC
66
- cron: 0 8 * * 1-5
7+
workflow_dispatch:
78

89
permissions:
910
contents: read
1011
actions: read
1112

1213
jobs:
1314
flaky-test-report:
14-
uses: MetaMask/github-tools/.github/workflows/flaky-test-report.yml@main
15-
with:
16-
repository: ${{ github.event.repository.name }}
17-
workflow_id: main.yml
18-
secrets:
19-
github-token: ${{ secrets.GITHUB_TOKEN }}
20-
slack-webhook-flaky-tests: ${{ secrets.SLACK_WEBHOOK_FLAKY_TESTS }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Generate flaky test report
18+
uses: MetaMask/github-tools/.github/actions/flaky-test-report@v1
19+
with:
20+
repository: ${{ github.event.repository.name }}
21+
workflow-id: main.yml
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
slack-webhook-flaky-tests: ${{ secrets.SLACK_WEBHOOK_FLAKY_TESTS }}

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,12 +587,12 @@ jobs:
587587
588588
# Check E2E jobs only if they should have run
589589
if [[ "${{ needs.needs-e2e.outputs.needs-e2e }}" == "true" ]]; then
590-
if [[ "${{ needs.e2e-chrome.result }}" == "failure" ]]; then
591-
echo "E2E Chrome tests failed"
590+
if [[ "${{ needs.e2e-chrome.result }}" != "success" ]]; then
591+
echo "E2E Chrome tests did not succeed (result: ${{ needs.e2e-chrome.result }})"
592592
exit 1
593593
fi
594-
if [[ "${{ needs.e2e-firefox.result }}" == "failure" ]]; then
595-
echo "E2E Firefox tests failed"
594+
if [[ "${{ needs.e2e-firefox.result }}" != "success" ]]; then
595+
echo "E2E Firefox tests did not succeed (result: ${{ needs.e2e-firefox.result }})"
596596
exit 1
597597
fi
598598
fi

.github/workflows/post-merge-validation.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ name: Post Merge Validation
33
on:
44
schedule:
55
- cron: '0 7 * * *'
6+
workflow_dispatch:
67

78
jobs:
89
post-merge-validation-tracker:
9-
uses: MetaMask/github-tools/.github/workflows/post-merge-validation.yml@main
10-
with:
11-
repo: ${{ github.repository }}
12-
start_hour_utc: 7
13-
secrets:
14-
github-token: ${{ secrets.GITHUB_TOKEN }}
15-
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Run post-merge validation
13+
uses: MetaMask/github-tools/.github/actions/post-merge-validation@v1
14+
with:
15+
repo: ${{ github.repository }}
16+
start-hour-utc: '7'
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}

.github/workflows/run-e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
RUN_ID: ${{ github.run_id }}
7575
PR_NUMBER: ${{ github.event.pull_request.number || '' }}
7676
TEST_SUITE_NAME: ${{ inputs.test-suite-name }}
77+
IS_SIDEPANEL: false
7778
steps:
7879
- name: Checkout and setup environment
7980
uses: MetaMask/action-checkout-and-setup@v1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/dist/types.cjs b/dist/types.cjs
2+
index a83a797b8f01747a6d51eb1219669c729955f039..ea9eb54bf3a0ae7ed3c75a8bb9904dd925a50a16 100644
3+
--- a/dist/types.cjs
4+
+++ b/dist/types.cjs
5+
@@ -47,6 +47,8 @@ var ChainId;
6+
ChainId[ChainId["SOLANA"] = 1151111081099710] = "SOLANA";
7+
ChainId[ChainId["BTC"] = 20000000000001] = "BTC";
8+
ChainId[ChainId["TRON"] = 728126428] = "TRON";
9+
+ ChainId[ChainId["SEI"] = 1329] = "SEI";
10+
+ ChainId[ChainId["MONAD"] = 143] = "MONAD";
11+
})(ChainId || (exports.ChainId = ChainId = {}));
12+
var RequestStatus;
13+
(function (RequestStatus) {

CHANGELOG.md

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [13.12.0]
11+
12+
### Added
13+
14+
- Add subscription retry button to notify server check when user balance is sufficient (#36847)
15+
- Align shield illustration to bottom in popup mode (#38340)
16+
- Default to BIP-44 UI for account & wallet details (#37984)
17+
- Shield plan save last payment detail everytime user select token (#38314)
18+
- Truncated site name (#38033)
19+
- Updated text and alignment on shield coverage alert modal (#38286)
20+
- Adds UI for handling for api errors on shield plan page (#38090)
21+
- Removed legacy funding card components in preparation for improved empty state experience (#37290)
22+
- Enforces dark mode on the active membership banner (#38204)
23+
- Adds theme-based toggling of the Rive shield icon’s Dark state to switch colors for light/dark modes (#38223)
24+
- Integrated balance empty state for zero-balance accounts on mainnet networks (#37196)
25+
- Shows a site if it has no connection but has permissions granted to it (#36811)
26+
- Confirmations for sidepanel (#38375)
27+
- Show minimum token amount required on payment methods (#38290)
28+
- Adds MegaETH Mainnet to FEATURED_RPCS (#38369)
29+
- Remove sidepanel feature (#38532)
30+
31+
### Fixed
32+
33+
- Optimizes subscription polling (#38378)
34+
- Don't show shield coverage if basic functionality is off (#38351)
35+
- Fix forgot password when basic functionality is turned off (#38344)
36+
- Fix api error show in shield subscription start with card checkout tab close manually (#38308)
37+
- Fixed a bug where swapping from the Mon token page suggested ETH instead of MON when all Popular Networks were enabled (#38349)
38+
Added missing MONAD (143) and SEI (1329) chain IDs to the
39+
bridge-controller to ensure correct chain resolution
40+
- Fixed a bug where the tron icon was not showing in the activity list details modal (#38264)
41+
- Fixed balance empty state incorrectly showing when price conversion data is unavailable but tokens are present (#38284)
42+
- Add `signRewardsMessage` method ([#566](https://github.com/MetaMask/snap-bitcoin-wallet/pull/566)) (#38315)
43+
- Show correct balance values in fiat for gas tokens (#38249)
44+
- Added ability to view Gator permissions filtered by specific site origin (#37736)
45+
- Fixed the Lattice hardware wallet flow to reuse cached credentials instead of asking users to reconnect every time (#37781)
46+
- Reverts "refactor: extract confirmation handler" (#38189)
47+
- Custom swap slippage validation allows invalid inputs (#38066)
48+
- Changed minimum received amount to be the token amount (#38150)
49+
- Removed the `isTestEnvironment` checks from all Rive animation–related files (#38110)
50+
- Updated useTheme hook and logo for unlock page (#38002)
51+
- Increase background connection unresponsive timeout (#38322)
52+
- Fix fullscreen swap confirmation (#38446)
53+
- Fix layout inconsistencies (#38416)
54+
- Fix confirmation layout in sidepanel (#38410)
55+
- Fix `manage permission` route (#38485)
56+
- Fixes layout inconsistencies while in fullscreen mode (#38483)
57+
- Fix shield confirmation transaction back handle in popup mode (#38502)
58+
- Fix asset page layout (#38537)
59+
- Fix navigation for the backup srp settings (#38544)
60+
1061
## [13.11.2]
1162

1263
### Fixed
@@ -1340,7 +1391,8 @@ authorized by the user.` error until the user fully revoked dapp
13401391
- This changelog was split off with 12.22.0
13411392
- All older changes can be found in [docs/CHANGELOG_older.md](https://github.com/MetaMask/metamask-extension/blob/main/docs/CHANGELOG_older.md)
13421393

1343-
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v13.11.2...HEAD
1394+
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v13.12.0...HEAD
1395+
[13.12.0]: https://github.com/MetaMask/metamask-extension/compare/v13.11.2...v13.12.0
13441396
[13.11.2]: https://github.com/MetaMask/metamask-extension/compare/v13.11.1...v13.11.2
13451397
[13.11.1]: https://github.com/MetaMask/metamask-extension/compare/v13.11.0...v13.11.1
13461398
[13.11.0]: https://github.com/MetaMask/metamask-extension/compare/v13.10.4...v13.11.0

0 commit comments

Comments
 (0)