Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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