Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.94 KB

HISTORY.md

File metadata and controls

65 lines (46 loc) · 1.94 KB

0.5.6 / 2015-07-22

  • bug: fixing an error caused by a missing partials dir

0.5.5 / 6-12-2015

  • allowing front-matter data to be used in layout

0.5.4 / 6-9-2015

  • Added ability to set local layout to null to render view w/out layout (when defaultLayout is set).

0.5.3 / 4-1-2015

  • fixing nasty data clobbering bug caused by not using clean objects

0.5.2 / 3-10-2015

  • merging in ctx.state during rendering as well

0.5.1 / 2-25-2015

  • upgrading to handlebars@3

0.5.0 / 1-8-2015

  • adding support for injecting locals as yaml front-matter on views and layouts

0.4.1 / 12-18-2014

  • simplified pre-rendering by just using options.body instead of changing the signature of .render()

0.4.0 / 12-18-2014

  • added ability to pre-render views external to koa-handlebars

0.3.1 / 10-21-2014

  • added options.data for adding private render data

0.3.0 / 10-10-2014

  • massive internal overhaul
  • many more configuration options, no longer encouraging custom Renderer (although it's still available)
  • no longer injecting data to locals (using handlebars' options.data instead)
  • default options.partialId now camel-cases by default
  • 100% test coverage :)
  • probably more... just read current readme

0.2.0 / 10-02-2014

  • adding custom error message
  • adding options.beforeRender fn to make last-minute adjustments before rendering

0.1.4 / 09-22-2014

  • adding _view and _layout to locals during render
  • cloning locals before modifying so we don't clobber the original

0.1.3 / 09-21-2014

  • merging app.locals during rendering

0.1.2 / 09-19-2014

  • adding unit tests (fixes #1)
  • adding inline docs (fixes #3)
  • a couple small bugfixes

0.1.1 / 09-19-2014

  • correcting the spelling of path options internally (oops)

0.1.0 / 09-18-2014

  • took ownership of the koa-handlebars name on npm (needed to use a previously unpublished version number)

0.0.1 / 09-18-2014

  • initial release