Skip to content

HTTPS clone URL

Subversion checkout URL

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