Skip to content

Commit

Permalink
v11.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker committed Jul 7, 2021
1 parent e594293 commit ea51a3d
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 2 deletions.
98 changes: 97 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,81 @@
# Changelog

All notable changes to this project will be documented in this file.

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]

## [11.1.0] - 2021-07-07

### Added

- Added GasFeeController to provide gas fee estimates [#494](https://github.com/MetaMask/controllers/pull/494)

### Changed

- Added chainId support to TokenRatesControllers [#476](https://github.com/MetaMask/controllers/pull/476)
- Added iconUrl to Token type in TokenListController [#512](https://github.com/MetaMask/controllers/pull/512)

## [11.0.0] - 2021-07-02

### Changed

- We accidentally shipped a breaking change in v10.2.0. The changelog has been updated to explain the breaking change, and it has been republished as v11.0.0.

## [10.2.0] - 2021-06-30 [DEPRECATED]

### Added

- **BREAKING**: Add TokenListController to fetch the token list from token services API ([#478](https://github.com/MetaMask/controllers/pull/478))
- The breaking change here is that `AssetsDetectionController` now requires `getTokenListState` as a constructor parameter.
- Update `@ethereumjs-tx` to `@ethereumjs/tx` and add `@ethereumjs/common` to support EIP1559 compliant transactions ([#489](https://github.com/MetaMask/controllers/pull/489))

### Changed

- Bump @metamask/contract-metadata from 1.25.0 to 1.26.0 and 1.26.0 to 1.27.0 ([#492](https://github.com/MetaMask/controllers/pull/492),[#501](https://github.com/MetaMask/controllers/pull/501))

## [10.1.0] - 2021-06-07

### Added

- Export BaseControllerV2 Json type ([#482](https://github.com/MetaMask/controllers/pull/482))

### Changed

- Improve collectible detection by account ([#487](https://github.com/MetaMask/controllers/pull/487))
- Upgrade ethereumjs util ([#466](https://github.com/MetaMask/controllers/pull/466))

### Fixed

- Skip token detection for tokens that are already tracked ([#480](https://github.com/MetaMask/controllers/pull/480))

## [10.0.0]

### Fixed

- **BREAKING**: Fix stale conversionRate after switching network ([#465](https://github.com/MetaMask/controllers/pull/465))
- The breaking change is the change in type of the `conversionRate` state of the `CurrencyRateController` - it's now nullable.

## [9.1.0] - 2021-05-20

### Added

- Add support for unicode domains to PhishingController ([#471](https://github.com/MetaMask/controllers/pull/471))

### Changed

- AssetsController collectibles metadata improvements ([#454](https://github.com/MetaMask/controllers/pull/454))

## [9.0.0]

### Added

- Add `getState` action to BaseControllerV2 ([#457](https://github.com/MetaMask/controllers/pull/457))

### Changed

- **BREAKING:** Migrate CurrencyRateController to BaseControllerV2 ([#372](https://github.com/MetaMask/controllers/pull/372))
- Add BaseControllerV2 support to ComposableController ([#447](https://github.com/MetaMask/controllers/pull/447))
- Update eth-keyring-controller ([#460](https://github.com/MetaMask/controllers/pull/460))
Expand All @@ -56,36 +85,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump @metamask/contract-metadata from 1.24.0 to 1.25.0 ([#444](https://github.com/MetaMask/controllers/pull/444))

## [8.0.0] - 2021-04-15

### Added

- Add restricted controller messenger ([#378](https://github.com/MetaMask/controllers/pull/378))

### Changed

- **BREAKING:** Update minimum Node.js version to v12 ([#441](https://github.com/MetaMask/controllers/pull/441))
- **BREAKING:** Replace controller context ([#387](https://github.com/MetaMask/controllers/pull/387))
- Bump @metamask/contract-metadata from 1.23.0 to 1.24.0 ([#440](https://github.com/MetaMask/controllers/pull/440))
- Update lint rules ([#442](https://github.com/MetaMask/controllers/pull/442), [#426](https://github.com/MetaMask/controllers/pull/426))

### Fixed

- Don't remove collectibles during auto detection ([#439](https://github.com/MetaMask/controllers/pull/439))

## [7.0.0] - 2021-04-06

### Added

- Ability to indicate if a transaction was added from the users local device and account creation time ([#436](https://github.com/MetaMask/controllers/pull/436))

### Changed

- **BREAKING:** Organize assets by chainid ([#435](https://github.com/MetaMask/controllers/pull/435))
- Support longer token symbols via wallet_watchAsset ([#433](https://github.com/MetaMask/controllers/pull/433))

## [6.2.1] - 2021-03-23

### Fixed

- Restore BN export ([#428](https://github.com/MetaMask/controllers/pull/428))

## [6.2.0] - 2021-03-23 [WITHDRAWN]

### Added

- Add the Notification Controller (to support "what's new" type announcements in-app) ([#329](https://github.com/MetaMask/controllers/pull/329))
- Add support for specifying a custom nonce ([#381](https://github.com/MetaMask/controllers/pull/381))

### Changed

- Explicitly add ethereumjs-tx as a package.json dependency ([#392](https://github.com/MetaMask/controllers/pull/392))
- Add `types` manifest field to package.json ([#391](https://github.com/MetaMask/controllers/pull/391))
- Use "options bag" for parameters for BaseControllerV2 constructor ([#388](https://github.com/MetaMask/controllers/pull/388))
Expand All @@ -99,24 +140,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add descriptive error messages to empty `toThrow` call ([#422](https://github.com/MetaMask/controllers/pull/422))

### Fixed

- Fix `signTransaction` transaction parameter type ([#400](https://github.com/MetaMask/controllers/pull/400))
- [BREAKING] Consistently use BN type for token balances ([#398](https://github.com/MetaMask/controllers/pull/398))

## [6.1.1] - 2021-03-12

### Added

- Add controller messaging system ([#377](https://github.com/MetaMask/controllers/pull/377))

### Fixed

- bugfix/dont modify current transactions ([#386](https://github.com/MetaMask/controllers/pull/386))
- Fix `format` commands ([#385](https://github.com/MetaMask/controllers/pull/385))

## [6.1.0] - 2021-03-10

### Added

- Add Base Controller v2 ([#358](https://github.com/MetaMask/controllers/pull/358))
- Add `babel-runtime` dependency required by `ethjs-query` ([#341](https://github.com/MetaMask/controllers/pull/341))
- Add Dependabot config ([#343](https://github.com/MetaMask/controllers/pull/343))

### Changed

- Add chainId to every transaction ([#349](https://github.com/MetaMask/controllers/pull/349))
- Add normalizeTokenTx for incoming transactions ([#380](https://github.com/MetaMask/controllers/pull/380))
- Bump elliptic from 6.5.3 to 6.5.4 ([#383](https://github.com/MetaMask/controllers/pull/383))
Expand Down Expand Up @@ -148,131 +196,179 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update `eth-json-rpc-filters` in lockfile ([#336](https://github.com/MetaMask/controllers/pull/336))

### Fixed

- Fix AbstractMessageManager error ([#367](https://github.com/MetaMask/controllers/pull/367))
- Enforce the usage of `chainId` instead of `networkId` in `NetworkController` ([#324](https://github.com/MetaMask/controllers/pull/324))

## [6.0.1] - 2021-02-05

### Changed

- Update `typedoc` from v0.15 to v20.20 ([#333](https://github.com/MetaMask/controllers/pull/333))
- Update `@metamask/contract-metadata` from v1.19 to v1.22 ([#332](https://github.com/MetaMask/controllers/pull/332))
- Bump node-notifier from 8.0.0 to 8.0.1 ([#323](https://github.com/MetaMask/controllers/pull/323))

### Fixed

- Add `safelyExecuteWithTimeout` for `accountTracker.refresh` ([#331](https://github.com/MetaMask/controllers/pull/331))
- Add try/catch for `assetsContract.getBalanceOf` ([#328](https://github.com/MetaMask/controllers/pull/328))

## [6.0.0] - 2021-01-19

### Changed

- Remove default approval controller type ([#321](https://github.com/MetaMask/controllers/pull/321))

### Fixed

- Enforce the usage of `chainId` instead of `networkId` in `NetworkController` ([#324](https://github.com/MetaMask/controllers/pull/324))

## [5.1.0] - 2020-12-02

### Changed

- Updated automatically detected assets ([#318](https://github.com/MetaMask/controllers/pull/318))

### Fixed

- Robustified `wallet_watchAssets` params validation, and improved errors ([#317](https://github.com/MetaMask/controllers/pull/317))

## [5.0.0] - 2020-11-19

### Added

- `ApprovalController` ([#309](https://github.com/MetaMask/controllers/pull/309))
- Add user-defined default type
- Add `Date.now()` timestamps to request (`approval.time`)
- Enable `has` lookups by `type` only

### Changed

- **Breaking:** `ApprovalController`: Require types for all requests ([#309](https://github.com/MetaMask/controllers/pull/309))
- `ApprovalController`: Rename `ApprovalInfo` interface to `Approval` ([#309](https://github.com/MetaMask/controllers/pull/309))
- `PhishingController`: Make `no-cache` fetch option explicit ([#297](https://github.com/MetaMask/controllers/pull/297))
- Make package compatible with Node 12 ([#287](https://github.com/MetaMask/controllers/pull/287))

### Fixed

- `ApprovalController`: Fix faulty `origin` parameter type check ([#309](https://github.com/MetaMask/controllers/pull/309))
- The type check was too loose, and would've permitted some invalid origins.

## [4.2.0] - 2020-11-13

### Added

- Expose `ApprovalController` count state ([#306](https://github.com/MetaMask/controllers/pull/306))
- `KeyringController` `onLock`/`onUnlock` event handlers ([#307](https://github.com/MetaMask/controllers/pull/307))

### Fixed

- Properly initialize `ApprovalController` ([#306](https://github.com/MetaMask/controllers/pull/306))

## [4.1.0] - 2020-11-10

### Added

- `ApprovalController` approval count methods ([#304](https://github.com/MetaMask/controllers/pull/304))

## [4.0.2] - 2020-11-09

### Changed

- Unpin `eth-sig-util` dependency ([#302](https://github.com/MetaMask/controllers/pull/302))

## [4.0.1] - 2020-11-09

### Fixed

- Fix `ApprovalController` export ([#300](https://github.com/MetaMask/controllers/pull/300))

## [4.0.0] - 2020-11-09

### Added

- Add `ApprovalController` ([#289](https://github.com/MetaMask/controllers/pull/289))

### Changed

- Allow configuring `CurrencyController` to always fetch USD rate ([#292](https://github.com/MetaMask/controllers/pull/292))

### Removed

- **BREAKING:** Remove `NetworkStatusController` ([#298](https://github.com/MetaMask/controllers/pull/298))

## [3.2.0] - 2020-10-21

### Added

- Add `addNewAccountWithoutUpdate` method ([#288](https://github.com/MetaMask/controllers/pull/288))

## [3.1.0] - 2020-09-23

### Changed

- Update various dependencies
- eth-rpc-errors@3.0.0 ([#284](https://github.com/MetaMask/controllers/pull/284))
- web3-provider-engine@16.0.1 ([#283](https://github.com/MetaMask/controllers/pull/283))
- isomorphic-fetch@3.0.0 ([#282](https://github.com/MetaMask/controllers/pull/282))
- eth-json-rpc-infura@5.1.0 ([#281](https://github.com/MetaMask/controllers/pull/281))

## [3.0.1] - 2020-09-15

### Changed

- Remove `If-None-Match` header from phishing config requests ([#277](https://github.com/MetaMask/controllers/pull/277))

## [3.0.0] - 2020-09-11

### Changed

- Use Infura v3 API ([#267](https://github.com/MetaMask/controllers/pull/267))

## [2.0.5] - 2020-08-18

### Changed

- Add prepublishOnly build script (#260)

## [2.0.4] - 2020-08-18

### Changed

- Use jsDelivr instead of the GitHub API for content (#256)
- Lower phishing config poll rate to 1 req/hr (#257)
- Use renamed `eth-rpc-error` package (#252)

## [2.0.3] - 2020-07-27

### Added

- TransactionsController: Bugfix cancel / speedup transactions (#248)

## [2.0.2] - 2020-07-14

### Added

- TransactionsController: Fetch incoming token transactions (#247)

## [2.0.1] - 2020-06-18

### Changed

- Update `PhishingController` endpoint to use GitHub API (#244)

## [2.0.0] - 2020-05-07

### Changed

- Rebrand as `@metamask/controllers` (#226)
- Use yarn & drop `npm-shrinkwrap.json` (#193)

## Removed

- Remove shapeshift controller (#209)

[Unreleased]: https://github.com/MetaMask/controllers/compare/v11.0.0...HEAD
[unreleased]: https://github.com/MetaMask/controllers/compare/v11.0.0...HEAD
[11.0.0]: https://github.com/MetaMask/controllers/compare/v10.2.0...v11.0.0
[10.2.0]: https://github.com/MetaMask/controllers/compare/v10.1.0...v10.2.0
[10.1.0]: https://github.com/MetaMask/controllers/compare/v10.0.0...v10.1.0
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": "11.0.0",
"version": "11.1.0",
"description": "Collection of platform-agnostic modules for creating secure data models for cryptocurrency wallets",
"license": "MIT",
"files": [
Expand Down

0 comments on commit ea51a3d

Please sign in to comment.