John Sullivan | 26 May 18:02 2016
Picon

longevity 0.8 is out - database queries with Akka Streams!

I'm excited to announce the release of longevity 0.8, which provides a stream-based API for database query results! Here's the "press release":

http://scabl.blogspot.com/2016/05/longevity-now-supports-querying-with.html

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
John Sullivan | 19 May 18:11 2016
Picon

longevity 0.7.0 is released!

This release features added support for polymorphism. Yay! See the changelog. See also my blog post explaining our reasoning for supporting subtypes.

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Eugene Yokota | 5 May 23:11 2016
Picon
Gravatar

Zinc 1.0.0-M1

Howdy,

Zinc 1.0.0-M1 is out.
https://bintray.com/sbt/maven-releases/zinc/1.0.0-M1

Zinc is the incremental compiler for Scala, originally part of sbt,
but now split up as a library. Unlike the older Zinc that was repackaged out of sbt artifacts,
this new Zinc is a genuine project built from source, published to Bintray and synced to Maven Central.
Zinc 1.0.0-M1 is cross built for both Scala 2.11 and 2.10, and
features class-based name hashing implemented by Grzegorz Kossakowski (see [1] for the correct pronunciation)

Because Zinc 1.0.0-M1 is a library, if you want to try it, your build tool or IDE needs to support it.
So ask your build tool if Zinc 1.0.0-M1 is right for you.
If you find issues, please let us know on Github[2] or Gitter[3]

-sbt team

  [1]: http://forvo.com/word/grzegorz/#pl
  [2]: https://github.com/sbt/zinc/issues
  [3]: https://gitter.im/sbt/sbt

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Josh Suereth | 5 May 16:11 2016
Picon
Gravatar

Scala arm 2.0-RC1 is out

Hello Scala friends,

I'd like to announce the release of scala-arm 2.0-RC1.  This release marks the final acceptance of no more CPS plugin in scala ( :( ).

You can find the release notes here: https://github.com/jsuereth/scala-arm/releases/tag/v2.0-RC1, but  a few highlights:

  • Bug fixes
  • scala.util.Try support
  • new `Using` object with lots of convenience methods (copied over from sbt.IO).
  • A new `constant` method which will construct a ManagedResource[A] where A is not a resource at all, but a 'constant value'.  Note:  This is *not* a safe `pure` for those trying to implement cats.Pure or scalaz.Pure, as we need to split the category of types into those which are resources and those which are not.

Please try it out and report any bugs.


Thanks!
- Josh

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Scala IDE | 5 May 16:11 2016
Picon
Gravatar

Scala IDE 4.4.1-vfinal is out!

We just released Scala IDE 4.4.1.

As usual, this release can be consumed both from the regular update sites, and as a standalone Eclipse distribution.

This release contains a few bug fixes and one new feature: organize imports on class and method level.

Read all the details in our release notes or consult the changelog for a detailed list of changes.

The Scala IDE team

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
David Barri | 5 May 11:10 2016
Picon
Gravatar

[ANN] Scala Test-State -- first public release

Hi,

New library about.

Scala Test-State.

Purpose is to test stateful stuff statelessly, and reasonably.

Muchas info and more detail on the project page.

Enjoy.

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Bill Venners | 4 May 21:20 2016

Programming in Scala, Third Edition, Now Available!

Hi All,


I am happy to announce that the third edition of Programming in Scala is now available!


The book has been updated to cover new features up to and including Scala version 2.12, such as:

  • Implicit classes
  • Creating your own AnyVals
  • String interpolation
  • Futures and concurrency, including new methods added in 2.12 and asynchronous testing with Futures in ScalaTest 3.0
  • Wildcard types
  • The close integration of Scala 2.12 and Java 8, most significantly the new ability to use function literals to express instances of SAM types
  • The latest recommendations for Scala coding style
  • New recommendations for writing hashCode
  • The context bounds syntax for typeclasses

As of today, both the eBook and paper book are in stock and ready for purchase. You can pick up a copy today at Artima or Amazon.


Also, for those of you attending Scala Days in New York next week, Martin and I will be on hand for a book signing on Tuesday, May 10, at noon at the Artima booth. Please come by and say hello!


Bill

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Sébastien Doeraene | 30 Apr 09:30 2016
Picon
Gravatar

Announcing Scala.js 0.6.9

Hello all,

We are pleased to announce the release of Scala.js 0.6.9!

This release was mostly focused on ironing out the support of Scala 2.12.0-M4 and the upcoming M5. All users of 2.12.0-M4 are highly encouraged to upgrade to Scala.js 0.6.9. The release also contains a few bug fixes, as well as the following improvements:

  • #2009 No own class for anonymous Scala.js-defined JS classes
  • #2350 A read-only sbt setting isScalaJSProject which is true iff the current project is a Scala.js project
See all the details in the announcement on the Web:
https://www.scala-js.org/news/2016/04/30/announcing-scalajs-0.6.9/

Enjoy!
The Scala.js team

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jarek Sacha | 23 Apr 02:01 2016
Picon
Gravatar

ScalaFX v.8.0.92-R10 released

ScalaFX 8.0.92-R10 was tested against JavaFX 8.0u92. It is contains some new features and bug-fix release. Scala 2.10, 2.11, and 2.12 are supported.

Compatibility braking changes:

  • Issue #107: Remove code that was deprecated before release of ScalaFX 1.0.0 M1

New features and improvements:

Bug fixes:

  • Issue #69: SFX-8: ColorfulCircles and SimpleColorfulCircles demos fail.
  • Issue #184: ObservableBuffer.Change has no generic type parameters, while the majority of its children do.
  • Issue #217: NPE when calling Node#snapshot
  • Issue #219: WritableImage#pixelWrit should be pixelWriter.
  • Issue #220: Scene’s onMouseDrag* setters have incorrect type parameters, jfxsi.MouseEvent instead jfxsi.MouseDragEvent.
  • Issue #221: Some type constraints in methods using jfxe.EventHandler arguments have incorrect variance.
  • Issue #222: Some setter are defined with _(...) instead of _=(...).
  • Issue #233: Problem with StringProperty.concat.
  • Issue #236: Importing scalafx.Includes._ breaks cellFactory creation.

To use ScalaFX add following to your SBT:

libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.92-R10"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

Jarek

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

lucas.satabin | 19 Apr 10:57 2016
Gravatar

Diffson 2.0.0 is out

Hi all,

I am glad to announce the new major version 2.0.0 of Diffson [0].

Diffson is a Scala library to generate, apply and manipulate Json diffs. 
It implements the RFC 6901 [1] and 6902 [2].

Among the new features, most prominent ones are:

  - the possibility to choose the underlying Json library you use. By 
default, backend for spray-json [3] and Play! Json [4] are provided, but 
you can easily implement (and contribute) your own.
  - the possibility to generate patches which remember the deleted and 
changed values, so that you can revert the actions.
  - collections operations added on Json patches.
  - bug fixes on the diff algorithm and code cleanups.

Breaking changes include:
  - dependency on the Json library must be explicitly given in your 
project.
  - it is only compiled against scala 2.11 for Java 8.
  - the package to import depends on the chosen Json backend. So you do 
not `import gnieh.diffson._` anymore but either `import 
gnieh.diffson.sprayJson._` or `import gnieh.diffson.playJson._`.
  - the `diff` method takes an extra parameter `remember` indicating 
whether the old value must be remembered for operations changing values.

All the merged changes and issues can be found in the bugtracker.

Thanks to all people who contributed to this version by reporting bugs 
or submitting suggestions.

Enjoy!

Lucas

[0]: https://github.com/gnieh/diffson
[1]: https://tools.ietf.org/html/rfc6901
[2]: https://tools.ietf.org/html/rfc6902
[3]: https://github.com/spray/spray-json
[4]: https://www.playframework.com/documentation/2.5.x/ScalaJson

--

-- 
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

Lloyd C | 16 Apr 16:03 2016
Picon
Gravatar

Enumeratum 1.4.0: ValueEnums and Circe integration

It’s been a while since the last major release of Enumeratum, and in 1.4.0, minor changes include Play 2.5 support, integration library version bumps, and small internal refactorings. 

More excitingly though, the latest version adds support for a new kind of enumeration, ValueEnum, as well as an integration with the Circe JSON library.

Points of interest:
  • Unlike other value enum implementations, Enumeration’s value enums perform uniqueness checks at compile time to make sure you have unique values across your enum members.
  • Circe integration allows you to send and receive JSON data between your front end and your server using the same code
Example:

import enumeratum.values._

sealed abstract class ContentType(val value: Long, name: String) extends LongEnumEntry

case object ContentType extends LongPlayEnum[ContentType] {

  val values
= findValues

 
case object Text extends ContentType(value = 1L, name = "text")
 
case object Image extends ContentType(value = 2L, name = "image")
 
case object Video extends ContentType(value = 3L, name = "video")
 
case object Audio extends ContentType(value = 4L, name = "audio")

 
/* case object Sticker extends ContentType(value = 4L, name = "sticker")
   *   => Fails at compile time because 4L is already used with the following error:
   *
   *   It does not look like you have unique values. Found the following values correspond to more than one members: Map(4 -> List(object Audio, object Sticker))
   */


}

assert(ContentType.withValue(1) == ContentType.Text)

ContentType.withValue(10) // => java.util.NoSuchElementException:

// Use with Play-JSON
import play.api.libs.json.{ JsNumber, JsString, Json => PlayJson }
ContentType.values.foreach { item =>
   
assert(PlayJson.toJson(item) == JsNumber(item.value))
}


For more information, checkout:
As always, if you have any problems, questions, suggestions, or better yet, PRs, please do not hesitate to get in touch on Github.

Lloyd

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-announce+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane