CHANGELOG 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. v1.0.1
  2. date: 2016-04-05
  3. changes:
  4. - minor fix for npm issues when installing grunt and grunt-cli at the same time. Pull #1500.
  5. v1.0.0
  6. date: 2016-04-04
  7. changes:
  8. - full list of changes is on http://gruntjs.com, please also see changes from 1.0.0-rc1.
  9. - if you have a Grunt plugin that includes `grunt` in the `peerDependencies`,
  10. we recommend tagging with `"grunt": "">= 0.4.0"` and publishing a new version on npm.
  11. - Prevent async callback from being called multiple times. Pull #1464.
  12. - Update copyright to jQuery Foundation and remove redundant headers. Fixes #1478.
  13. - Update glob to 7.0.x. Fixes #1467.
  14. - Removing duplicate BOM strip code. Pull #1482.
  15. - Update legacy log and util to 1.0.0.
  16. - Update to latest cli ~1.2.0.
  17. - Use grunt-known-options for shared options between Grunt and grunt-cli.
  18. v1.0.0-rc1
  19. date: 2016-02-11
  20. changes:
  21. - full list of changes is on http://gruntjs.com
  22. - if you have a Grunt plugin that includes `grunt` in the `peerDependencies`,
  23. we recommend tagging with `"grunt": "">= 0.4.0"`
  24. - `coffee-script` is upgraded to `~1.10.0` which could incur breaking changes
  25. when using the language with plugins and Gruntfiles.
  26. - `nopt` is upgraded to `~3.0.6` which has fixed many issues, including passing
  27. multiple arguments and dealing with numbers as options. Be aware previously
  28. `--foo bar` used to pass the value `'bar'` to the option `foo`. It will now
  29. set the option `foo` to `true` and run the task `bar`.
  30. -`glob` is upgraded to `~6.0.4` and `minimatch` is upgraded to `~3.0.0`. Results
  31. are now sorted by default with `grunt.file.expandMapping()`. Pass the
  32. `nosort: true` option if you don't want the results to be sorted.
  33. - `lodash` was upgraded to `~4.3.0`. Many changes have occurred. Some of which
  34. that directly effect Grunt are `grunt.util._.template()` returns a compile
  35. function and `grunt.util._.flatten` no longer flattens deeply.
  36. `grunt.util._` is deprecated and we highly encourage you to
  37. `npm install lodash` and `var _ = require('lodash')` to use `lodash`.
  38. Please see the lodash changelog for a full list of changes: https://github.com/lodash/lodash/wiki/Changelog
  39. - `iconv-lite` is upgraded to `~0.4.13` and strips the BOM by default.
  40. - `js-yaml` is upgraded to `~3.5.2` and may affect `grunt.file.readYAML`.
  41. We encourage you to please `npm install js-yaml` and use
  42. `var YAML = require('js-yaml')` directly in case of future deprecations.
  43. - A file `mode` option can be passed into
  44. [grunt.file.write()](http://gruntjs.com/api/grunt.file#grunt.file.write).
  45. - `Done, without errors.` was changed to `Done.` to avoid failing by mistake
  46. on the word `errors`.
  47. v0.4.5:
  48. date: 2014-05-12
  49. changes:
  50. - Updated rimraf to 2.2.8. Closes gh-1134.
  51. - Moved grunt.log into separate grunt-legacy-log module.
  52. - Updated grunt-legacy-util to 0.2.0. Closes gh-971, gh-1129, gh-1118.
  53. - Added grunt.task.exists method to check if a task exists. Closes gh-1131.
  54. - Added grunt.config.merge method to deep merge config data. See gh-1039.
  55. - Fixed symlink issues with 'file.isPathCwd' and 'file.doesPathContain'. Closes gh-1112.
  56. - Config and util.recurse no longer mangle Buffer instances. See gh-971.
  57. - Config and util.recurse now enumerate inherited object properties. See gh-1129.
  58. - Config and util.recurse now throw useful circular reference error. See gh-1118.
  59. - Warn instead of error when no new tasks found via '.loadTasks' method. Closes gh-1059.
  60. - Added Windows CI testing. Closes gh-1110.
  61. - Removed "CONTRIBUTING.md" from .npmignore. Closes gh-1093.
  62. v0.4.4:
  63. date: 2014-03-12
  64. changes:
  65. - Only signal completion of tasks async if grunt.task.start is invoked with `{asyncDone:true}`.
  66. v0.4.3:
  67. date: 2014-03-07
  68. changes:
  69. - When devving Grunt, do "npm install && npm uninstall grunt" (isaacs/npm#3958)
  70. - Grunt is now tested on Node.js 0.11
  71. - Extracted internal "util" lib to "grunt-legacy-util" lib
  72. - task.normalizeMultiTaskFiles now flattens nested "files" arrays. Closes gh-1034.
  73. - Better error in renameTask if task doesn't exist. Closes gh-1058.
  74. - Update rimraf to latest version. Closes gh-1043.
  75. - Empty string "ext" should strip extension. Closes gh-1087.
  76. - Add expandMapping .extDot option. Can be 'first' or 'last' but defaults to 'first'. Closes gh-979.
  77. - Add default array for util.spawn optional args. Closes gh-1064.
  78. - util.spawn "grunt" option now uses proper Node, passes Node exec options. Closes gh-980, gh-981, gh-877.
  79. - Make all tasks asynchronous to reduce call stack. Closes gh-1026.
  80. - Fix <%= grunt.task.current.target %> in Multitask files. Closes gh-994.
  81. - Generalize cli tests, see gh-983, gh-991.
  82. - --debug option can optionally be Boolean. Closes Gh-983, gh-991.
  83. v0.4.2:
  84. date: 2013-11-21
  85. changes:
  86. - Extract internal "namespace" lib to external "getobject" lib.
  87. - '"Grunt collections" are now deprecated, use peerDependencies. See "grunt-contrib" 0.8.0 for details.'
  88. - Fix stdout / stderr issues on Windows. Closes gh-940, gh-921, gh-744, gh-792, gh-644, gh-708.
  89. - Fix pipe-redirecting on Windows. Closes gh-510.
  90. - Fixed this.options() in renamed basic tasks. Closes gh-855.
  91. - Update underscore.string dependency to follow semver. Closes gh-886.
  92. - Output task options in verbose mode. Closes gh-749.
  93. - Add file.preserveBOM property. Closes gh-806, gh-937.
  94. - Test that file methods warn. Closes gh-909.
  95. - Fixed a few spelling errors in code comments. Closes gh-849.
  96. - Updated watch, jshint and nodeunit deps. Closes gh-914.
  97. v0.4.1:
  98. date: 2013-03-13
  99. changes:
  100. - Fix path.join thrown errors with expandMapping rename. Closes gh-725.
  101. - Update copyright date to 2013. Closes gh-660.
  102. - Remove some side effects from manually requiring Grunt. Closes gh-605.
  103. - "grunt.log: add formatting support and implicitly cast msg to a string. Closes gh-703."
  104. - Update js-yaml to version 2. Closes gh-683.
  105. - The grunt.util.spawn method now falls back to stdout when the `grunt` option is set. Closes gh-691.
  106. - Making --verbose "Files:" warnings less scary. Closes gh-657.
  107. - "Fixing typo: the grunt.fatal method now defaults to FATAL_ERROR. Closes gh-656, gh-707."
  108. - Removed a duplicate line. Closes gh-702.
  109. - Gruntfile name should no longer be case sensitive. Closes gh-685.
  110. - The grunt.file.delete method warns and returns false if file doesn't exist. Closes gh-635, gh-714.
  111. - The grunt.package property is now resolved via require(). Closes gh-704.
  112. - The grunt.util.spawn method no longer breaks on multibyte stdio. Closes gh-710.
  113. - Fix "path.join arguments must be strings" error in file.expand/recurse when options.cwd is not set. Closes gh-722.
  114. - Adding a fairly relevant keyword to package.json (task).
  115. v0.4.0:
  116. date: 2013-02-18
  117. changes:
  118. - Initial release of 0.4.0.
  119. - See http://gruntjs.com/upgrading-from-0.3-to-0.4 for a list of changes / migration guide.