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.
[4.0.1-alpha.1]
Changed
signTransaction
andprivateKeyToAccount
will throwTransactionSigningError
instead ofSignerError
now (#5462)
[4.0.1-alpha.2]
Removed
- These types were moved to
web3-types
package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581)
[4.0.1-alpha.3]
Changed
- Updated dependencies (#5725)
[4.0.1-alpha.4]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)
[4.0.1-alpha.5]
Changed
- web3.js dependencies (#5757)
[4.0.1-rc.0]
Changed
- Updated dependencies (#5912)
[4.0.1-rc.1]
Added
- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
Changed
- 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)
[4.0.1-rc.2]
Fixed
- Fixed ESM import bugs reported in (#6032) and (#6034)
Changed
- 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)
[4.0.1]
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
[4.0.2]
Fixed
- Fixed "The
r
ands
returned bysignTransaction
to does not always consist of 64 characters #6207" (#6216)
[4.0.3]
Changed
- Dependencies updated
[4.0.4]
Changed
- Dependencies updated
[4.0.5]
Changed
- Dependencies updated
[4.0.6]
Fixed
- Fixed "The
r
ands
returned bysign
to does not always consist of 64 characters" (#6411)
[4.1.0]
Added
- Added public function
privateKeyToPublicKey
- Added exporting
BaseTransaction
from the package (#6493) - Added exporting
txUtils
from the package (#6493)
Fixed
- Fixed
recover
function,v
will be normalized to value 0,1 (#6344)
[4.1.1]
Fixed
- 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)
[4.1.2]
Changed
- Dependencies updated
[4.1.3]
Changed
- baseTransaction method updated (#7095)
[4.2.0]
Added
- Added public function
signMessageWithPrivateKey
(#7174)
Fixed
- Fix
TransactionFactory.registerTransactionType
not working, if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
by savingextraTxTypes
atglobals
. (#7197)
[4.2.1]
Fixed
- Revert
TransactionFactory.registerTransactionType
if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
and fix nextjs problem. (#7216)
[4.3.0]
Added
hashMessage
now has a new optional paramskipPrefix
with a default value offalse
. A new functionsignRaw
was added to sign a message without prefix. (#7346)
[Unreleased]
Removed
- Move signature related types to web3-types. Re-export them for backwards compatibility. (#7374)