Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

v1.1.0-beta.0 - Candy Apple 🍎

Pre-release
Pre-release
Compare
Choose a tag to compare
@benjamincburns benjamincburns released this 18 Jan 01:04
· 1475 commits to develop since this release

Note: This release was originally published as v2.0.0-beta.0, but we realized that this is actually more of an additive release, so we dialed it back to a minor build number instead of a major one. Apologies to Windows users – if you grabbed the v2.0.0-beta.0 release already, you'll need to uninstall that one prior to attempting to install any new release with a version number <=2.0.0.0.

Release Highlights

  • Includes all changes made in ganache-cli v7.0.0-beta.0
  • No more race conditions causing random, intermittent crashes!
  • Websockets support!
  • Support for pub/sub via eth_subscribe and eth_unsubscribe!
  • Works with Web3 1.0!
  • No longer hangs on exit if client hasn't disconnected!
  • Contract runtime error reporting is now consistent with geth, Parity, and other clients
    • Runtime errors in contract code no longer cause web3.eth.sendTransaction to return promises which revert or to pass an error to the callback
    • To determine if your transaction was successful you must check the status field of the transaction receipt – a value of 0x1 means success, and 0x0 means failure.
    • Important:
      • This is enabled by default in this beta build and cannot be toggled in Ganache settings
      • We will be adding a toggle to the settings page which allows you to revert this behavior before we make a stable 1.2.0 release.
      • For discussion on why this change was made, please see "Important note about contract runtime error reporting" in the ganache-cli v7.0.0-beta.0 release notes](https://github.com/trufflesuite/ganache-cli/releases/v7.0.0-beta.0).
      • We are relying on your feedback to determine whether or not this change should be enabled by default. Please ping us in the truffle gitter channel or on twitter with your feedback!
  • Improved idle CPU usage
    • Replaced the SVG "mining" spinner with a one which requires zero paint operations.

Note: This release is a beta, meaning we think it's going to be great, but we haven't put it through rigorous manual testing just yet. Please help us out and raise issues for any problems you discover!