spray 1.3.1 for Scala 2.11.0 and Akka 2.3.2 available

2,255 views
Skip to first unread message

Mathias Doenitz

unread,
Apr 23, 2014, 10:26:24 AM4/23/14
to spray...@googlegroups.com
Dear sprayers,

just a short heads-up as to the availability of a Scala 2.11-compatible spray release:
We have just published a preview of spray 1.3.1, which is built against Scala 2.11.0 and Akka 2.3.2.

It’s only a preview of the “real” spray 1.3.1 for Scala 2.11 because two dependencies are still missing: lift-json and play-json.
Apart from the JSON support for these two libraries the preview is identical to the spray 1.3.1 for Scala 2.11 that we’ll eventually release later.

It is available from the usual place at http://repo.spray.io.
Use this descriptor in SBT (for example for `spray-can`):

"io.spray" %% “spray-can" % "1.3.1-20140423”

Note the `%%`, contrary to all other spray releases so far this build is published with cross-versions paths enabled!

Let us know if you have any issues with this build.

Cheers and happy spraying,
Mathias

---
mat...@spray.io
http://spray.io

Benjamin Thuillier

unread,
Apr 23, 2014, 10:32:40 AM4/23/14
to spray...@googlegroups.com
Good job,

thank you =)

Oscar Vargas Torres

unread,
Apr 23, 2014, 11:57:46 AM4/23/14
to spray...@googlegroups.com
Does the new build depend on Shapeless 2.0.0 final or still using the old 1.2.4? (I think the latter would not be possible) I've been waiting for ages for this to happen.

Johannes Rudolph

unread,
Apr 23, 2014, 12:08:49 PM4/23/14
to spray...@googlegroups.com
Hi Oscar,

On Wed, Apr 23, 2014 at 5:57 PM, Oscar Vargas Torres
<vargas.to...@gmail.com> wrote:
> Does the new build depend on Shapeless 2.0.0 final or still using the old
> 1.2.4? (I think the latter would not be possible) I've been waiting for ages
> for this to happen.

It's still on 1.2.4.

--
Johannes

-----------------------------------------------
Johannes Rudolph
http://virtual-void.net

Eric Elbaz

unread,
May 19, 2014, 12:50:34 AM5/19/14
to spray...@googlegroups.com
Thanks. I was looking for this. Any thoughts on when an official spray 1.3.1 against scala 2.11 will be released?

Regards,
/Eric

Johannes Rudolph

unread,
May 19, 2014, 6:02:01 AM5/19/14
to spray...@googlegroups.com
Hi Eric,

On Mon, May 19, 2014 at 6:50 AM, Eric Elbaz <eel...@gmail.com> wrote:
> Thanks. I was looking for this. Any thoughts on when an official spray 1.3.1
> against scala 2.11 will be released?

Unfortunately, spray-httpx has a lot of dependencies to json libraries
to support marshalling for them. So, we either need to wait until all
those dependencies have been published for 2.11 or strip off support
for the missing ones. It seems at least `lift-json` is still missing
right now.

We didn't want to release a 1.3.1 for Scala 2.11 which is not
feature-identical with the 1.3.1 for Scala 2.10 so we decided to wait
for all of those dependencies to be published for 2.11. That's why we
put out the nightly build which is identical to the 2.10 release but
for the missing connectors.

kevin...@teamaol.com

unread,
May 21, 2014, 4:25:26 PM5/21/14
to spray...@googlegroups.com
Will the spray release for scala 2.11 have jsonFormat23+ to go along with the lifted case class limit? Or will I have to write my own json read/write code for large case classes?


On Wednesday, April 23, 2014 10:26:24 AM UTC-4, Mathias wrote:

Mathias Doenitz

unread,
May 26, 2014, 8:16:54 AM5/26/14
to spray...@googlegroups.com
Kevin,

we will not add any more predefined `jsonFormat` providers for the current Scala 2.11 cross-build.

Cheers,
> --
> You received this message because you are subscribed to the Google Groups "spray.io User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spray-user.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/403fff7c-bdda-47b5-9115-9e6f217eb688%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Tim Harper

unread,
Jun 1, 2014, 2:39:47 AM6/1/14
to spray...@googlegroups.com
FYI: play-json 2.3.0 for 2.11 landed yesterday:


Can we get another nightly release with it included?

Thanks!

Tim

Scott Clasen

unread,
Jun 3, 2014, 5:52:56 PM6/3/14
to spray...@googlegroups.com
Is it possible to cut a true cross version build of this? it looks like there are  `<module>_2.11` deps and `<module>` deps but not `<module_2.10>` deps in the spray repo, which makes cross building libraries that rely on spray difficult.

Tim Harper

unread,
Jun 6, 2014, 2:41:41 AM6/6/14
to spray...@googlegroups.com
As a partial response to Scott's question, I just submitted a pull-request which fixes cross-building for the branch release/1.3_2.11.

https://github.com/spray/spray/pull/882

I've build and deployed the latest version of spray, you can use it if you like while you wait on the spray folk to get the next release out:

resolvers ++= Seq(

val sprayVersion = "1.3.1-spingo.1"

libraryDependencies ++= Seq(
  "io.spray"            %%  "spray-can"     % sprayVersion,
  "io.spray"            %%  "spray-routing" % sprayVersion
)

Tim Harper

unread,
Jun 6, 2014, 2:43:29 AM6/6/14
to spray...@googlegroups.com


On Friday, June 6, 2014 12:41:41 AM UTC-6, Tim Harper wrote:

I've build and deployed the latest version of spray, you can use it if you like while you wait on the spray folk to get the next release out:

That is to say, I've cross-built the latest version of spray, using semantic cross-build _2.10, _2.11 suffix.

Stefan Bleibinhaus

unread,
Jun 13, 2014, 4:41:37 PM6/13/14
to spray...@googlegroups.com
Scott:

I'm resolving the right version this way in my build.sbt:

ijuma

unread,
Jun 20, 2014, 7:16:56 PM6/20/14
to spray...@googlegroups.com, johannes...@googlemail.com
On Monday, 19 May 2014 11:02:01 UTC+1, Johannes Rudolph wrote:
It seems at least `lift-json` is still missing
right now.

lift-json was released for 2.11 recently:


And, as said elsewhere, Play 2.3.x was released a while ago. json4s for 2.11 was also released a while ago.

What's still missing (if anything)?

Ismael

Mathias Doenitz

unread,
Jun 23, 2014, 4:46:23 AM6/23/14
to spray...@googlegroups.com
Ismael,

apparently nothing is missing anymore.
We’ll publish 1.3.1 for Scala 2.11 shortly…

Cheers,
> --
> You received this message because you are subscribed to the Google Groups "spray.io User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spray-user.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/265990a4-62ca-452c-af1c-18ab4f1e6a68%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages