CHANGES 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. = Rake Changelog
  2. == Master (for 0.9.3)
  3. * The rake test loader now removes arguments it has processed. Issue #51
  4. * Rake::TaskArguments now responds to #values_at
  5. * RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
  6. * Rake tests are now directory-independent
  7. * Rake tests are no longer require flexmock
  8. * Commands constant is no longer polluting top level namespace.
  9. == Version 0.9.2
  10. * Unknown
  11. == Version 0.9.1
  12. * Added deprecation warnings to the Rake DSL methods.
  13. == Version 0.9.0
  14. * *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
  15. no longer private methods in Object. If you need to call 'task :xzy' inside
  16. your class, include Rake::DSL into the class. The DSL is still available at
  17. the top level scope (via the top level object which extends Rake::DSL).
  18. * Rake now warns when the deprecated :needs syntax used.
  19. * Rake history is now UTF-8 encoded.
  20. * Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
  21. Based on patch by Roger Pack.
  22. * Rake now requires (instead of loads) files in the test task. Patch by Cezary
  23. Baginski.
  24. * Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
  25. * Rake now prints the Rakefile directory only when it's different from the
  26. current directory. Patch by Alex Chaffee.
  27. * Improved rakefile_location discovery on Windows. Patch by James Tucker.
  28. * Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
  29. Lüdtke
  30. * Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
  31. 'rdoc/task')
  32. * Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
  33. 'rubygems/package_task')
  34. * Rake now outputs various messages to $stderr instead of $stdout.
  35. * Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
  36. * Split rake.rb into individual files.
  37. * Support for the --where (-W) flag for showing where a task is defined.
  38. * Fixed quoting in test task.
  39. (http://onestepback.org/redmine/issues/show/44,
  40. http://www.pivotaltracker.com/story/show/1223138)
  41. * Fixed the silent option parsing problem.
  42. (http://onestepback.org/redmine/issues/show/47)
  43. * Fixed :verbose=>false flag on sh and ruby commands.
  44. * Rake command line options may be given by default in a RAKEOPT
  45. environment variable.
  46. * Errors in Rake will now display the task invocation chain in effect
  47. at the time of the error.
  48. * Accepted change by warnickr to not expand test patterns in shell
  49. (allowing more files in the test suite).
  50. * Fixed that file tasks did not perform prereq lookups in scope
  51. (Redmine #57).
  52. == Version 0.8.7
  53. * Fixed EXEEXT for JRuby on windows.
  54. == Version 0.8.6
  55. * Minor fixes to the RDoc generation (removed dependency on darkfish
  56. and removed inline source option).
  57. == PreVersion 0.8.6
  58. * Now allow # comments to comment a task definition.
  59. == Version 0.8.5
  60. * Better support for the system command on Windows.
  61. == Version 0.8.4
  62. * Preserve case when locating rakefiles (patch from James
  63. M. Lawrence/quix)
  64. * Better support for windows paths in the test task (patch from Simon
  65. Chiang/bahuvrihi)
  66. * Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
  67. APPDATA, USERPROFILE (patch from Luis Lavena)
  68. * MingGW is now recognized as a windows platform. (patch from Luis
  69. Lavena)
  70. * Numerous fixes to the windows test suite (patch from Luis Lavena).
  71. * Improved Rakefile case insensitivity testing (patch from Luis
  72. Lavena).
  73. * Fixed stray ARGV option problem that was interfering with
  74. Test::Unit::Runner.
  75. * Fixed default verbose mode (was accidently changed to false).
  76. * Removed reference to manage_gem to fix the warning produced by the
  77. gem package task.
  78. == Version 0.8.3
  79. * Enhanced the system directory detection in windows. We now check
  80. HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
  81. supplied by James Tucker). Rake no long aborts if it can't find the
  82. directory.
  83. * Added fix to handle ruby installations in directories with spaces in
  84. their name.
  85. == Version 0.8.2
  86. * Fixed bug in package task so that it will include the subdir
  87. directory in the package for testing. (Bug found by Adam Majer)
  88. * Added ENV var to rakefile to prevent OS X from including extended
  89. attribute junk in a tar file. (Bug found by Adam Majer)
  90. * Fixed filename dependency order bug in test_inspect_pending and
  91. test_to_s_pending. (Bug found by Adam Majer)
  92. * Fixed check for file utils options to make them immune to the
  93. symbol/string differences. (Patch supplied by Edwin Pratomo)
  94. * Fixed bug with rules involving multiple source (Patch supplied by
  95. Emanuel Indermühle)
  96. * Switched from getoptlong to optparse (patches supplied by Edwin
  97. Pratomo)
  98. * The -T option will now attempt to dynamically sense the size of the
  99. terminal. RAKE_COLUMNS will override any dynamic sensing.
  100. * FileList#clone and FileList#dup have better sematics w.r.t. taint
  101. and freeze.
  102. * Added ability clear prerequisites, and/or actions from an existing
  103. task.
  104. * Added the ability to reenable a task to be invoked a second time.
  105. * Changed RDoc test task to have no default template. This makes it
  106. easier for the tempate to pick up the template from the environment.
  107. * Changed from using Mutex to Monitor. Evidently Mutex causes thread
  108. join errors when Ruby is compiled with -disable-pthreads. (Patch
  109. supplied by Ittay Dror)
  110. * Fixed bug in makefile parser that had problems with extra spaces in
  111. file task names. (Patch supplied by Ittay Dror)
  112. * Added a performance patch for reading large makefile dependency
  113. files. (Patch supplied by Ittay Dror)
  114. * Default values for task arguments can easily be specified with the
  115. :with_defaults method. (Idea for default argument merging supplied
  116. by (Adam Q. Salter)
  117. * The -T output will only self-truncate if the output is a tty.
  118. However, if RAKE_COLUMNS is explicitly set, it will be honored in
  119. any case. (Patch provided by Gavin Stark).
  120. * Numerous fixes for running under windows. A big thanks to Bheeshmar
  121. Redheendran for spending a good part of the afternoon at the
  122. Lonestar Ruby Conference to help me work out these issues.
  123. == Version 0.8.1
  124. * Removed requires on parsedate.rb (in Ftptools)
  125. * Removed ftools from rake.rb. Made it options in sys.rb
  126. == Version 0.8.0
  127. * Added task parameters (e.g. "rake build[version7]")
  128. * Made task parameters passable to prerequisites.
  129. * Comments are limited to 80 columns or so (suggested by Jamis Buck).
  130. * Added -D to display full comments (suggested by Jamis Buck).
  131. * The rake program will set the status value used in any explicit
  132. exit(n) calls. (patch provided by Stephen Touset)
  133. * Fixed error in functional tests that were not including session (and
  134. silently skipping the functionl tests.
  135. * Removed --usage and make -h the same as -H.
  136. * Make a prettier inspect for tasks.
  137. == Version 0.7.3
  138. * Added existing and existing! methods to FileList
  139. * FileLists now claim to be Arrays (via is_a?) to get better support
  140. from the FileUtil module.
  141. * Added init and top_level for custom rake applications.
  142. == Version 0.7.2
  143. * Error messages are now send to stderr rather than stdout (from
  144. Payton Quackenbush).
  145. * Better error handling on invalid command line arguments (from Payton
  146. Quackenbush).
  147. * Added rcov task and updated unit testing for better code coverage.
  148. * Fixed some bugs where the application object was going to the global
  149. appliation instead of using its own data.
  150. * Added square and curly bracket patterns to FileList#include (Tilman
  151. Sauerbeck).
  152. * Added plain filename support to rule dependents (suggested by Nobu
  153. Nakada).
  154. * Added pathmap support to rule dependents.
  155. * Added a 'tasks' method to a namespace to get a list of tasks
  156. associated with the namespace.
  157. * Fixed the method name leak from FileUtils (bug found by Glenn
  158. Vanderburg).
  159. * Added rake_extension to handle detection of extension collisions.
  160. * Added test for noop, bad_option and verbose flags to sh command.
  161. * Removed dependency on internal fu_xxx functions from FileUtils.
  162. * Added a 'shame' task to the Rakefile.
  163. * Added tar_command and zip_command options to the Package task.
  164. * Added a description to the gem task in GemPackageTask.
  165. * Fixed a bug when rules have multiple prerequisites (patch by Joel
  166. VanderWerf)
  167. * Added a protected 'require "rubygems"' to test/test_application to
  168. unbreak cruisecontrol.rb.
  169. * Added the handful of RakeFileUtils to the private method as well.
  170. * Added block based exclusion.
  171. * The clean task will no longer delete 'core' if it is a directory.
  172. * Removed rake_dup. Now we just simply rescue a bad dup.
  173. * Refactored the FileList reject logic to remove duplication.
  174. * Removed if __FILE__ at the end of the rake.rb file.
  175. == Version 0.7.1
  176. * Added optional filter parameter to the --tasks command line option.
  177. * Added flatten to allow rule transform procs to return lists of
  178. prereqs (Joel VanderWerf provided patch).
  179. * Added pathmap to String and FileList.
  180. * The -r option will now load .rake files (but a straight require
  181. doesn't yet). NOTE: This is experimental ... it may be
  182. discontinued.
  183. * The -f option without a value will disable the search for a
  184. Rakefile. The assumption is that the -r files are adequate.
  185. * Fixed the safe_ln function to fall back to cp in more error
  186. scenarios.
  187. == Version 0.7.0
  188. * Added Rake.original_dir to return the original starting directory of
  189. the rake application.
  190. * Added safe_ln support for openAFS (from Ludvig Omholt).
  191. * Added --trace reminder on short exception messages (David Heinemeier
  192. Hansson suggestion).
  193. * Added multitask declaration that executes prerequisites in
  194. parallel. (Doug Young providied an initial implementation).
  195. * Fixed missing_const hack to be compatible with Rails. (Jamis Buck
  196. supplied test case).
  197. * Made the RDoc task default to internal (in-process) RDoc formatting.
  198. The old behavior is still available by setting the +external+ flag
  199. to true.
  200. * Rakefiles are now loaded with the expanded path to prevent
  201. accidental polution from the Ruby load path.
  202. * The +namespace+ command now returns a NameSpace object that can be
  203. used to lookup tasks defined in that namespace. This allows for
  204. better anonymous namespace behavior.
  205. * Task objects my now be used in prerequisite lists directly.
  206. == Version 0.6.1
  207. * Rebuilt 0.6.0 gem without signing.
  208. == Version 0.6.0
  209. * Fixed file creation bug in the unit tests (caused infinite loop on
  210. windows).
  211. * Fixed bug where session based functional tests were run under
  212. windows.
  213. * Fixed bug in directory tasks so that updating a directory will not
  214. retrigger file tasks depending on the directory (see
  215. FileCreationTask and EarlyTime).
  216. * Added egrep to FileList
  217. * ruby command now runs same ruby version as rake.
  218. * Added investigation to task object. (suggested by Martin Fowler)
  219. * Added ruby_opts to the test task to allow arbitrary ruby options to
  220. be passed to the test script. (Greg Fast)
  221. * Fixed the test loader to ignore options. (Greg Fast)
  222. * Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
  223. module namespace. Old style namespace behavior can be invoked via
  224. the --classic-namespace option. (requested by Kelly Felkins).
  225. * GemTask is now sensitive to the gem platform (Masao Mutoh).
  226. * A non-existing file prerequisite will no longer cause an exception
  227. (Philipp Neubeck).
  228. * Multiple prerequisites on Rake rules now allowed (initial patch
  229. supplied by Stuart Jansen).
  230. == Version 0.5.4
  231. * Added double quotes to the test runner.
  232. * Added .svn to default ignore list.
  233. * Updated FileList#include to support nested arrays and filelists.
  234. == Version 0.5.3
  235. * Added support for importing Rakefile and other dependencies.
  236. * Fixed bug so that now rules can chain off of existing tasks as well
  237. as existing files.
  238. * Fixed verbose flag bug in the testing task. Shortened some failure
  239. messages.
  240. * Make FileUtils methods private at the top level module to avoid
  241. accidental method leaking into other objects.
  242. * Added test loader option to test task. "testrb" is no longer the
  243. default test loader. It is now eating syntax errors that should
  244. halt the unit tests.
  245. * Revamped FileList so that it works more like and array (addressed
  246. flatten bug). Added many tests around file list.
  247. * Added +ext+ method to both String and FileList.
  248. == Version 0.5.0
  249. * Fixed documentation that was lacking the Rake module name (Tilman
  250. Sauerbeck).
  251. * Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
  252. * Recursive rules are now supported (Tilman Sauerbeck).
  253. * Added warning option for the Test Task (requested by Eric Hodel).
  254. * The jamis rdoc template is only used if it exists.
  255. * Added fix for Ruby 1.8.2 test/unit and rails problem.
  256. * Added contributed rake man file (Jani Monoses).
  257. * Added Brian Candler's fix for problems in --trace and --dry-run
  258. mode.
  259. == Version 0.4.15
  260. * Fixed a bug that prevented the TESTOPTS flag from working with the
  261. revised for 1.8.2 test task.
  262. * Updated the docs on --trace to indicate that it also enables a full
  263. backtrace on errors.
  264. == Version 0.4.14
  265. * Modified the TestTask to workaround the Ruby 1.8.2 change in
  266. autoexecuting unit tests.
  267. == Version 0.4.13
  268. * Fixed the dry-run flag so it is operating again.
  269. * Multiple arguments to sh and ruby commands will not be interpreted
  270. by the shell (patch provided by Jonathan Paisley).
  271. == Version 0.4.12
  272. * Added --silent (-s) to suppress the (in directory) rake message.
  273. == Version 0.4.11
  274. * Changed the "don't know how to rake" message (finally)
  275. * Changes references to a literal "Rakefile" to reference the global
  276. variable $rakefile (which contains the actual name of the rakefile).
  277. == Version 0.4.10
  278. * Added block support to the "sh" command, allowing users to take
  279. special actions on the result of the system call. E.g.
  280. sh "shell_command" do |ok, res|
  281. puts "Program returned #{res.exitstatus}" if ! ok
  282. end
  283. == Version 0.4.9
  284. * Switched to Jamis Buck's RDoc template.
  285. * Removed autorequire from Rake's gem spec. This prevents the Rake
  286. libraries from loading while using rails.
  287. == Version 0.4.8
  288. * Added support for .rb versions of Rakefile.
  289. * Removed \\\n's from test task.
  290. * Fixed Ruby 1.9 compatibility issue with FileList.
  291. == Version 0.4.7
  292. * Fixed problem in FileList that caused Ruby 1.9 to go into infinite
  293. recursion. Since to_a was removed from Object, it does not need to
  294. added back into the list of methods to rewrite in FileList. (Thanks
  295. to Kent Sibilev for pointing this out).
  296. == Version 0.4.6
  297. * Removed test version of ln in FileUtils that prevented safe_ln from
  298. using ln.
  299. == Version 0.4.5
  300. * Upgraded comments in TestTask.
  301. * FileList to_s and inspect now automatically resolve pending changes.
  302. * FileList#exclude properly returns the FileList.
  303. == Version 0.4.4
  304. * Fixed initialization problem with @comment.
  305. * Now using multi -r technique in TestTask. Switch Rakefile back to
  306. using the built-in test task macros because the rake runtime is no
  307. longer needed.
  308. * Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
  309. macros.
  310. * Allow a +test_files+ attribute in test tasks. This allows more
  311. flexibility in specifying test files.
  312. == Version 0.4.3
  313. * Fixed Comment leakage.
  314. == Version 0.4.2
  315. * Added safe_ln that falls back to a copy if a file link is not supported.
  316. * Package builder now uses safe_ln.
  317. == Version 0.4.1
  318. * Task comments are now additive, combined with "/".
  319. * Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
  320. == Version 0.4.0
  321. * FileList now uses deferred loading. The file system is not searched
  322. until the first call that needs the file names.
  323. * VAR=VALUE options are now accepted on the command line and are
  324. treated like environment variables. The values may be tested in a
  325. Rakefile by referencing ENV['VAR'].
  326. * File.mtime is now used (instead of File.new().mtime).
  327. == Version 0.3.2.x
  328. * Removed some hidden dependencies on rubygems. Tests now will test
  329. gems only if they are installed.
  330. * Removed Sys from some example files. I believe that is that last
  331. reference to Sys outside of the contrib area.
  332. * Updated all copyright notices to include 2004.
  333. == Version 0.3.2
  334. * GEM Installation now works with the application stub.
  335. == Version 0.3.1
  336. * FileLists now automatically ignore CVS, .bak, !
  337. * GEM Installation now works.
  338. == Version 0.3.0
  339. Promoted 0.2.10.
  340. == Version 0.2.10
  341. General
  342. * Added title to Rake's rdocs
  343. * Contrib packages are no longer included in the documentation.
  344. RDoc Issues
  345. * Removed default for the '--main' option
  346. * Fixed rendering of the rdoc options
  347. * Fixed clean/clobber confusion with rerdoc
  348. * 'title' attribute added
  349. Package Task Library Issues
  350. * Version (or explicit :noversion) is required.
  351. * +package_file+ attribute is now writable
  352. FileList Issues
  353. * Dropped bang version of exclude. Now using ant-like include/exclude semantics.
  354. * Enabled the "yield self" idiom in FileList#initialize.
  355. == Version 0.2.9
  356. This version contains numerous changes as the RubyConf.new(2003)
  357. presentation was being prepared. The changes include:
  358. * The monolithic rubyapp task library is in the process of being
  359. dropped in favor of lighter weight task libraries.
  360. == Version 0.2.7
  361. * Added "desc" for task descriptions.
  362. * -T will now display tasks with descriptions.
  363. * -P will display tasks and prerequisites.
  364. * Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
  365. is still supported in the contrib area.
  366. == Version 0.2.6
  367. * Moved to RubyForge
  368. == Version 0.2.5
  369. * Switched to standard ruby app builder.
  370. * Added no_match option to file matcher.
  371. == Version 0.2.4
  372. * Fixed indir, which neglected to actually change directories.
  373. == Version 0.2.3
  374. * Added rake module for a help target
  375. * Added 'for_files' to Sys
  376. * Added a $rakefile constant
  377. * Added test for selecting proper rule with multiple targets.