implicit.ly

Scala software, hot off the presses

pamflet 0.3.2

Removes extraneous newline in page top header to fix empty box shown in Android browser.

Pamflet is a publishing application for short texts.

Filed under  //   Scala 2.9.1   net.databinder   pamflet  

pamflet 0.3.1

  • Updates HTML5 cache manifest with a date and time comment on each publish, so browsers will check for updated content.
  • Adjusted top title padding in default stylesheet.
  • Updated Unfiltered dependency to 0.5.3.
  • Synced to ls.

Pamflet is a publishing application for short texts.

Filed under  //   Scala 2.9.1   net.databinder   pamflet  

Dispatch 0.8.7

Breaking Changes

If using the </> verb to parse XML, you must now bring it into scope explicitly:

import dispatch.XhtmlParsing._

There's a good reason for this! (See below.)

JSoup and TagSoup modules

Thanks to a big contribution from daros, Dispatch now integrates with parsers that can handle real-world HTML. The handler verb </> is used across all HTML parsers, resolved by its imported implicit conversions. For usage instructions and examples, see the Dispatch documentation for TagSoup and JSoup.

Support byte arrays for POST

This contribution by dyross (no relation?) adds

def << (contents: Array[Byte])

to the standard set of request verbs.

Databinder Dispatch is a library for HTTP interaction, from asynchronous GETs to multi-part OAuth-enticated POSTs.

Filed under  //   Dispatch   Scala 2.8.0   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   net.databinder  

giter8 0.3.2

Integration with ls.implicit.ly

Giter8 templates can now use ls to resolve the latest published version of a library. Just specify the library name and authoritative github account as a property value. For example:

name = My Template Project
giter8_version = ls(giter8-plugin, n8han)
description = Creates a giter8 project template.

This template (n8han/giter8.g8) assigns the latest version of giter8-plugin to the property giter8_version, which you can then refer from other files like any other template value.

Templates that use this feature will not be compatible with other versions of giter8, so users are encouraged to upgrade right away. You can upgrade (or install) giter8 with one conscript command:

cs n8han/giter8

Fixes

giter8 is a command line tool to apply templates defined on github

Filed under  //   Scala 2.9.1   giter8   net.databinder  

Unfiltered 0.5.3

  • Fix for regression introduced in 0.5.2 in the resources handler of unfiltered-netty-server. Unique instances of the ChunkedWriteHandler were not created for each request, causing bad responses.
  • Fix for issue #100 (woot?), Sec-WebSocket-Location (WSLocation) is hard-coded to ws:// protocol { romusz }

Unfiltered is a toolkit for servicing HTTP requests in Scala.

Unfiltered 0.5.2

Intent chaining

Applications that internally chain intent functions are now recommended to use Pass.onPass rather than the orElse method defined on PartialFunction.

Pass.onPass is aware of the explicit Pass object that may be returned by intents and it is also more efficient than orElse for many chained intent functions. There are two ways to use onPass:

import unfiltered.request._
val combined1 = Pass.onPass(intent1, intent2)
val combined2 = intent1.onPass(intent2)

These two produce the same combined intent function; the second uses an implicit conversion imported from the package object.

unfiltered-netty-server

In recent releases plan and handler took a by-name parameter to support the case where new instances of Netty handlers are required for each request. This lead to unexpected behavior for some more common use cases, where the caller passed in a new handler thinking it would be shared for all requests.

To avoid confusion, we've restored the previous parameter types to plan and handler methods. If you need to pass in a plan "factory", such as for a chunk aggregator, there is a new method makePlan that takes a by-name parameter. The new chunked(maxContentLength: Int) convenience method also provides this behavior directly.

unfiltered-netty-websockets

Fixed issue #99, error when decoding large web socket messages.

unfiltered-scalatest

Corrected scala-test dependencies for different versions of Scala. { dwestheide }

unfiltered-jetty

Updated dependency to 7.5.4.v20111024 { max-l }

Fixed issue #89, use of deprecated Jetty keystore methods.

ls.implicit.ly

Added ls plugin to the build and metadata to the repository, so that Unfiltered releases are recorded at ls/unfiltered. Also, FYI! The ls server is built with Unfiltered.

Unfiltered is a toolkit for servicing HTTP requests in Scala.

conscript 0.3.4

  • Fixes problem with github credential storage. { eed3si9n }
  • Fetches sbt 0.11.2 launcher from installer jar or cs --setup

Run cs n8han/conscript to upgrade.

conscript installs and updates Scala software.

Filed under  //   Scala 2.9.1   conscript   net.databinder  

pamflet 0.3.0

This release adds several features, all of which can be seen in Pamflet's own documentation:

  • Contents in Depth — A table of contentst that includes headers from within pages
  • Combined Pages — A single webpage containing the full pamflet contents, with internal links to each "page"
  • Print-friendly stylesheets — Navigation elements are removed. This works best with the combined pages feature.
  • Fork me on GitHub — If a "github" link is present in the template properties file, a GitHub ribbon is added to the top of each page.

Pamflet is a publishing application for short texts.

Filed under  //   Scala 2.9.1   net.databinder   pamflet  

giter8 0.3.1

Fixes problem with package path builder on Windows. { eed3si9n }

giter8 is a command line tool for templates published to github.

Filed under  //   Scala 2.9.1   giter8   net.databinder  

conscript 0.3.3

New Features

  • Lookup private repo credentials using git properties, as is the github convention. { eed3si9n }
  • --local and --no-local options to include or exclude local repositories from launch configurations. { eed3si9n }

Upgrading

$ cs n8han/conscript
$ cs --setup # updates to sbt 0.11.1 launcher

conscript installs and updates Scala software.

Filed under  //   Scala 2.9.1   conscript   net.databinder