25 1 / 2017

xsbt-web-plugin 2.3.0

  • Add <container>:quickstart that skips webapp prep (#319)

xsbt-web-plugin is an sbt plugin for building Scala Web applications.

25 1 / 2017

sjson-new 0.7.1

fixes and enhacements

  • Adds java.util.Optional support.

sjson-new is a typeclass based JSON codec that’s backend independent.

22 1 / 2017

json-lenses 0.6.2

Version 0.6.2 adds support for Scala 2.12. Thanks, @andrebeat for the update.

json-lenses is a library to query and update (spray-) JSON data.

18 1 / 2017

specs2 3.8.7

Maintenance version.

Improvements

  • core added the must_!== and should_!== operators
  • core removed the internal dependency to scalaz-stream classes a first step towards removing the dependency on Scalaz
  • matcher moved TaskMatchers and FuturezMatchers to the specs2-scalaz module
  • cats the specs2-cats module is deprecated since it only contains XorMatchers now removed from cats
  • project update scalaz to 7.1.11 (use specs2 version 3.8.7-scalaz-7.1)
  • project make build Scala 2.13 friendly #532 (thanks to @SethTisue)
  • project add compatibility with Scalaz 7.3. #531 (thanks to @sellout)

Fixes

  • core fixed the location of MatchResult with org.specs2.mutable.Spec #533
  • core fixed the creation of Arguments() when no values are passed so that system properties are still read
  • core fixed the evaluation of results with the ThrownExpectations trait so that they are always evaluated just once

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

16 1 / 2017

Giter8 0.7.2

minor enhancements and fixes

Giter8 is a command line tool to apply templates defined in any git repository

09 1 / 2017

Gigahorse 0.2.0

AHC 2.0 and (experimental) Akka HTTP backend

Gigahorse 0.2.0 abstracts over two HTTP backends. @alexdupre contributed migration from AHC 1.9 to AHC 2.0, which is based on Netty 4 in #12.

In addition, there’s now an experimental Akka HTTP support. #15 by @eed3si9n

WebSocket support

@alexdupre also contributed WebSocket support.

Async processing with Reactive Stream

Thanks to Lightbend implementing Reactive Stream on both Akka HTTP and AHC #963, Gigahorse can abstract over both backends as Reactive Stream of byte or String stream. The stream processing is provided using http.runStream(r, f).

import gigahorse._, support.akkahttp.Gigahorse
import scala.concurrent._, duration._

Gigahorse.withHttp(Gigahorse.config) { http =>
  val r = Gigahorse.url("http://localhost:8000/README.markdown").get
  val f = http.runStream(r, Gigahorse.asStringStream andThen { xs =>
    xs.foreach { s => println(s) }
  })
  Await.result(f, 120.seconds)
}

#16 by @eed3si9n

Gigahorse is an HTTP client for Scala with Async Http Client underneath.

Tags:

Permalink 1 note

09 1 / 2017

sbt-site 1.2.0

Release 1.2.0

See the [1.2.0 milestone] for the full list of related tickets and PRs.

Enhancements

  1. Support for Hugo site generation. Thanks @timperrett!
  2. Added excludeFilter support to GitBook generator. Thanks @jonas!
  3. Added previewAuto command, which launches a dynamic HTML server updating content with each modification in site source. Thanks @gsechaud! Note: This change includes an upgrade of the unfiltered depenency. Please let us know of any incompatibilities with other plugins that might be caused by this change.
  4. Bump Paradox to version 0.2.7 (@jonas)
  5. Improve support for GitBook version 3.x.x. #83
  6. Paradox-based documentation site at http://scala-sbt.org/sbt-site/ with improved examples. [#84], #55
  7. Auto generation/publishing of docs via TravisCI (@jonas)
  8. Updated release process docs (@metasim)

Fixes

  1. Fix default settings for Paradox. [#74], #80
  2. Fix default GitBook mappings to not include .git and .gitignore. #67

This sbt plugin generates project websites from static content, Jekyll, Sphinx, Pamflet, Nanoc, GitBook, Paradox, Hugo and/or Asciidoctor, and can optionally include generated Scaladoc.

24 12 / 2016

refined 0.6.1

Changes

  • Add the refined-pureconfig subproject which adds support for refined types to PureConfig. Thanks to Viktor Lövgren! ([#233])
  • Deprecate Refined#get in favor of Refined#value to avoid confusion with Option#get which is an unsafe operation while Refined#get was always safe. ([#220])
  • Remove deprecated RefinePartiallyApplied.force which has been renamed to unsafeFrom in version 0.5.0. ([#225])

Updates

  • Update to Scala 2.12.1. ([#226])
  • Update to Scala.js 0.6.14. ([#232])
  • Update refined-scalaz to Scalaz 7.2.8. ([#223])

Released on 2016-12-24

refined is a library for refining types with type-level predicates.

21 12 / 2016

sjson-new 0.7.0

SLIP-28 Scala JSON: Fix unsafe.JObject parse ordering

sjson-new 0.7.0 fixes the parsing of SLIP-28 Scala JSON “unsafe” AST by preserving the insersion order – instead of an interim mutable.Map it will now use an ArrayBuffer.

#35 by @dwijnand

fixes and enhancements

  • Write out field names for LList as $fields so it does not depend on the implementation of AST. #40 by @eed3si9n
  • Define LNil as a value so its type is LNil instead of LNil.type.

sjson-new is a typeclass based JSON codec that’s backend independent.

19 12 / 2016

scala-gopher 0.99.8

  • added support for select.timeout construct.
  • added support for lifting-up await in hight-order functions. ie in simplicified explanation:

    for(x <- 1 to n) { s += read(x) }

is translated to (1 to n).foreachAsync { async(s += await(aread(x))) } Details can be found in techreport: https://arxiv.org/abs/1611.00602

  • added support for select.fold construct.
  • scala 2.12

scala-gopher is a fully asynchronics implementation of CSP (Communication Sequence Process) primitives, built on top of Akka and SIP-22 async. It provide ‘Go-like’ channels and behaviour modules 'transputers’ (resembling 'Occam-like’ pocesses with set of ports) for scala.