February 28th, 2013· This release adds hijacking support for Rack 1.5.x users. See Rack documentation for more information about hijacking. Lin Jen-Shin also provided the -N/--no-default-middleware option. Minor packaging cleanups and new HACKING document.
· There are also some corner-case bugfixes for *Epoll* users (sleepy_penguin, these bugs do not affect EM or Cool.io users) and test suite portability improvements.
January 19th, 2013· This release fixes two EventMachine bugfixes from Lin Jen-Shin and Mark J. Titorenko. There are also some minor cleanups.
December 7th, 2012· One bugfix allows stream(:keep_open) in Sinatra to work properly.
August 31st, 2012· Fiber-based concurrency options avoids negative sleep intervals. Thanks to Lin Jen-Shin for pointing this out.
August 18th, 2012· For epoll/Cool.io-based concurrency models, shutdown() is now used to timeout keepalive clients to avoid race conditions.
· Minor documentation improvements were made.
September 2nd, 2011· This release fixes a potential reentrancy deadlock when using the default logger from the Ruby standard library.
August 22nd, 2011· The deprecated Rainbows::HttpResponse class is finally gone thanks to Pratik Naik. Logging of errors is more consistent with the changes in unicorn 4.1.0. There are also minor documentation updates. See the unicorn 4.1.0 release notes for more details: http://bogomips.org/unicorn.git/tag/?id=v4.1.0
June 27th, 2011· Rainbows! now scales to more than 1024 worker processes without special privileges. To enable this, Rainbows! now depends on Unicorn 4.x and thus raindrops[1].
· client_max_header_size directive is added to limit per-client memory usage in headers.
· An experimental StreamResponseEpoll concurrency option now exists to buffer outgoing responses without any thread-safe dependencies. Unlike the rest of Rainbows! which works fine without nginx, this concurrency option is /only/ supported behind nginx, even more strongly so than Unicorn itself. non-nginx LAN clients are NOT supported for this. This relies on the sleepy_penguin[2] RubyGem (and Linux).
· There are some minor bug fixes and cleanups all around.
May 23rd, 2011· SIGQUIT (graceful shutdown) now drops idle keepalive clients for the concurrency models where maintaining an idle client is relatively inexpensive: Coolio, CoolioThreadPool, CoolioThreadSpawn, Epoll, EventMachine, XEpoll, XEpollThreadPool, XEpollThreadSpawn.
· Kgio.autopush now works properly for all multi-threaded concurrency models (if you're using :tcp_nopush).
· locale fix for grep
· t0044: increase test reliability
· try_defer: enable documentation
· xepoll_thread_pool/client: improve autopush support
· .gitignore: add tags/TAGS files
· add tests for Kgio autopush on Linux
· add test for SIGQUIT disconnect
· event_machine: disconnect idle clients at on SIGQUIT
· client: use kgio_write across the board
· coolio* + *epoll*: drop keepalive clients on SIGQUIT
· epoll/xepoll: more consistent client implementations
· doc: recommend io_splice 4.1.1 or later
May 17th, 2011· improved documentation all around, suggestions/comments to further improve documentation is greatly welcome at: rainbows-talk@rubyforge.org
· added GPLv3 option to the license (now (Ruby|GPLv2|GPLv3), though Unicorn is still (Ruby|GPLv2) for now)
· added client_header_buffer_size config directive (default 1K)
· small default header buffer size (16K => 1K) to reduce memory usage, Rails apps with cookie sessions may want to increase this (~2K)
· all concurrency models default to 50 connections per process
· all concurrency models with a secondary :pool_size parameter also default to 50 (threads/fibers/whatever)
· RLIMIT_NOFILE and RLIMIT_NPROC are automatically increased if needed
· Rainbows::ThreadTimeout middleware rewritten, still not recommended, lazy people should be using Unicorn anyways :)
· Several experimental Linux-only edge-triggered epoll options: XEpollThreadSpawn, XEpollThreadPool, XEpoll, and Epoll. The latter two were in previous releases but never announced. These require the "sleepy_penguin", "raindrops", and "sendfile" RubyGems
February 11th, 2011· Unicorn dependency updated to 3.4.0, so we get IPv6 support and Kgio.autopush support for ":tcp_nopush => true" users.
· Optional :pool_size argument is fixed for NeverBlock and CoolioThreadPool users.
· Mostly minor internal code cleanups
· Sunshowers support removed, it was out-of-date and unmaintained. Cramp remains supported for now.
· X-Rainbows-* response headers support removed, nobody used it.
January 12th, 2011· There is one incompatible change: We no longer assume application authors are crazy and use strangely-cased headers for "Content-Length", "Transfer-Encoding", and "Range". This allows us to avoid the case-insensitivity of Rack::Utils::HeaderHash for a speed boost on the few apps that already serve thousands of requests/second per-worker.
· :Coolio got "async.callback" support like :EventMachine, but it currently lacks EM::Deferrables which would allow us to call "succeed"/"fail" callbacks. This means only one-shot response writes are supported.
· There are numerous internal code cleanups and several bugfixes for handling partial static file responses.
December 29th, 2010· Cool.io (new version of Rev) support is explicitly added (it always worked before). ":Coolio" may be used in place of ":Rev" anywhere in your Rainbows! config file.
· There is a new "keepalive_requests" config directive to limit the number of requests a single connection may make (default: 100, same as nginx). This may be useful for better load-balancing characteristics. The old "Rev" prefixes remain supported as long as Cool.io remains compatible with Rev (likely forever).
Bug fixes:
· Rainbows::ThreadTimeout middleware with multiple clients
· large, pipelined upload errors with Revactor+Coolio(Rev)
· high CPU usage for maintaining idle keepalive on *Fiber*
· needless ThreadPool wakeups
· request env prematurely cleared keepalive requests, breaking some middlewares such as Clogger.
· "close" not called on body if wrapper and sendfile used together Various code cleanups, and our RDoc website is JavaScript-free.
December 3rd, 2010· For HTTP clients living on the edge and pipelining uploads, we now fully support pipelined requests (as long as the application consumes each request in its entirety).
November 22nd, 2010· This release is targeted at the minority of web applications that deal heavily with uploads.
· Thanks to Unicorn 3.x, we now support HTTP keepalive for requests with bodies as long as the application consumes them. Unicorn 3.x also allows disabling the rewindability requirement of "rack.input" (in violation of the Rack 1.x spec).
· The global client_body_max_size may also be applied per-endpoint using the Rainbows::MaxBody middleware described in: http://rainbows.rubyforge.org/Rainbows/MaxBody.html
October 28th, 2010· This version is merely a milestone in the evolving internal API.
· Use of kgio may result in performance improvements under Ruby 1.9.2 with non-blocking I/O-intensive workloads.
· SIGHUP now correctly restores defaults on unset settings.
August 30th, 2010· We now depend on Unicorn 1.1.3 to avoid race conditions during log cycling. This bug mainly affected folks using Rainbows! as a multithreaded static file server.
· "keepalive_timeout 0" now works as documented for all backends to completely disable keepalive. This was previously broken under EventMachine, Rev, and Revactor.
· There is a new Rainbows::ThreadTimeout Rack middleware which gives soft timeouts to apps running on multithreaded backends.
· There are several bugfixes for proxying IO objects and the usual round of small code cleanups and documentation updates.