implicit.ly

Scala software, hot off the presses

scalatra 2.1.0.M2

core

  • Support X-Http-Method-Override header.
  • Support mounting handlers by class as well as instance.
  • Support ActionResult class hierarchy to bundle status, headers, and body into one case class.
  • Returning an Int sets the status, just like Sinatra.
  • CsrfTokenSupport recognizes the 'X-CSRF-Token' header.
  • Cross build dropped from artifact ID. The same build runs for all Scala 2.9.x.
  • Dropped support for Scala 2.8.x.

fileupload

  • Deprecated in favor of native servlet handling. (Jetty users: requires >= 8.1.3.)
  • Exceptions now handled through standard error handler.

swagger

  • Support for route documentation with Swagger

test

  • Support for testing multipart requests.

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

Filed under  //   Scala 2.9.1   org.scalatra   scalatra  
Posted May 11, 2012 by Ross Baker 

scalatra 2.0.4

core

  • Allow pass from methodNotAllowed
  • In ScalatraFilter, the default methodNotAllowed handler now delegates to the filter chain to look for a matching route. To restore the previous behavior, call:

    doMethodNotAllowed = ScalatraKernel.sendMethodNotAllowed
  • Set cookie path to "/" by default in the root context. It was being omitted, which scoped the cookie to the request path.

scalate

  • Set response status to 500 on Scalate error page

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

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

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  

scalatra 2.0.2

scalatra

  • HaltException and PassException are now ControlThrowables. Applications should not catch these.
  • Return Unit instead of Nothing from redirect.

scalatra-scalate

  • ScalateSupport helpers render to return value instead of directly to response. (GH-139)

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

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

scalatra 2.0.1

scalatra

  • redirect halts the action immediately. (GH-132)
  • Correct base path of reverse routes in non-root contexts. (GH-130)

scalatra-lift-json

  • Only read the input stream once when parsing the request body.

scalatra-specs2

  • Upgrade from Specs2 1.6.0 to 1.6.1.

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

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

scalatra 2.0.0

scalatra

  • Fix ApiFormats.acceptHeader and sort by q parameter
  • Add crossbuild for Scala 2.9.1

scalatra-fileupload

  • Support implicit []-suffix convention in fileMultiParams as with multiParams. (GH-128)

scalatra-test

  • Fix NoSuchMethodError in Jetty8. (GH-129)

scalatra-scalate

  • Upgrade to Scalate-1.5.2

scalatra-specs

  • Upgrade to Specs-1.6.9

scalatra-specs2

  • Upgrade to Specs2-1.6

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

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

scalatra 2.0.0.RC1

scalatra

  • Fix dynamic variables leaking memory on redeploy. (GH-74)
  • Send 405 and Allow header if other methods match. (GH-50)
  • Support bodies and headers in halt. (GH-79)
  • Support PATCH requests. (GH-51)
  • Error handler is now a pattern matcher. (GH-93)
  • Generate URLs from route and params (aka reverse routing). (GH-108)
  • Make trailing slash optional on non-root path-mapped servlets. (GH-98)
  • Servlets try to serve static resource if no route matches. (GH-109)
  • request.body is cached so subsequent calls don't return "". (GH-73)

scalatra-anti-xml

  • New module adds support for rendering Elem responses. (GH-75)

scalatra-fileupload

  • Keep query parameters available on multipart requests. (GH-80)
  • Improve character decoding of form fields in multipart requests. (GH-83)

scalatra-scalate

  • Find templates and layouts by convention. (GH-87)

scalatra-socketio

  • Change interface to socket io to something that allows to keep state per client. (GH-72)
  • Deprecated in favor of Atmosphere.

scalatra-scalatest

  • Support for testing arbitrary requests. Explicit support for HEAD, TRACE, CONNECT, and PATCH. (GH-51)
  • Receive and send multiple cookies. (GH-84)

scalatra-specs2

  • Support mutable (unit)specifications. (GH-123)

scalatra-scalatest

  • New convenience traits for Suites other than FunSuite. (GH-21)
  • For convenience, ScalatraSuite now extends MustMatchers and ShouldMatchers.

scalatra-website

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

scalatra 2.0.0.M4

  • Build for Scala 2.9.0-1 and 2.9.0-1.
  • Dropped support for Scala 2.8.0.
  • Specs2 integration for test framework
  • JsonSupport trait for actions that return lift-json objects.
  • Support route matchers in before and after filters.
  • Zero-copy file rendering.
  • New SslRequirement handler redirects non-SSL requests to SSL.
  • New GetResponseStatus handler stores and retrieve the HTTP status code.
  • Make FlashMap entries available to current request, like Rack::Flash.
  • Allow CSRFTokenSupport-derived traits to redefine the forgery test.
  • multiparams now also understands Ruby-style multiparams (suffixed with [])
  • GH-46: Scentry says an invalid request is authenticated but fails with 500 later
  • GH-41, GH-57: FlashMap misbehavior with nested filters or multiple servlets
  • GH-64: fix thread-safety issue in route parsers.

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

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