Skip to content

Latest commit

 

History

History
238 lines (153 loc) · 12.1 KB

File metadata and controls

238 lines (153 loc) · 12.1 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/keyring-api from ^23.0.1 to ^23.1.0 (#538)
  • Bump @metamask/keyring-sdk from ^2.0.1 to ^2.0.2 (#538)

Changed

  • Bump @metamask/keyring-api from ^23.0.0 to ^23.0.1 (#518)
  • Bump @metamask/keyring-sdk from ^2.0.0 to ^2.0.1 (#518)

Fixed

  • Workaround Browserify subpath export for /v2 (#516)

Added

  • Add ./v2 subpath export for keyring v2 implementation (#513)
    • SimpleKeyring and SimpleKeyringOptions are now available from @metamask/eth-simple-keyring/v2.

Changed

  • BREAKING: Move and rename SimpleKeyringV2 and SimpleKeyringV2Options to the new ./v2 subpath export (#513)
    • SimpleKeyringV2 is now SimpleKeyring from @metamask/eth-simple-keyring/v2.
    • SimpleKeyringV2Options is now SimpleKeyringOptions from @metamask/eth-simple-keyring/v2.
  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#483)
  • Bump @metamask/keyring-api from ^22.0.0 to ^23.0.0 (#515)
  • Bump @metamask/keyring-sdk from ^1.2.0 to ^2.0.0 (#515)

Changed

  • Bump @metamask/keyring-sdk from ^1.0.0 to ^1.1.0 (#509)
    • The account ID (generated by KeyringAccountRegistry) are now deterministic for EVM addresses.

Changed

  • Add missing exports for SimpleKeyringV2 and type SimpleKeyringV2Options (#498)
  • Bump @metamask/keyring-sdk from ^1.0.0 to ^1.1.0 (#496)

Added

  • Add SimpleKeyringV2 class implementing KeyringV2 interface (#409), (#410), (#413), (#451), (#478), (#482)
    • Add new dependency @metamask/keyring-api@22.0.0.
    • Add new dependency @metamask/keyring-sdk@1.0.0.
    • Wraps legacy SimpleKeyring to expose accounts via the unified KeyringV2 API and the KeyringAccount type.
    • Extends EthKeyringWrapper for common Ethereum logic.

Changed

  • Bump @metamask/utils from ^11.1.0 to ^11.10.0 (#489)

Changed

  • BREAKING: The method signature for signTypedData has been changed (#224)
    • The method now accepts a TypedDataV1 object when SignTypedDataVersion.V1 is passed in the options, and TypedMessage<Types> when other versions are requested.
    • The options argument type has been changed to { version: SignTypedDataVersion } | undefined.

Changed

  • BREAKING: The method signTransaction can now returns various type of transactions (#209)
    • Initially was supporting: Transaction | AccessListEIP2930Transaction | FeeMarketEIP1559Transaction (types from @ethereumjs/tx).
    • Now also supports BlobEIP4844Transaction | EOACodeEIP7702Transaction (types from @ethereumjs/tx).
  • BREAKING: Bump @ethereumjs/tx from ^4.2.0 to ^5.4.0 (#209)
  • BREAKING: Bump @ethereumjs/util from ^8.1.0 to ^9.1.0 (#209)

Changed

  • BREAKING: The SimpleKeyring class now implements Keyring from @metamask/keyring-utils (#217)
    • The deserialize method now requires a string[] argument.

Changed

  • Use ts-bridge/cli@0.6.3 (#214)
    • This new version fixes a bug regarding some missing exports.

Added

  • Add signEip7702Authorization method (#182)

Changed

  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to 8.2.0 (#177), (#134)
  • Bump @metamask/utils dependency from ^9.3.1 to 11.1.0 (#134), (#167)

Changed

  • Use ts-bridge/cli@0.6.1 (#118)
    • This new version fixes a bug with CJS re-exports.

Added

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

Changed

  • BREAKING: Bump @metamask/eth-sig-util dependency from ^7.0.3 to ^8.0.0 (#79)
    • signTypedData no longer support number for addresses, see here.
  • Use TypeScript 5 (#55)

Changed

  • Bump sinon and @types/sinon to latest versions (#51)
  • Add syncpack and sync dependencies (#53)

Changed

  • Bump @metamask/* and @lavamoat/* dependencies (#46)
  • Move deepmerge to devDependencies (#44)

Changed

  • Convert to monorepo
    • Package name does not change (@metamask/eth-simple-keyring) and sources have been moved to: packages/keyring-eth-simple.
    • You can find all the changes here.

Changed

  • Bump @metamask/utils from ^8.1.0 to ^9.0.0 (#177)

Fixed

  • Treat undefined and null as empty array in deserialize function (#163)

Changed

  • BREAKING: Increase minimum Node.js version to 16 (#152)
  • BREAKING: Bump @metamask/eth-sig-util from ^6.0.1 to ^7.0.0 (#156)
  • Bump @metamask/utils from ^5.0.0 to ^8.1.0 (#153)
  • Bump ethereum-cryptography from ^1.2.0 to ^2.1.2 (#153)

Fixed

  • Treat undefined and null as empty array in deserialize function (#166)

Changed

  • Export TypeScript interfaces (#140)
  • Update all dependencies (#140) (#149)

Fixed

  • Add validateMessage option to signMessage to configure if runtime-validation should be done that input string is hex (default: true) (#148)

Changed

  • BREAKING: Makes version-specific signTypedData methods private (#84)
    • Consumers should use the generic signTypedData method and pass the version they'd like as a property in the options argument.
  • BREAKING: Makes the wallets property private (#87)
    • Consumers should not use this property as it is intended for internal use only.
  • BREAKING: Makes getPrivateKeyFor a private method (#83)
    • Consumers who wish to get the private key for a given account should use the exportAccount method.
  • BREAKING: Set the minimum Node.js version to 14 (#68) (#109)
  • Always return rejected Promise upon failure (#85)

Removed

  • BREAKING: Remove redundant newGethSignMessage method (#72)
    • Consumers can use signPersonalMessage method as a replacement for newGethSignMessage.