Skip to content

Releases: crytic/crytic-compile

v0.1.6

20 Dec 17:30
Compare
Choose a tag to compare

0.1.6 - 2019-12-20

This release improves the overall code quality through the use of python type annotation, and a significant increase in the documentation coverage. Additionally, a new flag was added --ignore-compile and we moved from travis to GitHub actions.

Thanks to our external contributor:

Added

  • Python type annotation (#54)
  • --ignore-compile flag, which disables the compilation for any platform (shortcut for --truffle-ignore-compile --embark-ignore-compile ....) (#55)

Changed

  • Increase documentation coverage (#54)
  • cryticparser.defaults_flag_in_config is renamed DEFAULTS_FLAG_IN_CONFIG (#54, breaking change)
  • Use GitHub action instead of travis (#57, #58)

Fixed

  • Many pylint issues (#54)

v0.1.5

22 Nov 15:52
8716f2d
Compare
Choose a tag to compare

0.1.5 - 2019-11-22

This release adds support for Waffle and bytecode-only contracts from Etherscan. It also fixes minor bugs.

Thanks to our external contributor:

Added

  • Waffle support (#44)
  • Support for bytecode-only contracts from Etherscan (#52)

Fixed

  • Minor standard export bug (#46)
  • Node version in the regression tests (#48)

v0.1.4

04 Oct 15:23
Compare
Choose a tag to compare

0.1.4 - 2019-10-04

This release adds the support for Brownie, integrates minor improvements and fixes several bugs.

Thanks to our external contributor:

Added

  • Brownie support (#41)
  • Solc standard json support (#29)
  • --npx-disable flag (#35)

Changed

  • Truffle: naive solc version deduction form the config file (#38) (speed up truffle platform)
  • Dapp: use cache for travis test (#42)

Fixed

  • Allow self-referencing package (#30)
  • Embark: incorrect compiler version (c130376)
  • Standard: Incorrect dependencies (#33)
  • Truffle: prevent crash if incorrect json artifacts are present (#36)

v0.1.3

16 Aug 15:52
Compare
Choose a tag to compare

0.1.3 - 2019-08-16

This release adds support for Vyper, an archive mode to simplify codebase export, improves the API, and fixes multiple bugs.

The Vyper support allows Manticore to work natively on Vyper codebase.

Added

  • Vyper support (#25)
  • Archive mode (#24)
  • Library detection (#26)
  • Provide source code content (d9846f2)

Fixed

  • Incorrect solc-remaps argument (8f83ddd)
  • Incorrect solc-args argument (5ab85e1)

0.1.2 - 2019-06-05

05 Jun 19:56
Compare
Choose a tag to compare

0.1.2 - 2019-06-05

This release extends crytic-compile capacities and fixes a bug related to the file encoding.

Added

  • Support for native solc in truffle (#20)
  • Add etherlime> 2.0.0 support (#19)
  • Add support for a list of different solc versions (#18)

Changed

  • Cli: return -1 if the compilation failed (#21)

Fixed

v0.1.1

14 May 18:34
Compare
Choose a tag to compare

0.1.1 - 2019-05-14

This release fixes minor bugs and extends crytic-compile capacities

Added

  • is_dependency API to determine if a file is from a library (3ed5160)
  • Allow compilation of relative and absolute paths for truffle/embark/dapp #14

Changed

  • Improve support for old solc version (5bf2527)
  • Improve custom version of truffle (dbf3a16)
  • Use truffle compile --all to prevent incorrect json update (e74f659)
  • Change filename of saved etherscan files #15

Fixed

  • Fix error when compiling empty contract (#13)
  • Fix collision if a filename is named as an etherscan address (#10)

v0.1.0

24 Apr 18:54
4b4e2da
Compare
Choose a tag to compare

0.1.0 - 2019-04-24

First public release of crytic-compile. The library standardizes the smart contract compilation. It can be used as a command line or through the Python API.

Features

  • ASTs
  • ABIs
  • Init and runtime bytecode
  • Init and runtime source map
  • Compiler version and optimization
  • Standardization of the paths
  • Standardization of the compilation options

Platforms supported

  • Truffle
  • Embark
  • Dapp
  • Etherlime
  • Etherscan

See the Configuration documentation for advanced usages.

Tools integration