Skip to content

Releases: MetaMask/core

v6.2.0 [DEPRECATED]

23 Mar 18:08
ed4df47
Compare
Choose a tag to compare

Added

  • Add the Notification Controller (to support "what's new" type announcements in-app) (#329)
  • Add support for specifying a custom nonce (#381)

Changed

  • Explicitly add ethereumjs-tx as a package.json dependency (#392)
  • Add types manifest field to package.json (#391)
  • Use "options bag" for parameters for BaseControllerV2 constructor (#388)
  • Ensure uuid dependency is type-checked (#403)
  • Update TypeScript to v4.2 (#369)
  • Asset metadata type conditionally requires error field, disallows for non-errors (#395)
  • Improve TransactionMeta type: status now an enum, error conditional on status, default error added for failed etherscan transaction (#406)
  • NetworkController no longer a required controller of TypedMessageManager (#416)
  • Update selectedAddress when identities are updated in PreferencesController.updateIdentities (#415)
  • Add contract address validation to AssetsContractController.getCollectibleTokenURI (#414)
  • Add descriptive error messages to empty toThrow call (#422)

Fixed

  • Fix signTransaction transaction parameter type (#400)
  • Consistently use BN type for token balances (#398)

6.1.1

12 Mar 15:40
936819f
Compare
Choose a tag to compare

Added

  • Add controller messaging system (#377)

Fixed

  • bugfix/dont modify current transactions (#386)
  • Fix format commands (#385)

6.1.0

12 Mar 15:27
bb271fa
Compare
Choose a tag to compare

Added

  • Add Base Controller v2 (#358)
  • Add babel-runtime dependency required by ethjs-query (#341)
  • Add Dependabot config (#343)

Changed

  • Add chainId to every transaction (#349)
  • Add normalizeTokenTx for incoming transactions (#380)
  • Bump elliptic from 6.5.3 to 6.5.4 (#383)
  • Update prettier from v2.1.1 to v2.2.1 (#376)
  • Remove AlethioTransactionMeta (#374)
  • Improve JSON types (#373)
  • Add BaseControllerV2 state metadata (#371)
  • Update to TypeScript 4.1 (#370)
  • Constrain BaseController state to be valid JSON (#366)
  • Update ESLint config to v5 (#368)
  • Use unknown rather than any for BaseController state (#365)
  • BaseController send patches to state subscribers (#363)
  • TransactionController gas and approve transaction improvements (#350)
  • Extract CryptoCompare API to a separate module (#353)
  • Move tests alongside code under test (#354)
  • Bump @metamask/contract-metadata from 1.22.0 to 1.23.0 (#357)
  • Remove Alethio to get incoming token transactions, using etherscan instead (#351)
  • Prevent ApprovalController counting mismatch (#356)
  • Update sinon and @types/sinon to latest versions (#352)
  • Fix tsconfig.json indentation (#355)
  • Replace fetch-mock with nock (#340)
  • Update ethereumjs-wallet from v0.6.5 to v1.0.1 (#347)
  • Update @metamask/eslint-config from v3 to v4.1.0 (#344)
  • Update uuid from v3.3.3 to v8.3.2 (#346)
  • Update approval controller test import (#339)
  • Update typedoc (#342)
  • Remove unused test module (#338)
  • Replace await-semaphore with async-mutex (#334)
  • Update eth-json-rpc-filters in lockfile (#336)

Fixed

  • Fix AbstractMessageManager error (#367)
  • Enforce the usage of chainId instead of networkId in NetworkController (#324)

6.0.1

05 Feb 15:17
f584248
Compare
Choose a tag to compare

Changed

  • Update typedoc from v0.15 to v20.20 (#333)
  • Update @metamask/contract-metadata from v1.19 to v1.22 (#332)
  • Bump node-notifier from 8.0.0 to 8.0.1 (#323)

Fixed

  • Add safelyExecuteWithTimeout for accountTracker.refresh (#331)
  • Add try/catch for assetsContract.getBalanceOf (#328)

6.0.0

19 Jan 19:46
234153e
Compare
Choose a tag to compare

Changed

  • Remove default approval controller type (#321)

Fixed

  • Enforce the usage of chainId instead of networkId in NetworkController (#324)

5.1.0

19 Jan 16:03
a51e2ba
Compare
Choose a tag to compare

Changed

  • Updated automatically detected assets (#318)

Fixed

  • Robustified wallet_watchAssets params validation, and improved errors (#317)

5.0.0

19 Nov 16:12
adccf0b
Compare
Choose a tag to compare

Added

  • ApprovalController (#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)
  • ApprovalController: Rename ApprovalInfo interface to Approval (#309)
  • PhishingController: Make no-cache fetch option explicit (#297)
  • Make package compatible with Node 12 (#287)

Fixed

  • ApprovalController: Fix faulty origin parameter type check (#309)
    • The type check was too loose, and would've permitted some invalid origins.

4.0.0

09 Nov 21:29
831e9e4
Compare
Choose a tag to compare

Added

  • Add ApprovalController (#289)

Changed

  • BREAKING: Remove NetworkStatusController (#298)
  • Allow configuring CurrencyController to always fetch USD rate (#292)

v3.1.0

23 Sep 19:44
49457ff
Compare
Choose a tag to compare

v3.0.0

11 Sep 14:00
ea731e0
Compare
Choose a tag to compare

This release updates the NetworkController to use v3 of Infura's API (see #267).

Breaking change:

A project ID is now required for all instantiations of the NetworkController that are backed by Infura.

const controller = new NetworkController({
  infuraProjectId: 'foo',
}, {
  network: '1',
  provider: { type: 'mainnet' },
});