Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 635 lines (525 sloc) 29.588 kB
7b054dc @FooBarWidget Bump version to 3.0.11 and update NEWS.
FooBarWidget authored
1 Release 3.0.11
2 --------------
3
4 * Fixed a compilation problem on platforms without alloca.h, such as FreeBSD 7.
ff9f2b8 @FooBarWidget Fix a typo
FooBarWidget authored
5 * Improved performance and solved some warnings on Xen systems by compiling
1e9aee4 @FooBarWidget Update NEWS
FooBarWidget authored
6 with `-mno-tls-direct-seg-refs`. Patch contributed by Michał Pokrywka.
7b054dc @FooBarWidget Bump version to 3.0.11 and update NEWS.
FooBarWidget authored
7
8
9b2c42f @FooBarWidget Update NEWS
FooBarWidget authored
9 Release 3.0.10
10 --------------
11
12 * [Nginx] Dropped support for Nginx versions older than 1.0.0
b6e4cd1 @FooBarWidget Update NEWS
FooBarWidget authored
13 * [Nginx] Fixed support for Nginx 1.1.4+
14 * [Nginx, Standalone] Upgraded default Nginx version to 1.0.10
15 The previously default version was 1.0.5.
9b2c42f @FooBarWidget Update NEWS
FooBarWidget authored
16 * [Nginx] New option passenger_max_requests
17 This is equivalent to the PassengerMaxRequests option in the Apache
18 version: Phusion Passenger will automatically shutdown a worker process
19 once it has processed the specified number of requests.
20 Contributed by Paul Kmiec.
21 * [Apache] New option PassengerBufferResponse
22 The Apache version did not buffer responses. This could block the Ruby
23 worker process in case of slow clients. We now enable response buffering
24 by default. It can be turned off through this option. Feature contributed
25 by Ryo Onodera.
26 * Fixed remaining Ruby 1.9.3 compatibility problems
27 We already supported Ruby 1.9.3 since 3.0.8, but due to bugs in Ruby
28 1.9.3's build system Phusion Passenger would fail to detect Ruby 1.9.3
29 features on some systems. Fixes issue #714.
6401566 @FooBarWidget Fix a typo in NEWS
FooBarWidget authored
30 * Fixed a bug in PassengerPreStart
9b2c42f @FooBarWidget Update NEWS
FooBarWidget authored
31 A regression was introduced in 3.0.8, causing the prespawn script to
32 connect to the host name instead of to 127.0.0.1. Fix contributed by
33 Andy Allan.
6d972a6 @FooBarWidget Update NEWS
FooBarWidget authored
34 * Fixed compatibility with GCC 4.6
35 Affected systems include Ubuntu 11.10.
9b2c42f @FooBarWidget Update NEWS
FooBarWidget authored
36 * Fixed various compilation problems.
37 * Fixed some Ruby 1.9 encoding problems.
38 * Fixed some Ruby 1.9.3 deprecation warnings.
39
40
b367914 @FooBarWidget Update NEWS.
FooBarWidget authored
41 Release 3.0.9
42 -------------
43
44 * [Nginx] Fixed a NULL pointer crash that occurs on HTTP/1.0 requests
45 when the Host header isn't given.
46 * Fixed deprecation warnings on RubyGems >= 1.6.
47 * Improved Union Station support stability.
48
49
8a0fd40 @FooBarWidget Update NEWS.
FooBarWidget authored
50 Release 3.0.8
51 -------------
52
53 * [Nginx] Upgraded preferred Nginx version to 1.0.5.
54 * [Nginx] Fixed various compilation problems on various platforms.
55 * [Nginx] We now ensure that SERVER_NAME is equal to HTTP_HOST without the port part.
56 This is needed for Rack compliance. By default Nginx sets SERVER_NAME to
57 whatever is specified in the server_name directive, but that's not necessarily
58 the correct value. This fixes, for example, the use of the 'map' statement
59 in config.ru.
60 * [Nginx] Added the options passenger_buffer_size, passenger_buffers and passenger_busy_buffers_size.
61 These options are similar to proxy_module's similarly named options. You can
62 use these to e.g. increase the maximum header size limit.
63 * [Nginx] passenger_pre_start now supports virtual hosts that listen on Unix domain sockets.
64 * [Apache] Fixed the pcre.h compilation problem.
65 * [Standalone] Fixed 'passenger stop'.
66 It didn't work properly because it kept waiting for 'tail' to exit.
67 We now properly terminate 'tail' as well.
68 * Fixed compatibility with Rake 0.9.
69 * Fixed various Ruby 1.9 compatibility issues.
70 * Various documentation improvements.
71 * New Union Station filter language features.
72 It now supports status codes and response times.
73 Please refer to https://engage.unionstationapp.com/help#filtering
74 for more information.
75
76
33964ce @FooBarWidget Update NEWS
FooBarWidget authored
77 Release 3.0.7
78 -------------
79
80 * Fixed a bug passenger-install-apache2-module. It could crash on
81 some systems due to a typo in the code.
82 * Upgraded preferred Nginx version to 1.0.0.
83 * Phusion Passenger Standalone now pre-starts application processes
84 at startup instead of doing that at the first request.
85 * When sending data to Union Station, the HTTP status code is now also
86 logged.
87 * Various Union Station-related stability improvements.
88 * The Linux OOM killer was previously erroneously disabled for all
89 Phusion Passenger processes, including application processes. The
90 intention was to only disable it for the Watchdog. This has been
91 fixed, and the Watchdog is now the only process for which the OOM
92 killer is disabled.
93 * Fixed some compilation problems on OpenBSD.
94 * Due to a typo, the dependency on file-tail was not entirely removed
95 in 3.0.6. This has now been fixed.
96
97
d697d9f @FooBarWidget Update NEWS and bump version to 3.0.6.
FooBarWidget authored
98 Release 3.0.6
99 -------------
100
101 * Fixed various compilation problems such as XCode 4 support and OpenBSD support.
102 * Fixed various Union Station-related stability issues.
103 * Fixed an issue with host name detection on certain platforms.
104 * Improved error logging in various parts.
105 * The dependency on the file-tail library has been removed.
106 * During installation, check whether /tmp is mounted with 'noexec'.
107 Phusion Passenger's installer relies on /tmp *not* being mounted
108 with 'noexec'. If it is then the installer will now show a helpful
109 error message instead of bailing out in a confusing manner. Users
110 can now tell the installer to use a different directory for storing
111 temporary files by customizing the $TMPDIR environment variable.
112 * Phusion Passenger Standalone can now run Rackup files that are not named 'config.ru'.
113 The filename can be passed through the command line using the -R option.
114
115
c4d41e7 @FooBarWidget Update NEWS.
FooBarWidget authored
116 Release 3.0.5
117 -------------
118
6d413ea @FooBarWidget Rename PassengerAnalytics/passenger_analytics to UnionStationSupport/…
FooBarWidget authored
119 * [Apache] Fixed Union Station process statistics collection
120 Union Station users that are using Apache may notice that no process
121 information show up in Union Station. This is because of a bug in
122 Phusion Passenger's Apache version, which has now been fixed.
123 * [Apache] PassengerAnalytics has been renamed to UnionStationSupport
124 This option has been renamed for consistency reasons.
125 * [Nginx] passenger_analytics has been renamed to union_station_support
126 This option has been renamed for consistency reasons.
65bc50e @FooBarWidget Fix typo.
FooBarWidget authored
127 * Fixed Union Station data sending on older libcurl versions
c4d41e7 @FooBarWidget Update NEWS.
FooBarWidget authored
128 Some Union Station users have reported that their data don't show up.
129 Upon investigation this turned out to be a compatibility with older
130 libcurl versions. Affected systems include all RHEL 5 based systems,
131 such as RHEL 5.5 and CentOS 5.5. We've now fixed compatibility
132 with older libcurl versions.
7e7aa94 @FooBarWidget Update NEWS about Union Station filter language support.
FooBarWidget authored
133 * Added support for the Union Station filter language
134 This language can be used to limit the kind of data that's sent to
135 Union Station. Please read
136 https://engage.unionstationapp.com/help#filtering for details.
c4d41e7 @FooBarWidget Update NEWS.
FooBarWidget authored
137 * Fixed a PassengerMaxPoolSize/passenger_max_pool_size violation bug
138 People who host a lot of different applications on Phusion Passenger
139 may notice that it sometimes spawns more processes than is allowed
140 by PassengerMaxPoolSize/passenger_max_pool_size. This has been fixed.
141
142
4e1e3b8 @FooBarWidget Add release notes for 3.0.4.
FooBarWidget authored
143 Release 3.0.4
144 -------------
145
146 * [Apache] Changed mod_dir workaround hook priority
147 Phusion Passenger temporarily disables mod_dir on all Phusion
148 Passenger-handled requests in order to avoid conflicts. In order to do this
149 it registers some Apache hooks with the APR_HOOK_MIDDLE priority, but it
150 turned out that this breaks some other modules like mod_python. The hook
151 priority has been changed to APR_HOOK_LAST to match mod_dir's hook
152 priorities. Issue reported by Jay Freeman.
153 * Added support for Union Station: http://www.unionstationapp.com/
154 * Some error messages have been improved.
155
156
9962c3a @FooBarWidget Update NEWS and bump version to 3.0.3.
FooBarWidget authored
157 Release 3.0.3
158 -------------
159
160 * [Nginx] Preferred Nginx version upgraded to 0.8.54
161 The previous preferred version was 0.8.53.
162 * PATH_INFO and REQUEST_URI now contain the original escaped URI
163 Phusion Passenger passes the URI, as reported by Apache/Nginx, to
164 application processes through the PATH_INFO and REQUEST_URI variables.
165 These variables are supposed to contain the original, unescaped URI, e.g.
166 /clubs/%C3%BC. Both Apache and Nginx thought that it would be a good idea
167 to unescape the URI before passing it to modules like Phusion Passenger,
168 thereby causing PATH_INFO and REQUEST_URI to contain the unescaped URI,
169 e.g. /clubs/ü. This causes all sorts of encoding problems. We now manually
170 re-escape the URI when setting PATH_INFO and REQUEST_URI. Issue #404.
171 * The installer no longer detects directories as potential commands
172 Previously the installer would look in $PATH for everything that's
173 executable, including directories. If one has /usr/lib in $PATH
174 and a directory /usr/lib/gcc exists then the installer would recognize
175 /usr/lib/gcc as the compiler. We now explicitly check whether the item
176 is also a file.
177 * PseudoIO now responds to #to_io
178 Phusion Passenger sets STDERR to a PseudoIO object in order to capture
179 anything written to STDERR during application startup. This breaks
180 some libraries which expect STDERR to respond to #to_io. This has now
181 been fixed. Issue #607.
182 * Fixed various other minor bugs
183 See the git commit log for details.
184
185
5b30a81 @FooBarWidget Update NEWS.
FooBarWidget authored
186 Release 3.0.2
187 -------------
188
189 * [Nginx] Fixed compilation problems
190 The Nginx compilation process was broken due to not correctly reverting
191 the working directory of the Nginx configure script. This has been fixed:
192 issue #595.
60e4cca @FooBarWidget [Nginx] Fix crash if passenger_root refers to a nonexistant directory.
FooBarWidget authored
193 * [Nginx] Fixed crash if passenger_root refers to a nonexistant directory
194 Issue #599.
5b30a81 @FooBarWidget Update NEWS.
FooBarWidget authored
195 * Fixed compilation problems on NetBSD
196 There was a typo in a NetBSD-specific fcntl() call. It also turns out that
197 NetBSD doesn't support some ISO C99 math functions like llroundl(); this
198 has been worked around by using other functions. Issue #593.
9a81106 @FooBarWidget Fixed file descriptor closing issues on FreeBSD: issue #597.
FooBarWidget authored
199 * Fixed file descriptor closing issues on FreeBSD
200 Phusion Passenger child processes didn't correct close file descriptors
201 on FreeBSD because it queries /dev/fd to do that. On FreeBSD /dev/fd
202 only returns meaningful results if fdescfs is mounted, which it isn't
203 by default. Issue #597.
5b30a81 @FooBarWidget Update NEWS.
FooBarWidget authored
204
205
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
206 Release 3.0.1
207 -------------
208
ccef2aa @FooBarWidget Introduce a release mode which can compile Phusion Passenger more qui…
FooBarWidget authored
209 * MUCH faster compilation
210 We've applied code aggregation techniques, allowing Phusion Passenger
211 to be compiled much quicker now. For example, compiling the Nginx
d0b8b61 @FooBarWidget Document Apache module compilation speedup.
FooBarWidget authored
212 component (not Nginx itself) on a MacBook Pro now takes only 29
213 seconds instead of 51 seconds, an improvement of 75%! Compiling the
214 Apache module on a slower Dell Inspiron now takes 39 seconds instead of
215 1 minute 22 seconds, or 110% faster!
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
216 * Fixed malfunction after web server restart
217 On Linux systems that have a non-standard filesystem on /tmp, Phusion
218 Passenger could malfunction after restarting the web server because of
219 a bug that's only triggered on certain filesystems. Issue #569.
220 * Boost upgraded to version 1.44.0.
221 We were on 1.42.0.
222 * Much improved startup error messages
223 Phusion Passenger performs many extensive checks during startup to ensure
224 integrity. However the error message in some situation could be vague.
225 These startup error messages have now been improved dramatically, so that
226 if something goes wrong during startup you will now more likely know why.
227 * Curl < 7.12.1 is now supported
228 The previous version fails to compile with Curl versions earlier than
534950b @FooBarWidget Fix a potential compilation warning and update NEWS.
FooBarWidget authored
229 7.12.1. Issue #556.
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
230 * passenger-make-enterprisey fixed
231 This is the command that people can run after donating. It allows people
232 to slightly modify Phusion Passenger's display name as a joke. In 3.0.0 it
233 was broken because of a typo. This has been fixed.
51bf666 @FooBarWidget Get rid of passenger-stress-test.
FooBarWidget authored
234 * Removed passenger-stress-test
235 This tool was used during the early life of Phusion Passenger for stress
236 testing websites. Its performance has never been very good and there are
237 much better tools for stress testing, so this tool has now been removed.
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
238 * [Apache] RailsEnv and RackEnv configuration options are now equivalent
239 In previous versions, RailsEnv only had effect on Rails 1 and Rails 2 apps
240 while RackEnv only had effect on Rack apps. Because Rails 3 apps are
241 considered Rack apps, setting RailsEnv had no effect on Rails 3 apps.
242 Because this is confusing to users, we've now made RailsEnv and RackEnv
534950b @FooBarWidget Fix a potential compilation warning and update NEWS.
FooBarWidget authored
243 equivalent. Issue #579.
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
244 * [Nginx] Fixed compilation problems on systems with unpowerful shells
0999e3d @FooBarWidget Fix typo.
FooBarWidget authored
245 Most notably Solaris. Its default shell does not support some basic
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
246 constructs that we used in the Nginx configure script.
247 * [Nginx] Upgraded default Nginx version to to 0.8.53
248 The previous default was 0.8.52.
5e7722b @FooBarWidget passenger_enabled now only accepts 'on' or 'off' values.
FooBarWidget authored
249 * [Nginx] passenger_enabled now only accepts 'on' or 'off' values
250 Previously it would recognize any value not equal to 'on' as meaning
251 'off'. This caused confusion among users who thought they could also
252 specify 'true', so we now throw a proper error if the value is
253 unrecognized. Fixes issue #583.
c665f9f @FooBarWidget Update NEWS.
FooBarWidget authored
254
255
8243d6d @FooBarWidget Update NEWS
FooBarWidget authored
256 Release 3.0.0
257 -------------
f75f12f @FooBarWidget Bump version to 2.9.4 and update NEWS.
FooBarWidget authored
258
3d6f5ef @FooBarWidget Update NEWS
FooBarWidget authored
259 This is a major release with many changes. Please read our blog for details.
9e15dbd @FooBarWidget Begin porting passenger-status to the new infrastructure.
FooBarWidget authored
260
20005e1 @FooBarWidget Merge branch 'master' into refactoring
FooBarWidget authored
261
1857301 @FooBarWidget Bump version number to 2.2.15 and update NEWS.
FooBarWidget authored
262 Release 2.2.15
263 --------------
264
265 * [Apache] Fixed incorrect temp dir cleanup by passenger-status
266 On some systems, running passenger-status could print the following
267 message:
268
269 *** Cleaning stale folder /tmp/passenger.1234
270
271 ...after which Phusion Passenger breaks because that directory is
272 necessary for it to function properly. The cause of this problem
273 has been found and has been fixed.
e795d48 @FooBarWidget Don't be too strict on client Content-Length, it could be wrong becau…
FooBarWidget authored
274 * [Apache] Fixed some upload handling problems
275 Previous versions of Phusion Passenger check whether the size of
276 the received upload data matches the contents of the Content-Length
277 header as received by the client. It turns out that there could
278 be a mismatch e.g. because of mod_deflate input compression, so
279 we can't trust Content-Length anyway and we're being too strict.
280 The check has now been removed.
2265239 @FooBarWidget Install Nginx 0.7.67 and PCRE 8.02 by default.
FooBarWidget authored
281 * [Nginx] Fixed compilation issues with Nginx >= 0.7.66
e973b93 @FooBarWidget Fix compilation issues with Nginx 0.7.66 and make that version the de…
FooBarWidget authored
282 Thanks to Potamianos Gregory for reporting this issue. Issue #500.
2265239 @FooBarWidget Install Nginx 0.7.67 and PCRE 8.02 by default.
FooBarWidget authored
283 * [Nginx] Default Nginx version changed to 0.7.67
e973b93 @FooBarWidget Fix compilation issues with Nginx 0.7.66 and make that version the de…
FooBarWidget authored
284 The previous default version was 0.7.65.
946dc2e @FooBarWidget Don't preload popular libraries, it conflicts with Bundler.
FooBarWidget authored
285 * Fixed more Bundler problems
286 Previous versions of Phusion Passenger would preload some popular
287 libraries such as mysql and sqlite3 in order to utilize copy-on-write
288 optimizations better. However this behavior conflicts with Bundler
289 so we've removed it.
1857301 @FooBarWidget Bump version number to 2.2.15 and update NEWS.
FooBarWidget authored
290
291
9c17d46 @FooBarWidget Update NEWS and bump version to 2.2.14
FooBarWidget authored
292 Release 2.2.14
293 --------------
294
295 * Added support for Rubinius
296 Patch contributed by Evan Phoenix.
7413b57 @FooBarWidget Update NEWS.
FooBarWidget authored
297 * Fixed a mistake in the SIGQUIT backtrace message.
298 Patch contributed by Christoffer Sawicki.
73f59cd @FooBarWidget Increase Nginx HelperServer thread stack space on FreeBSD.
FooBarWidget authored
299 * [Nginx] Fix a localtime() crash on FreeBSD
300 This was caused by insufficient stack space for threads. Issue #499.
9c17d46 @FooBarWidget Update NEWS and bump version to 2.2.14
FooBarWidget authored
301
302
30296ca @FooBarWidget Update NEWS, bump version to 2.2.13.
FooBarWidget authored
303 Release 2.2.13
304 --------------
305
306 * Fixed some Rails 3 compatibility issues that were recently introduced.
307 * Fixed a typo that causes config/setup_load_paths.rb not to be loaded
308 correctly.
309
310
38db2e2 @FooBarWidget Bump version to 2.2.12 and update NEWS.
FooBarWidget authored
311 Release 2.2.12
312 --------------
313
314 * Improved Bundler support.
315 Previous versions might not be able to correctly load gems bundled
3fc6071 @FooBarWidget Document Bundler support
FooBarWidget authored
316 by Bundler. We've also documented how our Bundler support works and
317 how to override our support if you need special behavior.
318 Please refer to the Phusion Passenger Users Guide, section
319 "Bundler support".
775e220 @FooBarWidget Fix Nginx "passenger_user_switching off" permission problems: issue #…
FooBarWidget authored
320 * Worked around some user account handling bugs in Ruby. Issue #192.
5a4d113 @FooBarWidget Update NEWS
FooBarWidget authored
321 * Fixed some Ruby 1.9 tempfile.rb compatibility problems.
73ee6b0 @FooBarWidget Fixed some compilation problems on some ARM Linux platforms.
FooBarWidget authored
322 * Fixed some compilation problems on some ARM Linux platforms.
94f3aa8 @FooBarWidget Suppress bogus error messages when mod_xsendfile is being used
FooBarWidget authored
323 * [Apache] Suppress bogus mod_xsendfile-related error messages.
324 When mod_xsendfile is being used, Phusion Passenger might print
325 bogus error messages like "EPIPE" or "Apache stopped forwarding
326 the backend's response" to the log file. These messages are
327 normal, are harmless and can be safely ignored, but they pollute
328 the log file. So in this release we've added code to suppress
6b39c23 @FooBarWidget Note mod_xsendfile issue number.
FooBarWidget authored
329 these messages when mod_xsendfile is being used. Issue #474.
775e220 @FooBarWidget Fix Nginx "passenger_user_switching off" permission problems: issue #…
FooBarWidget authored
330 * [Nginx] Fixed "passenger_user_switching off" permission problems
331 If Nginx is running as root and passenger_user_switching is turned
332 off, then Phusion Passenger would fail to initialize because of
333 a permission problem. This has been fixed. Issue #458.
745938a @FooBarWidget Fix Nginx >= 0.8.38 support. Thanks Sergey A. Osokin
FooBarWidget authored
334 * [Nginx] Nginx >= 0.8.38 is now supported.
c271480 @FooBarWidget Default to installing Nginx 0.7.65
FooBarWidget authored
335 Thanks to Sergey A. Osokin for reporting the problem.
336 * [Nginx] passenger-install-nginx-module upgraded
337 It now defaults to installing Nginx 0.7.65 instead of 0.7.64.
38db2e2 @FooBarWidget Bump version to 2.2.12 and update NEWS.
FooBarWidget authored
338
339
119309e @FooBarWidget Update NEWS and bump version to 2.2.11.
FooBarWidget authored
340 Release 2.2.11
341 --------------
342
343 * This release fixes a regression that appeared in 2.2.10 which only
344 affects Apache. When under high load, Apache might freeze and stop
6d961e7 @FooBarWidget Merge branch 'master' into refactoring
FooBarWidget authored
345 responding to requests. It is caused by a race condition which is
119309e @FooBarWidget Update NEWS and bump version to 2.2.11.
FooBarWidget authored
346 why it escaped our last release testing.
347
348 This problem does not affect Nginx; you only have to upgrade if
349 you're using Apache.
350
351 http://groups.google.com/group/phusion-passenger/t/d5bb2f17c8446ea0
352
353
e07dfa0 @FooBarWidget Fix some compilation problems on newer GCC versions. Issue #430.
FooBarWidget authored
354 Release 2.2.10
355 --------------
356
357 * Fixed some Bundler compatibility problems.
358 * Fixed some file descriptor passing problems, which previously
359 could lead to mysterious crashes.
360 * Fixed some compilation problems on newer GCC versions. Issue #430.
84a4bc0 @FooBarWidget Update NEWS.
FooBarWidget authored
361 * Support #size method in rack.input.
e07dfa0 @FooBarWidget Fix some compilation problems on newer GCC versions. Issue #430.
FooBarWidget authored
362
363
2853379 @FooBarWidget Merge branch 'master' into refactoring
FooBarWidget authored
364
00e0cbc @FooBarWidget Update NEWS.
FooBarWidget authored
365 Release 2.2.9
366 -------------
367
368 * Fixed compatibility with Rails 3.
369 Actually, previous Phusion Passenger releases were already compatible
370 with Rails 3, depending on the spawn method that would be invoked. Here's
371 the story:
372
373 Since Phusion Passenger 2.2.8, when the file config.ru exists, Phusion
374 Passenger will treat the app as a Rack app, not as a Rails app. This is
375 in contrast to earlier versions which gave Rails detection more priority
376 than Rack detection. Phusion Passenger loads Rack apps and Rails apps in
377 different ways. The Rails loader was not compatible with Rails 3, which
378 is what we've fixed in this release.
379
380 That said, a Rails 3 app would have worked out-of-the-box on Phusion
381 Passenger 2.2.8 as well because Rails 3 apps include a config.ru file
382 by default, causing Phusion Passenger 2.2.8 to use the Rack loader.
383 Earlier versions of Phusion Passenger would just completely bail out
384 because they'd use the Rails loader.
385
c674aab @FooBarWidget Document some more Rails 3 caveats.
FooBarWidget authored
386 That said, with 2.2.9 there are still some caveats:
387 - Smart spawning (the mechanism with which REE's 33% memory reduction
388 is implemented) is *not* supported for Rack apps. This means that if
389 you want to utilize smart spawning with Rails 3, then you should
390 remove your config.ru file.
391 - Rails 3 depends on Rack 1.1.0. You must have Rack 1.1.0 installed as
392 a gem, even if you've bundled it with the gem bundler. This is because
393 Phusion Passenger itself depends on Rack.
394
395 Both of these caveats are temporary. We have plans to solve both of these
396 properly in the future.
4a0e6ab @FooBarWidget Document what's up with gem bundler compatibility.
FooBarWidget authored
397 * What's up with the Gem Bundler?
398 There has been some reports that Phusion Passenger is not compatible with
399 Yehuda Katz's gem bundler (http://github.com/wycats/bundler). This might
400 have been true for an earlier version of the gem bundler, but the latest
401 version seems to work fine. Please note that you need to insert the
402 following snippet in config/preinitializer.rb, as instructed by the gem
403 bundler's README:
404
405 require "#{RAILS_ROOT}/vendor/gems/environment"
406
407 The Rails::Boot monkey patching code as posted at
408 http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/
409 does not seem to be required anymore.
97db507 @FooBarWidget Afer forking, correctly clear ActiveRecord connections other than the…
FooBarWidget authored
410 * Fixed support for ActiveRecord subclasses that connect to another database.
411 ActiveRecord subclasses that connect to a database other than the default
412 one did not have their connection correctly cleared after forking.
413 This can result in weird errors along the lines of "Lost connection to
414 MySQL server during query". Issue #429.
00e0cbc @FooBarWidget Update NEWS.
FooBarWidget authored
415 * [Nginx] Fixed PCRE URL.
416 passenger-install-nginx-module downloads PCRE 7.8 if PCRE is not already
417 installed. However PCRE 7.8 has been removed from their FTP server,
418 so we've updated the URL to point to the latest version, 8.0.
419
420
adad4c6 @FooBarWidget Add OpenSSL as required dependency for Nginx (fixes issue #422). Upda…
FooBarWidget authored
421 Release 2.2.8
422 -------------
423
424 * [Nginx] Fixed some signal handling problems.
425 Restarting Nginx on OS X with SIGHUP can sometimes take a long time or
426 even fail completely. This is because of some signal handling problems,
427 which have now been fixed.
428 * [Nginx] Added OpenSSL as dependency.
429 OpenSSL is required in order to install Nginx, but this was not checked
430 by passenger-install-nginx-module. As a result,
431 passenger-install-nginx-module fails on e.g. out-of-the-box Ubuntu
432 installations until the user manually installs OpenSSL. Issue #422.
fd82697 @loe Ensure the current URI subject to internal redirects and rewrites is …
loe authored
433 * [Nginx] Fixed support for internal redirects and subrequests.
434 It is now possible to, for example, point X-Accel-Redirects to Phusion
435 Passenger-served URLs. Patch contributed by W. Andrew Loe III: issue #433.
247a254 @FooBarWidget Fixed crash caused by GnuTLS: issue #391.
FooBarWidget authored
436 * [Apache] Fixed a GnuTLS compatibility issue.
437 mod_gnutls can cause Phusion Passenger to crash because of an unchecked
438 NULL pointer. This problem has now been fixed: issue #391.
78beaf7 @FooBarWidget Fix thread creation on Intel Itanium. Fixes issue #427.
FooBarWidget authored
439 * Fixed thread creation issue on Intel Itanium platforms.
440 This fixes issue #427.
4880487 @FooBarWidget Fixed compilation problems on Linux running on the Renesas SH4 CPU: i…
FooBarWidget authored
441 * Fixed compilation problems on Linux running on the Renesas SH4 CPU.
442 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
443 * The Rack library has been unvendored.
444 The original reason for vendoring was to work around broken Rails
445 applications that explicitly specify Rack as a gem dependency. We've
446 found a better workaround that does not require vendoring Rack.
1a8408f @FooBarWidget Update NEWS.
FooBarWidget authored
447 This also fixes a compatibility problem with Rails 3, because Rails
448 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
449 Issue #432.
450 * Fixed compatibility with Ruby 1.9.1 patchlevel >= 152
451 Ruby 1.9.1 patchlevel >= 152 has a bug in its tempfile library. If you've
452 seen an error message along the lines of
453
454 *** Exception IOError in Passenger RequestHandler (closed stream)
455
456 then this is a Ruby bug at work. This bug has been fixed in Ruby 1.9.2,
457 but Ruby 1.9.1 still contains this bug. We've added a workaround so that
458 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
459
460
979bf12 @FooBarWidget Oops, remove debugging code.
FooBarWidget authored
461 Release 2.2.7
462 -------------
463
464 * Removed forgotten debugging code in passenger-install-apache2-module,
465 which caused it not to compile anything.
466
467
5f3ac2b @FooBarWidget Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant…
FooBarWidget authored
468 Release 2.2.6
469 -------------
470
5372bdb @FooBarWidget Prevent the Phusion Passenger temp dir from being deleted by /tmp cle…
FooBarWidget authored
471 * Some /tmp cleaner programs such as tmpwatch try to remove subdirectories
472 in /tmp/passenger.xxx after a while because they think those
473 subdirectories are unused. This could cause Phusion Passenger to
474 malfunction, requiring a web server restart. Measures have now been
475 taken to prevent those tmp cleaner programs from removing anything
476 in /tmp/passenger.xxx. Issue #365.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
477 * When autodetecting the application type, Rack is now given more priority
478 than Rails. This allows one to drop a config.ru file in a Rails directory
479 and have it detected as a Rack application instead of a Rails application.
480 Patch contributed by Sam Pohlenz: issue #338.
053150e @FooBarWidget Increase default socket backlog to 1024, SOMAXCONN is usually 128 whi…
FooBarWidget authored
481 * The default socket backlog has been increased from 'SOMAXCONN' (which
482 is 128 on most platforms) to 1024. This should fix most
483 'helper_server.sock failed: Resource temporarily unavailable'
484 errors.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
485 * Fixed compilation problems on Solaris. Issue #369 and issue #379.
486 * Fixed crashes on PowerPC.
9444db6 @FooBarWidget Fix a Ruby 1.9 compatibility issue: require stringio in utils.rb. Fix…
FooBarWidget authored
487 * Some Ruby 1.9 compatibility fixes. Issue #398.
5967ed7 @FooBarWidget Autodetect Mandriva Linux. Fixes issue #357.
FooBarWidget authored
488 * The installer now displays correct dependency installation instructions
489 for Mandriva Linux.
50750b1 @FooBarWidget Allow specifying the location of apxs2 and apr-config through command…
FooBarWidget authored
490 * [Apache] The location of the 'apxs' and 'apr-config' commands can now
491 also be passed to the installer through the --apxs-path and
492 --apr-config-path parameters, in addition to the $APXS2 and $APR_CONFIG
493 environment variables. Issue #3.
6418797 @FooBarWidget Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
494 * [Nginx] Various problems that only occur on 64-bit platforms have been fixed.
1f4d88b @FooBarWidget Update NEWS.
FooBarWidget authored
495 * [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
496
497
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
498 Release 2.2.5
499 -------------
500
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
501 * [Apache] Small file uploads are now buffered; fixes potential DoS attack
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
502 Phusion Passenger buffers large file uploads to temp files so that it
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
503 doesn't block applications while an upload is in progress, but it sent
504 small uploads directly to the application without buffering it. This could
505 result in a potential DoS attack: the client can send many small, incomplete
506 file uploads to the server, and this would block all application processes
507 until a timeout occurs. In order to solve this problem, Phusion Passenger
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
508 now buffers small file uploads in memory. Bug #356.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
509
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix so…
FooBarWidget authored
510 * [Apache] Fixed support for mod_rewrite passthrough rules
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
511 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
512 fix for supporting encoded slashes (%2f) in URLs. Unfortunately, due to
513 bugs/limitations in Apache, we can support either encoded slashes or
514 mod_rewrite passthrough rules, but not both; supporting one will break the
515 other.
516
517 Support for mod_rewrite passthrough rules is now enabled by default; that
518 is, support for encoded slashes is disabled by default. A new configuration
519 option, "PassengerAllowEncodedSlashes", has been added. Turning this option
520 on will enable support for encoded slashes and disable support for
521 mod_rewrite passthrough rules.
522
523 Issue #113 and issue #230.
524
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
525 * [Apache] Added a configuration option for resolving symlinks in the document root path
526 Phusion Passenger 2.2.0 and higher no longer resolves symlinks in
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
527 the document root path in order to properly support Capistrano-style
528 directory structures. The exact behavior is documented in the Users Guide,
529 section "How Phusion Passenger detects whether a virtual host is a web
530 application".
531
532 However, some people relied on the old behavior. A new configuration option,
533 PassengerResolveSymlinksInDocumentRoot, has been added to allow reverting
534 back to the old behavior.
535
281c020 @FooBarWidget Update NEWS
FooBarWidget authored
536 Patch contributed by Locaweb (http://www.locaweb.com.br/).
537
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
538 * [Apache] mod_env variables are now also passed through CGI environment headers
539 Prior to version 2.2.3, environment variables set by mod_env are passed to
540 the application as CGI environment headers, not through Ruby's ENV variable.
541 In the last release we introduced support for setting ENV environment
542 variables with mod_env, and got rid of the code for setting CGI environment
543 headers. It turns out that some people relied on the old behavior, we so now
544 environment variables set with mod_env are set in both ENV and in the CGI
545 environment.
546
547 Fixes bug #335.
548
549 * [Apache] Fixed compilation problems on some Linux systems with older versions of Apache
550 If you used to see compilation errors like this:
551
552 ext/apache2/Configuration.cpp:554: error: expected primary-expression before '.' token
553
554 then this version should compile properly.
555
e66494d @FooBarWidget Update NEWS
FooBarWidget authored
556 * [Apache] Fixed I/O timeouts for communication with backend processes
557 Got rid of the code for enforcing I/O timeouts when reading from or writing to
7ec85d7 @FooBarWidget Update release notes
FooBarWidget authored
558 a backend process. This caused more problems than it solved.
559
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
560 * [Nginx] Support for streaming responses (e.g. Comet or HTTP push)
561 Buffering of backend responses is now disabled. This fixes support for
562 streaming responses, something which the Apache version has supported
563 for a while now. One can generate streaming responses in Ruby on Rails
564 like this:
565
566 render :text => lambda { |response, output|
567 10_000.times do |i|
568 output.write("hello #{i}!\n")
569 end
570 }
571
41160df @FooBarWidget Nginx installer: install 0.7.61 by default.
FooBarWidget authored
572 * [Nginx] Installer now installs Nginx 0.7.61 by default
573 Previously it installed 0.6.37 by default.
574
9e62b29 @FooBarWidget passenger-install-nginx-module: correctly pass --extra-configure-flag…
FooBarWidget authored
575 * [Nginx] Fixed the installer's --extra-configure-flags flag when combined with --auto-download
576 Arguments passed to --extra-configure-flags were not being passed to the
577 Nginx configure script when --auto-download is given. This has been
578 fixed: bug #349.
579
9ff0e2a @FooBarWidget passenger-install-apache2-module: do not unnecessarily donwload PCRE;…
FooBarWidget authored
580 * [Nginx] Fixed unnecessary download of PCRE
581 The installer now checks whether PCRE is installed in /opt/local (e.g.
582 MacPorts) as well before concluding that it isn't installed and going ahead
583 with downloading PCRE.
584
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
585 * Fixed STDERR capturing
586 While spawning an application, Phusion Passenger captures any output written
587 to STDERR so that it can show them later if the application failed to start.
588 This turns out to be much more difficult than expected, with all kinds of
589 corner cases that can mess up this feature.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
590
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
591 For example, if the Rails log file is not writable, then this can cause
592 Rails to crash with a bizarre and unhelpful error message whenever it tries
593 to write to STDERR:
594
595 /!\ FAILSAFE /!\ Thu Aug 20 14:58:39 +1000 2009
596 Status: 500 Internal Server Error
597 undefined method `[]' for nil:NilClass
598
599 Some applications reopen STDERR to a log file. This didn't work.
600
601 Of all of these problems have been fixed now. (Bug #332)
602
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
603 * Fixed some bugs in application sources preloading
604 Rails >= 2.2 already preloads the application sources, in which case Phusion
605 Passenger wasn't supposed to perform it's own preloading, but the Rails
606 >= 2.2 detection code was bugged. This has been fixed.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
607
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
608 Rails < 2.2 doesn't preload the application sources by itself, but there
609 should be a certain order with which the sources are preloaded, otherwise
610 preloading could fail in some applications. We now enforce a specific load
611 order: first models, then controllers, then helpers.
c878017 @FooBarWidget Fix compilation problems with some Linux systems with older versions …
FooBarWidget authored
612
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
613 Bug #359.
614
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix so…
FooBarWidget authored
615 * Fixed a few bugs in WSGI compliance
616 PATH_INFO is supposed to be set to the request URI, but without the query
617 string and without the base URI. This has been fixed: bug #360.
618
ac777e5 @FooBarWidget Fix some Ruby 1.9-specific crashes caused by encoding issues. Bug #364.
FooBarWidget authored
619 * Fixed some Ruby 1.9-specific crashes caused by encoding issues. Bug #354.
281c020 @FooBarWidget Update NEWS
FooBarWidget authored
620 * Fixed loading of config/environment.rb on Ruby 1.9.2, because Ruby 1.9.2
621 no longer has "." in the default load path. Patch by metaljastix, issue #368.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
622 * The Users Guide for Apache now mentions something about correct permissions
623 for application directories.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
624 * Fixed compilation problems on IA-64 (bug #118). We also reduced the stack
625 sizes for the threads by half, so Phusion Passenger should use even less
626 virtual memory now.
312b5e1 @FooBarWidget Fix compilation problems on Linux systems with ARM CPU.
FooBarWidget authored
627 * Fixed compilation problems on Linux systems with ARM CPU.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
628 * Fixed a few compatibility problems with 64-bit OpenBSD.
629 * Fixed a few typos and minor bugs.
630
631
632 Older releases
633 --------------
9e15dbd @FooBarWidget Begin porting passenger-status to the new infrastructure.
FooBarWidget authored
634 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.