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

v5.0.2 – Fixes for truffle-contract / numberFormat compatibility

Choose a tag to compare

@gnidan gnidan released this 16 Jan 00:26
· 11060 commits to develop since this release

Patch release for your download! 💾

This release removes web3.js and ethers as <script /> dependencies of truffle-contract, fixes some console messaging, and resolves a problem with v5's numberFormat BigNumber compatibility.

Contents

Fixes

#1624 Refer to the default config file name in error messages and hints (thanks @shane-t!)
#1626 Fix truffle-contract's browser dependencies (thanks to @sarbogast for raising the issue!)
#1631 Edit the way bignumber.js is required (thanks @eggplantzzz!)

How to upgrade

As usual, we recommend upgrading to the latest version of Truffle by doing:

npm uninstall -g truffle
npm install -g truffle

Let us know if you run into any problems! Thank you! 👋