Skip to content

Latest commit

 

History

History
206 lines (133 loc) · 9.52 KB

CHANGELOG.md

File metadata and controls

206 lines (133 loc) · 9.52 KB

Changelog

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.

Changed

  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.2 (#5082)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors from ^7.0.0 to ^7.0.2 (#5080)

Changed

  • Bump @metamask/utils from ^9.1.0 to ^10.0.0 (#4831)
  • Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0 (#4769)

Fixed

  • Bump @metamask/json-rpc-engine to ^10.0.0 (#4798)

Fixed

  • 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 in package.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.
  • 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.

Changed

  • Bump typescript from ~5.0.4 to ~5.2.2 (#4576, #4584)

Fixed

  • Fix SafeEventEmitterProvider invalid default params (#4603)

Changed

  • Upgrade TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/json-rpc-engine from ^9.0.1 to ^9.0.2 (#4544)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

Changed

  • Bump @metamask/json-rpc-engine to ^9.0.1 (#4517)
  • Bump @metamask/rpc-errors to ^6.3.1 (#4516)
  • Bump @metamask/utils to ^9.0.0 (#4516)

Added

  • Make SafeEventEmitterProvider EIP-1193 compatible by adding a request method (#4422)
    • Now SafeEventEmitterProvider is compatible with @metamask/eth-query, @metamask/ethjs-query, BrowserProvider from Ethers v6 and Web3Provider from Ethers v5

Deprecated

  • Mark sendAsync method as deprecated in favor of request method (#4422)

Changed

  • BREAKING: Bump minimum Node version to 18.18 (#3611)
  • Bump @metamask/json-rpc-engine to ^9.0.0 (#4352)

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4234)

Fixed

  • Fix types field in package.json (#4047)

Added

  • BREAKING: Add ESM build (#3998)
    • It's no longer possible to import files from ./dist directly.

Changed

  • Bump @metamask/json-rpc-engine to ^8.0.0 (#4039)

Changed

  • Bump @metamask/utils to ^8.3.0 (#3769)
  • Bump @metamask/json-rpc-engine to ^7.3.2 (#3821)

Changed

  • Bump @metamask/json-rpc-engine to ^7.3.1 (#3695)

Added

  • Migrate @metamask/eth-json-rpc-provider into the core monorepo (#1738)

Changed

  • Export SafeEventEmitterProvider as class instead of type (#1738)
  • Bump @metamask/json-rpc-engine from ^7.1.0 to ^7.2.0 (#1895)
  • Bump @metamask/utils from ^8.1.0 to ^8.2.0 (#1895)
  • Bump @metamask/auto-changelog from ^3.2.0 to ^3.4.3 (#1870, #1905, #1997)

Changed

  • Add missing ISC license information (#24)

Changed

  • Bump @metamask/json-rpc-engine from ^7.0.0 to ^7.1.0 (#25)
  • Bump @metamask/utils from ^5.0.1 to ^8.1.0 (#25)

Fixed

  • BREAKING: Update minimum Node.js version to 16 (#20)
  • Switched json-rpc-engine@^6.1.0 -> @metamask/json-rpc-engine@^7.0.0 (#16)
    • BREAKING: Typescript type updates
  • Updated dependencies: (#16)

Release v2.0.0 is identical to v1.0.1 aside from Node.js version requirement imposed by a dependency updates has been made explicit.

1.0.1 [RETRACTED]

Changed

  • BREAKING: Update minimum Node.js version to 16 (#20)
  • Switched json-rpc-engine@^6.1.0 -> @metamask/json-rpc-engine@^7.0.0 (#16)
    • BREAKING: Typescript type updates
  • Updated dependencies: (#16)

Added

  • Initial release, including providerFromEngine and providerFromMiddleware.