Highlights
How to Upgrade
Changelog
Related Releases
We're moving to a beta
› latest
release pipeline, where all non-hotfix changes are first released in a beta before being promoted to a stable release.
We'd love it if you'd start using the latest betas and let us know early and often if you find any bugs or regressions!
Highlights
v2.13.0-alpha.2 – Johnnycake Cobblers
Johnnycake Cobblers: another dessert with a weird name. Someone really should cook up all the release names we've used for us Trufflers to try one day! 😋
This release is an alpha
release. Why? Because it's been shrinkwrapped by npm v7.0.0-rc.0, which may have unintended side-effects. npm v6 has a couple of bugs that have complicated our releases. The first is that npm install ganache-core
installs ganache's devDependencies
if they are in the npm-shrinkwrap.json file, even though they are marked as "dev": true
. The other bug is that if we npm prune --production
before shrinkwrapping and publishing, npm creates an invalid shrinkwrap file; specifically: some entries that should be removed are only partially removed; their name
fields remain but their repository fields are missing, which causes npm install ganache-core
to crash npm with a Cannot read property 'match' of undefined
error. npm v7.0.0-rc.0 produces an npm v6 compatible npm-shrinkwrap.json
file, but without these bugs.
This release also ships a new feature: @tynes added the blockHash
param to eth_getLogs
. Thanks, Mark!
How to Upgrade
Upgrade to the latest beta version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@alpha
yarn
yarn remove ganache-core
yarn add ganache-core@alpha
Changelog
Features:
- feat: add ability to use blockHash with eth_getLogs (#639)
Fixes:
- fix: remove dev dependencies from published package's shrinkwrap (#640)
Misc:
- test: increase infura test timeouts so they stop failing in CI (#642)
- chore: update CI's node 14 version to 14.13.0 (#641)
- trying npm 7 to see if it can
prune --production
andshrinkwrap
without creating an invalid shrinkwrap file 4b3f588 - update to npm v7.0.0-rc.0 2af3122
- chore: fix prepublish script for npm 7 b30a886
Related Releases
💖 The Truffle Team