Releases
v0.2.0
Add clarifications to the prototype library API and improve code docs.
rur
released this
25 Feb 18:28
Bugfix
Writer implementation was not including query in response URL header
Breaking API Changes
Remove treetop.Renderer
type, unnecessary since it only wraps TemplateExec
Add TemplateExec parameter to treetop.NewView..
API method for creating base views
Rename treetop.TreetopWriter
interface to treetop.Writer
to conform to naming guidelines
Remove treetop.Test
, testing recipes and resources belong elsewhere
Split treetop.Writer
function into treetop.NewPartialWriter
and treetop.NewFragmentWriter
and remove the confusing isPartial
flag
Change treetop.View
from an interface to a struct and expose internals to make debugging easier
Rename HandlePartial
method to HandleSubView
in treetop.Response
interface to be consistent with the view builder
Rename Done
method to Finished
in treetop.Response
interface
Rename HandlerFunc
signature type to ViewHandlerFunc
to make a clearer association with the view builder
You can’t perform that action at this time.