Releases: MetaMask/core
Releases · MetaMask/core
221.0.0
@metamask/message-manager 11.0.0
Removed
- Remove all code related to
@metamask/signature-controller
(#4785)- Remove
TypedMessageManager
. - Remove
PersonalMessageManager
. - Remove utils:
validateSignMessageData
validateTypedSignMessageDataV1
validateTypedSignMessageDataV3V4
- Remove
@metamask/signature-controller 20.0.0
Added
- Remove usage of
@metamask/message-manager
package (#4785)- Add
signatureRequests
object to state to include all messages with all types and statuses. - Add optional
state
option to constructor to provide initial state. - Add equivalent types formerly in
@metamask/message-manager
:OriginalRequest
TypedSigningOptions
MessageParams
MessageParamsPersonal
MessageParamsTyped
SignatureRequest
SignatureRequestStatus
SignatureRequestType
- Add
Changed
- Remove usage of
@metamask/message-manager
package (#4785)- BREAKING Change
type
property in message state to enum values rather thanstring
. - Deprecate the following state since the same data can be derived from
signatureRequests
:unapprovedPersonalMsgs
unapprovedTypedMessages
unapprovedPersonalMsgCount
unapprovedTypedMessagesCount
- Deprecate the following properties since the same data can be derived from the state:
unapprovedPersonalMessagesCount
unapprovedTypedMessagesCount
messages
- Deprecate the following constructor options since they are no longer used:
getAllState
securityProviderRequest
- BREAKING Change
@metamask/transaction-controller 37.3.0
Added
- Add types for bridge transactions (#4714)
Changed
- Reduce gas limit fallback from 95% to 35% of the block gas limit on failed gas limit estimations (#4739)
Fixed
- Use contract ABIs to decode the token balance responses (#4775)
220.0.0
@metamask/eth-json-rpc-provider 4.1.5
Fixed
- Bump
@metamask/json-rpc-engine
to^10.0.0
(#4798)
@metamask/json-rpc-engine 10.0.0
Fixed
- BREAKING: Bump
@metamask/rpc-errors
from^6.3.1
to^7.0.0
(#4773)- This modifies the top-level error message for serialized internal JSON-RPC errors to include the actual error message, instead of the generic
Internal JSON-RPC Error.
string.
- This modifies the top-level error message for serialized internal JSON-RPC errors to include the actual error message, instead of the generic
@metamask/json-rpc-middleware-stream 8.0.4
Fixed
- Bump
@metamask/json-rpc-engine
to^10.0.0
(#4798)
219.0.0
@metamask/notification-services-controller 0.10.0
Added
- added the ability for the
fetchFeatureAnnouncementNotifications
function, within thenotification-services-controller
, to fetch draft content from Contentful. This is made possible by passing apreviewToken
parameter (#4790)
Changed
- update
createMockNotification
functions to provide more realistic data for use in tests and component rendering in Storybook (#4791)
218.0.0
@metamask/notification-services-controller 0.9.0
Added
- Add new functions to create mock notifications (#4780)
createMockNotificationAaveV3HealthFactor
: this function generates a mock notification related to the health factor of an Aave V3 positioncreateMockNotificationEnsExpiration
: this function creates a mock notification for the expiration of an ENS (Ethereum Name Service) domaincreateMockNotificationLidoStakingRewards
: this function produces a mock notification for Lido staking rewardscreateMockNotificationNotionalLoanExpiration
: this function generates a mock notification for the expiration of a Notional loancreateMockNotificationSparkFiHealthFactor
: This function produces a mock notification related to the health factor of a SparkFi position
217.0.0
216.0.0
215.0.0
214.0.0
213.0.0
212.0.0
@metamask/transaction-controller 37.2.0
Added
- Add optional
incomingTransactions.etherscanApiKeysByChainId
constructor property to support API keys in requests to Etherscan (#4748)