Breve 1.2 Released

Filed under: breve 

I was going to wait until later today (it's 2:30a.m.), but I couldn't see a reason to withhold the release.

Here's a short summary of what's new:

  • Tag multiplication - you can multiply a tag by a list of dictionaries and have the dictionaries values propagated as attributes and data.
  • Macros - Define a function inside a template.
  • Assign - Create new variables inside a template.
  • Tag.walk - traverse a tag and all its children, performing an action on each tag.
  • Improved include function - included templates are now evaluated within the scope of the caller and several former limitations are removed.
  • Template code cleanup.
  • Unit tests for major API features.
  • Improved documentation.
  • Tools (soup2breve, xsd2breve, html2breve) are now properly installed.

Be sure to check out the documentation and review the tests to get an idea of what Breve is about.



0 comments Leave a comment