Skip to content

Commit

Permalink
chore: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Dec 8, 2022
1 parent 368f7df commit 2f2d127
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 3 deletions.
152 changes: 152 additions & 0 deletions packages/simpleserialize.com/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,158 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.3.0](https://github.com/chainsafe/simpleserialize.com/compare/[email protected]@0.3.0) (2022-12-08)


* SSZ v2 (#223) ([9d167b7](https://github.com/chainsafe/simpleserialize.com/commit/9d167b703b1e974ee4943be15710aa9783183986)), closes [#223](https://github.com/chainsafe/simpleserialize.com/issues/223) [#227](https://github.com/chainsafe/simpleserialize.com/issues/227)


### BREAKING CHANGES

* complete refactor, see packages/ssz/README.md for details

Initial squashed v2 commit

Replace lodestarTypes

Update tests

Add Union and None types

Update spec tests

Remove old src and lodestar dependencies

Improve JSON parsing for tests

Load YAML with lodestar utils schema

Commit ArrayComposite before getAll

Re-write toJson fromJson test

Fix uint json conversions

Print tree in valid test if requested

Fix hashTreeRoot for ByteList

Add RENDER_ROOTS option

Fix typos

Use numerical sort in array commit

Fix value_serializedSizeArrayComposite

Pass ssz_generic tests

Allow to select tests to run in ssz_static

Fix container bytes offset

Rename fixedLen to fixedSize

Sort deserailization methods

Print json stringified in test

Review logic

Clean up tests

Define JSON casing at constructor time only

Add casing maps for merge types

Update casing in unit tests

Re-organize utils

Fix merge casing

FIx offset calculation

Pass all spec test pre-merge

Bump merge test

Extend timeout for mainnet tests

Pass all unit tests

Return defaultValue in simpleserialize random

Remove @chainsafe/lodestar-spec-test-util dependency

Copy yaml schema from lodestar-utils

Fix benchmark type issues

Skip createProof benchmark

Skip old benchmark without runner

Remove postinstall script

Re-add UintBigint optimization

Fix set_exitEpoch_and_hashTreeRoot benchmark

Add List of Number benchmark

Use DataViews for faster deserialization

Use DataViews for tree serialization too

Update workflows build after install

Update packedNode tests

Review Tree API

Validate length in ByteArrays

FIx benchmarks in persistent-merkle-tree

Simplify LeafNode constructor

Refactor subtreeFillToContents

Run struct <-> tree_backed benchmarks

Update test types

Fix Uint64 DataView benchmarks

Add benchmarks for full state serialization

Use consistent initialization in DataView

Optimize toView for ByteArray

Add clone method for safer ContainerTreeViewDU

Add documentation to all public methods

Update SSZ README

Simplify testTypes

Update persistent-merkle-tree README

Add unit test push x5

Fix heigh typo

Add note Supports index up to Number.MAX_SAFE_INTEGER.

Address PR comments





# [0.2.0](https://github.com/chainsafe/simpleserialize.com/compare/[email protected]@0.2.0) (2022-05-18)


Expand Down
4 changes: 2 additions & 2 deletions packages/simpleserialize.com/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "simpleserialize.com",
"version": "0.2.0",
"version": "0.3.0",
"repository": "https://github.com/chainsafe/simpleserialize.com",
"author": "Chainsafe Systems",
"license": "MIT",
Expand All @@ -17,7 +17,7 @@
"@babel/runtime": "^7.14.6",
"@babel/types": "^7.14.5",
"@chainsafe/lodestar-types": "^0.37.0-dev.267dce705c",
"@chainsafe/ssz": "^0.9.1",
"@chainsafe/ssz": "^0.9.3",
"bn.js": "^5.2.0",
"bulma": "^0.9.3",
"core-js": "^3.15.2",
Expand Down
8 changes: 8 additions & 0 deletions packages/ssz/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.9.3](http://chainsafe/ssz/compare/@chainsafe/[email protected]...@chainsafe/[email protected]) (2022-12-08)

**Note:** Version bump only for package @chainsafe/ssz





## [0.9.2](https://github.com/chainsafe/ssz/compare/@chainsafe/[email protected]...@chainsafe/[email protected]) (2022-05-31)

* Fix ListCompositeType.sliceTo(-1) (#268)
Expand Down
2 changes: 1 addition & 1 deletion packages/ssz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "ChainSafe Systems",
"homepage": "https://github.com/chainsafe/ssz",
"version": "0.9.2",
"version": "0.9.3",
"main": "lib/index.js",
"files": [
"lib/**/*.d.ts",
Expand Down

0 comments on commit 2f2d127

Please sign in to comment.