Skip to content

Releases: jruby/jruby-rack

1.2.6

15 Oct 20:17
0cf520c

Choose a tag to compare

What's Changed

  • Add missing block-only signature for debug logging
  • update (bundled) rack to 2.2.20
  • Ensure rack boot process leaves ENV['GEM_PATH'] and Gem.paths in a consistent state
  • Remove undocumented and unsafe jruby.rack.env.gem_path = false option (unusable on Bundler 1.6+)
  • Fix unintended Rubygems initialization too early in boot process with JRuby 9.4+

Full Changelog: jruby-rack-1.2.5...jruby-rack-1.2.6

1.2.5

08 Sep 12:51
9f93cc3

Choose a tag to compare

What's Changed

  • Fix use of jruby-rack under Java 8 (#324)
  • Fix deprecated usages of JRuby runtime (backport of non API-facing changes from #318)
  • Fix deprecated usages of Rack API (backport of #316 and non API-facing changes from #318)
  • [backport 1.2.x] Reinstate Rails integration test stubs for Rails 5.0 -> 7.2 by @chadlwilson in #323

Full Changelog: jruby-rack-1.2.4...jruby-rack-1.2.5

1.2.4

08 Aug 12:19
496a7bd

Choose a tag to compare

What's Changed

  • update (bundled) rack to 2.2.17
  • Fix Rails 7.1 CSRF protection when working with JavaServletStore sessions
  • Cleanup Actions workflow and dependabot ignore rules by @chadlwilson in #281
  • [backport 1.2.x] Fix Rails 7.1 CSRF token support by @chadlwilson in #297
  • [backport 1.2.x] Migrate publishing to go via new Sonatype Central publishing portal by @chadlwilson in #298

Full Changelog: jruby-rack-1.2.3...jruby-rack-1.2.4

1.2.3

22 Jul 15:05
7439b7b

Choose a tag to compare

  • avoid warnings due to usage of File.exists?
  • Fix Rails 7.1 compatibility by ensuring active_support is required before railtie
  • Workaround logger require issues with concurrent-ruby 1.3.5 and older Rails versions
  • Workaround NameError frozen string literal issues with JRuby 9.3 and Rails 5.2/6.0
  • Use non-public lookup to avoid classloader issues (#268)
  • visibility changes to ensure they can be run on Java 17+ as well without using reflection hack
  • Fix ERB deprecation warning
  • Fix new loggers to avoid logging at multiple levels
  • update (bundled) rack to 2.2.15
  • Corrects Rack 2.x compatibility when used with modern Rails, and requires Rack 2.x going forward
  • forward ports all 1.1.x fixes to the 1.2.x stream which were omitted in 1.2.2 release (#262)
  • fixes regression NoMethodError undefined method get_header (#259)
  • correct use of session store with Rails 7.0+ (#244)
  • reinstate automated tests for Rails 5.0 - 7.2 (#271)

What's Changed

New Contributors

Full Changelog: jruby-rack-1.2.2...jruby-rack-1.2.3

1.2.2

22 Jul 15:02

Choose a tag to compare

First combined RubyGems + Maven Central release of the 1.2.x branch.

  • Requires Java 8 or later
  • Requires Java Servlet API 3.0 or later
  • Improved logger implementation
  • Fixes broken multipart data (#247)
  • update (bundled) rack to 2.2.9

(Note: this release lacks some important fixes made to later 1.1.x releases, that were accidentally forgotten to be merged)

What's Changed

Full Changelog: jruby-rack-1.2.0...jruby-rack-1.2.2

1.2.0

22 Jul 15:00

Choose a tag to compare

Initial release of the 1.2.x branch.

  • Requires Java 8 or later
  • Requires Java Servlet API 3.0 or later
  • Improved logger implementation
  • Fixes broken multipart data (#247)
  • update (bundled) rack to 2.2.9

(Note: this release lacks some important fixes made to later 1.1.x releases, that were accidentally forgotten to be merged)

1.1.21 (17/09/17)

26 Oct 09:05

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

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

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

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