Skip to content

Update dependency ethereumjs-util to v7#22

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ethereumjs-util-7.x
Open

Update dependency ethereumjs-util to v7#22
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ethereumjs-util-7.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 20, 2021

This PR contains the following updates:

Package Change Age Confidence
ethereumjs-util (source) ^5.2.0^7.0.0 age confidence

Release Notes

ethereumjs/ethereumjs-monorepo (ethereumjs-util)

v7.1.5: ethereumjs-util v7.1.5

Compare Source

  • More flexible signature module methods now allow for passing in v values of 0 and 1 in the context of typed txs (e.g. EIP-1559 txs): ecrecover(), toRpcSig(), toCompactSig(), isValidSignature(), PR #​1905

v7.1.4: ethereumjs-util v7.1.4

Compare Source

Buffer <-> Uint8Array Conversion Helpers (RLP v3)

The new RLP v3 release is accepting and returning Uint8Array objects instead of Buffer for improved browser compatibility and usage.

There are two new helper functions in the bytes module from the Util library introduced in PR #​1648 to help with associated Buffer conversions (while this is our main reason for introducing these functions the functionality can of course be used for other things as well):

  • arrToBufArr(): Converts a Uint8Array or NestedUint8Array to Buffer or NestedBufferArray
  • bufArrToArr(): Converts a Buffer or NestedBufferArray to Uint8Array or NestedUint8Array

Note: the RLP version exposed by this package as a re-export is still RLP v2. This won't change along additional v7 Util releases and other current monorepo libraries (VM, Tx,...) are also still using the v2 RLP version.

Features
  • New validateNoLeadingZeroes() function in bytes module for validating Buffers to have no leading zeros (mainly within an RLP context), PR #​1568
  • New MAX_UINT64 constant which can be used to check if a BN instance exceeds the max. possible 64-bit integer value, PR #​1568
Maintenance
  • toBuffer (bytes module) now throws when a negative BN is provided as input, PR #​1606
  • Dependencies: deduplicated RLP import, PR #​1549

v7.1.3: ethereumjs-util v7.1.3

Compare Source

Removal of ethjs-util Package Re-Export

This release replaces ethjs-util dependency with an internal.ts file which re-exports all the used functions (thanks to @​talentlessguy for the PR).

This has a list of benefits:

  • Less maintenance burden (fewer dependencies to care about)
  • Better types and avoids use of deprecated APIs (e.g. new Buffer)
  • Smaller bundle/install size

See: PR #​1517

Related Changes / Bug Fixes
  • Fixed a bug in toUtf8 not working correctly with leading or trailing single 0s, see PR #​1522
  • Rewrote toUtf8 function and added extended code docs, method now throws on malformed uneven hex input values, see PR #​1525

v7.1.2: ethereumjs-util v7.1.2

Compare Source

  • Replaced the ethjs-util intToHex and intToBuffer re-exports with own implementations which throw on wrong integer input (decimal values, non-safe integers, negative numbers,...) to allow for a safer integer type input, PR #​1500

v7.1.1: ethereumjs-util v7.1.1

Compare Source

  • Fixed a bug in toType() helper function to now return null/undefined for respective input values, PR #​1477
  • Add note discouraging use of EIP-1191 format checksums when using toChecksumAddress() (breaks checksum backwards compatibility in current form), PR #​1463

v7.1.0: ethereumjs-util v7.1.0

Compare Source

Distribution Changes
Dual ES5 and ES2017 Builds

We significantly updated our internal tool and CI setup along the work on PR #​913 with an update to ESLint from TSLint for code linting and formatting and the introduction of a new build setup.

Packages now target ES2017 for Node.js builds (the main entrypoint from package.json) and introduce a separate ES5 build distributed along using the browser directive as an entrypoint, see PR #​921. This will result in performance benefits for Node.js consumers, see here for a releated discussion.

Included Source Files

Source files from the src folder are now included in the distribution build, see PR #​1301. This allows for a better debugging experience in debug tools like Chrome DevTools by having working source map references to the original sources available for inspection.

EIP-2098 Support (Compact 64-byte Signatures)

The signature module comes with a new helper function toCompactSig(v: BNLike, r: Buffer, s: Buffer, chainId?: BNLike): string which allows to convert signature parameters into the format of Compact Signature Representation as defined in EIP-2098.

Other Changes
  • Renamed bnToRlp()helper function to bnToUnpaddedBuffer(), PR #​1293

v7.0.10: ethereumjs-util v7.0.10

Compare Source

  • Added Address.isPrecompileOrSystemAddress() method which returns true if address is in the address range defined by EIP-1352, PR #​1170
  • Return false (instead of throwing) for non-hex-string values in account module isValidAddress, isValidChecksumAddress, isZeroAddress methods (it now gets enough to just handle the false case on function usage), PR #​1173

v7.0.9

Compare Source

v7.0.8

Compare Source

v7.0.7

Compare Source

v7.0.6

Compare Source

v7.0.5

Compare Source

v7.0.4

Compare Source

v7.0.3

Compare Source

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

v6.2.1

Compare Source

v6.2.0

Compare Source

v6.1.0

Compare Source

v6.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch 2 times, most recently from f71ee0f to 5f66970 Compare May 14, 2021 09:59
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 5f66970 to 1723f51 Compare October 18, 2021 20:58
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 1723f51 to d901acf Compare February 2, 2022 07:20
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from d901acf to 04accaa Compare June 23, 2022 20:47
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 04accaa to 897efed Compare March 23, 2023 15:43
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 897efed to 20973a2 Compare August 10, 2025 14:09
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 20973a2 to 8313519 Compare November 10, 2025 18:54
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 8313519 to 29e7f3e Compare November 18, 2025 10:51
@renovate renovate bot force-pushed the renovate/ethereumjs-util-7.x branch from 29e7f3e to 72b8dff Compare March 5, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants