Grunt 0.4.2 releasedPosted on November 21, 2013
Grunt 0.4.2 is now available on npm.
This release should address a lot of issues for Windows developers, such as pipe-redirection, console output and BOM preservation.
Besides a number of bug fixes, we have made a few decisions going forward regarding external dependencies in Grunt. These external libraries are deprecated and should now be required as npm modules:
- Use glob instead of
- Use minimatch instead of
- Use findup instead of
- Use lodash instead of
- Use underscore.string instead of
- Use hooker instead of
- Use async instead of
- Use getobject instead of
If you want to use these external libraries in your tasks, please install them as you would Grunt or any Grunt plugin using
npm install <module> --save-dev. For example, if you used
grunt.util._ before, you'll now require Lo-Dash instead with
npm install lodash --save-dev.
// Then change this code: var newArr = grunt.util._.map(arr, fn); // To this: var _ = require('lodash'); var newArr = _.map(arr, fn);
The team is also looking for feedback about the future of Grunt, so if you have time, please join the 0.5.0 milestone discussions.
See the 0.4.2 changelog here.
comments powered byDisqus