The Snap team is happy to announce the release of version 0.10 of the Snap Framework. This release updates the snap package to support Heist 0.10. Our migration guide has more detailed information about migrating your applications to 0.10,

A part of supporting Heist 0.10 includes adding four new functions cRender , cRenderAs , cHeistServe , and cHeistServeSingle for rendering and serving compiled templates. These functions are much faster than the old versions that use interpreted templates.

heistServe ignores templates with names beginning with an underscore. This allows you to define “private” templates for parts of a page and ensure that they will not be served.

We have a new module Snap.Snaplet.Test that mirrors the test module from snap-core and makes it easier to test your snaplets.

Removed the SnapletHeist wrapper for Heist computations in a Handler monad.

Switched to Edward Kmett’s new lens library. This changes the order that lens composition uses, so you should change (f . g) to (g . f). The nice thing about this is you no longer have to import the (.) function from Control.Category and hide it from Prelude.