Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/tags/capistrano_1-4-1/CHANGELOG

Revision 6219, 11.7 kB (checked in by minam, 2 years ago)

version bump

Line 
1 *1.4.1* (February 24, 2007)
2
3 * Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
4
5 * Deprecated upper-cased variables [Jamis Buck]
6
7 * Make sure Actor#get does not close the SFTP channel (so subsequent SFTP operations work) [Dov Murik]
8
9 * Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
10
11
12 *1.4.0* (February 3, 2007)
13
14 * Use the auth info for subversion more consistently [Jamis Buck]
15
16 * Add a "capture" helper, for capturing the stdout of a remote command and returning it as a string [Jamis Buck]
17
18 * Add a "get" helper, to pull a file from a remote server to the localhost [bmihelac]
19
20 * Fix gateway to actually increment local_port if a port is in use, so that multiple capistrano instances can run at the same time [Mark Imbriaco]
21
22 * Refactor the permissions tweaking in update_code to a separate task so that people on shared hosts can override it as necessary [jaw6]
23
24 * Set umask during the setup task, so that intermediate directories are created with the proper permissions [NeilW]
25
26 * Removed -c/--caprc switch, since the new load order renders it meaningless (just use -f now) [Mike Bailey]
27
28 * Make sure the standard recipe loads first, so that .caprc and friends can override what it defines. [Mike Bailey]
29
30 * Add support for a system-wide capistrano config file [Mike Bailey]
31
32 * Make cold_deploy call update instead of deploy (to avoid invoking the restart task).
33
34 * Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestamps. [NeilW]
35
36 * Fix off-by-one bug in show_tasks width-computation [NeilW]
37
38
39 *1.3.1* (January 5, 2007)
40
41 * Fix connection problems when using gateways [Ezra Zygmuntowicz]
42
43
44 *1.3.0* (December 23, 2006)
45
46 * Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
47
48 * Make sure the CVS module references the repository explicitly in cvs_log [weyus@att.net]
49
50 * Remove trace messages when loading a file [Jamis Buck]
51
52 * Cleaner error messages for authentication failures and command errors [Jamis Buck]
53
54 * Added support for ~/.caprc, also -x and -c switches. [Jamis Buck]
55
56 * Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH]
57
58 * Allow SSH user and port to be encoded in the hostname strings [Ezra Zygmuntowicz]
59
60 * Fixed that new checkouts were not group-writable [DHH, Jamis Buck]
61
62 * Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH]
63
64 * Don't run the cleanup task on servers marked no_release [Jamis Buck]
65
66 * Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
67
68 * Make sure assets in images, javascripts, and stylesheets are touched after updating the code, to ensure the asset timestamping feature of rails works correctly [Jamis Buck]
69
70 * Added warning if password is prompted for and termios is not installed [John Labovitz]
71
72 * Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
73
74
75 *1.2.0* (September 14, 2006)
76
77 * Add experimental 'shell' task [Jamis Buck]
78
79 * Display file for external configurations, rather than inspected proc. [Jamis Buck]
80
81 * Connect to multiple servers in parallel, rather than serially. [Jamis Buck]
82
83 * Add SCM module for Mercurial (closes #4150) [Matthew Elder]
84
85 * Remove unused line in SCM::Base (closes #5619) [chris@seagul.co.uk]
86
87 * More efficient "svn log" usage (closes #5620) [Anatol Pomozov]
88
89 * Better support for key passphrases in the SVN module (closes #5920) [llasram@gmail.com]
90
91 * Fix missing default for :local in cvs.rb (closes #3645) [jeremy@hinegardner.org]
92
93 * Fix awkward spacing in gemspec file (closes #3888) [grant@antiflux.org]
94
95 * Add support for :sudo variable to specify path to sudo (closes #4578) [timothee.peignier@tryphon.org]
96
97 * Make previous_release return nil if there are no previous releases (closes #4959) [bdabney@cavoksolutions.com]
98
99 * Uncache releases list after update_code is called so that newly released dir is included (closes #3766) [Jamis Buck]
100
101 * Allow the subversion scm to accept HTTPS certificates (closes #4792) [Jamis Buck]
102
103 * Make sure rollbacks occur within the scope of the task that triggered them [Jamis Buck]
104
105 * Fixed the default recipe to work with setups that haven't yet gone pids [DHH]
106
107 * Symlink and setup for shared/pids to tmp/pids [DHH]
108
109 * Fix some incorrect usage text (closes #4507) [gerry_shaw@yahoo.com]
110
111 * Added Actor#stream method that makes it easy to create cross-server streams [DHH]. Example:
112
113     desc "Run a tail on multiple log files at the same time"
114     task :tail_fcgi, :roles => :app do
115       stream "tail -f #{shared_path}/log/fastcgi.crash.log"
116     end
117
118 * Make update_code and symlink a macro task under the name "update" for easy of deploy to servers that does not run fcgis [DHH]
119
120 * Changed setup, update_code, rollback_code, and symlink to work on all servers instead of only those in the :app, :web, and :db roles. A server can opt out of being part of the release deployment by setting :no_release => true [DHH]
121
122 * Added support for :except on task declarations as the opposite of :only [DHH]. Example:
123
124     role :app, "192.168.0.2"
125     role :file, "192.168.0.3", :no_release => true
126
127     task :symlink, :except => { :no_release => true } do
128       on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
129       run "ln -nfs #{current_release} #{current_path}"
130     end
131    
132     cap symlink # will not run on 192.168.0.3
133
134 * Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
135
136 * Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
137
138 * Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
139
140     HOSTS=192.168.0.1 cap setup # one-off setup for that server, doesn't need to be prespecified in the recipes file
141
142 * Added respect for ENV["ROLES"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
143
144     task :setup, :roles => [ :app, :web, :db ]
145       # normally this would run every where
146     end
147    
148     ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
149
150 * Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
151
152     task :setup, :hosts => [ "06.example.com", "01.example.com" ] do
153       # this task will happen on 06 and 01 regardless of which roles they belong to
154     end
155
156 * Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
157
158
159 *1.1.0* (March 6th, 2006)
160
161 * Simplify the generated capistrano.rake file, and make it easier to customize
162
163 * Use rake-like command-line semantics ("cap deploy", in addition to "cap -a deploy")
164
165 * Rename to capistrano
166
167 * Make the generated capistrano.rake file use rake namespaces, and include all default tasks
168
169 * Look for config/deploy.rb, capfile, and Capfile by default
170
171
172 *1.0.1* (February 20th, 2006)
173
174 * Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
175
176
177 *1.0.0* (Feburary 18th, 2006)
178
179 * Make CVS module's :local value default to "."
180
181 * Add "invoke" task for executing one-off commands
182
183 * Make port selection smarter for gateway connections
184
185 * Add extension mechanism for custom ST operations and third-party task libraries
186
187 * Make ST rails rake tasks more configurable
188
189 * Add Actor#current_task and simplify Task#servers
190
191 * Add Actor#connect! method for working around lazy connection establishing
192
193 * Make sure IO::TRUNC is specified for Net::SFTP uploads (#3510)
194
195 * Add branch support to CVS [jeremy@hinegardner.org] (#3596)
196
197 * Add bazaar-ng SCM module [Damien Merenne]
198
199 * Add optional :svn_username and :svn_password variables
200
201 * Allow Proc-valued variables to be set more conveniently (set(:foo) { "bar" })
202
203 * Add perforce SCM module [Richard McMahon]
204
205 * Add bazaar (v1) SCM module [Edd Dumbill] (#3533)
206
207 * Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
208
209 * Add an better error when a task is run and no servers match the required conditions
210
211 * Add default spinner and cold_deploy tasks, and spinner_user variable
212
213 * Changed restart_via variable to (boolean) use_sudo
214
215 * Only chmod when the revisions.log file is first created
216
217 * Make UPPERCASE variables work
218
219 * Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
220
221 * Added Actor.default_io_proc
222
223 * Set :actor key on SSH channel instances
224
225
226 *0.10.0* (January 2nd, 2006)
227
228 * Handle ssh password prompts like "someone's password:"
229
230 * Make CLI#echo available as a class method.
231
232 * Add CLI#with_echo.
233
234 * Make the default password prompt available as a class method.
235
236 # Add documentation for the CLI class.
237
238 * Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
239
240 * Added a cleanup task to remove unused releases from the deployment directory
241
242 * Allow password to be reentered on sudo if it was entered incorrectly
243
244 * Use && as the command separator for the checkouts, so that errors are caught early.
245
246 * Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
247
248 * Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
249
250 * Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
251
252 * Use SFTP for file transfers (if available).
253
254 * Add an "update_current" task that will do an svn up on the current release
255
256 * Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
257
258 * The Rails rake tasks now load ST directly, instead of invoking it via system
259
260 * Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
261
262 * Require Net::SSH 1.0.5
263
264
265 *0.9.0* (October 18th, 2005)
266
267 * Use process reaper instead of custom reap script for restarting
268
269 * Use -S switch to set variables before reading recipe files #2242
270
271 * Have setup.rb create a switchtower.cmd file on Win32 platforms #2402
272
273 * Add diff_from_last_deploy to the rails switchtower rakefile template
274
275 * Add diff_from_last_deploy task (currently only works with subversion)
276
277 * Add deploy_with_migrations task.
278
279 * Make the migrate task more customizable.
280
281 * If no password is given with the -p switch, prompt for password immediately.
282
283 * Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
284
285 * Remove trailing newlines from commands to prevent trailing backslash #2141
286
287 * Default parameters work correctly with the generator #2218 [Scott Barron]
288
289 * Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
290
291 * Make default tasks work only on app/db/web roles, so that additional roles may be created for boxes with specific needs without needing to (for instance) deploy the app to those boxes
292
293 * Default the application name to "Application" when using --apply-to
294
295 * Show the help screen instead of an error when no arguments are given
296
297 * Make SwitchTower easier to invoke programmatically via SwitchTower::CLI
298
299 * Specify the revision to release via the :revision variable (defaults to latest revision)
300
301 * Allow variables to be set via the cli using the -s switch
302
303 * Log checkouts to a "revisions.log" file
304
305 * Changed behavior of checkout to use the timestamp as the release name, instead of the revision number
306
307 * Added CVS module (very very experimental!)
308
309 * Works with public keys now, for passwordless deployment
310
311 * Subversion module recognizes the password prompt for HTTP authentication
312
313 * Preserve +x on scripts when using darcs #1929 [Scott Barron]
314
315 * When executing multiline commands, use a backslash to escape the newline
Note: See TracBrowser for help on using the browser.