Releases: web3/web3.js
Releases · web3/web3.js
v4.15.0
What's Changed
- Intermediate dApp Guide by @danforbes in #7334
- fix: ensure contractInstance.subscriptionManager.subscribe is not throwing by @Muhammad-Altabba in #7327
- 7202 account abstraction by @jdevcs in #7311
- make
decodeFunctionCall
anddecodeFunctionReturn
available atweb3-eth-abi
by @Muhammad-Altabba in #7345 - Add rpc provider public node by @avkos in #7322
- Update Intermediate dApp Guide by @danforbes in #7349
- CODEOWNERS update by @jdevcs in #7350
- Fix Contract methods input param type any[] by @avkos in #7340
- [Snyk] Upgrade @cookbookdev/docsbot from 4.21.1 to 4.21.23 by @Muhammad-Altabba in #7357
- allowing to specify percentage-based factors (like 1.125 for 112.5%) by @TemirlanBasitov in #7332
- Fix Link to SocketConstructorOpts Type by @danforbes in #7363
- [Snyk] Upgrade @docusaurus/core from 3.4.0 to 3.5.2 by @Muhammad-Altabba in #7365
- Add accout.signRaw function to sign a message without prefix by @blackmoshui in #7346
- Lightweight dApp Development Guide by @danforbes in #7364
- newPendingTransactionFilter by @jdevcs in #7353
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs by @dependabot in #7356
New Contributors
- @TemirlanBasitov made their first contribution in #7332
- @blackmoshui made their first contribution in #7346
Full Changelog: v4.5.0...v4.15.0
v4.14.0
What's Changed
- Fix CHANGELOG for PR 7239 by @danforbes in #7271
- Fix Typos in Docs by @danforbes in #7283
- Revert CHANGELOG Changes from #7271 by @danforbes in #7274
- Add Note About create-hardhat-web3 to Hardhat Guide by @danforbes in #7281
- fix padRight validation failure on large uint by @Muhammad-Altabba in #7265
- Ok/6984 update e2e network tests by @avkos in #7276
- feat: make getEthereumjsTxDataFromTransaction not trim extra fields by @nicolasbrugneaux in #7282
- 7136 decodeparams update by @jdevcs in #7288
- Update FUNDING.json by @Redoudou in #7304
- Fix e2e test error "project ID request rate exceeded" by @avkos in #7290
- fix: correct type and documentation for
baseFeePerGas
atweb3.eth.getFeeHistory
by @Muhammad-Altabba in #7291 - Restructure Docs by @danforbes in #7298
- Add Support for Nethermind and Besu 'syncing' Subscription Payload Format by @chebykin in #7306
- Fix Typos by @danforbes in #7310
- Export EIP-6963 Types by @danforbes in #7270
- Add Gas Estimation Guide by @danforbes in #7319
- add migration websocket doc changes by @luu-alex in #7318
- add ignoregaspricing config by @luu-alex in #7320
New Contributors
Full Changelog: v4.13.0...v4.14.0
v4.13.0
What's Changed
- unit tests update by @jdevcs in #7221
- Handle common cases for smart contract errors according to EIP 838 by @Muhammad-Altabba in #7155
- feat(docs): upgrade-bn by @danforbes in #7232
- feat(requestEIP6963Providers): return-type by @danforbes in #7239
- feat(docs): extend by @danforbes in #7233
- fix(onNewProviderDiscovered): callback-parameter by @danforbes in #7242
- Format repo, add new rules by @luu-alex in #7226
- Document Formatting by @danforbes in #7222
- feat: add custom transaction schema to formatTransaction by @nicolasbrugneaux in #7227
New Contributors
- @nicolasbrugneaux made their first contribution in #7227
v4.12.1 Hotfix
v4.12.0
[4.12.0]
Fixed
web3-core
setConfig()
fix forsetMaxListenerWarningThreshold
fix (#5079)
web3-eth-accounts
- Fix
TransactionFactory.registerTransactionType
not working, if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
by savingextraTxTypes
atglobals
. (#7197)
Added
web3-eth-accounts
- Added public function
signMessageWithPrivateKey
(#7174)
web3-eth-contract
- Added
populateTransaction
to thecontract.deploy(...)
properties. (#7197)
web3-providers-http
- Added
statusCode
of response in ResponseError,statusCode
is optional property in ResponseError.
web3-rpc-providers
- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional
HttpProviderOptions | SocketOptions
inWeb3ExternalProvider
andQuickNodeProvider
for provider configs
web3-errors
- Added optional
statusCode
property of response in ResponseError.
Changed
web3-eth-contract
- The returnred properties of
contract.deploy(...)
are structured with a newly created class namedDeployerMethodClass
. (#7197) - Add a missed accepted type for the
abi
parameter, atdataInputEncodeMethodHelper
andgetSendTxParams
. (#7197)
What's Changed
- Cookbook integration branch by @SantiagoDevRel in #7178
- feat(glossary): updated glossary by @EmmanuelOluwafemi in #7168
- fix infura tests and secrets by @luu-alex in #7163
- Zk sync plugin related changes by @avkos in #7174
- 4x tests updates by @jdevcs in #7162
- feat(docs): Expand web3 config guide by @mmyyrroonn in #7131
- Fix 7055 one of with scalar value and string by @mmyyrroonn in #7173
- Quicknode provider update by @jdevcs in #7195
- Web3 RPC Providers support of configuration of selected transport by @jdevcs in #7205
- Refactor some parts of contract and accounts packages by @Muhammad-Altabba in #7197
New Contributors
- @EmmanuelOluwafemi made their first contribution in #7168
- @mmyyrroonn made their first contribution in #7131
v4.11.1
[4.11.1]
Fixed
web3-errors
- Fixed the undefined data in
Eip838ExecutionError
constructor (#6905)
web3-eth
- Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#7151)
- Change method
getTransactionReceipt
to not be casted asTransactionReceipt
to give proper return type (#7159)
web3
- Remove redundant constructor of contractBuilder (#7150)
What's Changed
- fix(web3-errors): the undefined data in Eip838ExecutionError (#6905) by @jdevcs in #7147
- Fix getblock.transactions by @luu-alex in #7151
- Tx Types and ERC20 token transaction by @SantiagoDevRel in #7156
- remove redundant constructor of ContractBuilder by @agj017 in #7150
- Fix transaction receipt return type by @luu-alex in #7159
- feat/docs/plugin-middleware by @danforbes in #7158
New Contributors
Full Changelog: v4.11.0...v4.11.1
v4.11.0
[4.11.0]
Fixed
web3-eth-abi
- fix encodedata in EIP-712 (#7095)
web3-utils
_sendPendingRequests
will catch unhandled errors from_sendToSocket
(#6968)
web3-eth
- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)
Changed
web3-eth-accounts
- baseTransaction method updated (#7095)
web3-providers-ws
- Update dependancies (#7109)
web3-rpc-providers
- Change request return type
Promise<ResultType>
toPromise<JsonRpcResponseWithResult<ResultType>>
(#7102)
Added
web3-eth-contract
populateTransaction
was added to contract methods (#7124)- Contract has
setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
fordeploy
andsend
functions (#7138)
web3-rpc-providers
- When error is returned with code 429, throw rate limit error (#7102)
web3
web3.eth.Contract
will get transaction middleware and use it, ifweb3.eth
has transaction middleware. (#7138)
v4.10.0
[4.10.0]
Added
web3
- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)
web3-core
- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)
web3-eth
sendTransaction
inrpc_method_wrappers
accepts optional param ofTransactionMiddleware
(#7088)- WebEth has
setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
(#7088)
web3-eth-ens
getText
now supports first param AddressgetName
has optional second param checkInterfaceSupport
web3-types
- Added
result
as optionalnever
anderror
as optionalnever in type
JsonRpcNotification` (#7091) - Added
JsonRpcNotfication
as a union type inJsonRpcResponse
(#7091)
web3-rpc-providers
- Alpha release
Fixed
web3-eth-ens
getName
reverse resolution
What's Changed
- release/v4.9.0 by @luu-alex in #7057
- fix(docs): intro by @danforbes in #7056
- coverage increase by @jdevcs in #7051
- 6992 getText update and getName fix by @jdevcs in #7047
- web3 external provider - Quicknode by @jdevcs in #7019
- fix(docs): quickstart by @danforbes in #7062
- Fix SNYK for 4.x by @avkos in #7064
- Use .snyk file for all projects by @avkos in #7071
- fix(docs): sidebar by @danforbes in #7063
- fix(docs): mastering providers by @danforbes in #7070
- Remove .snyk files by @avkos in #7073
- 100% Coverage web3-utills by @Muhammad-Altabba in #7042
- chore(docs): formatting by @danforbes in #7072
- update gas estimation test by @luu-alex in #7074
- fix(docs): contract-tutorial-hardhat-node by @danforbes in #7076
- fix(docs): header-nav by @danforbes in #7082
- fix(docs): introduction by @danforbes in #7083
- fix(docs): contracts-tutorial by @danforbes in #7084
- chore(docs): provider-tutorials by @danforbes in #7085
- fix(docs): mastering-accounts by @danforbes in #7089
- transaction middleware by @jdevcs in #7088
- add test coverage to web3-core by @luu-alex in #7091
Full Changelog: v4.9.0...v4.10.0
v4.9.0
What's Changed
- Release/4.8.0 by @luu-alex in #6982
- web3 middleware by @jdevcs in #6951
- Add default return format to the context by @avkos in #6947
- Events guide 6741 by @SantiagoDevRel in #6983
- Fix towei scientific notation by @luu-alex in #6908
- fix(validator): generate abi name if not provided by @MaxMustermann2 in #6981
- Plugin guide 6840 draft by @SantiagoDevRel in #6941
- Compare package size (wihtout image) by @SantiagoDevRel in #6994
- fixed broken links by @SantiagoDevRel in #7005
- Added plugin videos to guide by @SantiagoDevRel in #7004
- Utils guide by @SantiagoDevRel in #7008
- Add the missing types to the ”accounts“ by @jdevcs in #7011
- Add extra changes to make possibility add eip4844 type as a plugin by @avkos in #7000
- add drips funding by @GregTheGreek in #7023
- Tests & ESLint Improvements by @avkos in #7012
- Added troubleshooting example by @SantiagoDevRel in #7009
- Implement a way to know which response corresponds to which request in the middleware by @avkos in #7028
- Add type checking to unit tests by @avkos in #7027
- fix(glossary): links by @danforbes in #7034
- Add interactive code editor for tutorials by @avkos in #7036
- fix: web3-validator browser target removed by @PeKne in #7016
- catching promise - legacy provider error by @luu-alex in #7022
- web3modal documentation by @luu-alex in #7041
- add gas conditional if simple transaction by @luu-alex in #7043
- fix(#7044): toWei trim strings with more than 20 decimal places by @gordon-to in #7045
- allow fromwei and toWei to accept numbers as units by @luu-alex in #7052
- use bigint power by @luu-alex in #7054
- Fix format schema with list of objects by @avkos in #7040
- 6801 Fill gas price when baseFeePerGas==='0x0' by @avkos in #7050
New Contributors
- @MaxMustermann2 made their first contribution in #6981
- @danforbes made their first contribution in #7034
- @PeKne made their first contribution in #7016
- @gordon-to made their first contribution in #7045
Full Changelog: v4.8.0...v4.9.0
v4.8.0
[4.8.0]
Changed
web3-eth-abi
- Dependencies updated
web3-eth-accounts
- Dependencies updated
Fixed
web3-eth-contract
- Fix an issue with smart contract function overloading (#6922)
web3-utils
- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer (#6957)
Added
web3-eth-contract
- Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#6942)
- Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#6950)
web3-eth
- method
getBlock
now includes properties of eip 4844, 4895, 4788 when returning block (#6933) - update type
withdrawalsSchema
,blockSchema
andblockHeaderSchema
schemas to include properties of eip 4844, 4895, 4788 (#6933)
web3-types
- Added
signature
to typeAbiFunctionFragment
(#6922) - update type
Withdrawals
,block
andBlockHeaderOutput
to include properties of eip 4844, 4895, 4788 (#6933)