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

v5.1.21 – `immutable` caramel

Compare
Choose a tag to compare
@gnidan gnidan released this 11 Apr 04:42
· 7080 commits to develop since this release

Good day!

Please enjoy this Truffle release! Today, we bring you two notable enhancements:

  1. Firstly, @rkalis has updated Truffle's migration output to include both decimal and hexadecimal for gas values! Pretty handy! 📋
    Screen Shot 2020-04-02 at 8 40 51 AM
  2. Secondly, Solidity v0.6.5 and above now provide the immutable keyword! 💪Thanks to @haltman-at's quick action and due preparedness, Truffle's debugger and decoder now both support this new language feature!

As always, check the changelog below for more, and please do take care! Let us know if you run into any issues. 🙇

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

  • Display all migration gas numbers in dec and hex formats (#2916 by @rkalis)
  • Add missing forAddress convenience function to decoder (#2931 by @haltman-at)
  • Add debugger/decoder support for immutable state variables (#2944 by @haltman-at)

Bug-fixes

Internal improvements