| 1 |
v1.6.2 |
| 2 |
date: 2026-04-14 |
| 3 |
changes: |
| 4 |
- Update minimatch to 3.1.5. |
| 5 |
(PR: https://github.com/gruntjs/grunt/pull/1796) |
| 6 |
- Update nopt to 5.0.0. |
| 7 |
(PR: https://github.com/gruntjs/grunt/pull/1778) |
| 8 |
v1.6.1 |
| 9 |
date: 2023-01-31 |
| 10 |
changes: |
| 11 |
- Downgrades to glob 7 for Windows compatability |
| 12 |
- Removes mkdirp and rimraf in favour of node.js APIs. |
| 13 |
v1.6.0 |
| 14 |
date: 2023-01-28 |
| 15 |
changes: |
| 16 |
- Requires node.js 16+. |
| 17 |
- template.date now uses dateformat ~4.6.2. |
| 18 |
- other dependency updates such as glob, rimraf, etc. |
| 19 |
v1.5.3 |
| 20 |
date: 2022-04-23 |
| 21 |
changes: |
| 22 |
- Patch up race condition in symlink copying. |
| 23 |
v1.5.2 |
| 24 |
date: 2022-04-12 |
| 25 |
changes: |
| 26 |
- Unlink symlinks when copy destination is a symlink. |
| 27 |
v1.5.1 |
| 28 |
date: 2022-04-11 |
| 29 |
changes: |
| 30 |
- Fixed symlink destination handling. |
| 31 |
v1.5.0 |
| 32 |
date: 2022-04-10 |
| 33 |
changes: |
| 34 |
- Updated dependencies. |
| 35 |
- Add symlink handling for copying files. |
| 36 |
v1.4.1 |
| 37 |
date: 2021-05-24 |
| 38 |
changes: |
| 39 |
- Fix --preload option to be a known option |
| 40 |
- Switch to GitHub Actions |
| 41 |
v1.4.0 |
| 42 |
date: 2021-04-21 |
| 43 |
changes: |
| 44 |
- Security fixes in production and dev dependencies |
| 45 |
- Liftup/Liftoff upgrade breaking change. Update your scripts to use --preload instead of --require. Ref: https://github.com/js-cli/js-liftoff/commit/e7a969d6706e730d90abb4e24d3cb4d3bce06ddb. |
| 46 |
v1.3.0 |
| 47 |
date: 2020-08-18 |
| 48 |
changes: |
| 49 |
- Switch to use `safeLoad` for loading YML files via `file.readYAML`. |
| 50 |
- Upgrade legacy-log to ~3.0.0. |
| 51 |
- Upgrade legacy-util to ~2.0.0. |
| 52 |
v1.2.1 |
| 53 |
date: 2020-07-07 |
| 54 |
changes: |
| 55 |
- Remove path-is-absolute dependency. |
| 56 |
(PR: https://github.com/gruntjs/grunt/pull/1715) |
| 57 |
v1.2.0 |
| 58 |
date: 2020-07-03 |
| 59 |
changes: |
| 60 |
- Allow usage of grunt plugins that are located in any location that |
| 61 |
is visible to Node.js and NPM, instead of node_modules directly |
| 62 |
inside package that have a dev dependency to these plugins. |
| 63 |
(PR: https://github.com/gruntjs/grunt/pull/1677) |
| 64 |
- Removed coffeescript from dependencies. To ease transition, if |
| 65 |
coffeescript is still around, Grunt will attempt to load it. |
| 66 |
If it is not, and the user loads a CoffeeScript file, |
| 67 |
Grunt will print a useful error indicating that the |
| 68 |
coffeescript package should be installed as a dev dependency. |
| 69 |
This is considerably more user-friendly than dropping the require entirely, |
| 70 |
but doing so is feasible with the latest grunt-cli as users |
| 71 |
may simply use grunt --require coffeescript/register. |
| 72 |
(PR: https://github.com/gruntjs/grunt/pull/1675) |
| 73 |
- Exposes Grunt Option keys for ease of use. |
| 74 |
(PR: https://github.com/gruntjs/grunt/pull/1570) |
| 75 |
- Avoiding infinite loop on very long command names. |
| 76 |
(PR: https://github.com/gruntjs/grunt/pull/1697) |
| 77 |
v1.1.0 |
| 78 |
date: 2020-03-16 |
| 79 |
changes: |
| 80 |
- Update to mkdirp ~1.0.3 |
| 81 |
- Only support versions of Node >= 8 |
| 82 |
v1.0.4 |
| 83 |
date: 2019-04-22 |
| 84 |
changes: |
| 85 |
- Update js-yaml to address https://npmjs.com/advisories/788 |
| 86 |
- Use SOURCE_DATE_EPOCH to render dates in template. |
| 87 |
v1.0.3 |
| 88 |
date: 2018-06-03 |
| 89 |
changes: |
| 90 |
- Drop support for Node 0.10 and 0.12. |
| 91 |
- Dependency updates: rimraf, grunt-legacy-log, grunt-legacy-util. |
| 92 |
- Fix race condition with file.mkdir. |
| 93 |
v1.0.2 |
| 94 |
date: 2018-02-07 |
| 95 |
changes: |
| 96 |
- Fix for readYAML error messages. |
| 97 |
- Remove deprecation warning for coffeescript. Pull #1621. |
| 98 |
v1.0.1 |
| 99 |
date: 2016-04-05 |
| 100 |
changes: |
| 101 |
- minor fix for npm issues when installing grunt and grunt-cli at the same time. Pull #1500. |
| 102 |
v1.0.0 |
| 103 |
date: 2016-04-04 |
| 104 |
changes: |
| 105 |
- full list of changes is on http://gruntjs.com, please also see changes from 1.0.0-rc1. |
| 106 |
- if you have a Grunt plugin that includes `grunt` in the `peerDependencies`, |
| 107 |
we recommend tagging with `"grunt": "">= 0.4.0"` and publishing a new version on npm. |
| 108 |
- Prevent async callback from being called multiple times. Pull #1464. |
| 109 |
- Update copyright to jQuery Foundation and remove redundant headers. Fixes #1478. |
| 110 |
- Update glob to 7.0.x. Fixes #1467. |
| 111 |
- Removing duplicate BOM strip code. Pull #1482. |
| 112 |
- Update legacy log and util to 1.0.0. |
| 113 |
- Update to latest cli ~1.2.0. |
| 114 |
- Use grunt-known-options for shared options between Grunt and grunt-cli. |
| 115 |
v1.0.0-rc1 |
| 116 |
date: 2016-02-11 |
| 117 |
changes: |
| 118 |
- full list of changes is on http://gruntjs.com |
| 119 |
- if you have a Grunt plugin that includes `grunt` in the `peerDependencies`, |
| 120 |
we recommend tagging with `"grunt": "">= 0.4.0"` |
| 121 |
- `coffee-script` is upgraded to `~1.10.0` which could incur breaking changes |
| 122 |
when using the language with plugins and Gruntfiles. |
| 123 |
- `nopt` is upgraded to `~3.0.6` which has fixed many issues, including passing |
| 124 |
multiple arguments and dealing with numbers as options. Be aware previously |
| 125 |
`--foo bar` used to pass the value `'bar'` to the option `foo`. It will now |
| 126 |
set the option `foo` to `true` and run the task `bar`. |
| 127 |
-`glob` is upgraded to `~6.0.4` and `minimatch` is upgraded to `~3.0.0`. Results |
| 128 |
are now sorted by default with `grunt.file.expandMapping()`. Pass the |
| 129 |
`nosort: true` option if you don't want the results to be sorted. |
| 130 |
- `lodash` was upgraded to `~4.3.0`. Many changes have occurred. Some of which |
| 131 |
that directly effect Grunt are `grunt.util._.template()` returns a compile |
| 132 |
function and `grunt.util._.flatten` no longer flattens deeply. |
| 133 |
`grunt.util._` is deprecated and we highly encourage you to |
| 134 |
`npm install lodash` and `var _ = require('lodash')` to use `lodash`. |
| 135 |
Please see the lodash changelog for a full list of changes: https://github.com/lodash/lodash/wiki/Changelog |
| 136 |
- `iconv-lite` is upgraded to `~0.4.13` and strips the BOM by default. |
| 137 |
- `js-yaml` is upgraded to `~3.5.2` and may affect `grunt.file.readYAML`. |
| 138 |
We encourage you to please `npm install js-yaml` and use |
| 139 |
`var YAML = require('js-yaml')` directly in case of future deprecations. |
| 140 |
- A file `mode` option can be passed into |
| 141 |
[grunt.file.write()](http://gruntjs.com/api/grunt.file#grunt.file.write). |
| 142 |
- `Done, without errors.` was changed to `Done.` to avoid failing by mistake |
| 143 |
on the word `errors`. |
| 144 |
v0.4.5: |
| 145 |
date: 2014-05-12 |
| 146 |
changes: |
| 147 |
- Updated rimraf to 2.2.8. Closes gh-1134. |
| 148 |
- Moved grunt.log into separate grunt-legacy-log module. |
| 149 |
- Updated grunt-legacy-util to 0.2.0. Closes gh-971, gh-1129, gh-1118. |
| 150 |
- Added grunt.task.exists method to check if a task exists. Closes gh-1131. |
| 151 |
- Added grunt.config.merge method to deep merge config data. See gh-1039. |
| 152 |
- Fixed symlink issues with 'file.isPathCwd' and 'file.doesPathContain'. Closes gh-1112. |
| 153 |
- Config and util.recurse no longer mangle Buffer instances. See gh-971. |
| 154 |
- Config and util.recurse now enumerate inherited object properties. See gh-1129. |
| 155 |
- Config and util.recurse now throw useful circular reference error. See gh-1118. |
| 156 |
- Warn instead of error when no new tasks found via '.loadTasks' method. Closes gh-1059. |
| 157 |
- Added Windows CI testing. Closes gh-1110. |
| 158 |
- Removed "CONTRIBUTING.md" from .npmignore. Closes gh-1093. |
| 159 |
v0.4.4: |
| 160 |
date: 2014-03-12 |
| 161 |
changes: |
| 162 |
- Only signal completion of tasks async if grunt.task.start is invoked with `{asyncDone:true}`. |
| 163 |
v0.4.3: |
| 164 |
date: 2014-03-07 |
| 165 |
changes: |
| 166 |
- When devving Grunt, do "npm install && npm uninstall grunt" (isaacs/npm#3958) |
| 167 |
- Grunt is now tested on Node.js 0.11 |
| 168 |
- Extracted internal "util" lib to "grunt-legacy-util" lib |
| 169 |
- task.normalizeMultiTaskFiles now flattens nested "files" arrays. Closes gh-1034. |
| 170 |
- Better error in renameTask if task doesn't exist. Closes gh-1058. |
| 171 |
- Update rimraf to latest version. Closes gh-1043. |
| 172 |
- Empty string "ext" should strip extension. Closes gh-1087. |
| 173 |
- Add expandMapping .extDot option. Can be 'first' or 'last' but defaults to 'first'. Closes gh-979. |
| 174 |
- Add default array for util.spawn optional args. Closes gh-1064. |
| 175 |
- util.spawn "grunt" option now uses proper Node, passes Node exec options. Closes gh-980, gh-981, gh-877. |
| 176 |
- Make all tasks asynchronous to reduce call stack. Closes gh-1026. |
| 177 |
- Fix <%= grunt.task.current.target %> in Multitask files. Closes gh-994. |
| 178 |
- Generalize cli tests, see gh-983, gh-991. |
| 179 |
- --debug option can optionally be Boolean. Closes Gh-983, gh-991. |
| 180 |
v0.4.2: |
| 181 |
date: 2013-11-21 |
| 182 |
changes: |
| 183 |
- Extract internal "namespace" lib to external "getobject" lib. |
| 184 |
- '"Grunt collections" are now deprecated, use peerDependencies. See "grunt-contrib" 0.8.0 for details.' |
| 185 |
- Fix stdout / stderr issues on Windows. Closes gh-940, gh-921, gh-744, gh-792, gh-644, gh-708. |
| 186 |
- Fix pipe-redirecting on Windows. Closes gh-510. |
| 187 |
- Fixed this.options() in renamed basic tasks. Closes gh-855. |
| 188 |
- Update underscore.string dependency to follow semver. Closes gh-886. |
| 189 |
- Output task options in verbose mode. Closes gh-749. |
| 190 |
- Add file.preserveBOM property. Closes gh-806, gh-937. |
| 191 |
- Test that file methods warn. Closes gh-909. |
| 192 |
- Fixed a few spelling errors in code comments. Closes gh-849. |
| 193 |
- Updated watch, jshint and nodeunit deps. Closes gh-914. |
| 194 |
v0.4.1: |
| 195 |
date: 2013-03-13 |
| 196 |
changes: |
| 197 |
- Fix path.join thrown errors with expandMapping rename. Closes gh-725. |
| 198 |
- Update copyright date to 2013. Closes gh-660. |
| 199 |
- Remove some side effects from manually requiring Grunt. Closes gh-605. |
| 200 |
- "grunt.log: add formatting support and implicitly cast msg to a string. Closes gh-703." |
| 201 |
- Update js-yaml to version 2. Closes gh-683. |
| 202 |
- The grunt.util.spawn method now falls back to stdout when the `grunt` option is set. Closes gh-691. |
| 203 |
- Making --verbose "Files:" warnings less scary. Closes gh-657. |
| 204 |
- "Fixing typo: the grunt.fatal method now defaults to FATAL_ERROR. Closes gh-656, gh-707." |
| 205 |
- Removed a duplicate line. Closes gh-702. |
| 206 |
- Gruntfile name should no longer be case sensitive. Closes gh-685. |
| 207 |
- The grunt.file.delete method warns and returns false if file doesn't exist. Closes gh-635, gh-714. |
| 208 |
- The grunt.package property is now resolved via require(). Closes gh-704. |
| 209 |
- The grunt.util.spawn method no longer breaks on multibyte stdio. Closes gh-710. |
| 210 |
- Fix "path.join arguments must be strings" error in file.expand/recurse when options.cwd is not set. Closes gh-722. |
| 211 |
- Adding a fairly relevant keyword to package.json (task). |
| 212 |
v0.4.0: |
| 213 |
date: 2013-02-18 |
| 214 |
changes: |
| 215 |
- Initial release of 0.4.0. |
| 216 |
- See http://gruntjs.com/upgrading-from-0.3-to-0.4 for a list of changes / migration guide. |