Skip to content

Commit

Permalink
15.0.0 (#573)
Browse files Browse the repository at this point in the history
* 15.0.0

* update changelog

* update changelog, feedback

* Update CHANGELOG.md

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* add colon after breaking

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alex <adonesky@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
  • Loading branch information
4 people authored Aug 30, 2021
1 parent c8260ae commit 220249b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]
### Changed
- **BREAKING**: Update TokensController allTokens state structure to make network/chainID parent of account ([#572](https://github.com/MetaMask/controllers/pull/572))
- The shape of allTokens state field on TokensController has been reorganized. Consumers of the TokensController will have to migrate existing token state to new shape.
- **BREAKING**: ignoredTokens changed to allIgnoredTokens ([#570](https://github.com/MetaMask/controllers/pull/570))
- a new state field on the TokensController - allIgnoredTokens - now manages ignoredTokens by network and accountAddress, ignoredTokens is now the array of token address strings (previously an array of full token objects) that have been hidden by the user for the currently active network and accountAddress pair. Consumers of the TokensController will have to migrate existing ignoredTokens array to allIgnoredTokens object.
- **BREAKING**: Improve BaseControllerV2 messenger type ([#556](https://github.com/MetaMask/controllers/pull/556))
- This is a breaking change, because anyone extending BaseControllerV2 will now be required to supply an additional generic parameter.
- **BREAKING**: Remove redundant default export from util.ts ([#574](https://github.com/MetaMask/controllers/pull/574))
- This is breaking for consumers who use the default import of the utils module, and will require using named imports instead.
- **BREAKING**: Removing aggregator from TokenListToken ([#564](https://github.com/MetaMask/controllers/pull/564))
- This is breaking because the the DynamicToken and TokenListToken types no longer contain an aggregators field. Consumers will have to remove aggregators for objects using this type.
- **BREAKING**: Migrate ApprovalController to BaseControllerV2 ([#555](https://github.com/MetaMask/controllers/pull/555))
- This is a breaking change because the BaseControllerV2 migration is breaking, and the 'resolve' method has been renamed to 'accept'.
- Speed up token detection for most popular 1000 tokens ([#568](https://github.com/MetaMask/controllers/pull/568))
- Cancel inflight request during chainId change and useStaticTokenList flag change ([#571](https://github.com/MetaMask/controllers/pull/571))
- Update the token list API host ([#563](https://github.com/MetaMask/controllers/pull/563))
- Bump @metamask/contract-metadata from 1.28.0 to 1.29.0 ([#569](https://github.com/MetaMask/controllers/pull/569))
- Reduce frequency of token list updates ([#561](https://github.com/MetaMask/controllers/pull/561))
- Previously it would update the token list upon _any_ preference or network configuration change. Now it only restarts polling when the network switches or when the `useStaticTokenList` flag changes.

## [14.2.0]
### Added
- Added the ability to limit the number of transactions stored (default is 40) ([#550](https://github.com/MetaMask/controllers/pull/550))
Expand Down Expand Up @@ -332,7 +353,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Remove shapeshift controller (#209)

[Unreleased]: https://github.com/MetaMask/controllers/compare/v14.2.0...HEAD
[Unreleased]: https://github.com/MetaMask/controllers/compare/v15.0.0...HEAD
[15.0.0]: https://github.com/MetaMask/controllers/compare/v14.2.0...v15.0.0
[14.2.0]: https://github.com/MetaMask/controllers/compare/v14.1.0...v14.2.0
[14.1.0]: https://github.com/MetaMask/controllers/compare/v14.0.2...v14.1.0
[14.0.2]: https://github.com/MetaMask/controllers/compare/v14.0.1...v14.0.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/controllers",
"version": "14.2.0",
"version": "15.0.0",
"description": "Collection of platform-agnostic modules for creating secure data models for cryptocurrency wallets",
"keywords": [
"MetaMask",
Expand Down

0 comments on commit 220249b

Please sign in to comment.