implicit.ly

Scala software, hot off the presses

sbt-native-packager 0.2.0

There's a  new release of the sbt native packager plugin available!

This release (focusing on better Windows support) brings:

  • new Windows Wix XML generation utiltiies
  • Ability to specify command line options for the "candle.exe" program.
  • Now supports rpmbuild 5.x  (thanks Mark Tye)

Please try it out and get back with feedback!

Lift Shiro 0.0.5

This update moves the integration away from snapshot and milestone dependencies and onto the final releases of both Shiro 1.2.0 and Lift 2.4.

In addition to this, the published JARs no longer sit on scala-tools.org, but rather they live on oss.sonatype.org. Please update your SBT resolver configuration to:

libraryDependencies += "eu.getintheloop" %% "lift-shiro" % "0.0.5"

resolvers ++= Seq( "apache.repo" at "https://repository.apache.org/content/repositories/releases/" "sonatype.repo" at "https://oss.sonatype.org/content/repositories/public/" )

</code></pre>

Lift Shiro

This is an integration between Apache Shiro and the Lift Web framework. Specifically this integration does not use Shiro's built in web.xml resource filters to control access to URLs... it instead uses Lift's sitemap Locs. In addition it also has a range of snippets for conditionally displaying content based on rules and permissions.

Please see this README for more information on project setup and usage.

Filed under  //   Lift Shiro   Scala 2.8.1   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   eu.getintheloop  

bytecask 0.1.1

First minor release of Bytecask. Compiled with sbt 0.11.2 and Scala 2.9.1.

The API consists of the following methods:

def put(key: Array[Byte], value: Array[Byte])

def get(key: Array[Byte]): Option[Array[Byte]]

def delete(key: Array[Byte]): Option[Array[Byte]]

def keys(): Set[Array[Byte]]

def values(): Iterator[Array[Byte]]

def merge(): Unit

def close(): Unit

def destroy(): Unit

Sample usage:

val db = new Bytecask("/home/foo/db")
db.put("foo", "bar")
val value = db.get("foo")
db.delete("foo")
db.destroy()

With compression:

val db = new Bytecask("/home/foo/db", processor = Compressor)
db.put("foo", "bar")
val value = db.get("foo")
db.delete("foo")
db.destroy()

Bytecask is a low latency key/value database inspired by Bitcask

Filed under  //   Scala 2.9.1   bytecask  

groll 1.2.0

This is the 1.2.0 release of groll, a plugin for sbt to view and navigate through the Git history.

Groll provides the command groll that provides various options to view and navigate through the Git history. Of course this means, that you can only use groll for projects using Git as version control system. If you are navigating through the Git history, groll will reload the sbt session if the build definition changed.

New and noteworthy:

  • Issue #10: Add support for executing commands after grolling

Example:

GrollKeys.postCommands <<= EclipseKeys.commandName(Seq(_))

Please see the README for information about installing and using groll.

groll is a plugin for sbt to view and navigate through the Git history.

Filed under  //   Scala 2.9.1   groll   name.heikoseeberger.groll  

sbt-assembly 0.7.3

bug fixes and minor updates

In plugins.sbt:

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.7.3")

resolvers += Resolver.url("sbt-plugin-releases",
  new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

sbt-assembly is a plug-in for Simple Build Tool that creates a single jar of your project including all of its dependencies.

Filed under  //   Scala 2.9.1   com.eed3si9n   sbt-assembly  

Scalaz 6.0.4

Scalaz 6.0.4 is now available. Scalaz is a library to support functional programming in Scala.

Artifacts are cross built for Scala 2.8.1, 2.9.0-1, 2.9.1, and 2.10.0-M1 and are published to Scala Tools.
This release fixes a few bugs, including a critical bug in scalaz.concurrent.Actor, and adds a some new features. For more details, see the release notes and commit log, and the ScalaDoc (including links to source).
While most of the library will be binary compatible with 6.0.3, we recommend that you recompile your programs with the new release.

- The Scalaz Team

PS. Scalaz 7 is currently in development. It's a rewrite to address the challenges posed by type class inheritance. We're hoping that 7.0 will be ready around April.

loglady 1.0.0

This is the first public release of loglady, a very simple logging trait with an API similar to Python's logging library.

Example:

class MyClass extends Logging {

  log.warn("We all float (%.4f) down here", 3.141592)
  log.debug("Some random stuff: %d %s %x", 42, List(0, 1, 1, 2, 3, 5), -559038737)
  log.error("Formatted date: %1$tm %1$te,%1$tY", new java.util.Date)

  try {
    throw new Exception("Oops!")
  } catch {
    case exc: Exception => {
      log.error(exc, "Something bad happened")
    }
  }
}

loglady is a crazy simple logging API for Scala, wrapping slf4j.

Filed under  //   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0-1   Scala 2.9.1   loglady   org.eintr.loglady  
Posted January 23, 2012 by dln 

scalatra 2.0.3

  • Add support for Scala 2.8.2.

scalatra-auth

  • Fix crash in BasicAuthStrategy when no auth header is present. (GH-143)

scalatra-fileupload

  • Create hook to customize ServletFileUpload, for instance to set maximum upload size.

scalatra-tests

Scalatra is a tiny, Sinatra-like web framework for Scala.

Filed under  //   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   org.scalatra   scalatra  

pj 0.1.0

  • provides simple library and conscript interfaces for pretty printing json
  • see the project readme for more info

    curl 'https://api.twitter.com/1/statuses/public_timeline.json' 2>/dev/null | pj --

pj: is a pretty printing library for json

Filed under  //   Scala 2.9.1   me.lessis   pj  

shapeless 1.1.0

A minor release of shapeless. The main changes include,

  • The addition of a Sized type for collections with statically known sizes.
  • The beginning of a collection of non-test examples.
  • The SBT project was missing an organization identifier. This has been fixed. Thanks to aloiscochard for catching and patching this.

shapeless is an exploration of type class and dependent type based generic programming in Scala.

A series of articles on the implementation techniques used will appear here and it also has a mailing list.

Filed under  //   Scala 2.10.0-SNAPSHOT   com.chuusai   shapeless