Skip to content

Releases: MetaMask/eth-json-rpc-middleware

15.0.0

17 Oct 08:38
5a67386
Compare
Choose a tag to compare

Changed

  • BREAKING: Update @metamask/rpc-errors from ^6.3.1 to ^7.0.0 (#342)
  • BREAKING: Update @metamask/json-rpc-engine from ^9.0.2 to ^10.0.0 (#342)
  • Bump @metamask/eth-json-rpc-provider from ^4.1.1 to ^4.1.5 (#342)

Removed

  • BREAKING: Remove eth_sign support (#320)
    • The functions ethSign and processEthSignMessage have been removed

v14.0.2

02 Oct 13:22
48218dc
Compare
Choose a tag to compare

Fixed

  • Allow the string "cosmos" in the "verifyingContract" field of EIP-712 signatures (#333)
    • This change was made to support Ethermint's EIP-712 implementation, which was broken by validation added in v14.0.0

14.0.1

04 Sep 17:56
7bce6e8
Compare
Choose a tag to compare

Fixed

  • Request validation should not throw if verifyingContract is not defined in typed signature (#328)

14.0.0

24 Jul 14:03
b418bf3
Compare
Choose a tag to compare

Changed

  • BREAKING: Adapt to EIP-1193 provider changes by replacing the deprecated sendAsync method with the request method (#317)
    • BREAKING: Refactor providerAsMiddleware and middleware functions retryOnEmpty, block-ref to use the request method.
  • Bump @metamask/eth-block-tracker from ^10.0.0 to ^11.0.1 (#323)
  • Bump @metamask/eth-json-rpc-provider from ^4.0.0 to ^4.1.1 (#323, #317)
  • Bump @metamask/eth-sig-util from ^7.0.0 to ^7.0.3 (#323)
  • Bump @metamask/json-rpc-engine from ^9.0.0 to ^9.0.2 (#323)
  • Bump @metamask/rpc-errors from ^6.0.0 to ^6.3.1 (#323)
  • Bump @metamask/utils from ^8.1.0 to ^9.1.0 (#323)

13.0.0

16 Jul 23:53
51fbd6c
Compare
Choose a tag to compare

Changed

  • BREAKING: Drop support for Node.js v16; add support for Node.js v20, v22 (#312)
  • Update @metamask/eth-json-rpc-provider from ^3.0.2 to ^4.0.0 (#313)
  • Update @metamask/eth-block-tracker from ^9.0.3 to ^10.0.0 (#313)
  • Update @metamask/json-rpc-engine from ^8.0.2 to ^9.0.0 (#313)

12.1.2

11 Jun 22:03
de7c0b2
Compare
Choose a tag to compare

Fixed

  • Update @metamask/eth-block-tracker from ^9.0.2 to ^9.0.3 (#306)
    • Use updated versions of @metamask/eth-json-rpc-engine and @metamask/eth-json-rpc-provider
  • Update @metamask/eth-json-rpc-provider from ^2.1.0 to ^3.0.2 (#306)
    • Use updated version of @metamask/eth-json-rpc-engine
  • Update @metamask/json-rpc-engine from ^7.1.1 to ^8.0.2 (#306)
    • Maintenance updates

12.1.1

27 May 10:05
51ae27d
Compare
Choose a tag to compare

Fixed

  • Update from eth-block-tracker@^8.0.0 to @metamask/eth-block-tracker@^9.0.2 (#303)
    • Mitigates polling-loop related concurrency issue in the block tracker.

12.1.0

22 Jan 21:28
ccfdcaa
Compare
Choose a tag to compare

Added

  • Add signatureMethod property to MessageParams (#273)
  • Add version property to eth_signTypedData message params (#282)

Changed

  • Update message types (#282)

12.0.1

06 Nov 16:50
4c7d63e
Compare
Choose a tag to compare

Changed

  • Bump @metamask/json-rpc-engine from 7.1.1 to 7.2.0 (#256)
  • Bump @metamask/utils from 8.1.0 to 8.2.0 (#258)
  • Bump @metamask/rpc-errors from 6.0.0 to 6.1.0 (#253)
  • Bump @metamask/eth-json-rpc-provider from 2.1.0 to 2.2.0 (#252)
  • Update retryOnEmpty middleware to not retry "execution reverted" errors (#254)

Fixed

  • Fix signTransaction and sendTransaction so it preserves transaction data instead of overwriting it (#263)

12.0.0

25 Sep 09:02
cfb5350
Compare
Choose a tag to compare

Changed

  • BREAKING: Minimum Node.js version is now v16 (#243)
  • BREAKING: Bump @metamask/utils from ^5.0.2 to ^8.1.0 (#241)
  • BREAKING: Bump @metamask/eth-json-rpc-provider from ^1.0.0 to ^2.1.0 (#245)
  • BREAKING: Migrate from eth-rpc-errors ^4.0.3 to @metamask/rpc-errors ^6.0.0 (#245)
  • BREAKING: Migrate from json-rpc-engine ^6.1.0 to @metamask/json-rpc-engine ^7.1.1 (#245)
  • Bump @metamask/eth-sig-util from ^6.0.0 to ^7.0.0 (#248)
  • Bump @metamask/eth-block-tracker from ^7.0.1 to ^8.0.0 (#245)
  • Replace deep-cloning implemantation clone with klona/full(#250)