@ethereumjs-util v8.0.0-beta.2
Pre-release
Pre-release
holgerd77
released this
17 Jul 16:05
·
1398 commits
to master
since this release
Beta 2 release for the upcoming breaking release round on the EthereumJS monorepo libraries, see the Beta 1 release notes (CHANGELOG) for the main change set description.
Removed Default Exports
The change with the biggest effect on UX since the last Beta 1 releases is for sure that we have removed default exports all accross the monorepo, see PR #2018, we even now added a new linting rule that completely disallows using.
Default exports were a common source of error and confusion when using our libraries in a CommonJS context, leading to issues like Issue #978.
Now every import is a named import and we think the long term benefits will very much outweigh the one-time hassle of some import adoptions.
The Util library itself has no import changes along this update.
Other Changes
- Added
ESLint
strict boolean expressions linting rule, PR #2030