1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

10.21.0 Changelog (#16106)

* Raw changelog 10.21.0

* Changelog Cleanup

* Flask - support blocking Snaps

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask - snap_getBip32PublicKey

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask - transaction insights

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Remove bump keystone entry from changelog

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
This commit is contained in:
seaona 2022-10-14 16:23:29 +02:00 committed by seaona
parent ebf1ab2c9d
commit 17b664b0b6

View File

@ -5,119 +5,58 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Uncategorized
- Change endpoint to always use latest build of the phishing warning ([#16026](https://github.com/MetaMask/metamask-extension/pull/16026))
- Fix 3box replacement for MV3 ([#15851](https://github.com/MetaMask/metamask-extension/pull/15851))
- Deprecating the Rinkeby, Ropsten, and Kovan test networks ([#15989](https://github.com/MetaMask/metamask-extension/pull/15989))
- remove customize-gas modal and related code that is no longer used ([#16004](https://github.com/MetaMask/metamask-extension/pull/16004))
- Created a custom spending cap component ([#15522](https://github.com/MetaMask/metamask-extension/pull/15522))
- Fix `vm2` audit failure ([#16025](https://github.com/MetaMask/metamask-extension/pull/16025))
- Continue converting tests from enzyme to @testing-library/react ([#15996](https://github.com/MetaMask/metamask-extension/pull/15996))
- Ability to buy tokens with Wyre ([#15992](https://github.com/MetaMask/metamask-extension/pull/15992))
- Bump @metamask/contract-metadata from 1.35.0 to 1.36.0 ([#15597](https://github.com/MetaMask/metamask-extension/pull/15597))
- Fixing icon paths to work in github pages ([#16005](https://github.com/MetaMask/metamask-extension/pull/16005))
- Add segment and portfolio urls on build:test:mv3 script ([#15943](https://github.com/MetaMask/metamask-extension/pull/15943))
- Simplfy _buildEventFragmentProperties so that necessary objects and data are defined when it is called during onBootCleanup ([#16001](https://github.com/MetaMask/metamask-extension/pull/16001))
- Create snaps E2E test for update function ([#15979](https://github.com/MetaMask/metamask-extension/pull/15979))
- Fix permissions in MV3 manifest ([#15980](https://github.com/MetaMask/metamask-extension/pull/15980))
- bump smart-transactions-controller verion ([#15818](https://github.com/MetaMask/metamask-extension/pull/15818))
- MV3: catch "Duplicate script ID 'inpage'" error ([#15973](https://github.com/MetaMask/metamask-extension/pull/15973))
- Avoid using indexes to reference first item in array ([#15732](https://github.com/MetaMask/metamask-extension/pull/15732))
- [E2E]: Revoke nft approval ([#15995](https://github.com/MetaMask/metamask-extension/pull/15995))
- New Crowdin translations by Github Action ([#15411](https://github.com/MetaMask/metamask-extension/pull/15411))
- Continue converting tests from enzyme to @testing-library/react ([#15956](https://github.com/MetaMask/metamask-extension/pull/15956))
- Fix/remove mistake script ([#15983](https://github.com/MetaMask/metamask-extension/pull/15983))
- Optimize account name check ([#15985](https://github.com/MetaMask/metamask-extension/pull/15985))
- Send message to inpage when extension revives ([#15958](https://github.com/MetaMask/metamask-extension/pull/15958))
- Use modern stylesheet selector ([#15962](https://github.com/MetaMask/metamask-extension/pull/15962))
- Use "gasEstimateWithRefund" instead of "gasEstimate" ([#15968](https://github.com/MetaMask/metamask-extension/pull/15968))
- Replacing setTimeout in auto-lock time limit with chrome alarm ([#15931](https://github.com/MetaMask/metamask-extension/pull/15931))
- Fixes double account creation when using keyboard controls ([#15077](https://github.com/MetaMask/metamask-extension/pull/15077))
- Add changes to support blocking Snaps by source shasum ([#15830](https://github.com/MetaMask/metamask-extension/pull/15830))
- Ability to buy tokens with Moonpay ([#15924](https://github.com/MetaMask/metamask-extension/pull/15924))
- Update crowdin.yml ([#15910](https://github.com/MetaMask/metamask-extension/pull/15910))
- Dark Mode: Elevate the theme dropdown from experimental to regular settings ([#15865](https://github.com/MetaMask/metamask-extension/pull/15865))
- update email in license ([#15948](https://github.com/MetaMask/metamask-extension/pull/15948))
- Add documentation on how to fork ganache for local testing ([#15944](https://github.com/MetaMask/metamask-extension/pull/15944))
- Continue converting tests from enzyme to @testing-library/react. ([#15941](https://github.com/MetaMask/metamask-extension/pull/15941))
- Fix typo in README ([#15950](https://github.com/MetaMask/metamask-extension/pull/15950))
- [FLASK] `snaps-skunkworks@0.21.0` ([#15889](https://github.com/MetaMask/metamask-extension/pull/15889))
- Bump keystone package versions to latest ([#15878](https://github.com/MetaMask/metamask-extension/pull/15878))
- Fix broken error message UI on incorrect private key format ([#15940](https://github.com/MetaMask/metamask-extension/pull/15940))
- [i18n] Fix typo in locale key ([#13186](https://github.com/MetaMask/metamask-extension/pull/13186))
- Portfolio site e2e ([#15921](https://github.com/MetaMask/metamask-extension/pull/15921))
- Using NETWORK_TYPES constants where applicable (Refactor) ([#15930](https://github.com/MetaMask/metamask-extension/pull/15930))
- Continue converting tests from enzyme to @testing-library/react. ([#15770](https://github.com/MetaMask/metamask-extension/pull/15770))
- Fix display of edit button on confirm screen when sending tx with data to contract ([#15812](https://github.com/MetaMask/metamask-extension/pull/15812))
- NFT Approval and SetApprovalForAll confirmation screens header updated ([#15727](https://github.com/MetaMask/metamask-extension/pull/15727))
- Sync `master` with `develop` ([#15908](https://github.com/MetaMask/metamask-extension/pull/15908))
- Merge remote-tracking branch 'origin/develop' into master-sync
- Fixing PR display links in the changelog ([#15883](https://github.com/MetaMask/metamask-extension/pull/15883))
- Show correct base asset in Decrypt Request view ([#15885](https://github.com/MetaMask/metamask-extension/pull/15885))
- Adding Icon component and removing BaseIcon component ([#15772](https://github.com/MetaMask/metamask-extension/pull/15772))
- Fixing ENS input styling for confusable chars ([#15893](https://github.com/MetaMask/metamask-extension/pull/15893))
- [FLASK] Snaps Insight ([#15814](https://github.com/MetaMask/metamask-extension/pull/15814))
- [German] Fix some spelling errors and messages that don't make sense ([#15592](https://github.com/MetaMask/metamask-extension/pull/15592))
- [FLASK] Fix an issue with installing and updating snaps with 0 permissions ([#15796](https://github.com/MetaMask/metamask-extension/pull/15796))
- updating the copy and title on token dettection toggle in advanced settings and notification in import tokens ([#15880](https://github.com/MetaMask/metamask-extension/pull/15880))
- Bump @metamask/etherscan-link from 2.1.0 to 2.2.0 ([#15881](https://github.com/MetaMask/metamask-extension/pull/15881))
- Revert "Ensure that 'tokens found in this account' message is only shown when token detection activated (#15823)" ([#15823](https://github.com/MetaMask/metamask-extension/pull/15823))
- Ensure the seed phrase reminder is displayed with precedence over the network deprecation warning ([#15869](https://github.com/MetaMask/metamask-extension/pull/15869))
- Don't display DetectedTokenSelectionPopover if there are no detected tokens ([#15877](https://github.com/MetaMask/metamask-extension/pull/15877))
- Fixing hex address display bug when editing transaction ([#15873](https://github.com/MetaMask/metamask-extension/pull/15873))
- Ensure New Network Info popup doesn't show when switching to testnets ([#15867](https://github.com/MetaMask/metamask-extension/pull/15867))
- Get ether from faucet fix message ([#15875](https://github.com/MetaMask/metamask-extension/pull/15875))
- Ability to buy tokens with Coinbase Pay and Transak ([#15551](https://github.com/MetaMask/metamask-extension/pull/15551))
- Properly configure ethereumjs Common for Sepolia network ([#15871](https://github.com/MetaMask/metamask-extension/pull/15871))
- Add test insights on circle ci for test-unit job ([#15839](https://github.com/MetaMask/metamask-extension/pull/15839))
- Correct when setApprovalForAll message is shown ([#15863](https://github.com/MetaMask/metamask-extension/pull/15863))
- Remove related UI code from the app dir ([#15384](https://github.com/MetaMask/metamask-extension/pull/15384))
- Make metrics related actions idempotent ([#15737](https://github.com/MetaMask/metamask-extension/pull/15737))
- Make environment variables higher precedence than config ([#15858](https://github.com/MetaMask/metamask-extension/pull/15858))
- Graph improvements ([#15793](https://github.com/MetaMask/metamask-extension/pull/15793))
- Add initial provider API tests for Infura client ([#15556](https://github.com/MetaMask/metamask-extension/pull/15556))
- Fix portfolio URL configuration ([#15849](https://github.com/MetaMask/metamask-extension/pull/15849))
- Update `eth-json-rpc-infura` ([#15845](https://github.com/MetaMask/metamask-extension/pull/15845))
- Fix sepolia network id ([#15847](https://github.com/MetaMask/metamask-extension/pull/15847))
- Displaying the aggregators from tokenList in Detected token popover ([#15835](https://github.com/MetaMask/metamask-extension/pull/15835))
- Update MV3 CSP to fix build ([#15833](https://github.com/MetaMask/metamask-extension/pull/15833))
- Skip searching 4byte directory if we don't have a full 4 bytes of data ([#15473](https://github.com/MetaMask/metamask-extension/pull/15473))
- Case insensitive modifier for Firefox ([#15831](https://github.com/MetaMask/metamask-extension/pull/15831))
- Ensure network info popup only displays on networks where the user has no balances ([#15821](https://github.com/MetaMask/metamask-extension/pull/15821))
- Ensure chainId is defined in validateRecipientUserInput in send-duck ([#15822](https://github.com/MetaMask/metamask-extension/pull/15822))
- Ensure that 'tokens found in this account' message is only shown when token detection activated ([#15823](https://github.com/MetaMask/metamask-extension/pull/15823))
- Move updateBackgroundConnection call in ui/index.js to before the action calls ([#15826](https://github.com/MetaMask/metamask-extension/pull/15826))
- Hide DetectedTokenAggregators if token.aggregators lists are empty ([#15824](https://github.com/MetaMask/metamask-extension/pull/15824))
- migrate network constants to typescript ([#15610](https://github.com/MetaMask/metamask-extension/pull/15610))
- [e2e] Refactor send-hex-address spec using Ganache seeder ([#15604](https://github.com/MetaMask/metamask-extension/pull/15604))
- Properly handle JSON errors when restoring data in advanced settings ([#15815](https://github.com/MetaMask/metamask-extension/pull/15815))
- MV3: contentscript.js - re-activate streams when Service Worker terminates and then resets ([#15494](https://github.com/MetaMask/metamask-extension/pull/15494))
- Bump @metamask/auto-changelog from 2.6.0 to 2.6.1 ([#15001](https://github.com/MetaMask/metamask-extension/pull/15001))
- MV3: Migrate permissions ([#15777](https://github.com/MetaMask/metamask-extension/pull/15777))
- Update reset.scss to revive <b> element font-weight ([#15784](https://github.com/MetaMask/metamask-extension/pull/15784))
- Updating Chromedriver to the last version ([#15798](https://github.com/MetaMask/metamask-extension/pull/15798))
- Update whats new dates ([#15804](https://github.com/MetaMask/metamask-extension/pull/15804))
- Make createSpeedUpTransaction action idempotent ([#15688](https://github.com/MetaMask/metamask-extension/pull/15688))
## [10.21.0]
### Added
- Add functionality for buying native currency and tokens on Optimism and Arbitrum, using Transak ([#16031](https://github.com/MetaMask/metamask-extension/pull/16031))
- Add functionality for buying tokens with Wyre ([#15992](https://github.com/MetaMask/metamask-extension/pull/15992))
- Add functionality for buying tokens with Moonpay ([#15924](https://github.com/MetaMask/metamask-extension/pull/15924))
- Add functionality for buying tokens with Coinbase Pay and Transak ([#15551](https://github.com/MetaMask/metamask-extension/pull/15551))
- Add new translations for DE, EL, ES, FR, HI, ID, JA, KO, PT, RU, TL TR, VI and ZH_CN ([#15411](https://github.com/MetaMask/metamask-extension/pull/15411))
- [FLASK] Add support for blocking Snaps by source shasum ([#15830](https://github.com/MetaMask/metamask-extension/pull/15830))
- [FLASK] Add transaction insights via Snaps ([#15814](https://github.com/MetaMask/metamask-extension/pull/15814))
### Changed
- Dark Mode: elevate the Theme functionality from Experimental to General Settings ([#15865](https://github.com/MetaMask/metamask-extension/pull/15865))
- Update Arbitrum symbol from `AETH` to `ETH` ([#15747](https://github.com/MetaMask/metamask-extension/pull/15747))
- Update warning dialog copy on SetApprovalForAll Confirmation page ([#15744](https://github.com/MetaMask/metamask-extension/pull/15744))
- Update header display on NFT Approval and SetApprovalForAll Confirmation pages ([#15727](https://github.com/MetaMask/metamask-extension/pull/15727))
- Bump `@metamask/contract-metadata` from `1.35.0` to `1.36.0` ([#15597](https://github.com/MetaMask/metamask-extension/pull/15597))
- Add tokens: ZKP, GTON, PRVG, XCHF, XHT, OGV, veOFV, wOUSD and SUSHI
- Fix SVG icons for sETH and sUSD tokens
- Add the top NFT contracts on Opensea
- Swaps: replace Rinkeby with Goerli for performing swaps on a testnet ([#15781](https://github.com/MetaMask/metamask-extension/pull/15781))
- Swaps: only render tooltip component if swap network is disabled ([#15733](https://github.com/MetaMask/metamask-extension/pull/15733))
- Swaps: use `gasEstimateWithRefund` instead of `gasEstimate` for more precise estimations ([#15968](https://github.com/MetaMask/metamask-extension/pull/15968))
- Swaps: improve Build Quote page ([#15758](https://github.com/MetaMask/metamask-extension/pull/15758))
- Preserve search query for the `Swap from` and `Swap to` form fields
- Update placeholder text on `Swap to` and `Swap from` search fields
- Update copy on slippage tolerance tooltip
- [FLASK] `Add snap_getBip32PublicKey` RPC method ([#15889](https://github.com/MetaMask/metamask-extension/pull/15889))
- **[FLASK] BREAKING:** Remove deprecated snap_getBip44Entropy_* method ([#15889](https://github.com/MetaMask/metamask-extension/pull/15889))
- [FLASK] Miscellaneous fixes to the Snaps platform ([#15889](https://github.com/MetaMask/metamask-extension/pull/15889))
### Fixed
- Fix double account creation when using keyboard controls on New Account page ([#15077](https://github.com/MetaMask/metamask-extension/pull/15077))
- Fix error message getting cut when introducing wrong private key format on Import Account page ([#15940](https://github.com/MetaMask/metamask-extension/pull/15940))
- Fix edit button not being displayed when sending tx with hex data to a contract on Confirm tx page ([#15812](https://github.com/MetaMask/metamask-extension/pull/15812))
- Fix incorrect balance asset on Encrypt and Decrypt Request pages ([#15885](https://github.com/MetaMask/metamask-extension/pull/15885))
- Fix spelling errors and improve grammar for German translation ([#15592](https://github.com/MetaMask/metamask-extension/pull/15592))
- Fix typos for French translation ([#15735](https://github.com/MetaMask/metamask-extension/pull/15735))
- Fix incorrect identicon type for Account, by ensuring Blockies is displayed everywhere when enabled instead of Jazzicon ([#15768](https://github.com/MetaMask/metamask-extension/pull/15768))
- Fix query verification for signatures, by ensuring we skip searching 4byte directory if we don't have a full 4 bytes of data ([#15473](https://github.com/MetaMask/metamask-extension/pull/15473))
- Fix address resolution to Account name, when editing a tx instead of displaying the hex address ([#15873](https://github.com/MetaMask/metamask-extension/pull/15873))
- Fix "Get ether from faucet" message, by including the end of the sentence and a full stop ([#15875](https://github.com/MetaMask/metamask-extension/pull/15875))
- Fix font weight of the `<b>` element, by restoring the `b` style ([#15784](https://github.com/MetaMask/metamask-extension/pull/15784))
## [10.20.0]
### Changed
- Deprecate Rinkeby, Ropsten and Kovan test networks and define Goerli as the default network in test mode ([#15989](https://github.com/MetaMask/metamask-extension/pull/15989))
### Fixed
- [FLASK] Fix crash when uninstalling snap ([#15799](https://github.com/MetaMask/metamask-extension/pull/15799))
- Resolve inconsistency between browsers ([#15800](https://github.com/MetaMask/metamask-extension/pull/15800))
- Replace web3js package with ethersjs package ([#15386](https://github.com/MetaMask/metamask-extension/pull/15386))
- [FLASK] Fix crash with certain permissions on the snap settings page ([#15797](https://github.com/MetaMask/metamask-extension/pull/15797))
- Fixing lint issues ([#15782](https://github.com/MetaMask/metamask-extension/pull/15782))
- Replace Rinkeby with Goerli for dev testing ([#15781](https://github.com/MetaMask/metamask-extension/pull/15781))
- Only render tooltip component if swap network is disabled ([#15733](https://github.com/MetaMask/metamask-extension/pull/15733))
- Expand error details before taking screenshot ([#15779](https://github.com/MetaMask/metamask-extension/pull/15779))
- Make cancel transaction idempotent ([#15675](https://github.com/MetaMask/metamask-extension/pull/15675))
- Ensuring Blockies Icon is used in nickname popup when enabled ([#15768](https://github.com/MetaMask/metamask-extension/pull/15768))
- Continue rm enzyme, unit tests. ([#15730](https://github.com/MetaMask/metamask-extension/pull/15730))
- Fix: french typos ([#15735](https://github.com/MetaMask/metamask-extension/pull/15735))
- Preserve search query for "Swap from" and "Swap to" form fields, update content ([#15758](https://github.com/MetaMask/metamask-extension/pull/15758))
- ConfirmPage: update setApprovalForAll dialog copy ([#15744](https://github.com/MetaMask/metamask-extension/pull/15744))
- converted Jazzicon component to functional component and added story ([#15638](https://github.com/MetaMask/metamask-extension/pull/15638))
- Adding custom component props to FormField component ([#15679](https://github.com/MetaMask/metamask-extension/pull/15679))
- Update Arbitrum symbol ([#15747](https://github.com/MetaMask/metamask-extension/pull/15747))
- Upgrading storybook from 6.3 to 6.5 fixing shell-quote vulnerability ([#15684](https://github.com/MetaMask/metamask-extension/pull/15684))
- Fix storybook by shimming MV3 method ([#15749](https://github.com/MetaMask/metamask-extension/pull/15749))
- Making addPermittedAccount and removePermittedAccount methods idempotent ([#15709](https://github.com/MetaMask/metamask-extension/pull/15709))
- [FLASK] Fix an issue with installing and updating snaps with 0 permissions ([#15796](https://github.com/MetaMask/metamask-extension/pull/15796))
## [10.20.0]
### Changed