All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bump
@metamask/base-controller
from^7.0.0
to^7.1.0
(#5079)
- Bump
@metamask/controller-utils
from^11.3.0
to^11.4.4
(#4834, #4862, #4870, #4915, #5012) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862)
- Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#4516, #4529) - Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#4516) - Bump TypeScript from
~4.9.5
to~5.2.2
and setmoduleResolution
option toNode16
(#3645, #4576, #4584)
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files (#4648)
- Previously, this package shipped with only one variant of type declaration
files, and these files were only CommonJS-compatible, and the
exports
field inpackage.json
linked to these files. This is an anti-pattern and was rightfully flagged by the "Are the Types Wrong?" tool as "masquerading as CJS". All of the ATTW checks now pass.
- Previously, this package shipped with only one variant of type declaration
files, and these files were only CommonJS-compatible, and the
- Remove chunk files (#4648).
- Previously, the build tool we used to generate JavaScript files extracted common code to "chunk" files. While this was intended to make this package more tree-shakeable, it also made debugging more difficult for our development teams. These chunk files are no longer present.
- BREAKING: Bump minimum Node version to 18.18 (#3611)
- Bump
@metamask/base-controller
to^6.0.0
(#4352) - Bump
@metamask/controller-utils
to^11.0.0
(#4352)
- BREAKING: Changed token API endpoint from
*.metafi.codefi.network
to*.api.cx.metamask.io
(#4301) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
async-mutex
to^0.5.0
(#4335) - Bump
@metamask/controller-utils
to^10.0.0
(#4342)
- Fix
setName
andupdateProposedNames
methods to protect against prototype-polluting assignments (#4041
- Fix
types
field inpackage.json
(#4047)
- BREAKING: Add ESM build (#3998)
- It's no longer possible to import files from
./dist
directly.
- It's no longer possible to import files from
- Add support for Linea Sepolia (chain ID
0xe705
) (#3995)
- BREAKING: Bump
@metamask/base-controller
to^5.0.0
(#4039)- This version has a number of breaking changes. See the changelog for more.
- BREAKING: Remove support for Optimism Goerli (chain ID
0x1a4
); replace with support for Optimism Sepolia (chain ID0xaa37dc
) (#3999)
- BREAKING: Add expire limit for proposed names (#3748)
- Expired names now get removed on every call to
updateProposedNames
- Expired names now get removed on every call to
- Bump
@metamask/base-controller
to^4.1.1
(#3821)
- Add
origin
property toNameEntry
andSetNameRequest
(#3751)
- Add fallback variation for petnames (#3705)
- Bump
@metamask/base-controller
to^4.0.1
(#3695)
- BREAKING: Bump
@metamask/base-controller
to ^4.0.0 (#2063)- This is breaking because the type of the
messenger
has backward-incompatible changes. See the changelog for this package for more.
- This is breaking because the type of the
- Bump
@metamask/utils
to ^8.2.0 (#1957)
- Bump dependency on
@metamask/utils
to ^8.1.0 (#1639) - Bump dependency on
@metamask/base-controller
to ^3.2.3
- BREAKING: Normalize addresses and chain IDs (#1732)
- Save addresses and chain IDs as lowercase in state
- Remove
getChainId
constructor callback - Require a
variation
property when callingsetName
orupdateProposedNames
with theethereumAddress
type
- BREAKING: Support rate limiting in name providers (#1715)
- Breaking changes:
- Change
proposedNames
property inNameEntry
type from string array to newProposedNamesEntry
type - Remove
proposedNamesLastUpdated
property fromNameEntry
type
- Change
- Add
onlyUpdateAfterDelay
option toUpdateProposedNamesRequest
type - Add
updateDelay
constructor option - Add
updateDelay
property toNameProviderSourceResult
type - Add
isEnabled
callback option toENSNameProvider
,EtherscanNameProvider
,LensNameProvider
, andTokenNameProvider
- Existing proposed names in state are only updated if the
NameProvider
has no errors and theproposedNames
property is notundefined
- Breaking changes:
- Dormant proposed names are automatically removed when calling
updateProposedNames
(#1688) - The
setName
method accepts anull
value for thename
property to enable removing saved names (#1688) - Update TypeScript to v4.8.x (#1718)
- Initial Release (#1647)