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/accounts-controllerfrom^39.0.2to^39.0.4(#9231, #9349) - Bump
@metamask/gator-permissions-controllerfrom^4.2.1to^4.2.2(#9349) - Bump
@metamask/network-controllerfrom^33.0.0to^34.0.0(#9349)
- Bump
@metamask/utilsfrom^11.9.0to^11.11.0(#9074) - Bump
@metamask/controller-utilsfrom^12.1.1to^12.3.0(#9083, #9218) - Bump
@metamask/keyring-controllerfrom^27.0.0to^27.1.0(#9129) - Bump
@metamask/accounts-controllerfrom^39.0.1to^39.0.2(#9218) - Bump
@metamask/gator-permissions-controllerfrom^4.2.0to^4.2.1(#9218) - Bump
@metamask/network-controllerfrom^32.0.0to^33.0.0(#9218)
- Bump
@metamask/accounts-controllerfrom^39.0.0to^39.0.1(#9058) - Bump
@metamask/approval-controllerfrom^9.0.1to^9.0.2(#9058) - Bump
@metamask/controller-utilsfrom^12.1.0to^12.1.1(#9058) - Bump
@metamask/keyring-controllerfrom^26.0.0to^27.0.0(#9058)
- Bump
@metamask/accounts-controllerfrom^38.1.2to^39.0.0(#8999)
- Bump
@metamask/gator-permissions-controllerfrom^4.1.2to^4.2.0(#8867) - Bump
@metamask/keyring-controllerfrom^25.5.0to^26.0.0(#8912) - Bump
@metamask/accounts-controllerfrom^38.1.1to^38.1.2(#8912)
- Bump
@metamask/network-controllerfrom^31.0.0to^32.0.0(#8765, #8774) - Bump
@metamask/accounts-controllerfrom^38.1.0to^38.1.1(#8774) - Bump
@metamask/gator-permissions-controllerfrom^4.1.1to^4.1.2(#8774) - Bump
@metamask/controller-utilsfrom^12.0.0to^12.1.0(#8774)
- Bump
@metamask/accounts-controllerfrom^37.2.0to^38.1.0(#8665, #8755) - Bump
@metamask/messengerfrom^1.1.1to^1.2.0(#8632) - Bump
@metamask/keyring-controllerfrom^25.2.0to^25.5.0(#8634, #8665, #8722) - Bump
@metamask/network-controllerfrom^30.0.1to^31.0.0(#8636, #8755) - Bump
@metamask/gator-permissions-controllerfrom^4.0.0to^4.1.1(#8712, #8755) - Bump
@metamask/controller-utilsfrom^11.20.0to^12.0.0(#8755) - Bump
@metamask/logging-controllerfrom^8.0.1to^8.0.2(#8755)
- Bump
@metamask/accounts-controllerfrom^37.1.1to^37.2.0(#8363) - Bump
@metamask/gator-permissions-controllerfrom^3.0.0to^4.0.0(#8359, #8478) - Bump
@metamask/keyring-controllerfrom^25.1.1to^25.2.0(#8363) - Bump
@metamask/controller-utilsfrom^11.19.0to^11.20.0(#8344) - Bump
@metamask/messengerfrom^1.0.0to^1.1.1(#8364, #8373) - Bump
@metamask/base-controllerfrom^9.0.1to^9.1.0(#8457)
- Bump
@metamask/accounts-controllerfrom^37.1.0to^37.1.1(#8325) - Bump
@metamask/gator-permissions-controllerfrom^2.2.0to^3.0.0(#8325)
- Bump
@metamask/accounts-controllerfrom^37.0.0to^37.1.0(#8317) - Bump
@metamask/approval-controllerfrom^9.0.0to^9.0.1(#8317) - Bump
@metamask/base-controllerfrom^9.0.0to^9.0.1(#8317) - Bump
@metamask/gator-permissions-controllerfrom^2.1.1to^2.2.0(#8317) - Bump
@metamask/keyring-controllerfrom^25.1.0to^25.1.1(#8317) - Bump
@metamask/logging-controllerfrom^8.0.0to^8.0.1(#8317) - Bump
@metamask/messengerfrom^0.3.0to^1.0.0(#8317) - Bump
@metamask/network-controllerfrom^30.0.0to^30.0.1(#8317)
- Expose missing public
SignatureControllermethods through its messenger (#8183)- The following actions are now available:
SignatureController:resetStateSignatureController:rejectUnapprovedSignatureController:clearUnapprovedSignatureController:newUnsignedPersonalMessageSignatureController:newUnsignedTypedMessageSignatureController:setDeferredSignSuccessSignatureController:setMessageMetadataSignatureController:setDeferredSignErrorSignatureController:setTypedMessageInProgressSignatureController:setPersonalMessageInProgress
- Corresponding action types (e.g.
SignatureControllerResetStateAction) are available as well.
- The following actions are now available:
- Bump
@metamask/approval-controllerfrom^8.0.0to^9.0.0(#8225) - Bump
@metamask/logging-controllerfrom^7.0.1to^8.0.0(#8225) - Bump
@metamask/gator-permissions-controllerfrom^2.0.0to^2.1.1(#8156, #8225)
- Bump
@metamask/accounts-controllerfrom^36.0.1to37.0.0(#8140)
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
- Bump
@metamask/gator-permissions-controllerfrom^1.1.2to^2.0.0(#7946)
- Bump
@metamask/accounts-controllerfrom^35.0.2to^36.0.0(#7897) - Bump
@metamask/keyring-controllerfrom^25.0.0to^25.1.0(#7713) - Bump
@metamask/gator-permissions-controllerfrom^1.0.0to^1.1.2(#7682, #7739, #7767)
- Bump
@metamask/accounts-controllerfrom^35.0.1to^35.0.2(#7642) - Bump
@metamask/network-controllerfrom^28.0.0to^29.0.0(#7642)
- Bump
@metamask/gator-permissions-controllerfrom0.8.0to1.0.0(#7634)
- Upgrade
@metamask/utilsfrom^11.8.1to^11.9.0(#7511) - Bump
@metamask/network-controllerfrom^27.0.0to^28.0.0(#7534, #7583, #7604) - Bump
@metamask/controller-utilsfrom^11.16.0to^11.18.0(#7534, #7583) - Bump
@metamask/accounts-controllerfrom^35.0.0to^35.0.1(#7604)
- Bump
@metamask/gator-permissions-controllerfrom^0.6.0to^0.8.0, (#7274, #7330) - Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258)
- The dependencies moved are:
@metamask/accounts-controller(^35.0.0)@metamask/approval-controller(^8.0.0)@metamask/gator-permissions-controller(^0.6.0)@metamask/keyring-controller(^25.0.0)@metamask/logging-controller(^7.0.1)@metamask/network-controller(^27.0.0)
- In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
- For example, this scenario would be valid: a client relies on
@metamask/controller-a1.0.0 and@metamask/controller-b1.0.0, and@metamask/controller-bdepends on@metamask/controller-a1.1.0.
- For example, this scenario would be valid: a client relies on
- Note, however, that the versions specified in the client's
package.jsonalways "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
- The dependencies moved are:
- Bump
@metamask/controller-utilsfrom^11.15.0to^11.16.0(#7202) - BREAKING: Bump
@metamask/network-controllerfrom^25.0.0to^26.0.0(#7202) - BREAKING: Bump
@metamask/keyring-controllerfrom^24.0.0to^25.0.0(#7202) - BREAKING: Bump
@metamask/gator-permissions-controllerfrom^0.5.0to^0.6.0(#7202) - BREAKING: Bump
@metamask/accounts-controllerfrom^34.0.0to^35.0.0(#7202) - Permit string
idvalues inOriginalRequesttype (#7065)- Previously, only number values were permitted for the
idproperty.
- Previously, only number values were permitted for the
- BREAKING: Bump peer dependency
@metamask/gator-permissions-controllerfrom^0.3.0to^0.4.0(#7057)
- BREAKING: Use new
Messengerfrom@metamask/messenger(#6496)- Previously,
SignatureControlleraccepted aRestrictedMessengerinstance from@metamask/base-controller.
- Previously,
- BREAKING: Metadata property
anonymousrenamed toincludeInDebugSnapshot(#6496) - BREAKING: Bump
@metamask/accounts-controllerfrom^33.0.0to^34.0.0(#6962) - BREAKING: Bump
@metamask/approval-controllerfrom^7.0.0to^8.0.0(#6962) - BREAKING: Bump
@metamask/gator-permissions-controllerfrom^0.2.0to^0.3.0(#6962) - BREAKING: Bump
@metamask/keyring-controllerfrom^23.0.0to^24.0.0(#6962) - BREAKING: Bump
@metamask/loggin-controllerfrom^6.0.0to^7.0.0(#6962) - BREAKING: Bump
@metamask/network-controllerfrom^24.0.0to^25.0.0(#6962) - Bump
@metamask/base-controllerfrom^8.4.2to^9.0.0(#6962)
- Bump
@metamask/base-controllerfrom^8.4.1to^8.4.2(#6917) - Bump
@metamask/network-controllerfrom^24.2.2to^24.3.0(#6883)
- Bump
@metamask/utilsfrom^11.8.0to^11.8.1(#6708) - Bump
@metamask/base-controllerfrom^8.4.0to^8.4.1(#6807) - Bump
@metamask/controller-utilsfrom^11.14.0to^11.14.1(#6807)
- Add two new controller state metadata properties:
includeInStateLogsandusedInUi(#6473) - BREAKING: Decode delegation permissions using
@metamask/gator-permissions-controllerwhen callingnewUnsignedTypedMessage, adds@metamask/gator-permissions-controlleras a peer dependency. (#6619)
- Bump
@metamask/controller-utilsfrom^11.12.0to^11.14.0(#6620, #6629) - Bump
@metamask/base-controllerfrom^8.1.0to^8.4.0(#6355, #6465, #6632) - Bump
@metamask/utilsfrom^11.4.2to^11.8.0(#6588) - Bump
@metamask/network-controllerfrom^24.1.0to^24.2.0(#6678) - Bump
@metamask/keyring-controllerfrom^23.0.0to^23.1.0(#6590) - Bump
@metamask/accounts-controllerfrom^33.0.0to^33.1.0(#6572)
- BREAKING: Bump peer dependency
@metamask/accounts-controllerfrom^32.0.0to^33.0.0(#6345) - BREAKING: Bump peer dependency
@metamask/keyring-controllerfrom^22.0.0to^23.0.0(#6345) - Bump
@metamask/base-controllerfrom^8.0.1to^8.1.0(#6284) - Bump
@metamask/controller-utilsfrom^11.11.0to^11.12.0(#6303)
- BREAKING: Bump peer dependency
@metamask/accounts-controllerto^32.0.0(#6171)
- Bump
@metamask/controller-utilsfrom^11.10.0to^11.11.0(#6069)- This upgrade includes performance improvements to checksum hex address normalization
- Bump
@metamask/utilsfrom^11.2.0to^11.4.2(#6054)
- BREAKING: Bump peer dependency
@metamask/accounts-controllerto^31.0.0(#5999) - BREAKING: Bump peer dependency
@metamask/network-controllerto^24.0.0(#5999) - Bump
@metamask/controller-utilsto^11.10.0(#5935)
- BREAKING: bump
@metamask/accounts-controllerpeer dependency to^30.0.0(#5888) - Bump
@metamask/controller-utilsto^11.9.0(#5812)
- BREAKING: bump
@metamask/keyring-controllerpeer dependency to^22.0.0(#5802) - BREAKING: bump
@metamask/accounts-controllerpeer dependency to^29.0.0(#5802) - Bump
@metamask/controller-utilsto^11.8.0(#5765)
- BREAKING: Bump peer dependency
@metamask/accounts-controllerto^28.0.0(#5763) - Bump
@metamask/base-controllerfrom ^8.0.0 to ^8.0.1 (#5722)
- Bump
@metamask/controller-utilsto^11.7.0(#5583)
- Stop throwing an error if
verifyingContractfield in EIP712 payloads is undefined or not a string (#5595)
- BREAKING: Bump peer dependency
@metamask/accounts-controllerto^27.0.0(#5507) - BREAKING: Bump peer dependency
@metamask/network-controllerto^23.0.0(#5507)
- BREAKING: Add peer dependency on
^26.0.0of@metamask/accounts-controller(#5470) - Add EIP-7702 signature validations (#5470)
- Throw if external and
verifyingContractmatches any internal account. - Throw if external and
primaryTypeisDelegationanddelegatormatches any internal EOA account.
- Throw if external and
- Bump
@metamask/accounts-controllerpeer dependency to^26.1.0(#5481)
- BREAKING: Bump
@metamask/keyring-controllerpeer dependency to^21.0.0(#5439)
- BREAKING: Bump
@metamask/keyring-controllerpeer dependency to^20.0.0(#5426) - Bump
@metamask/utilsfrom^11.1.0to^11.2.0(#5301)
- 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^11.0.1to^11.1.0(#5223)
- Bump
@metamask/utilsto^11.0.1and@metamask/rpc-errorsto^7.0.2(#5080) - Bump
@metamask/keyring-controllerfrom19.0.1to19.0.2(#5058) - Bump
@metamask/network-controllerfrom22.1.0to^22.1.1(#5038) - Bump
@metamask/base-controllerfrom^7.0.0to^7.1.0(#5079)
- Align signature request and message params ID (#5102)
- fix: Fixes in signature decoding functionality (#5028)
- fix: signature decoding api should be called for typed sign V3 also (#5033)
- fix: Revert
eth-sig-utilpackage (#5027) - fix: Update
jsonschemaversion ð-sig-util(#4998)
- Bump
@metamask/controller-utilsfrom^11.4.3to^11.4.4(#5012)
- Correct ESM-compatible build so that imports of the following packages that re-export other modules via
export *are no longer corrupted: (#5011)@metamask/eth-sig-util
- BREAKING: Bump
@metamask/keyring-controllerpeer dependency from^18.0.0to^19.0.0(#4956)
- BREAKING: Bump
@metamask/keyring-controllerpeer dependency from^17.0.0to^18.0.0(#4915) - Bump
@metamask/controller-utilsfrom^11.4.2to^11.4.3(#4915)
- Add
isDecodeSignatureRequestEnabledconstructor callback to determine if decoding API should be used (#4903) - Add
decodingApiUrlconstructor property to specify URL of API to provide additional decoding data. (#4855)
- Add
chainIdandnetworkClientIdtoSignatureRequestandLegacyStateMessagetypes (#4797) - Add
networkClientIdtoOriginalRequesttype (#4797)
- BREAKING: Make
requestargument required innewUnsignedPersonalMessageandnewUnsignedTypedMessagemethods (#4797) - Throw if no
networkClientIdinrequestor if chain ID cannot be determined (#4797) - Bump
@metamask/approval-controllerfrom^7.1.0to^7.1.1(#4862) - Bump
@metamask/controller-utilsfrom^11.4.0to^11.4.1(#4862) - Bump
@metamask/base-controllerfrom7.0.1to^7.0.2(#4862) - Bump
@metamask/utilsfrom^9.1.0to^10.0.0(#4831) - Bump
@metamask/controller-utilsfrom^11.3.0to^11.4.0(#4834)
- Remove
getCurrentChainIdandgetAllStatecallbacks from constructor options (#4797)
- Add additional properties to message parameter types (#4822)
- Add
metamaskIdtoMessageParams. - Add
versiontoMessageParamsTyped.
- Add
- Update required arguments in methods (#4822)
- Make
requestargument optional innewUnsignedPersonalMessageandnewUnsignedTypedMessage. - Make
signingOptionsargument optional innewUnsignedTypedMessage.
- Make
- Bump
eth-sig-utilfrom^7.0.1to^8.0.0(#4830) - Bump
@metamask/keyring-controllerfrom^17.2.2to^17.3.0(#4643)
- Remove usage of
@metamask/message-managerpackage (#4785)- Add
signatureRequestsobject to state to include all messages with all types and statuses. - Add optional
stateoption to constructor to provide initial state. - Add equivalent types formerly in
@metamask/message-manager:OriginalRequestTypedSigningOptionsMessageParamsMessageParamsPersonalMessageParamsTypedSignatureRequestSignatureRequestStatusSignatureRequestType
- Add
- Remove usage of
@metamask/message-managerpackage (#4785)- BREAKING Change
typeproperty in message state to enum values rather thanstring. - Deprecate the following state since the same data can be derived from
signatureRequests:unapprovedPersonalMsgsunapprovedTypedMessagesunapprovedPersonalMsgCountunapprovedTypedMessagesCount
- Deprecate the following properties since the same data can be derived from the state:
unapprovedPersonalMessagesCountunapprovedTypedMessagesCountmessages
- Deprecate the following constructor options since they are no longer used:
getAllStatesecurityProviderRequest
- BREAKING Change
- Add initial tracing to
SignatureController(#4655)- Adds an optional
tracecallback to the constructor, and an optionaltraceContextoption to thenewUnsignedTypedMessageandnewUnsignedPersonalMessagemethods.
- Adds an optional
- 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 dependency and peerDependency
@metamask/logging-controllerfrom^5.0.0to^6.0.0(#4643) - Bump
@metamask/base-controllerfrom^6.0.2to^7.0.0(#4625, #4643) - Bump
@metamask/message-managerfrom^10.0.2to^10.0.3(#4643) - Bump
typescriptfrom~5.0.4to~5.2.2(#4576, #4584)
- Throw exact error provided by client on rejection (#4610)
- Upgrade TypeScript version to
~5.2.2(#4584) - Upgrade TypeScript version to
~5.1.6(#4576)
- Remove
@metamask/rpc-errorsdependency (#4610)
- Remove
@metamask/approval-controller,@metamask/keyring-controller, and@metamask/logging-controllerdependencies #4556- These were listed under
peerDependenciesalready, so they were redundant as dependencies.
- These were listed under
- Upgrade TypeScript version to
~5.0.4and setmoduleResolutionoption toNode16(#3645) - Bump
@metamask/base-controllerfrom^6.0.0to^6.0.2(#4517, #4544) - Bump
@metamask/controller-utilsfrom^11.0.0to^11.0.2(#4517, #4544) - Bump
@metamask/message-managerfrom^10.0.0to^10.0.2(#4527, #4548) - Bump
@metamask/rpc-errorsfrom^6.2.1to^6.3.1(#4516) - Bump
@metamask/utilsfrom^8.3.0to^9.1.0(#4516, #4529)
- BREAKING: Bump minimum Node version to 18.18 (#3611)
- BREAKING: Bump dependency and peer dependency
@metamask/approval-controllerto^7.0.0(#4352) - BREAKING: Bump dependency and peer dependency
@metamask/keyring-controllerto^17.0.0(#4352) - BREAKING: Bump dependency and peer dependency
@metamask/logging-controllerto^5.0.0(#4352) - Bump
@metamask/base-controllerto^6.0.0(#4352) - Bump
@metamask/controller-utilsto^11.0.0(#4352) - Bump
@metamask/message-managerto^10.0.0(#4352)
- BREAKING: Update
messagesgetter to returnRecord<string, PersonalMessage | TypedMessage>instead ofRecord<string, Message | PersonalMessage | TypedMessage>(#4319) - BREAKING Bump
@metamask/keyring-controllerpeer dependency to^16.1.0(#4342) - BREAKING Bump
@metamask/logging-controllerpeer dependency to^4.0.0(#4342) - Bump
@metamask/controller-utilsto^10.0.0(#4342) - Bump
@metamask/message-managerto^9.0.0(#4342)
- BREAKING: Remove state properties
unapprovedMsgsandunapprovedMsgCount(#4319)- These properties were related to handling of the
eth_signRPC method, but support for that is being removed, so these are no longer needed.
- These properties were related to handling of the
- BREAKING: Remove
isEthSignEnabledoption from constructor (#4319)- This option governed whether handling of the
eth_signRPC method was enabled, but support for that method is being removed, so this is no longer needed.
- This option governed whether handling of the
- BREAKING: Remove
newUnsignedMessagemethod (#4319)- This method was called when a dapp used the
eth_signRPC method, but support for that method is being removed, so this is no longer needed.
- This method was called when a dapp used the
- BREAKING Bump
@metamask/keyring-controllerpeer dependency to ^16.0.0 (#4234) - Bump
@metamask/base-controllerto^5.0.2(#4232) - Bump
@metamask/approval-controllerto^6.0.2(#4234) - Bump
@metamask/message-managerto^8.0.2(#4234)
- BREAKING Bump peer dependency on
@metamask/keyring-controllerto^15.0.0(#4090)
- 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
- BREAKING: Bump dependency and peer dependency on
@metamask/approval-controllerto^6.0.0(#4039) - BREAKING: Bump
@metamask/base-controllerto^5.0.0(#4039)- This version has a number of breaking changes. See the changelog for more.
- BREAKING: Bump dependency and peer dependency on
@metamask/keyring-controllerto^14.0.0(#4039) - BREAKING: Bump dependency and peer dependency on
@metamask/logging-controllerto^3.0.0(#4039) - Bump
@metamask/controller-utilsto^9.0.0(#4039) - Bump
@metamask/message-managerto^8.0.0(#4039)
- BREAKING: Bump
@metamask/keyring-controllerdependency and peer dependency to^13.0.0(#4007) - Bump
@metamask/approval-controllerto^5.1.3(#4007) - Bump
@metamask/controller-utilsto^8.0.4(#4007) - Bump
@metamask/logging-controllerto^2.0.3(#4007) - Bump
@metamask/message-managerto^7.3.9(#4007) - Bump
@metamask/rpc-errorsto^6.2.1(#3954) - Remove dependency
ethereumjs-util(#3943)
- BREAKING: Bump
@metamask/approval-controllerpeer dependency to^5.1.2(#3821) - BREAKING: Bump
@metamask/keyring-controllerpeer dependency to^12.2.0(#3821) - BREAKING: Bump
@metamask/logging-controllerpeer dependency to^2.0.2(#3821) - Bump
@metamask/base-controllerto^4.1.1(#3821) - Bump
@metamask/controller-utilsto^8.0.2(#3821) - Bump
@metamask/message-managerto^7.3.8(#3821)
- BREAKING: Bump
@metamask/keyring-controllerto ^12.1.0 - Bump
@metamask/utilsto^8.3.0(#3769)
- Fix
stateChangesubscriptions with selectors (#3702)
- BREAKING: Bump
@metamask/keyring-controllerto ^12.0.0
- BREAKING: Bump
@metamask/approval-controllerdependency and peer dependency from^5.0.0to^5.1.1(#3695, #3680) - BREAKING: Bump
@metamask/keyring-controllerdependency and peer dependency from^10.0.0to^11.0.0(#3695) - BREAKING: Bump
@metamask/logging-controllerdependency and peer dependency from^2.0.0to^2.0.1(#3695) - Bump
@metamask/base-controllerto^4.0.1(#3695) - Bump
@metamask/controller-utilsto^8.0.1(#3695, #3678, #3667, #3580) - Bump
@metamask/message-managerto^7.3.7(#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/approval-controllerto ^5.0.0 (#2063) - Bump
@metamask/controller-utilsto ^6.0.0 (#2063) - Bump
@metamask/keyring-controllerto ^10.0.0 (#2063) - Bump
@metamask/logging-controllerto ^2.0.0 (#2063) - Bump
@metamask/message-managerto ^7.3.6 (#2063)
- BREAKING: Add
@metamask/keyring-controlleras a dependency and peer dependency- This was relied upon by past versions, but this was not reflected in the package manifest until now
- Bump @metamask/utils from 8.1.0 to 8.2.0 (#1957)
- Move from
eth-rpc-errors^4.0.2 to@metamask/rpc-errors^6.1.0 (#1653) - Bump dependency and peer dependency on
@metamask/approval-controllerto ^4.0.1 - Bump dependency and peer dependency on
@metamask/logging-controllerto ^1.0.4
- Bump dependency on
@metamask/utilsto ^8.1.0 (#1639) - Bump dependency and peer dependency on
@metamask/approval-controllerto ^4.0.0 - Bump dependency on
@metamask/base-controllerto ^3.2.3 - Bump dependency on
@metamask/controller-utilsto 5.0.2 - Bump dependency on
@metamask/message-managerto ^7.3.5
- Update TypeScript to v4.8.x (#1718)
- Add
LoggingControllerlogs on signature operation stages (#1692) - Bump dependency on
@metamask/controller-utilsto ^5.0.0 - Bump dependency on
@metamask/keyring-controllerto ^8.0.0 - Bump dependency on
@metamask/logging-controllerto ^1.0.2 - Bump dependency on
@metamask/message-managerto ^7.3.3
- BREAKING: Removed
keyringControllerproperty from constructor option (#1593)
- Bump dependency and peer dependency on
@metamask/approval-controllerto ^3.5.1 - Bump dependency on
@metamask/base-controllerto ^3.2.1 - Bump dependency on
@metamask/controller-utilsto ^4.3.2 - Bump dependency on
@metamask/message-managerto ^7.3.1
- Add new methods
setDeferredSignSuccessandsetDeferredSignError(#1506)
- Update
@metamask/utilsto^6.2.0(#1514)
- Add
messagesgetter that returns all messages (#1469) - Add
setMessageMetadatamethod for customizing the metadata for an individual message (#1469)
- Report approval success using result callbacks (#1458)
- BREAKING Add sign version to approval message in Signature Controller (#1440)
- Method
newUnsignedTypedMessageon the SignatureController now requires a fourth argument:signingOpts - Method
signMessageon the SignatureController no longer expects aversionas a second argument. The second argument is nowsigningOptswhich was previously the third argument.
- Method
- Remove optional parameter from newUnsignedTypedMessage function (#1436)
- BREAKING:
newUnsignedXMessagemiddlewares now creates and awaits approvals itself. (#1377)
- BREAKING: Removed
cancelXMessageandsignXMessagefrom public API. (#1377)
- Add support for deferred signing (#1364)
- If the parameter
deferSetAsSignedis set, the message won't be set as signed when the keyring is asked to sign it
- If the parameter
- Emit the event
${methodName}:signedwhen the keying is asked to sign a message (#1364) - Add methods
setTypedMessageInProgressandsetPersonalMessageInProgressto set a message status toinProgress(#1339)
- BREAKING: The constructor option
getCurrentChainIdnow expects aHexreturn value rather thanstring(#1367) - BREAKING: Update
@metamask/approval-controllerdependency and add it as a peer dependency (#1393) - Add
@metamask/utilsdependency (#1367)
- BREAKING: Add
getCurrentChainIdargument to constructor (#1350)
- Initial release (#1214)