Skip to content

Releases: jruby/jruby-rack

1.1.21 (17/09/17)

26 Oct 09:05
Compare
Choose a tag to compare
  • update (bundled) rack to 1.6.8
  • add Rack::Handler::Servlet::DefaultEnv#get_header (#212)
    missing methods to handle ActionController::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)

24 Jan 08:11
Compare
Choose a tag to compare
  • 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 method servlet_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)

09 Oct 12:13
Compare
Choose a tag to compare
  • update (bundled) rack to 1.5.5
  • servlet attrs with null/false values should not end up with an '' env value (#195)
  • tune ErrorApp + ShowStatus to respect set 'rack.showstatus.detail' (#194)
  • allow for more JRuby::Rack::ErrorApp customizations + retrieve cause when needed

1.1.18 (13/01/15)

15 Jan 15:16
Compare
Choose a tag to compare
  • 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)

30 Dec 11:02
Compare
Choose a tag to compare

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)

22 Aug 10:47
Compare
Choose a tag to compare
  • 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)

24 Jul 10:20
Compare
Choose a tag to compare
  • 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)

25 Feb 06:40
Compare
Choose a tag to compare
  • 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
    using RackApplicationFactoryDecorator.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)