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.
implicit.ly |
Scala software, hot off the presses |
Removes extraneous newline in page top header to fix empty box shown in Android browser.
Pamflet is a publishing application for short texts.
Pamflet is a publishing application for short texts.
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.)
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.
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.
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
giter8 is a command line tool to apply templates defined on github
resources handler of unfiltered-netty-server. Unique instances of
the ChunkedWriteHandler were not created for each request, causing
bad responses.
Unfiltered is a toolkit for servicing HTTP requests in Scala.
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.
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.
Fixed issue #99, error when decoding large web socket messages.
Corrected scala-test dependencies for different versions of Scala. { dwestheide }
Updated dependency to 7.5.4.v20111024 { max-l }
Fixed issue #89, use of deprecated Jetty keystore methods.
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.
cs --setup
Run cs n8han/conscript to upgrade.
conscript installs and updates Scala software.
This release adds several features, all of which can be seen in Pamflet's own documentation:
Pamflet is a publishing application for short texts.
Fixes problem with package path builder on Windows. { eed3si9n }
giter8 is a command line tool for templates published to github.
--local and --no-local options to include or exclude local
repositories from launch configurations. { eed3si9n }
$ cs n8han/conscript $ cs --setup # updates to sbt 0.11.1 launcher
conscript installs and updates Scala software.