[jruby-user] Warbler 2.0.0.pre1 Released

Joe Kutner <[email protected]> Wed, 29 Apr 2015 15:50:49 -0500
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CAON=dD3WmSPN9q_=ZnAFeZRd0BoVNP59aZUXQCP61bHOD8cyLA@mail.gmail.com>
--001a114273ee4e5adb0514e32296
Content-Type: text/plain; charset=UTF-8

I've release a 2.0.0.pre1 version of Warbler that is compatible with JRuby
9.0.0.0.pre2, but is not compatible (in theory) with anything earlier.
https://rubygems.org/gems/warbler/versions/2.0.0.pre1

The plan for Warbler 2.x is essentially the same as JRuby 9k: only
supporting Ruby 2.2 onwards and some "modern" versions of Rails and other
frameworks (we'll figure out the specifics as time goes on). Development
will be done on the 2.x-dev branch:
https://github.com/jruby/warbler/tree/2.x-dev

The Warbler 1.x version line *will continue to be supported* for as long as
JRuby 1.7.x is supported. However, it will not support JRuby 9k. It will
also, probably, not support "modern" versions of Rails and such (see
above). Development will continue on the master branch until 2.0.0 is
released.

The 2.0.0.pre1 release is, otherwise, not that exciting. I mainly updated
it to keep parity with 1.4.7 while running on JRuby 9k. Here's a summary of
things:

* Removed all references to Merb (yup, you read that right)
* Removed support for Rails 2.x
* Removed support for Ruby 1.8 (yes, it's still there), 1.9, 2.0
* Removed some convoluted logic for loading bouncy castle jars

Here are some things I'm considering doing before a 2.0.0 release:

* Remove support for Rails 3.x (continue support on the Warbler 1.4.x line)
* Remove Winstone? (make way for Tomcat?)
* Upgrade all tests to use modern versions of frameworks and Gems.
* Add first-class support for cool stuff from Servlet 3.1 via jruby-rack

Here are some example apps -- all of them ready to run on Heroku ;)

Dirt Simple Rack Example:
https://github.com/jkutner/warbler-rack-example

Sinatra (using Servlet 3.1 async) Example:
https://github.com/jkutner/warbler-sinatra-example

Rails 4.1 Example:
https://github.com/jkutner/warbler-rails-example

Please give this a try, and let me know if you find any problems.

I'd also love to hear suggestions for improvements, new features, or other
things we should be supporting.

Cheers,

Joe Kutner

--001a114273ee4e5adb0514e32296
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>I&#39;ve release a 2.0.0.pre1 version of Warbler=
 that is compatible with JRuby 9.0.0.0.pre2, but is not compatible (in theo=
ry) with anything earlier.<br><a href=3D"https://rubygems.org/gems/warbler/=
versions/2.0.0.pre1">https://rubygems.org/gems/warbler/versions/2.0.0.pre1<=
/a><br><br>The plan for Warbler 2.x is essentially the same as JRuby 9k: on=
ly supporting Ruby 2.2 onwards and some &quot;modern&quot; versions of Rail=
s and other frameworks (we&#39;ll figure out the specifics as time goes on)=
. Development will be done on the 2.x-dev branch:<br><a href=3D"https://git=
hub.com/jruby/warbler/tree/2.x-dev">https://github.com/jruby/warbler/tree/2=
.x-dev</a><br><br>The Warbler 1.x version line *will continue to be support=
ed* for as long as JRuby 1.7.x is supported. However, it will not support J=
Ruby 9k. It will also, probably, not support &quot;modern&quot; versions of=
 Rails and such (see above). Development will continue on the master branch=
 until 2.0.0 is released.<br><br>The 2.0.0.pre1 release is, otherwise, not =
that exciting. I mainly updated it to keep parity with 1.4.7 while running =
on JRuby 9k. Here&#39;s a summary of things:<br><br>* Removed all reference=
s to Merb (yup, you read that right)<br>* Removed support for Rails 2.x<br>=
* Removed support for Ruby 1.8 (yes, it&#39;s still there), 1.9, 2.0<br>* R=
emoved some convoluted logic for loading bouncy castle jars<br><br>Here are=
 some things I&#39;m considering doing before a 2.0.0 release:<br><br>* Rem=
ove support for Rails 3.x (continue support on the Warbler 1.4.x line)<br>*=
 Remove Winstone? (make way for Tomcat?)<br></div>* Upgrade all tests to us=
e modern versions of frameworks and Gems.<br></div>* Add first-class suppor=
t for cool stuff from Servlet 3.1 via jruby-rack<br><div><div><br>Here are =
some example apps -- all of them ready to run on Heroku ;)<br><br>Dirt Simp=
le Rack Example: <br><a href=3D"https://github.com/jkutner/warbler-rack-exa=
mple">https://github.com/jkutner/warbler-rack-example</a><br><br>Sinatra (u=
sing Servlet 3.1 async) Example: <br><a href=3D"https://github.com/jkutner/=
warbler-sinatra-example">https://github.com/jkutner/warbler-sinatra-example=
</a><br>=C2=A0<br>Rails 4.1 Example: <br><a href=3D"https://github.com/jkut=
ner/warbler-rails-example">https://github.com/jkutner/warbler-rails-example=
</a><br><br>Please give this a try, and let me know if you find any problem=
s.<br><br></div><div>I&#39;d also love to hear suggestions for improvements=
, new features, or other things we should be supporting.<br></div><div><br>=
Cheers,<br><br>Joe Kutner</div></div></div>

--001a114273ee4e5adb0514e32296--