Skip to content

Latest commit

 

History

History
93 lines (52 loc) · 2.86 KB

CHANGELOG.md

File metadata and controls

93 lines (52 loc) · 2.86 KB

Circumflex Change Log

2.1

  • Migrated to Scala 2.9

  • getOrHead route is removed, all get routes respond to HEAD requests as well.

  • Schema objects can now be resolved from classpath using DDLUnit.fromClasspath()

  • New DSL for composing native SQL and DML queries (see query.scala)

  • Methods and classes naming (introduce incompatibilities!):

    • methods with names ending with _? and _! been replaced with analogs (except DML methods which omit validation in ORM)

    • more careful with parentheses around methods which introduce side-effects

    • some method names became more strict (e.g. whereClause instead of where)

    • isNull in ValueHolder is replaced by more conventional isEmpty

    • RequestRouter class is renamed into Router

  • Configuration in ORM is decoupled from package object orm.

  • Introduced support for multiple data sources with using and usingAll constructs.

  • Added BinaryField for handling SQL data type BYTEA.

2.0.3

  • Moved to Jetty 7.2.4 to allow Web Sockets support.

  • Switched to Apache Http Client for testing (instead of Jetty's Servlet Tester).

  • All ScalaDocs are stripped.

  • Public directories are not delegated to underlying default servlets which tend to allow directory listings (security-related issue).

  • URL-encoded JSESSIONID is not reported by request.uri anymore, thus it does not participate in regular matching.

  • Added fenced code blocks like on GitHub (due to Markeven's nature, empty lines are condensed anyway).

  • Added block postprocessors to Markeven.

  • ValidationException moved to circumflex-core.

  • Changed orm.ehcacheManager configuration.

  • Trailing slashes are ignored when matching against routes ending with /*.

2.0.2

  • Extracted common container functionality from ValueHolder into circumflex-core module.

  • More strict rules in subroute: 404 is sent if no nested routes match.

  • Records are evicted from contextCache on updates (credits to Scott Maher).

  • Removed redundant MsgGroup class (changes affected ValidationException and the code which depended on them).

  • The any route now does not perform method matching at all instead of just accepting standard HTTP methods.

  • Added rewrite route as a quick replacement for heavy forward.

2.0.1

  • Some configuration options are now available for ScalaObjectWrapper of Circumflex FreeMarker Helper.

    See package.scala.

  • Fixed issue 68.

  • unique and uniqueAll validators now work with persisted records too (by performing simple comparison with their persisted counterparts).

  • Added new implicit convertion from strings into parameterless instances of SimpleExpression.

  • Added new implicit convertion from boolean fields to predicates.

Older changes