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/controller-utilsfrom^12.0.0to^12.1.0(#8774)
- Bump
@metamask/controller-utilsfrom^11.19.0to^12.0.0(#8344, #8755) - Bump
@metamask/messengerfrom^1.0.0to^1.2.0(#8364, #8373, #8632) - Bump
@metamask/base-controllerfrom^9.0.1to^9.1.0(#8457)
- Bump
@metamask/base-controllerfrom^9.0.0to^9.0.1(#8317) - Bump
@metamask/messengerfrom^0.3.0to^1.0.0(#8317)
- Expose missing public
NameControllermethods through its messenger (#8183)- The following actions are now available:
NameController:setNameNameController:updateProposedNames
- Corresponding action types (e.g.
NameControllerSetNameAction) are available as well.
- The following actions are now available:
- Upgrade
@metamask/utilsfrom^11.8.1to^11.9.0(#7511) - Bump
@metamask/controller-utilsfrom^11.15.0to^11.19.0(#7202, #7534, #7583, #7995)
- BREAKING: Use new
Messengerfrom@metamask/messenger(#6541)- Previously,
NameControlleraccepted aRestrictedMessengerinstance from@metamask/base-controller.
- Previously,
- BREAKING: Metadata property
anonymousrenamed toincludeInDebugSnapshot(#6541) - Bump
@metamask/base-controllerfrom^8.4.2to^9.0.0(#6962)
- Bump
@metamask/base-controllerfrom^8.4.1to^8.4.2(#6917)
- Add two new controller state metadata properties:
includeInStateLogsandusedInUi(#6473)
- Bump
@metamask/utilsfrom^11.2.0to^11.8.1(#6054#6588, #6708) - Bump
@metamask/base-controllerfrom^8.0.0to^8.4.1(#5722, #6284, #6355, #6465, #6632, #6807) - Bump
@metamask/controller-utilsfrom^11.5.0to^11.14.1(#5439, #5583, #5765, #5812, #5935, #6069, #6303, #6620, #6629, #6807)
- Bump
@metamask/base-controllerfrom^7.1.0to^8.0.0(#5135), (#5305) - Bump
@metamask/controller-utilsfrom^11.4.4to^11.5.0(#5135), (#5272) - Bump
@metamask/utilsfrom^10.0.0to^11.1.0(#5080), (#5223) - Bump
@metamask/base-controllerfrom^7.0.0to^7.1.0(#5079)
- Bump
@metamask/controller-utilsfrom^11.3.0to^11.4.4(#4834, #4862, #4870, #4915, #5012) - Bump
@metamask/utilsfrom^9.1.0to^10.0.0(#4831) - Bump
@metamask/base-controllerfrom^7.0.1to^7.0.2(#4862)
- Bump
@metamask/utilsfrom^8.3.0to^9.1.0(#4516, #4529) - Bump
@metamask/rpc-errorsfrom^6.2.1to^6.3.1(#4516) - Bump TypeScript from
~4.9.5to~5.2.2and setmoduleResolutionoption 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
exportsfield inpackage.jsonlinked 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-controllerto^6.0.0(#4352) - Bump
@metamask/controller-utilsto^11.0.0(#4352)
- BREAKING: Changed token API endpoint from
*.metafi.codefi.networkto*.api.cx.metamask.io(#4301) - Bump
@metamask/base-controllerto^5.0.2(#4232) - Bump
async-mutexto^0.5.0(#4335) - Bump
@metamask/controller-utilsto^10.0.0(#4342)
- Fix
setNameandupdateProposedNamesmethods to protect against prototype-polluting assignments (#4041
- Fix
typesfield inpackage.json(#4047)
- BREAKING: Add ESM build (#3998)
- It's no longer possible to import files from
./distdirectly.
- It's no longer possible to import files from
- Add support for Linea Sepolia (chain ID
0xe705) (#3995)
- BREAKING: Bump
@metamask/base-controllerto^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-controllerto^4.1.1(#3821)
- Add
originproperty toNameEntryandSetNameRequest(#3751)
- Add fallback variation for petnames (#3705)
- Bump
@metamask/base-controllerto^4.0.1(#3695)
- BREAKING: Bump
@metamask/base-controllerto ^4.0.0 (#2063)- This is breaking because the type of the
messengerhas backward-incompatible changes. See the changelog for this package for more.
- This is breaking because the type of the
- Bump
@metamask/utilsto ^8.2.0 (#1957)
- Bump dependency on
@metamask/utilsto ^8.1.0 (#1639) - Bump dependency on
@metamask/base-controllerto ^3.2.3
- BREAKING: Normalize addresses and chain IDs (#1732)
- Save addresses and chain IDs as lowercase in state
- Remove
getChainIdconstructor callback - Require a
variationproperty when callingsetNameorupdateProposedNameswith theethereumAddresstype
- BREAKING: Support rate limiting in name providers (#1715)
- Breaking changes:
- Change
proposedNamesproperty inNameEntrytype from string array to newProposedNamesEntrytype - Remove
proposedNamesLastUpdatedproperty fromNameEntrytype
- Change
- Add
onlyUpdateAfterDelayoption toUpdateProposedNamesRequesttype - Add
updateDelayconstructor option - Add
updateDelayproperty toNameProviderSourceResulttype - Add
isEnabledcallback option toENSNameProvider,EtherscanNameProvider,LensNameProvider, andTokenNameProvider - Existing proposed names in state are only updated if the
NameProviderhas no errors and theproposedNamesproperty is notundefined
- Breaking changes:
- Dormant proposed names are automatically removed when calling
updateProposedNames(#1688) - The
setNamemethod accepts anullvalue for thenameproperty to enable removing saved names (#1688) - Update TypeScript to v4.8.x (#1718)
- Initial Release (#1647)