Errors are now located in lib/errors, and can be extended - They are exported as .errors Rendering can now also be extended more easily, the object that maps content-types to render functions is exported as .render Helper functions are now bound to the request context for you, so passing @data as a callback now works.
Rather than defining examples inline, define them in a JSON file. The example file can be loaded by using @loadExamples with a filename. See ./examples/language_examples.json for the format of the file. The included script lzrs-gen-examples will load an examples file, perform all of the requests contained in it against a given host:port combination, and then re-write the file with the responses in-line.