Releases: esaulpaugh/headlong
v6.2.0 (bugfix, update)
fix exception thrown when decoding ABI JSON element with type "receive" (allow null name on receive functions);
changes to decimal type as per vyper v0.3.2 (update for vyper 0.3.2 (changes to decimal type));
SHA-256 (headlong-6.2.0.jar): 646091ccbca7c2131f76c2a0a990685e38f27541fba57fe7d2efd0573540337e
v6.1.1 (update)
allow backwards jumps if and only if offset is shared between items;
add decodeCall method to Function which accepts indices;
SHA-256 (headlong-6.1.1.jar): 90dbf6f5f4c89628b6b6e53ae36b6e7714cbb7f5fab01839f39df97ec83d7204
v6.1.0 (update)
move class Notation from package rlp.util to rlp;
remove Notation methods forEncoding(byte[],int,int) and encodeToString(byte[],int,int);
performance optimizations;
SHA-256 (headlong-6.1.0.jar): 6ae86193a6fff640d8a0f4233314239013e2dab11654836f9f638e989ea46f4e
v6.0.2 (bug fix)
fix base type is inheriting ArrayType name when base type is TupleType (occurred during JSON parsing);
performance optimizations;
SHA-256 (headlong-6.0.2.jar): 8228dd56aa0b26c6c1a406ea1f20ea6b38b831cebba2fe7615a7eea2efad44cb
v6.0.1 (update)
add label field to Address
;
remove TypeFactory::createRaw
and TupleType::getRaw
;
SHA-256 (headlong-6.0.1.jar): cc93fdefe2963734ed69349c8aa1b235c6946b3a114b817df463ed88719c732e
v6.0.0 (API refresh)
new Event
methods: decodeArgs
, decodeTopics
, and decodeData
;
disallow decodeSingletonReturn
with non-singleton return types;
TupleType::decode
and Function::decodeReturn
now optionally accept indices to limit decoding to specific items;
when decoding, always advance position of caller-supplied ByteBuffer
the number of bytes read (unless indices are specified);
flip()
internally-created ByteBuffers before returning them to the caller;
make Tuple::get
infer return type;
make TupleType::get
infer return type;
new non-inferring TupleType
methods getNonCapturing
, getRaw
;
new non-inferring TypeFactory
methods createNonCapturing
, createRaw
;
disallow trailing unconsumed bytes for all ABI decode methods accepting byte[]
parameter (unless indices are specified);
Tuple
now implements Iterable
instead of List
;
new method Tuple::toList
;
remove TupleType::parseElements
;
rename TupleType::subTupleType
to select
and subTupleTypeNegative
to exclude
;
change return type of ABIType.encode(Object,ByteBuffer)
to void
;
improve error messages for FastHex.decode(String,int,int,byte[],int)
;
improve Address.toChecksumAddress
error message when 0x
prefix missing and length is not 42;
performance optimizations;
SHA-256 (headlong-6.0.0.jar): f9fd0013c6842ba54ccf64625e9e841259db27bd11a1e1f085a3b5d58327b24b
What's Changed
New Contributors
Full Changelog: v5.7.0...v6.0.0
v5.7.0 (update)
support older versions of gson;
remove TupleType::elementTypes;
make class RLPOutputStream.Baos public;
remove methods from RLPOutputStream;
optimize Address.wrap;
add method FastHex.decode(String,int,int,byte[],int);
SHA-256 (headlong-5.7.0.jar): 846c2562c10e0bc1f3d488d45d84d2e7ca9ec6ffcfab71c02d5cf770b879a042
v5.6.1 (bugfix)
fix ABI decode lenient offset jumps cause NoSuchMethodError on Java 8 runtime (ABI data with non-minimal dynamic element offsets (i.e. gaps) will now decode on Java 8). See issue 29;
make class ContractError final;
SHA-256 (headlong-5.6.1.jar): 40b52b633b212402459e2e83cd4035779fb175944b9daa9c608e2f4753ed032e
v5.6.0 (update)
make RLPItem.index public;
eliminate BizarroIntegers;
remove RLPItem::exportRange and RLPItem::copyOfRange;
add wrapItem methods to RLPDecoder;
minor performance optimizations;
SHA-256 (headlong-5.6.0.jar): 0d5fe93d507f8515169c500644747da7478efe84e25bcfe683e42de0021cf100
v5.5.0 (new address type)
add new type AddressType;
Address now the expected datatype for address parameters (formerly BigInteger);
Address object creation requires an EIP-55 mixed case checksum address String (see also Address.toChecksumAddress
);
add convenience method FastHex.encodeToBytes(byte...);
modify "multiple dynamic elements" error message text in PackedDecoder;
SHA-256 (headlong-5.5.0.jar): a09321aa01e64ae2a15d71e90a4ad2d8f6667de253f7324c8c61648d3c7baf3f