Skip to content

Releases: karalabe/ssz

たけのこ (v0.3.0)

18 Sep 12:13
559052c
Compare
Choose a tag to compare
たけのこ (v0.3.0) Pre-release
Pre-release

The v0.3.0 is the third tagged release of the ssz package. This is an unstable release:

  • The API might change. Pin versions and be prepared to update your code on a version bump.
  • The code could crash. Use it in proof-of-concepts, and do not use it in production systems.
  • There might be bugs. Serialisation and even generated code might be bad. Cross validate.
  • Could be abandoned. Project is a work in progress. Only invest time you're ready to lose.

Since everything's mostly new, please see the project readme as the primary source of information.


Compared to the v0.2.0 release, this one:

  • Adds support for monolithic types (fork specific encoding/decoding/hashing).
    • Types can be extended with optional fields that are only present in certain forks.
    • Struct fields can be tagged with forks that the generator picks up on.
  • Fixes decoding zero-length dynamic arrays into nil fields to init them empty vs leaving nil.
  • Adds an ssz.Sizer argument SizeSSZ, requires passing it to all SizeXYZ methods.
    • Needed to be able to pass fork contexts when working with monolithic types.

やまいも (v0.2.0)

19 Jul 13:37
Compare
Choose a tag to compare
やまいも (v0.2.0) Pre-release
Pre-release

The v0.2.0 is the second tagged release of the ssz package. This is an unstable release:

  • The API might change. Pin versions and be prepared to update your code on a version bump.
  • The code could crash. Use it in proof-of-concepts, and do not use it in production systems.
  • There might be bugs. Serialisation and even generated code might be bad. Cross validate.
  • Could be abandoned. Project is a work in progress. Only invest time you're ready to lose.

Since everything's mostly new, please see the project readme as the primary source of information.


Compared to the v0.1.0 release, this one:

  • Adds support for merkleization / tree root calculation.
    • Can be done sequentially with asymptotic 0-allocs.
    • Can be done concurrently with O(threads) allocs.
  • Requires passing in the size limits to DefineXYZOffset.
    • Needed due to encoding/hashing data layout dissonance.

コールラビ (v0.1.0)

10 Jul 12:15
Compare
Choose a tag to compare
Pre-release

The v0.1.0 is the first tagged release of the ssz package. This is an unstable release:

  • The API might change. Pin versions and be prepared to update your code on a version bump.
  • The code could crash. Use it in proof-of-concepts, and do not use it in production systems.
  • There might be bugs. Serialisation and even generated code might be bad. Cross validate.
  • Could be abandoned. Project is a work in progress. Only invest time you're ready to lose.

Since everything's new, instead of a change-log, please see the project readme.