Releases: jruby/jruby-rack
Releases · jruby/jruby-rack
1.1.21 (17/09/17)
- update (bundled) rack to 1.6.8
- add
Rack::Handler::Servlet::DefaultEnv#get_header
(#212)
missing methods to handleActionController::Base#reset_session
- can only safely stream natively on ActionDispatch <= 3.2 (#210)
(broken Rails streaming for Rails 4.x) - when handling OPTION calls ignore both 'Date' and 'Allow' headers (#205)
1.1.20 (22/01/16)
- pre-maturely avoid Ruby frozen string literals coming at us ... ''.dup meh!
- allow to boot when RAILS_ROOT/public directory does not exist (closes #197)
- for better booter detection - export public path after working dir was changed
ActionController::Base
provides a methodservlet_response
to return the
java.servlet_response
rack env (#201)- adjust jruby home dir fallback (for default $LOAD_PATH) correctly on 9K and --2.0
- servlet env should behave on
fetch
and[]
like a Hash (nil value can be set)
1.1.19 (01/07/15)
1.1.18 (13/01/15)
- back-port Rack::ShowStatus to be used with out ErrorApp (contains XSS fix #190)
- search rackup (config.ru) on context-classloader if not found elsewhere
- introduce a new ClassPathLayout where the whole app + gems are on CP (#191)
- update to (vendored) rack ~> 1.5.2 (for JRuby-Rack 1.1.x)
- use Rack::Utils.best_q_match in ErrorApp if available
- improved rack-compatibility for our "pure" servlet-env request env parsing
- raise a TypeError just like rack does when it detects invalid parameters
- compatibility with rack's parse_nested_query logic
1.1.17 (30/12/14)
This release changes deployment from codehaus.org to oss.sonatype.org for artifacts.
- just keep the jruby-home when set by jruby to "uri:classsloader:..." JRuby 9k
- support configuration of
Response.swallow_client_abort?
(#186) - better client EOF (socket abort "Broken pipe") detection in Response
we're now "officially" handling Jetty and maybe a bunch of others - allow PATCH verb to be processed by the ruby application (#184)
1.1.16 (14/08/14)
- deal with
real_path
(file-system) layout regression introduced in 1.1.15
Changes from 1.1.15 apply since the previous release got yanked due a regression.
- deal with potential getParameterMap "bugs" - null values e.g. on Jetty 6 (#154)
- support filter init-param to configure whether response is handled "by default"
- no header or status set (on response capture) - should report as handled
works with Tomcat as before and serves static content with Jetty (#175) - make sure internal servlet attributes are retrieved on
env[]
(#173) - using our "servlet-specific" path methods in booter - we're avoiding
File.exist?
and expanding path specifically for the application layout
this helps for a better boot in non-expanded .war scenarios - improve app layout dir resolution - e.g. FS public path should resolve relative
- a work-around for WAS (8.5) failing on
Dir.chdir
while booting (#170) - consider response unhandled when OPTIONS with "Allow" header set (#153)
- improved handling for jruby.compat.version (should work with jruby-head)
- start using de.saumya.mojo jruby plugins for mvn (relates to #108 as well)
this allows us to work without a GEM_HOME/GEM_PATH (local ruby install) - use ruby-style methods for the servlet api (in our servlet_env handler)
1.1.15 (ya/nk/ed)
- deal with potential getParameterMap "bugs" - null values e.g. on Jetty 6 (#154)
- support filter init-param to configure whether response is handled "by default"
- no header or status set (on response capture) - should report as handled
works with Tomcat as before and serves static content with Jetty (#175) - make sure internal servlet attributes are retrieved on
env[]
(#173) - using our "servlet-specific" path methods in booter - we're avoiding
File.exist?
and expanding path specifically for the application layout
this helps for a better boot in non-expanded .war scenarios - improve app layout dir resolution - e.g. FS public path should resolve relative
- a work-around for WAS (8.5) failing on
Dir.chdir
while booting (#170) - consider response unhandled when OPTIONS with "Allow" header set (#153)
- improved handling for jruby.compat.version (should work with jruby-head)
- start using de.saumya.mojo jruby plugins for mvn (relates to #108 as well)
this allows us to work without a GEM_HOME/GEM_PATH (local ruby install) - use ruby-style methods for the servlet api (in our servlet_env handler)
1.1.14 (24/02/14)
- re-invent the ErrorApp without Rack::File and with support for 503(.html)
- when jruby.rack.error.app is set - make sure it's actually used (fixes #166)
- review Railtie for setting relative_url_root - do not override if already set
- support setting a "relative url root" even with plain rack applications for
now needs to be explicitly configured with rack.relative_url_root_variable - honor the set
config.log_formatter
when setting up logger in Rails - when a header is added response should be considered handled (#153)
- support for returning managed applications from rack factory decorators
usingRackApplicationFactoryDecorator.getManagedApplications
- use .equals() rather than == since the level string is not always the same
object instance as defined by the RackLogger interface - support (building)
rake gem
on RubyGems 2.0 (removed Gem::Builder) - rack 1.5.x support for 'our' servlet session store (with backwards-compat)