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)
- Remove use of
@metamask/keyring-api
(#4695)@metamask/providers
andwebextension-polyfill
peer dependencies are no longer required.
- Use new
@metamask/keyring-internal-api@^1.0.0
(#4695)- This package has been split out from the Keyring API. Its types are compatible with the
@metamask/keyring-api
package used previously.
- This package has been split out from the Keyring API. Its types are compatible with the
- Use new
@metamask/keyring-utils@^1.0.0
(#4695)
- Make implicit peer dependencies explicit (#4974)
- Add the following packages as peer dependencies of this package to satisfy peer dependency requirements from other dependencies:
@metamask/providers
^18.1.0
(required by@metamask/keyring-api
)webextension-polyfill
^0.10.0 || ^0.11.0 || ^0.12.0
(required by@metamask/providers
)
- These dependencies really should be present in projects that consume this package (e.g. MetaMask clients), and this change ensures that they now are.
- Furthermore, we are assuming that clients already use these dependencies, since otherwise it would be impossible to consume this package in its entirety or even create a working build. Hence, the addition of these peer dependencies is really a formality and should not be breaking.
- Add the following packages as peer dependencies of this package to satisfy peer dependency requirements from other dependencies:
- BREAKING: Bump
@metamask/keyring-api
from^8.1.3
to^10.1.0
(#4948)- If you are depending on
@metamask/providers
directly, you will need to upgrade to 18.1.0.
- If you are depending on
- Bump
@metamask/snaps-utils
from^4.3.6
to^8.3.0
(#4948) - Bump
@metamask/snaps-sdk
from^6.5.0
to^6.7.0
(#4948) - Bump
@metamask/snaps-controllers
from^9.7.0
to^9.10.0
(#4948) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
- Bump accounts related packages (#4713), (#4728)
- Those packages are now built slightly differently and are part of the accounts monorepo.
- Bump
@metamask/keyring-api
from^8.1.0
to^8.1.4
- Bump
@metamask/keyring-api
from^8.0.1
to^8.1.0
(#4594) - 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.
- Upgrade TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/base-controller
from^6.0.0
to^6.0.2
(#4517, #4544) - Bump
@metamask/chain-api
from^0.0.1
to^0.1.0
(#3645) - Bump
@metamask/keyring-api
from^8.0.0
to^8.0.1
(#3645) - Bump
@metamask/snaps-controllers
from^8.1.1
to^9.3.1
(#3645, #4547) - Bump
@metamask/snaps-sdk
from^4.2.0
to^6.1.1
(#3645, #4547) - Bump
@metamask/snaps-utils
from^7.4.0
to^7.8.1
(#3645, #4547) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#4516, #4529)
- Initial release