Skip to content

Latest commit

 

History

History
148 lines (97 loc) · 5.77 KB

CHANGELOG.md

File metadata and controls

148 lines (97 loc) · 5.77 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog (modification: no type change headlines) and this project adheres to Semantic Versioning.

1.0.0 - 2020-11-24

New Package Name

Attention! This new version is part of a series of EthereumJS releases all moving to a new scoped package name format. In this case the library is renamed as follows:

  • ethashjs -> @ethereumjs/ethash

Please update your library references accordingly or install with:

npm i @ethereumjs/ethash

Library Promisification

The Ethash library has been promisified and callbacks have been removed along PR #833 and preceeding PR #779.

Old API:

ethash.verifyPOW(validblock, (result) => {
  console.log(result)
})

New API:

const result = await ethash.verifyPOW(validBlock)
console.log(result) // => true

See Ethash README for a complete example.

Dual ES5 and ES2017 Builds

We significantly updated our internal tool and CI setup along the work on PR #913 with an update to ESLint from TSLint for code linting and formatting and the introduction of a new build setup.

Packages now target ES2017 for Node.js builds (the main entrypoint from package.json) and introduce a separate ES5 build distributed along using the browser directive as an entrypoint, see PR #921. This will result in performance benefits for Node.js consumers, see here for a releated discussion.

Other Changes

  • Updated Block dependency to @ethereumjs/block v3.0.0, PR #883
  • Removed async dependency, PR #779

1.0.0-rc.1 - 2020-11-19

This is the first release candidate towards a final library release, see beta.1 release notes for an overview on the full changes since the last publicly released version.

No changes since beta.1 release.

1.0.0-beta.1 - 2020-10-22

New Package Name

Attention! This new version is part of a series of EthereumJS releases all moving to a new scoped package name format. In this case the library is renamed as follows:

  • ethashjs -> @ethereumjs/ethash

Please update your library references accordingly or install with:

npm i @ethereumjs/ethash

Library Promisification

The Ethash library has been promisified and callbacks have been removed along PR #833 and preceeding PR #779.

Old API:

ethash.verifyPOW(validblock, (result) => {
  console.log(result)
})

New API:

const result = await ethash.verifyPOW(validBlock)
console.log(result) // => true

See Ethash README for a complete example.

Dual ES5 and ES2017 Builds

We significantly updated our internal tool and CI setup along the work on PR #913 with an update to ESLint from TSLint for code linting and formatting and the introduction of a new build setup.

Packages now target ES2017 for Node.js builds (the main entrypoint from package.json) and introduce a separate ES5 build distributed along using the browser directive as an entrypoint, see PR #921. This will result in performance benefits for Node.js consumers, see here for a releated discussion.

Other Changes

  • Updated Block dependency to @ethereumjs/block v3.0.0, PR #883
  • Removed async dependency, PR #779

0.0.8 - 2020-05-27

This is a maintenance release with dependency updates, CI improvements, and some code modernization.

Changes from PR #23:

  • Upgraded CI from travis to GH Actions
  • Node versions tested updated from [4, 5] to [10, 12, 13, 14]
  • Upgraded dev deps (ethereumjs-block, nyc, standard)
  • Added ethash_tests.json to test dir and removes ethereumjs-testing dep
  • Use single imports for ethereumjs-util, upgrades to v7.0.2
  • Modernizes buffer init syntax

Further/preceeding dependency updates in PR #19, PR #11, PR #8 and PR #7

Older releases:

  • 0.0.7 - 2016-05-01
  • 0.0.6 - 2016-01-08
  • 0.0.5 - 2015-11-27
  • 0.0.4 - 2015-10-01