Stack release

20 views
Skip to first unread message

Tal Liron

unread,
Dec 11, 2013, 6:35:08 AM12/11/13
to prudence-...@googlegroups.com
This stack release involves the first major refactoring of Scripturian, prompting the 1.1 version designation. The refactor allows users to replace the default "scriptlet" parser with their own scheme. What this means for Prudence is that it no longer makes sense to talk of "scriptlet resources," because potentially they could be implemented with an entirely different kind of parser. So, this required a breaking change to Prudence: we now call them "template resources" instead.

Other important news: Prudence finally supports real LESS (instead of ZUSS), thanks to the Less4j library!

PRUDENCE  2.0-dev18

This release involves breaking changes:

1. In your routing.js, rename 'scriptlet' to 'templates', and 'zuss' to 'less'.

2. You need to rename all your ".s.html" files under /resources/ to ".s.html". In *nix, you can do this all at once by running this command in your application root directory:

find . -name "*.s.html" -exec rename -v 's/\.s\.html$/\.t.html/i' {} \;"
  • Breaking: "Scriptlet" resources are now called "template" resources, the prefix extension is now ".t" instead of ".s."
  • Breaking: LESS is now supported using the Less4j library
  • Scriptlet plugin: the "<%.%>" shortcut can now be used instead of the more verbose "<%= conversation.base %>
  • Scriptlet plugin: "[" and "]" to allow for elegant "template inheritance"
  • Support changing the Scripturian template parser from the default "scriptlets" parser to your own implementation
  • Refactor the way conversation.startCapture and endCapture work to properly support all programming languages
  • New "status" route type in setting.js
  • Fix conversation.base: should now work in every kind of server-side redirection scenario
  • Fix crontab: there were NPEs when using scriptlets (Restlet 2.2 change)
  • Fix Lua example
  • Fix regression in handleGetInfo for non-cached resources
  • Fix permissions problems for Windows installer (on Windows Vista+)

MONGOVISION 1.1-dev9

  • Finally, support for SSL connections to MongoDB! Detailed instructions are on the MongoVision site
  • Fix permissions problems for Windows installer (on Windows Vista+)
SINCERITY 1.0-dev21, DILIGENCE 1.0-dev11

Maintenance updates to use the new Scripturian release and Prudence changes.
  • Fix permissions problems for Windows installer (on Windows Vista+)
SCRIPTURIAN 1.1.0
  • Major refactoring: parsing has been abstracted out the Executable into a separate parsing subsystem, allowing for pluggable parsers
  • Fix for ScriptletsParser to properly support one-char plugin tags


Reply all
Reply to author
Forward
0 new messages