Releases: MetaMask/core
Releases · MetaMask/core
v6.2.0 [DEPRECATED]
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 ofTypedMessageManager
(#416)- Update
selectedAddress
when identities are updated inPreferencesController.updateIdentities
(#415) - Add contract address validation to
AssetsContractController.getCollectibleTokenURI
(#414) - Add descriptive error messages to empty
toThrow
call (#422)
Fixed
6.1.1
6.1.0
Added
- Add Base Controller v2 (#358)
- Add
babel-runtime
dependency required byethjs-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 thanany
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
withnock
(#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
fromv3.3.3
tov8.3.2
(#346) - Update approval controller test import (#339)
- Update
typedoc
(#342) - Remove unused test module (#338)
- Replace
await-semaphore
withasync-mutex
(#334) - Update
eth-json-rpc-filters
in lockfile (#336)
Fixed
6.0.1
6.0.0
5.1.0
5.0.0
Added
ApprovalController
(#309)- Add user-defined default type
- Add
Date.now()
timestamps to request (approval.time
) - Enable
has
lookups bytype
only
Changed
- Breaking:
ApprovalController
: Require types for all requests (#309) ApprovalController
: RenameApprovalInfo
interface toApproval
(#309)PhishingController
: Makeno-cache
fetch option explicit (#297)- Make package compatible with Node 12 (#287)
Fixed
ApprovalController
: Fix faultyorigin
parameter type check (#309)- The type check was too loose, and would've permitted some invalid origins.
4.0.0
v3.1.0
- Update various dependencies
v3.0.0
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' },
});