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.
[0.1.1-alpha.1]
Removed
- Removed direct function
toJSON()
inWeb3ValidatorError
class as its available via base class (#5435)
[0.1.1-alpha.2]
Changed
- Updated Web3.js dependencies (#5664)
Fixed
- Fix
isHex
returningfalse
for-123
, fixisHexStrict
returningtrue
for-0x
, and fixisHex
returningtrue
for empty strings `` (#5373).
[0.1.1-alpha.3]
Fixed
- Fix issue when importing
web3-validator
package within browser environments (webpack minified filename changed fromindex.min.js
toweb3-validator.min.js
) (#5710)
[0.1.1-alpha.4]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)
[0.1.1-alpha.5]
Removed
build
entry frompackage.json
(#5755)
[1.0.0-rc.0]
Removed
- Moved
TypedArray
toweb3-types
(was also duplicated atweb3-utils
) (#5771)
Added
- Added support of
safe
andfinalized
block tags inisBlockTag
method (#5823)
[1.0.0-rc.1]
Added
- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
- Added functions
isHexString
,isHexPrefixed
,validateNoLeadingZeroes
(#5963)
[1.0.0-rc.2]
Changed
- Replaced Buffer for Uint8Array (#6004)
Removed
Web3ValidationErrorObject
type is now exported fromweb3-types
package (#6102)
[1.0.0]
Release Notes:
Detailed List of change logs are mentioned under previous 1.x alpha and RC releases.
Documentation: Web3.js documentation Web3 API Migration Guide from 1.x
[1.0.1]
Changed
- Dependencies updated
[1.0.2]
Changed
- Dependencies updated
[2.0.0]
Changed
- Replace
is-my-json-valid
withzod
dependency. Related code was changed (#6264) - Types
ValidationError
andJsonSchema
were changed (#6264)
Removed
- Type
RawValidationError
was removed (#6264)
Added
- Added
json-schema
as a main json schema type (#6264)
[2.0.1]
Fixed
- ESM import bug (#6359)
[2.0.2]
Changed
- Dependencies updated
[2.0.3]
Fixed
- Multi-dimensional arrays are now handled properly when parsing ABIs (#6435)
- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
- Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 < = N < = 256 and N % 8 == 0 (#6434)
- Will now throw SchemaFormatError when unsupported format is passed to
convertToZod
method (#6434)
[2.0.4]
Fixed
- Fixed an issue with detecting Uint8Array (#6486)
[2.0.5]
Fixed
- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)
[Unreleased]
Fixed
- The JSON schema conversion process now correctly assigns an id when the
abi.name
is not available, for example, in the case of public mappings. browser
entry point that was pointing to an non-existing bundle file was removed frompackage.json
(#7015)