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

root/tags/capistrano_1-3-0/CHANGELOG

Revision 5779, 9.9 kB (checked in by minam, 2 years ago)

Version bump to 1.3.0

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