Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 306 lines (244 sloc) 14.132 kb
38db2e2 @FooBarWidget Bump version to 2.2.12 and update NEWS.
FooBarWidget authored
1 Release 2.2.12
2 --------------
3
4 * Improved Bundler support.
5 Previous versions might not be able to correctly load gems bundled
6 by Bundler.
a6f5d45 @FooBarWidget Update NEWS.
FooBarWidget authored
7 * Worked around some user account handling bugs in Ruby.
5a4d113 @FooBarWidget Update NEWS
FooBarWidget authored
8 * Fixed some Ruby 1.9 tempfile.rb compatibility problems.
73ee6b0 @FooBarWidget Fixed some compilation problems on some ARM Linux platforms.
FooBarWidget authored
9 * Fixed some compilation problems on some ARM Linux platforms.
38db2e2 @FooBarWidget Bump version to 2.2.12 and update NEWS.
FooBarWidget authored
10
11
119309e @FooBarWidget Update NEWS and bump version to 2.2.11.
FooBarWidget authored
12 Release 2.2.11
13 --------------
14
15 * This release fixes a regression that appeared in 2.2.10 which only
16 affects Apache. When under high load, Apache might freeze and stop
17 responding to requests. It is caused by a race conditions which is
18 why it escaped our last release testing.
19
20 This problem does not affect Nginx; you only have to upgrade if
21 you're using Apache.
22
23 http://groups.google.com/group/phusion-passenger/t/d5bb2f17c8446ea0
24
25
e07dfa0 @FooBarWidget Fix some compilation problems on newer GCC versions. Issue #430.
FooBarWidget authored
26 Release 2.2.10
27 --------------
28
29 * Fixed some Bundler compatibility problems.
30 * Fixed some file descriptor passing problems, which previously
31 could lead to mysterious crashes.
32 * Fixed some compilation problems on newer GCC versions. Issue #430.
84a4bc0 @FooBarWidget Update NEWS.
FooBarWidget authored
33 * Support #size method in rack.input.
e07dfa0 @FooBarWidget Fix some compilation problems on newer GCC versions. Issue #430.
FooBarWidget authored
34
8ec272d @FooBarWidget ...
FooBarWidget authored
35
00e0cbc @FooBarWidget Update NEWS.
FooBarWidget authored
36 Release 2.2.9
37 -------------
38
39 * Fixed compatibility with Rails 3.
40 Actually, previous Phusion Passenger releases were already compatible
41 with Rails 3, depending on the spawn method that would be invoked. Here's
42 the story:
43
44 Since Phusion Passenger 2.2.8, when the file config.ru exists, Phusion
45 Passenger will treat the app as a Rack app, not as a Rails app. This is
46 in contrast to earlier versions which gave Rails detection more priority
47 than Rack detection. Phusion Passenger loads Rack apps and Rails apps in
48 different ways. The Rails loader was not compatible with Rails 3, which
49 is what we've fixed in this release.
50
51 That said, a Rails 3 app would have worked out-of-the-box on Phusion
52 Passenger 2.2.8 as well because Rails 3 apps include a config.ru file
53 by default, causing Phusion Passenger 2.2.8 to use the Rack loader.
54 Earlier versions of Phusion Passenger would just completely bail out
55 because they'd use the Rails loader.
56
c674aab @FooBarWidget Document some more Rails 3 caveats.
FooBarWidget authored
57 That said, with 2.2.9 there are still some caveats:
58 - Smart spawning (the mechanism with which REE's 33% memory reduction
59 is implemented) is *not* supported for Rack apps. This means that if
60 you want to utilize smart spawning with Rails 3, then you should
61 remove your config.ru file.
62 - Rails 3 depends on Rack 1.1.0. You must have Rack 1.1.0 installed as
63 a gem, even if you've bundled it with the gem bundler. This is because
64 Phusion Passenger itself depends on Rack.
65
66 Both of these caveats are temporary. We have plans to solve both of these
67 properly in the future.
4a0e6ab @FooBarWidget Document what's up with gem bundler compatibility.
FooBarWidget authored
68 * What's up with the Gem Bundler?
69 There has been some reports that Phusion Passenger is not compatible with
70 Yehuda Katz's gem bundler (http://github.com/wycats/bundler). This might
71 have been true for an earlier version of the gem bundler, but the latest
72 version seems to work fine. Please note that you need to insert the
73 following snippet in config/preinitializer.rb, as instructed by the gem
74 bundler's README:
75
76 require "#{RAILS_ROOT}/vendor/gems/environment"
77
78 The Rails::Boot monkey patching code as posted at
79 http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/
80 does not seem to be required anymore.
97db507 @FooBarWidget Afer forking, correctly clear ActiveRecord connections other than the de...
FooBarWidget authored
81 * Fixed support for ActiveRecord subclasses that connect to another database.
82 ActiveRecord subclasses that connect to a database other than the default
83 one did not have their connection correctly cleared after forking.
84 This can result in weird errors along the lines of "Lost connection to
85 MySQL server during query". Issue #429.
00e0cbc @FooBarWidget Update NEWS.
FooBarWidget authored
86 * [Nginx] Fixed PCRE URL.
87 passenger-install-nginx-module downloads PCRE 7.8 if PCRE is not already
88 installed. However PCRE 7.8 has been removed from their FTP server,
89 so we've updated the URL to point to the latest version, 8.0.
90
91
adad4c6 @FooBarWidget Add OpenSSL as required dependency for Nginx (fixes issue #422). Update ...
FooBarWidget authored
92 Release 2.2.8
93 -------------
94
95 * [Nginx] Fixed some signal handling problems.
96 Restarting Nginx on OS X with SIGHUP can sometimes take a long time or
97 even fail completely. This is because of some signal handling problems,
98 which have now been fixed.
99 * [Nginx] Added OpenSSL as dependency.
100 OpenSSL is required in order to install Nginx, but this was not checked
101 by passenger-install-nginx-module. As a result,
102 passenger-install-nginx-module fails on e.g. out-of-the-box Ubuntu
103 installations until the user manually installs OpenSSL. Issue #422.
fd82697 @loe Ensure the current URI subject to internal redirects and rewrites is use...
loe authored
104 * [Nginx] Fixed support for internal redirects and subrequests.
105 It is now possible to, for example, point X-Accel-Redirects to Phusion
106 Passenger-served URLs. Patch contributed by W. Andrew Loe III: issue #433.
247a254 @FooBarWidget Fixed crash caused by GnuTLS: issue #391.
FooBarWidget authored
107 * [Apache] Fixed a GnuTLS compatibility issue.
108 mod_gnutls can cause Phusion Passenger to crash because of an unchecked
109 NULL pointer. This problem has now been fixed: issue #391.
78beaf7 @FooBarWidget Fix thread creation on Intel Itanium. Fixes issue #427.
FooBarWidget authored
110 * Fixed thread creation issue on Intel Itanium platforms.
111 This fixes issue #427.
4880487 @FooBarWidget Fixed compilation problems on Linux running on the Renesas SH4 CPU: issu...
FooBarWidget authored
112 * Fixed compilation problems on Linux running on the Renesas SH4 CPU.
113 Patch contributed by iwamatsu: issue #428.
681c216 @FooBarWidget Unvendor Rack and add a workaround for the Ruby 1.9.1 tempfile bug. Fixe...
FooBarWidget authored
114 * The Rack library has been unvendored.
115 The original reason for vendoring was to work around broken Rails
116 applications that explicitly specify Rack as a gem dependency. We've
117 found a better workaround that does not require vendoring Rack.
1a8408f @FooBarWidget Update NEWS.
FooBarWidget authored
118 This also fixes a compatibility problem with Rails 3, because Rails
119 3 depends on a newer Rack version than the one we had vendored.
681c216 @FooBarWidget Unvendor Rack and add a workaround for the Ruby 1.9.1 tempfile bug. Fixe...
FooBarWidget authored
120 Issue #432.
121 * Fixed compatibility with Ruby 1.9.1 patchlevel >= 152
122 Ruby 1.9.1 patchlevel >= 152 has a bug in its tempfile library. If you've
123 seen an error message along the lines of
124
125 *** Exception IOError in Passenger RequestHandler (closed stream)
126
127 then this is a Ruby bug at work. This bug has been fixed in Ruby 1.9.2,
128 but Ruby 1.9.1 still contains this bug. We've added a workaround so that
129 the bug is not triggered with this Ruby version. Issue #432.
adad4c6 @FooBarWidget Add OpenSSL as required dependency for Nginx (fixes issue #422). Update ...
FooBarWidget authored
130
131
979bf12 @FooBarWidget Oops, remove debugging code.
FooBarWidget authored
132 Release 2.2.7
133 -------------
134
135 * Removed forgotten debugging code in passenger-install-apache2-module,
136 which caused it not to compile anything.
137
138
5f3ac2b @FooBarWidget Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
139 Release 2.2.6
140 -------------
141
5372bdb @FooBarWidget Prevent the Phusion Passenger temp dir from being deleted by /tmp cleane...
FooBarWidget authored
142 * Some /tmp cleaner programs such as tmpwatch try to remove subdirectories
143 in /tmp/passenger.xxx after a while because they think those
144 subdirectories are unused. This could cause Phusion Passenger to
145 malfunction, requiring a web server restart. Measures have now been
146 taken to prevent those tmp cleaner programs from removing anything
147 in /tmp/passenger.xxx. Issue #365.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
148 * When autodetecting the application type, Rack is now given more priority
149 than Rails. This allows one to drop a config.ru file in a Rails directory
150 and have it detected as a Rack application instead of a Rails application.
151 Patch contributed by Sam Pohlenz: issue #338.
053150e @FooBarWidget Increase default socket backlog to 1024, SOMAXCONN is usually 128 which ...
FooBarWidget authored
152 * The default socket backlog has been increased from 'SOMAXCONN' (which
153 is 128 on most platforms) to 1024. This should fix most
154 'helper_server.sock failed: Resource temporarily unavailable'
155 errors.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
156 * Fixed compilation problems on Solaris. Issue #369 and issue #379.
157 * Fixed crashes on PowerPC.
9444db6 @FooBarWidget Fix a Ruby 1.9 compatibility issue: require stringio in utils.rb. Fixes ...
FooBarWidget authored
158 * Some Ruby 1.9 compatibility fixes. Issue #398.
5967ed7 @FooBarWidget Autodetect Mandriva Linux. Fixes issue #357.
FooBarWidget authored
159 * The installer now displays correct dependency installation instructions
160 for Mandriva Linux.
50750b1 @FooBarWidget Allow specifying the location of apxs2 and apr-config through command li...
FooBarWidget authored
161 * [Apache] The location of the 'apxs' and 'apr-config' commands can now
162 also be passed to the installer through the --apxs-path and
163 --apr-config-path parameters, in addition to the $APXS2 and $APR_CONFIG
164 environment variables. Issue #3.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
165 * [Nginx] Various problems that only occur on 64-bit platforms have been fixed.
1f4d88b @FooBarWidget Update NEWS.
FooBarWidget authored
166 * [Nginx] The installer now installs Nginx 0.7.64 by default.
5f3ac2b @FooBarWidget Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
167
168
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
169 Release 2.2.5
170 -------------
171
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
172 * [Apache] Small file uploads are now buffered; fixes potential DoS attack
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
173 Phusion Passenger buffers large file uploads to temp files so that it
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
174 doesn't block applications while an upload is in progress, but it sent
175 small uploads directly to the application without buffering it. This could
176 result in a potential DoS attack: the client can send many small, incomplete
177 file uploads to the server, and this would block all application processes
178 until a timeout occurs. In order to solve this problem, Phusion Passenger
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
179 now buffers small file uploads in memory. Bug #356.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
180
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
181 * [Apache] Fixed support for mod_rewrite passthrough rules
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
182 Mod_rewrite passthrough rules were not properly supported because of a bug
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
183 fix for supporting encoded slashes (%2f) in URLs. Unfortunately, due to
184 bugs/limitations in Apache, we can support either encoded slashes or
185 mod_rewrite passthrough rules, but not both; supporting one will break the
186 other.
187
188 Support for mod_rewrite passthrough rules is now enabled by default; that
189 is, support for encoded slashes is disabled by default. A new configuration
190 option, "PassengerAllowEncodedSlashes", has been added. Turning this option
191 on will enable support for encoded slashes and disable support for
192 mod_rewrite passthrough rules.
193
194 Issue #113 and issue #230.
195
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
196 * [Apache] Added a configuration option for resolving symlinks in the document root path
197 Phusion Passenger 2.2.0 and higher no longer resolves symlinks in
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
198 the document root path in order to properly support Capistrano-style
199 directory structures. The exact behavior is documented in the Users Guide,
200 section "How Phusion Passenger detects whether a virtual host is a web
201 application".
202
203 However, some people relied on the old behavior. A new configuration option,
204 PassengerResolveSymlinksInDocumentRoot, has been added to allow reverting
205 back to the old behavior.
206
281c020 @FooBarWidget Update NEWS
FooBarWidget authored
207 Patch contributed by Locaweb (http://www.locaweb.com.br/).
208
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
209 * [Apache] mod_env variables are now also passed through CGI environment headers
210 Prior to version 2.2.3, environment variables set by mod_env are passed to
211 the application as CGI environment headers, not through Ruby's ENV variable.
212 In the last release we introduced support for setting ENV environment
213 variables with mod_env, and got rid of the code for setting CGI environment
214 headers. It turns out that some people relied on the old behavior, we so now
215 environment variables set with mod_env are set in both ENV and in the CGI
216 environment.
217
218 Fixes bug #335.
219
220 * [Apache] Fixed compilation problems on some Linux systems with older versions of Apache
221 If you used to see compilation errors like this:
222
223 ext/apache2/Configuration.cpp:554: error: expected primary-expression before '.' token
224
225 then this version should compile properly.
226
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
227 * [Apache] Fixed I/O timeouts for communication with backend processes
228 Got rid of the code for enforcing I/O timeouts when reading from or writing to
7ec85d7 @FooBarWidget Update release notes
FooBarWidget authored
229 a backend process. This caused more problems than it solved.
230
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
231 * [Nginx] Support for streaming responses (e.g. Comet or HTTP push)
232 Buffering of backend responses is now disabled. This fixes support for
233 streaming responses, something which the Apache version has supported
234 for a while now. One can generate streaming responses in Ruby on Rails
235 like this:
236
237 render :text => lambda { |response, output|
238 10_000.times do |i|
239 output.write("hello #{i}!\n")
240 end
241 }
242
41160df @FooBarWidget Nginx installer: install 0.7.61 by default.
FooBarWidget authored
243 * [Nginx] Installer now installs Nginx 0.7.61 by default
244 Previously it installed 0.6.37 by default.
245
9e62b29 @FooBarWidget passenger-install-nginx-module: correctly pass --extra-configure-flags f...
FooBarWidget authored
246 * [Nginx] Fixed the installer's --extra-configure-flags flag when combined with --auto-download
247 Arguments passed to --extra-configure-flags were not being passed to the
248 Nginx configure script when --auto-download is given. This has been
249 fixed: bug #349.
250
9ff0e2a @FooBarWidget passenger-install-apache2-module: do not unnecessarily donwload PCRE; mi...
FooBarWidget authored
251 * [Nginx] Fixed unnecessary download of PCRE
252 The installer now checks whether PCRE is installed in /opt/local (e.g.
253 MacPorts) as well before concluding that it isn't installed and going ahead
254 with downloading PCRE.
255
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
256 * Fixed STDERR capturing
257 While spawning an application, Phusion Passenger captures any output written
258 to STDERR so that it can show them later if the application failed to start.
259 This turns out to be much more difficult than expected, with all kinds of
260 corner cases that can mess up this feature.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
261
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
262 For example, if the Rails log file is not writable, then this can cause
263 Rails to crash with a bizarre and unhelpful error message whenever it tries
264 to write to STDERR:
265
266 /!\ FAILSAFE /!\ Thu Aug 20 14:58:39 +1000 2009
267 Status: 500 Internal Server Error
268 undefined method `[]' for nil:NilClass
269
270 Some applications reopen STDERR to a log file. This didn't work.
271
272 Of all of these problems have been fixed now. (Bug #332)
273
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
274 * Fixed some bugs in application sources preloading
275 Rails >= 2.2 already preloads the application sources, in which case Phusion
276 Passenger wasn't supposed to perform it's own preloading, but the Rails
277 >= 2.2 detection code was bugged. This has been fixed.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
278
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
279 Rails < 2.2 doesn't preload the application sources by itself, but there
280 should be a certain order with which the sources are preloaded, otherwise
281 preloading could fail in some applications. We now enforce a specific load
282 order: first models, then controllers, then helpers.
c878017 @FooBarWidget Fix compilation problems with some Linux systems with older versions of ...
FooBarWidget authored
283
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
284 Bug #359.
285
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
286 * Fixed a few bugs in WSGI compliance
287 PATH_INFO is supposed to be set to the request URI, but without the query
288 string and without the base URI. This has been fixed: bug #360.
289
ac777e5 @FooBarWidget Fix some Ruby 1.9-specific crashes caused by encoding issues. Bug #364.
FooBarWidget authored
290 * Fixed some Ruby 1.9-specific crashes caused by encoding issues. Bug #354.
281c020 @FooBarWidget Update NEWS
FooBarWidget authored
291 * Fixed loading of config/environment.rb on Ruby 1.9.2, because Ruby 1.9.2
292 no longer has "." in the default load path. Patch by metaljastix, issue #368.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
293 * The Users Guide for Apache now mentions something about correct permissions
294 for application directories.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
295 * Fixed compilation problems on IA-64 (bug #118). We also reduced the stack
296 sizes for the threads by half, so Phusion Passenger should use even less
297 virtual memory now.
312b5e1 @FooBarWidget Fix compilation problems on Linux systems with ARM CPU.
FooBarWidget authored
298 * Fixed compilation problems on Linux systems with ARM CPU.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
299 * Fixed a few compatibility problems with 64-bit OpenBSD.
300 * Fixed a few typos and minor bugs.
301
302
303 Older releases
304 --------------
5f3ac2b @FooBarWidget Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
305 Please consult the blog posts on http://blog.phusion.nl/ for the information about older releases.
Something went wrong with that request. Please try again.