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.
signTransaction
andprivateKeyToAccount
will throwTransactionSigningError
instead ofSignerError
now (#5462)
- These types were moved to
web3-types
package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581)
- Updated dependencies (#5725)
tsc
compiled files moved tolib/
directory fromdist/
(#5739)
- web3.js dependencies (#5757)
- Updated dependencies (#5912)
- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
- Moved @ethereumjs/tx, @ethereumjs/common code to our source code (#5963)
- The method
signTransaction
returned byprivateKeyToAccount
is now accepting the typeTransaction
for its argument. (#5993)
- Fixed ESM import bugs reported in (#6032) and (#6034)
- Replaced
Buffer
forUint8Array
(#6004) - The methods
recover
,encrypt
,privateKeyToAddress
does not support typeBuffer
but supports typeUint8Array
(#6004) - The method
parseAndValidatePrivateKey
returns a typeUint8Array
instead of typeBuffer
(#6004)
Release Notes:
Detailed List of change logs are mentioned under previous 4.x alpha and RC releases.
Documentation: Web3.js documentation Web3 API Migration Guide from 1.x
- Fixed "The
r
ands
returned bysignTransaction
to does not always consist of 64 characters #6207" (#6216)
- Dependencies updated
- Dependencies updated
- Dependencies updated
- Fixed "The
r
ands
returned bysign
to does not always consist of 64 characters" (#6411)
- Added public function
privateKeyToPublicKey
- Added exporting
BaseTransaction
from the package (#6493) - Added exporting
txUtils
from the package (#6493)
- Fixed
recover
function,v
will be normalized to value 0,1 (#6344)
- Send Transaction config used to be ignored if the passed
common
did not have acopy()
and thechainId
was not provided (#6663) - Fixed an issue with detecting Uint8Array (#6486)
- Dependencies updated
- baseTransaction method updated (#7095)
- Added public function
signMessageWithPrivateKey
(#7174)
- Fix
TransactionFactory.registerTransactionType
not working, if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
by savingextraTxTypes
atglobals
. (#7197)
- Revert
TransactionFactory.registerTransactionType
if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
and fix nextjs problem. (#7216)