Skip to content

Releases: eth-brownie/brownie

brownie 1.5.1

21 Jan 18:44
Compare
Choose a tag to compare

Fixed

  • Correctly isolate path and nodeid from test cases inside classes
  • Allow "" and "0x" when converting to bytes, disallow booleans
  • Tests can run from inside a project subfolder
  • Preserve pytest rootdir when a Brownie project is in a subfolder of a Python project

brownie 1.5.0

20 Jan 12:16
Compare
Choose a tag to compare

Added

  • interfaces/ folder for interface sources
  • Support for pytest-xdist
  • Tested support for Vyper with ethPM
  • Progress bar when downloading a Brownie mix
  • get_abi method for Solidity and Vyper compilers
  • Create .gitignore and .gitattributes when initializing new project

Changed

  • Move check for new contract sources from Project.__init__ to Project.load
  • Set istanbul as default EVM ruleset, run tests against ganache-cli v6.8.2

Deprecated

  • pytest.reverts is deprecated in favor of brownie.reverts

Fixed

  • Check pragma statements when determining if a contract should be recompiled
  • Understand abstract contract when regexing contract source

brownie 1.4.2

10 Jan 19:09
8cf919b
Compare
Choose a tag to compare

Added

  • Add Ethereum Classic networks in brownie-config.yaml
  • Accept atlantis and agharta as EVM ruleset options in brownie-config.yaml

Changed

  • Use vyper version 0.1.0b16

Fixed

  • Create ~/.brownie/accounts when accounts command-line interface is called

brownie 1.4.1

09 Jan 21:47
a20922c
Compare
Choose a tag to compare

Changed

  • Do not install solc until required for compilation
  • Adjust compiler config settings to be less Solidity-centric

Fixed

  • Compiler bug when generating Vyper branch paths
  • Permission error when launching Brownie with Ganache already running on OSX

brownie 1.4.0

07 Jan 22:26
7003314
Compare
Choose a tag to compare

Added

  • support for Vyper smart contracts (v0.1.0-beta15)
  • brownie accounts commandline interface

brownie 1.3.2

01 Jan 21:41
4ec5dca
Compare
Choose a tag to compare

Added

  • error message for modulus by zero
  • progress bar when installing new version of solc

brownie 1.3.1

25 Dec 18:26
f3f68e6
Compare
Choose a tag to compare

Added

  • better error message for division by zero

Fixed

  • Correctly save minified source offsets in build artifacts
  • Coverage evaluation: isolate active_branches between jumps

brownie 1.3.0

20 Dec 19:54
0082482
Compare
Choose a tag to compare

Added

  • support for Solidity v0.6.0
  • allow istanbul as choice for EVM ruleset (default is still petersburg)
  • allow dev: revert comments for assert statements
  • better error messages when sending ether to nonpayable function, or trying to access an invalid array index

Fixed

  • GUI properly highlights JUMPDEST targets within first 256 bytes
  • Close IO objects to avoid warnings on exit

brownie 1.2.1

28 Nov 05:14
Compare
Choose a tag to compare

Added

  • cache available solc compiler versions to avoid repeated calls
  • store data files in ~/.brownie/

Fixed

  • removed Tkinter dependency when not loading the GUI

brownie 1.2.0

23 Nov 16:53
3b38743
Compare
Choose a tag to compare

Added

  • ethPM integration
  • ProjectContract objects persist between sessions (when enabled in the config file)

Changed

  • scripts.run only works when a project is loaded, supports multiple loaded projects

Fixed

  • use isinstance instead of type for conversions, fixes hexstring comparison bug
  • pretty printing for more objects in the console
  • properly display SyntaxError in console when there is no source highlight
  • improved regex statement for finding individual contracts within source files
  • favor ==x.x dependencies over >=x.x <x.y, removed deps-of-deps to reduce conflicts
  • delete stale compiler artifacts from build/contracts/ when contract name has changed within the same source file