Revision history for Template::Flute
0.0103 Thu Mar 6 18:08:44 2014 CET
[BUG FIXES]
* Let top level containers affect lists too (GH #32, Marco Pessotto)
0.0102 Wed Mar 5 16:26:44 2014 CET
[SPECIAL]
* First airborne CPAN release.
[BUG FIXES]
* Fix duplicates in dropdowns (GH #31, Marco Pessotto)
* Prevent Perl warning caused by HTML checkboxes without value attribute.
[TESTS]
* Add test for (GH #28, Marco Pessotto)
0.0101 Thu Feb 27 11:20:36 2014 CET
[BUG FIXES]
* Fix bad escaping inside <script> tags (GH #6, GH #10, GH #27).
0.0099 Mon Feb 10 20:17:42 2014 CET
[BUG FIXES]
* Pass through i18n parameter to included templates.
0.0098 Sun Feb 9 10:46:39 2014 CET
[ENHANCEMENTS]
* Add method method to Template::Flute::Form and retrieve HTML form attributes.
[BUG FIXES]
* Fix bug causing duplicate fields in form object (GH #24).
0.0097 Mon Jan 27 19:10:16 2014 CET
[ENHANCEMENTS]
* Implement toggle operation with target for params.
[BUG FIXES]
* Improve error handling in _parse_template method.
0.0096 Wed Jan 22 20:00:18 2014 CET
[ENHANCEMENTS]
* Add two level dotted values for containers.
0.0095 Tue Jan 21 10:06:12 2014 CET
[BUG FIXES]
* Fix problem with vanished form (GH #23).
0.0094 Tue Jan 7 13:19:12 2014 CET
[BUG FIXES]
* Fix processing of lists and params on the wrong nesting level.
* Fix t/values/select-objects.t to work with Perl <= 5.12.
[TESTS]
* Add tests for nested lists.
0.0093 Fri Dec 20 16:13:45 2013 CET
[BUG FIXES]
* Fix iterators for value elements when using auto iterators.
0.0092 Thu Dec 19 13:51:47 2013 CET
[ENHANCEMENTS]
* Add new specification attributes iterator_value_key and
iterator_name_key to select fields used in populating dropdowns.
* Add object detection to iterators used in value and field
specification elements.
0.0091 Sun Dec 8 11:35:13 2013 CET
[BUG FIXES]
* Fix bug in iterator resolution.
0.0090 Sat Dec 7 21:11:17 2013 CET
[ENHANCEMENTS]
* Check for object in values hash with dotted values for field attribute.
* Get iterator from dotted value and use methods of objects.
0.0082 Fri Dec 6 09:52:29 2013 CET
[BUG FIXES]
* Delete HTML attributes with undefined value to prevent Perl warnings
and improper HTML (Grega Pompe, GH #16 #17)
* Fix problem with HTML doctype (Grega Pompe)
* Fix problem with append operation (Grega Pompe)
* Lists before values, preventing same name value leak (Grega Pompe)
0.0081 Tue Nov 26 10:29:41 2013 CET
[BUG FIXES]
* Use XML:Twig's parse_html method only for root templates and
parse for inner snippets (Grega Pompe, GH #15).
* Fix parsing method for templates passed as a scalar reference.
* Prevent warning from uninitialized iterator attribute.
0.0080 Wed Nov 20 13:40:31 2013 CET
[ENHANCEMENTS]
* Support for nested lists (Grega Pompe).
[TESTS]
* Remove tests based on Config::Scoped from list separator tests.
0.0066 Tue Sep 17 09:35:22 2013 CEST
[BUG FIXES]
* Fix append operation on element text within lists.
[DOCUMENTATION]
* Add section about "Simple operators" to the documentation.
[TESTS]
* Add test for append operation on element text within lists.
0.0065 Thu Sep 12 21:44:47 2013 CEST
[BUG FIXES]
* Reset iterator after using it for a dropdown to allow multiple elements sharing the same iterator.
[DOCUMENTATION]
* Fix wrong specification in first example of the description
(GH #12, Grega Pompe).
0.0064 Fri Aug 16 12:31:54 2013 CEST
[BUG FIXES]
* Fix spurious joiner added regardless whether append value is empty or not.
* Add support for auto_iterators to values.
[TESTS]
* Add tests for checkboxes.
* Add tests for HTML entities and XML::Twig version (Marco Pessotto).
* Add test with nested <span> as param in a list.
* Add tests for append operations on value elements using joiner.
0.0063 Wed Jun 12 14:57:48 2013 CEST
[BUG FIXES]
* Pass through filters setting to included templates.
[DOCUMENTATION]
* Add documentation about dropdowns.
* Add section about inserting html to the documentation.
[TESTS]
* Add dropdown (select) tests for values.
0.0062 Sat May 25 19:56:51 2013 CEST
[BUG FIXES]
* Fix bug causing problems with container values sharing HTML element
through ID with container.
* Execute POD tests only for release testing (GH #3).
[DOCUMENTATION]
* Add example for "Display image only if present" to documentation.
* Add example for "Display link in a list only if present" to documentation.
* Fix example in Template::Flute::Filters::JsonVar module.
[TESTS]
* Add test for UTF-8 string in values hash.
0.0061 Sun Jan 27 11:25:30 2013 CET
[BUG FIXES]
* Fix json_var filter by using JSON module.
0.0060 Thu Jan 24 14:30:26 2013 CET
[BUG FIXES]
* Ensure that a formerly cut element is pasted back only when a
parent element is present for the previous sibling.
* Fix toggle operation on value elements.
* Fix crash "Unexpected element left on stash: field" caused by sort element.
[ENHANCEMENTS]
* Add support for chained filters.
* Add json_var filter.
* Add strip filter.
* Add strict option to date filter.
* Apply toggle operation to params without target as well.
* Add paging elements.
* Allow deeper lookups into values hash with dotted values for field attribute.
0.0052 Tue Sep 4 20:08:34 2012 CEST
[BUG FIXES]
* Fix append operation without target on value elements.
0.0051 Thu Jul 19 15:28:09 2012 CEST
[BUG FIXES]
* Exclude Moo method BUILDARGS from POD coverage test.
0.0050 Tue Jul 17 19:10:39 2012 CEST
[ENHANCEMENTS]
* Add paginator class.
* Skip translation of HTML script elements.
* Remove surrounding whitespace from text before passing to translation.
* Add country name filter.
[DOCUMENTATION]
* Add example for using increments.
* Expand name and description section for currency filter.
[TESTS]
* Add basic test for list increments.
* Add basic tests for values and list params.
0.0040 Wed Jun 6 18:25:28 2012 CEST
[ENHANCEMENTS]
* Add language name filter.
* Add support for flat trees.
[BUG FIXES]
* Prevent Perl warning on undefined values for append operation.
* Fix design flaw in filtering where twig method isn't called on second
usage of a filter.
* Reset twig handler variable to prevent filtering of unrelated elements.
[DOCUMENTATION]
* Add documentation of format option to POD for date filter class.
0.0030 Thu May 10 08:48:01 2012 CEST
[ENHANCEMENTS]
* Add toggle tree suboperation.
* Add support for sorting to Template::Flute::Iterator.
* Add asterisk selector to JSON iterator.
[BUG FIXES]
* Fix sharing elements between container and value when using class and id.
[DOCUMENTATION]
* Add documentation for param elements and filter attribute.
0.0025 Wed Mar 14 14:39:21 2012 CET
[BUG FIXES]
* Remove static class from first list element.
[DOCUMENTATION]
* Add documentation for param elements and filter attribute.
* Add append operation for values.
* Fix documentation of Template::Flute::HTML's values method.
[TESTS]
* Add test for European style of price display.
0.0024 Mon Dec 19 11:53:16 2011 CET
[ENHANCEMENTS]
* Add link attribute to form specification element.
0.0023 Fri Dec 16 16:40:26 2011 CET
[ENHANCEMENTS]
* Recognize containers through id attribute.
* Allow container values to share the same HTML element with the
container.
* Use subtree of JSON as iterator through selector and children
parameters.
* Add joiner attribute to param element.
[BUG FIXES]
* Fix alternate classes to append rather than replace list class.
0.0022 Mon Nov 14 08:35:40 2011 CET
[BUG FIXES]
* Use standard locale for currency filter test.
0.0021 Thu Nov 10 18:36:22 2011 CET
[BUG FIXES]
* Add check for DateTime::Format::ISO8601 module to date filter test.
[DOCUMENTATION]
* Add documentation on filter prerequisites.
0.0020 Thu Nov 3 23:32:33 2011 CET
[ENHANCEMENTS]
* Allow filter options to be passed in the constructor.
* Add filter base class and loader for filter classes.
* Add currency, date, eol, nobreak_single and upper filter.
* Add foo|!bar and foo&!bar to the possible expressions for container visibility.
* Add separator element for lists.
[BUG FIXES]
* Fix replacement for value elements with op append.
* Pass through auto_iterators setting to included templates.
* Prevent Perl warning on undefined values for value elements.
* Add output_html_doctype to XML::Twig constructor for upcoming XML::Twig release.
[TESTS]
* Add form name test.
[DOCUMENTATION]
* Expand Template::Flute's POD on specification, template, forms and lists.
0.0011 Thu Aug 25 10:33:21 2011 CEST
[BUG FIXES]
* Remove all of multiple invisible containers from the HTML output.
0.0010 Fri Jul 1 15:33:01 2011 CEST
[ENHANCEMENTS]
* Add include feature.
* Add expression feature for containers which offers a better control
on their visibility (e.g. container value="warnings|errors" for
message areas)
[BUG FIXES]
* Fix crash on i18n elements with key attribute.
* Prevent warning on i18n elements without name attribute.
* Clean up added i18n-key HTML attributes after translation has
been finished.
[TESTS]
* Add test for i18n elements with key attribute.
0.0009 Tue Jun 21 14:24:57 2011 CEST
[ENHANCEMENTS]
* Add lookup into object attributes for list iterators in case
specification is passed as object.
* Add support for checkboxes to Template::Flute::Form's fill method.
[BUG FIXES]
* Let HTML templates handled by File::Slurp and the encoding
determined by the specification.
* Turn second bless in Template::Flute's constructor into a
simple return.
[DOCUMENTATION]
* Add documentation about iterators parameter for Template::Flute's
constructor.
0.0008 Tue May 31 21:56:38 2011 CEST
[ENHANCEMENTS]
* Add keep attribute to field element with possible value "empty_value"
to preserve HTML option tags with empty value.
* Add support for auto_iterators to forms.
* Add iterators method to Template::Flute::Form class.
[BUG FIXES]
* Prevent warning caused by undefined value in Template::Flute::Form's
fill method.
* Accept 0 as value for list inputs.
* Prevent crashes from parsing empty strings for the hook operator.
* Prevent warning caused by undefined $value in Template::Flute::HTML's
set_selected method.
* Prevent warning caused by undefined $rep_str in Template::Flute's
_replace_within_elts method.
[TESTS]
* Add test for select tags inside forms.
0.0007 Fri Apr 22 10:47:36 2011 CEST
[API CHANGES]
* Renamed Template::Flute::Specification method element_by_class
to elements_by_class to match the changed return value.
[ENHANCEMENTS]
* Allows two elements like params or values to tie to the same class.
* Enable passing specification and/or template as string to the
Template::Flute constructor.
* Add support for field attribute to value element.
[TESTS]
* Add tests for HTML attribute targets and Template::Flute::I18N class.
* Add test for textarea in forms.
[DOCUMENTATION]
* Add "SYNOPSIS" section to POD for Template::Flute::I18N class.
0.0006 Sun Apr 3 07:09:34 2011 CEST
[BUG FIXES]
* Declare dependency on HTML::TreeBuilder.
0.0005 Fri Apr 1 17:35:30 2011 CEST
[ENHANCEMENTS]
* Accept full parameter in Template::Flute::Utils::derive_filename function.
This is useful to resolve relative paths, e.g for images in a HTML document.
Also add test for this function.
[BUG FIXES]
* Fix tests to handle missing Config::Scoped module gracefully.
0.0004 Thu Mar 31 21:21:59 2011 CEST
[ENHANCEMENTS]
* Resolve iterator name to object for lists.
* Add process_template method to Template::Flute class.
* Add Template::Flute::Iterator::JSON class.
* Apply replacement to src attribute instead of tag body for HTML <img> tags.
* Add iterators method to Template::Flute::HTML class.
[BUG FIXES]
* Fix MANIFEST and remove unused dist.ini file.
[DOCUMENTATION]
* Add "See also", fix Synopsis and constructor documentation
for Template::Flute::Iterator class.
0.0003 Tue Mar 29 15:52:11 2011 CEST
[ENHANCEMENTS]
* Add auto_iterators parameter to Template::Flute class.
* Add seed method to Template::Flute::Iterator class.
* Add hook operation to value elements.
* Add specification method to Template::Flute class.
[DOCUMENTATION]
* Add documentation about value elements to Template::Flute's POD.
* Fix wrong POD headers for some methods in Template::Flute::List class.
* Fixed wrong module name Template::Zoom in Workflow POD section.
Thanks to Terrence Brannon for the report.
* Fix duplicate "METHODS" POD header in Template::Flute::List class.
0.0002 Mon Mar 14 08:39:23 2011 CET
[BUG FIXES]
* Add missing modules Template::Flute::Utils and
Template::Flute::Container to MANIFEST.
0.0001 Sun Mar 13 15:40:50 2011 CET
* Initial release.