Skip to content

Releases: MetaMask/eth-json-rpc-middleware

7.0.1

26 Mar 21:51
3a89299
Compare
Choose a tag to compare

Fixed

  • blockTrackerInspectorMiddleware (#88)
    • Due to an error introduced in #68, this middleware would sometimes hang indefinitely.

7.0.0

26 Mar 00:39
4bf56fc
Compare
Choose a tag to compare

Added

  • TypeScript types (#68)

Changed

  • (BREAKING) Move middleware files to /src folder (#60)
  • (BREAKING) Convert all exports to named (#81)
  • Migrate to TypeScript (#68)
  • Replace url dependency with native URL global (#67)
  • Ask bundlers to ignore Node-specific depedencies in browser environments (#78, #84)
  • Removed various unused production dependencies (#10, #80)

Fixed

  • retryOnEmpty middleware error messages (#58)
    • They were referencing a different middleware.
  • Default unrecognized methods to never be cached (#66)
  • Only publish necessary files (#70)
  • Robustify providerFromEngine callback parameter validation (#76)
    • Previously, it only errored if the parameter was falsy. Now, it will error if it is not a function.
    • Passing the previous implementation a truthy, non-function value would cause fatal downstream errors.
  • Prevent caching unrecognized requests (#75)
    • Previously, nonsense values were sometimes cached, resulting in an ugly state and possibly a minor performance penalty.

Removed

  • (BREAKING) Parity middleware (#63)
    • Previously imported as eth-json-rpc-middleware/wallet-parity.js
  • (BREAKING) Scaffold middleware (#60)
    • This was just a re-export from json-rpc-engine.

v6.0.0

23 Sep 00:45
0715b38
Compare
Choose a tag to compare
  • Breaking: Delete VM middleware (#56)
    • Previously available for import via eth-json-rpc-middleware/vm.js

v5.1.0

23 Sep 00:00
4f2afef
Compare
Choose a tag to compare
5.1.0 (#54)

* 5.1.0

* Add changelog