Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Version v10.11.0 RC #13706

Merged
merged 81 commits into from Mar 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
429451d
Extract "create vault" form to separate component (#13461)
Gudahtt Feb 3, 2022
2b01071
update chromedriver to v97 (#13502)
PeterYinusa Feb 3, 2022
7bcd22d
E2e signing (#13507)
PeterYinusa Feb 4, 2022
87daae7
fix test (#13513)
PeterYinusa Feb 4, 2022
48cc9d5
Add currency symbol validation in the add network form (#12431)
adonesky1 Feb 4, 2022
405a349
Update crowdin workflow config (#13494)
rickycodes Feb 4, 2022
1297761
Handle a negative gas fee (#13511)
dan437 Feb 7, 2022
8ad85e6
Replace use of .flat with _.flatten, to accomodate chrome < 69 (#13520)
danjm Feb 7, 2022
1e7aab3
New Crowdin translations by Github Action (#13514)
metamaskbot Feb 7, 2022
0a44325
captureKeyringTypesWithMissingIdentities() when 'Missing identity for…
danjm Feb 7, 2022
47e2e37
Setting search feature - Setting component UI updates #12761 (#12920)
dragana8 Feb 8, 2022
8166d50
Resolve a BigNumber issue (#13555)
dan437 Feb 8, 2022
d45cb6c
update test-dapp to 5.0.0 (#13503)
brad-decker Feb 9, 2022
f82ce7d
Fix network edition error (#13527)
GuillaumeRx Feb 9, 2022
080e303
Merge remote-tracking branch 'origin/develop' into master-sync
tmashuang Feb 9, 2022
31eb5fc
[BUILD FIX #12920] Updated style for full screen mode in settings pag…
dragana8 Feb 9, 2022
ad42930
Merge branch 'develop' into master-sync
tmashuang Feb 9, 2022
3f67e3c
Merge pull request #13573 from MetaMask/master-sync
tmashuang Feb 9, 2022
79e96f9
[GridPlus] Updates corresponding to Lattice firmware v0.13.2 (#13455)
alex-miller-0 Feb 9, 2022
a06a0d2
Adding check for transaction.id in useTransactionEventFragment hook (…
jpuri Feb 10, 2022
e84138e
Add resolution for engine.io, a nested dependency of 3box (#13589)
danjm Feb 10, 2022
59b0ae4
Updating the direct deposit messages to native currency (#13576)
NiranjanaBinoy Feb 10, 2022
7148607
remove infura project_id from networks form field (#13539)
adonesky1 Feb 10, 2022
7223d4c
fix opensea/autodetect setting dependency relation (#13575)
adonesky1 Feb 10, 2022
8f2144f
Suppress diffs for translation files by default (#13537)
mcmire Feb 10, 2022
8597cd1
Allow sending up to 15 decimals on the send screen (#12707)
danjm Feb 10, 2022
eb39290
Fixes in EIP-1559 V2 implementation (#13574)
jpuri Feb 11, 2022
c01c312
Correct connection language (#13605)
danfinlay Feb 11, 2022
2ad0b85
Untranslated string fix (#13615)
ryanml Feb 14, 2022
2b1256f
Update to latest ChromeDriver (#13616)
PeterYinusa Feb 14, 2022
b42e1f7
Include transactions from all networks in state logs (#13599)
NiranjanaBinoy Feb 14, 2022
2b5b787
Fix: advance defaults should never be used for swaps (#13617)
jpuri Feb 14, 2022
35ac762
Add Snaps via Flask (#13462)
rekmarks Feb 15, 2022
3fb21fe
Bump follow-redirects from 1.14.7 to 1.14.8 (#13612)
dependabot[bot] Feb 15, 2022
3dc60e8
Bump vm2 from 3.9.5 to 3.9.7 (#13625)
dependabot[bot] Feb 15, 2022
40269ad
Fixing sign type data message formatting, requiring content scroll be…
ryanml Feb 15, 2022
d1c5274
Ensure sign message button is only enabled on scroll (#13645)
danjm Feb 15, 2022
8fecb28
Merge remote-tracking branch 'origin/develop' into master-sync
tmashuang Feb 16, 2022
ebeb266
E2e mocking (#13640)
PeterYinusa Feb 16, 2022
3735a60
Update outdated Trezor Emulator link (#13611)
Feb 16, 2022
2cd2422
Created "Token details" page (#13216)
VSaric Feb 16, 2022
5095071
Make default icons the same on mobile and extension #13264 (#13408)
dragana8 Feb 16, 2022
b3f90f7
Merge pull request #13648 from MetaMask/master-sync
ryanml Feb 16, 2022
b954ca4
Ensure pre-selected account on connect screen is visible in list (#13…
ryanml Feb 16, 2022
fadad60
ConfirmImportToken: Convert to Functional Component; Add storybook co…
digiwand Feb 16, 2022
009c6e1
Use hardware wallet constants when possible (#13634)
darkwing Feb 16, 2022
2fe2741
Merge remote-tracking branch 'origin/develop' into master-sync
ryanml Feb 16, 2022
207436d
convert SendGasRow stories with argtypes (#13554)
bengeois Feb 16, 2022
fa467d1
Merge pull request #13656 from MetaMask/master-sync
ryanml Feb 17, 2022
cbf8a73
Change "Quote X of Y" to "Fetching quote X of Y" (#13663)
dan437 Feb 17, 2022
4a6082f
Updated the Callout story to convert knobs and actions to controls / …
rojotek Feb 17, 2022
93af95f
Minimal fix to the TokenSearch story to ensure it compiles and works.…
rojotek Feb 17, 2022
e082334
Fixed Add Recipient Stories and migrated to use control args. (#13633)
rojotek Feb 17, 2022
ef3199e
Mįgrate truncated definition list stories from addon knobs to use con…
rojotek Feb 17, 2022
b1b4e64
Prevent Browserify error from being swallowed (#13647)
mcmire Feb 17, 2022
120603e
Enable Avalanche for Swaps (#13653)
dan437 Feb 18, 2022
d2c292b
Add argTypes for color-indicator (#13659)
MuckT Feb 18, 2022
2585f45
Add support for Smart Transactions (#12676)
dan437 Feb 18, 2022
3d5da52
Added Controls and Action ArgType, took out @storybook/addon-knobs (…
fadnesscharlie Feb 21, 2022
5b96e33
Using correct metricsEvent arg (#13684)
ryanml Feb 21, 2022
e817b2a
Run yarn lavamoat:auto (#13697)
danjm Feb 21, 2022
d5bd27d
Version v10.11.0
metamaskbot Feb 21, 2022
f47015d
[skip e2e] Updating changelog for v10.11.0 (#13718)
ryanml Feb 23, 2022
05138da
Add EIP-712 support for Trezor (#13693)
danjm Feb 22, 2022
f996f32
Updating changelog
ryanml Feb 23, 2022
1abac42
fix issue where token details page unnecessarily relies on send asset…
adonesky1 Feb 23, 2022
b3b5d3c
Fixing blockies on token detail page (#13728)
ryanml Feb 23, 2022
1883af8
Fix token details icon when 'Use Token Detection' is enabled (#13726)
ryanml Feb 23, 2022
730f977
Small fixes for Swaps (#13732)
dan437 Feb 23, 2022
30589d6
Updating changelog
ryanml Feb 23, 2022
18ac23b
Merge remote-tracking branch 'origin/master' into Version-v10.11.0
ryanml Feb 25, 2022
2177ba8
Fixing changelog
ryanml Feb 25, 2022
7af8570
Running yarn lavamoat:auto
ryanml Feb 26, 2022
c2f5176
Merge remote-tracking branch 'origin/master' into Version-v10.11.0
ryanml Mar 2, 2022
61a7c0d
fixing changelog
ryanml Mar 2, 2022
eb5dc7d
Fixed these issues in v10.11.0 (#13806)
segun Mar 2, 2022
47661fc
Persisting token address via URL (Token Details page) (#13807)
ryanml Mar 2, 2022
532cf54
Revert "Allow sending up to 15 decimals on the send screen (#12707)" …
ryanml Mar 3, 2022
98b3da3
Restoring create password form layout (#13824)
ryanml Mar 3, 2022
34bf555
Fix v10.11: Unable to find value of key "eth_accounts" for locale "en…
digiwand Mar 4, 2022
d17d7f2
Set up STX controller state (#13843)
dan437 Mar 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/scripts/chrome-install.sh
Expand Up @@ -5,12 +5,12 @@ set -u
set -o pipefail

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

# To retrieve this checksum, run the `wget` and `shasum` commands below
CHROME_BINARY_SHA512SUM='98433b003d43627e221faad212cba3df42d7f3d6e31894b1e14a9058069cbcd2bd3c83b3c59ecc1733dab11e36b181fa1d89e33b841a21fd53a8e82bbddc39aa'
CHROME_BINARY_SHA512SUM='83d151f05017ee1f255f4134ee84efdb5c7826d6c64d43e6d402bef1569e4800806be0f87af3cacd240917cacaeedb9cae5833ccbc65740482f6aafbef9b38e7'

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

Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.js
Expand Up @@ -171,7 +171,7 @@ module.exports = {
'app/scripts/migrations/*.test.js',
'app/scripts/platforms/*.test.js',
'app/scripts/controllers/network/**/*.test.js',
'app/scripts/controllers/permissions/*.test.js',
'app/scripts/controllers/permissions/**/*.test.js',
],
extends: ['@metamask/eslint-config-mocha'],
rules: {
Expand All @@ -198,7 +198,7 @@ module.exports = {
'app/scripts/migrations/*.test.js',
'app/scripts/platforms/*.test.js',
'app/scripts/controllers/network/**/*.test.js',
'app/scripts/controllers/permissions/*.test.js',
'app/scripts/controllers/permissions/**/*.test.js',
],
extends: ['@metamask/eslint-config-jest'],
rules: {
Expand Down
6 changes: 6 additions & 0 deletions .gitattributes
Expand Up @@ -10,3 +10,9 @@ yarn.lock linguist-generated=false

test/e2e/send-eth-with-private-key-test/ethereumjs-tx.js linguist-vendored linguist-generated -diff
test/e2e/send-eth-with-private-key-test/web3js.js linguist-vendored linguist-generated -diff

# Collapse changes to translation files by default in diffs as it is very common
# to remove keys in PRs. Of course this means that PRs that solely update
# translations will be a little harder to review but those do not get submitted
# as often as other PRs.
app/_locales/** linguist-generated
3 changes: 3 additions & 0 deletions .github/workflows/crowdin_action.yml
Expand Up @@ -25,7 +25,10 @@ jobs:
with:
upload_translations: true
download_translations: true
github_user_name: metamaskbot
github_user_email: metamaskbot@users.noreply.github.com
env:
GITHUB_ACTOR: metamaskbot
GITHUB_TOKEN: ${{ secrets.METAMASKBOT_CROWDIN_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
2 changes: 1 addition & 1 deletion .mocharc.js
Expand Up @@ -6,7 +6,7 @@ module.exports = {
'./app/scripts/migrations/*.test.js',
'./app/scripts/platforms/*.test.js',
'./app/scripts/controllers/network/**/*.test.js',
'./app/scripts/controllers/permissions/*.test.js',
'./app/scripts/controllers/permissions/**/*.test.js',
],
recursive: true,
require: ['test/env.js', 'test/setup.js'],
Expand Down
129 changes: 115 additions & 14 deletions .storybook/test-data.js
Expand Up @@ -102,6 +102,85 @@ const state = {
swapsFeatureIsLive: false,
swapsQuoteRefreshTime: 60000,
},
"snapStates": {},
"snaps": {
"local:http://localhost:8080/": {
"enabled": true,
"id": "local:http://localhost:8080/",
"initialPermissions": {
"snap_confirm": {}
},
"manifest": {
"description": "An example MetaMask Snap.",
"initialPermissions": {
"snap_confirm": {}
},
"manifestVersion": "0.1",
"proposedName": "MetaMask Example Snap",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps-skunkworks.git"
},
"source": {
"location": {
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@metamask/example-snap",
"registry": "https://registry.npmjs.org/"
}
},
"shasum": "3lEt0yUu080DwV78neROaAAIQWXukSkMnP4OBhOhBnE="
},
"version": "0.6.0"
},
"permissionName": "wallet_snap_local:http://localhost:8080/",
"sourceCode": "(...)",
"status": "stopped",
"svgIcon": "<svg>...</svg>",
"version": "0.6.0"
},
"Filecoin Snap": {
"enabled": true,
"id": "npm:http://localhost:8080/",
"initialPermissions": {
"snap_confirm": {},
"eth_accounts": {},
"snap_manageState": {},
},
"manifest": {
"description": "This swap provides developers everywhere access to an entirely new data storage paradigm, even letting your programs store data autonomously. Learn more.",
"initialPermissions": {
"snap_confirm": {},
"eth_accounts": {},
"snap_manageState": {},
},
"manifestVersion": "0.1",
"proposedName": "Filecoin Snap",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps-skunkworks.git"
},
"source": {
"location": {
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@metamask/example-snap",
"registry": "https://registry.npmjs.org/"
}
},
"shasum": "3lEt0yUu080DwV78neROaAAIQWXukSkMnP4OBhOhBnE="
},
"version": "0.6.0"
},
"permissionName": "wallet_snap_npm:http://localhost:8080/",
"sourceCode": "(...)",
"status": "stopped",
"svgIcon": "<svg>...</svg>",
"version": "0.6.0"
},
},
accountArray: [
{
name: 'This is a Really Long Account Name',
Expand Down Expand Up @@ -1030,6 +1109,17 @@ const state = {
},
},
},
"local:http://localhost:8080/": {
permissions: {
'snap_confirm': {
invoker: "local:http://localhost:8080/",
parentCapability: 'snap_confirm',
id: 'a7342F4b-beae-4525-a36c-c0635fd03359',
date: 1620710693178,
caveats: []
},
},
},
},
permissionActivityLog: [
{
Expand Down Expand Up @@ -1172,20 +1262,6 @@ const state = {
},
},
},
subjectMetadata: {
'https://metamask.github.io': {
name: 'E2E Test Dapp',
origin: 'https://metamask.github.io',
iconUrl: 'https://metamask.github.io/test-dapp/metamask-fox.svg',
subjectType: 'website',
},
'https://app.uniswap.org': {
name: 'Uniswap',
origin: 'https://app.uniswap.org',
iconUrl: './UNI.png',
subjectType: 'website',
},
},
threeBoxSyncingAllowed: false,
showRestorePrompt: true,
threeBoxLastUpdated: 0,
Expand All @@ -1212,6 +1288,31 @@ const state = {
ensResolutionsByAddress: {},
pendingApprovals: {},
pendingApprovalCount: 0,
subjectMetadata: {
"http://localhost:8080": {
extensionId: null,
iconUrl: null,
name: "Hello, Snaps!",
origin: "http://localhost:8080",
subjectType: "website"
},
"https://metamask.github.io": {
extensionId: null,
iconUrl: null,
name: "Snaps Iframe Execution Environment",
origin: "https://metamask.github.io",
subjectType: "website"
},
"local:http://localhost:8080/": {
extensionId: null,
iconUrl: null,
name: "MetaMask Example Snap",
origin: "local:http://localhost:8080/",
subjectType: "snap",
svgIcon: "<svg>...</svg>",
version: "0.6.0"
}
}
},
appState: {
shouldClose: false,
Expand Down
24 changes: 23 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [10.11.0]
### Added
- Swaps: Add support for Smart Transactions on Mainnet and Rinkeby ([#12676](https://github.com/MetaMask/metamask-extension/pull/12676))
- Add "Token details" page ([#13216](https://github.com/MetaMask/metamask-extension/pull/13216))
- Add icons to sections in settings ([#12920](https://github.com/MetaMask/metamask-extension/pull/12920))
- Add EIP-712 support for Trezor ([#13693](https://github.com/MetaMask/metamask-extension/pull/13693))

### Changed
- Swaps: Change language "Quote X of Y" to "Fetching quote X of Y" ([#13663](https://github.com/MetaMask/metamask-extension/pull/13663))
- Update preferred account identicon selection UI ([#13408](https://github.com/MetaMask/metamask-extension/pull/13408))
- Include transactions from all networks in state logs ([#13599](https://github.com/MetaMask/metamask-extension/pull/13599))
- Update accounts connection language ([#13605](https://github.com/MetaMask/metamask-extension/pull/13605))
- Style updates for setting page in full screen mode ([#13569](https://github.com/MetaMask/metamask-extension/pull/13569))
- Add currency symbol validation in the add network form ([#12431](https://github.com/MetaMask/metamask-extension/pull/12431))

### Fixed
- Ensure pre-selected account on connect screen is visible in list ([#13621](https://github.com/MetaMask/metamask-extension/pull/13621))
- Do not allow transaction creation with gas limit below minimum ([#13574](https://github.com/MetaMask/metamask-extension/pull/13574))
- Fix network editing error when no block explorer is provided ([#13527](https://github.com/MetaMask/metamask-extension/pull/13527))
- Swaps: Fix BigNumber error when submitting quote ([#13555](https://github.com/MetaMask/metamask-extension/pull/13555))

## [10.10.2]
### Added
- Add EIP-712 support for Trezor ([#13693](https://github.com/MetaMask/metamask-extension/pull/13693))
Expand Down Expand Up @@ -2743,7 +2764,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Uncategorized
- Added the ability to restore accounts from seed words.

[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.10.2...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.11.0...HEAD
[10.11.0]: https://github.com/MetaMask/metamask-extension/compare/v10.10.2...v10.11.0
[10.10.2]: https://github.com/MetaMask/metamask-extension/compare/v10.10.1...v10.10.2
[10.10.1]: https://github.com/MetaMask/metamask-extension/compare/v10.10.0...v10.10.1
[10.10.0]: https://github.com/MetaMask/metamask-extension/compare/v10.9.3...v10.10.0
Expand Down
21 changes: 0 additions & 21 deletions app/_locales/am/messages.json

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

21 changes: 0 additions & 21 deletions app/_locales/ar/messages.json

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