Skip to content

Releases: esaulpaugh/headlong

v4.4.0 (update)

05 Mar 22:25
Compare
Choose a tag to compare

redesign "not instanceof" error messages related to type safety during ABI encoding;
modify error message for BigDecimalType validation;
disallow instantiation of utility classes;
add static method Record.encode;

SHA-256 (headlong-4.4.0.jar): ab2d1d1853e245546ca4fefafda0347560ae24854b916550357c3a9bec868e4b

v4.3.0 (minor API changes)

22 Feb 04:04
Compare
Choose a tag to compare

use wildcard in return type for TypeFactory.create(String);
change signature of public method Function.decodeSingletonReturn;
make measureEncodedLength final;
move measureEncodedLength to ABIType;
in Tuple decode, no longer wrap BufferUnderflowException with IllegalArgumentException;
check for negative signature length in Record constructor;
use ArithmeticException for integer overflow in RLPEncoder;

SHA-256 (headlong-4.3.0.jar): 640ebde8642f55e658346292f5c0baf904b8a68d78dc10b1999245766b74710b

v4.2.2 (performance fix)

25 Jan 01:40
Compare
Choose a tag to compare

fix degraded ABI function call encode performance due to argument validation occurring twice;

SHA-256 (headlong-4.2.2.jar): f1634fc6b1da650728dd63bceb622b05f95d0329c1ae06b0f73da1a58246dd12

v4.2.1 (bug fix)

23 Jan 01:36
de05423
Compare
Choose a tag to compare

fix NPE can occur in JsonUtils.getBoolean if value and defaultVal are both null;
reduce jar size via some internal refactoring;

SHA-256 (headlong-4.2.1.jar): 3b58db8f3e2f97760a5443e511a808d3ca6a1e97c4b3c3dd5fd0017c95003c6d

v4.2.0 (update)

17 Jan 12:34
Compare
Choose a tag to compare

throw exception for all backwards jumps on decode;
minor optimization to tuple parsing;

SHA-256 (headlong-4.2.0.jar): 874d1f2342c5c62629b903d753e54fc187852886eb6183ef245e0ba5164900d1

v4.1.0 (update)

12 Jan 06:59
Compare
Choose a tag to compare

add public methods minValue & maxValue to UnitType;
add BigDecimalType methods minDecimal and maxDecimal;
update WrappedKeccak dependency to bouncycastle 1.68;

SHA-256 (headlong-4.1.0.jar): 4316e90e4387db08d52d5a540cd939ac60857f2a2715dcee39e19a1eeb9772b7

v4.0.1 (update)

10 Nov 09:17
Compare
Choose a tag to compare

add decodeSingletonReturn methods to Function;
when parsing array length, use "bad array length" for all errors (never NumberFormatException);

SHA-256 (headlong-4.0.1.jar): 56d02076dee49be090d8cd04296101316c75a1ae27b533a545068410954b7f0f

v4.0.0 (new APIs)

29 Oct 05:21
Compare
Choose a tag to compare

expose TypeFactory for direct creation of non-tuple types;
use TupleType.decode impl for all ABITypes;
move TupleType.format code up to ABIType;
fix plus sign being allowed in front of fixed types and array lengths;
make ArrayType.DYNAMIC_LENGTH public;

SHA-256 (headlong-4.0.0.jar): 60901358a33d78cb9893e4d839113e757a6d31a6842da37d16254019c07873eb

v3.8.3 (bug fix)

11 Oct 09:48
Compare
Choose a tag to compare

fix leading zeroes being allowed in fixed/ufixed types which can cause incorrect function selector and canonical signature;

SHA-256 (headlong-3.8.3.jar): 0542087d9850543ad7494a4832be50c6f3792bc2b203a717ed4bd99dcd9c795f

shout out to my favorite newsletter

v3.8.2 (bug fix)

07 Oct 00:42
Compare
Choose a tag to compare

fix abi PackedDecoder is coercing illegal boolean values (0x02 - 0xff) to true;

SHA-256 (headlong-3.8.2.jar): ff4c9141b3c2f7607cbb514d985bd409a8bba349dcf428d12aba55af532b7e2c