v5.0.37 — Add a bit more sugar to the init command
Hey, hey, hey! Now that we're all back together, it's time to celebrate release time again! 🎉
First off there is some work done for the config
command. Now, for setting and getting values you can use the following syntax: truffle config set <optionName> <value>
. Unfortunately, we have to deprecate the old syntax for enabling and disabling analytics (truffle config --<en|dis>able-analytics
🙁). We'll all be very sad to see it go. But we have to say, the new form should be much more flexible and robust for setting and getting option values! 😉
Next up we have a little upgrade for both the init
and unbox
commands. You can now specify a target destination for initializing a new project or unboxing a Truffle box. Just use truffle init <pathToProjectDestination>
! Thanks to @pensivej for getting that one started!
We'll also throw in a smattering of improvements to the mix: update the release script, tweak a CI variable, and pin the version of Geth used in the CI. There you have it, voila! This week's release all ready to go!
See you soon for the next release. Until then, be well!
How to Upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Enhancements
- Allow path argument for
init
andunbox
commands (#2387 by @eggplantzzz) - Abstract the config command to read/write Truffle options (#2302 by @seesemichaelj)
Internal improvements
- Release script enhancements (#2386 by @seesemichaelj)
- Pin geth to latest stable version (#2392 by @CruzMolina)
- Set CI env (#2394 by @CruzMolina)