Releases: ethereumjs/ethereumjs-blockchain
v4.0.3 - MuirGlacier Support
v4.0.2 - Istanbul Support
Supports Istanbul by updating ethereumjs-block to v2.2.1 which in turn uses ethereumjs-tx v2.1.1 which implements EIP-2028 (calldata fee reduction), PR #130.
From this release the validate flag is deprecated and users are encouraged to use the more granular flags validatePow and validateBlocks. For more on this please see #121.
For Typescript users this release also comes with a BlockchainInterface interface which the Blockchain class implements, PR #124.
v4.0.1 - Bugfix Release
- Fixes a browser-compatibility issue caused by the library using
util.callbackify, PR #117
v4.0.0 - TypeScript Release
First TypeScript based release of the library. TypeScript handles ES6 transpilation a bit differently (at the end: cleaner) than babel so require syntax of the library slightly changes to:
let Blockchain = require('ethereumjs-blockchain').defaultThe library now also comes with a type declaration file distributed along with the package published.
This release drops support for Node versions 4 and 6 due to internal code updates requiring newer Node.js versions and removes the previously deprecated DB constructor options opts.blockDb and opts.detailsDb.
Change Summary:
- Migration of code base and internal toolchain to
TypeScript, PR #92 - Refactoring of
DBoperations introducing a separateDBManagerclass (comes along with dropped Node6support), PR #91 - Auto-generated
TSDocdocumentation, PR #98 - Replaced
safe-bufferwith native Node.jsBufferusage (this comes along with dropped support for Node4), PR #92 - Dropped deprecated
DBoptions, PR #100
v3.4.0 - Petersburg/Goerli Support
v3.3.3 - Bugfix Release
- Fixed a bug causing the
iterate()method to fail when an older version
levelupDB instance is passed, see PR #83
v3.3.2 - Bugfix Release
v3.3.1 - Bugfix Release
- Replaced calls to BN.toBuffer() with BN.toArrayLike() so that
ethereumjs-blockchaincan run in a browser environment, PR #73
v3.3.0 - Feature Release: Constantinople Support
- Constantinople support when using block validation (set with
opts.validatein constructor),
update to a Constantinople-ready version of theethereumjs-blockdependency (>2.1.0), PR #71