/Changes

http://github.com/gshank/html-formhandler · #! · 784 lines · 673 code · 111 blank · 0 comment · 0 complexity · e1318ac9f0eeca7f8ee051e967250c8c MD5 · raw file

  1. 0.40066 Mon Jul 18, 2016
  2. Improve Select field option list support
  3. Support arrayref-of-arrayref options in a subroutine
  4. Allow input_append_button to take input_append_button_element_class
  5. Allow attributes to be specified for input_append_button
  6. Add comma digit grouping and custom currency symbol
  7. Allow input_append_button to take input_append_button_element_class
  8. Various minor doc updates
  9. 0.40065 Sat Mar 19, 2016
  10. Ensure Text fields only contain a single value
  11. Make it easier to specify a Select field having identical labels and values.
  12. 0.40064 Thu Sep 17, 2015
  13. Don't warn about date format unless set to `date`
  14. Wrap checkbox in CheckboxGroup, if requested
  15. Create es_es.pm
  16. Create ca_es.pm
  17. select field invalid value message: encode the select value
  18. typo in link to the example app
  19. remove css_class from Captcha field
  20. 0.40063 Mon Jun 29, 2015
  21. Raised Moose prereq to 2.1403 because 2.0604 causes failing tests
  22. 0.40062 Fri Jun 25, 2015
  23. Separate out test using Type::Tiny::Enum to skip_all
  24. 0.40061 Thu Jun 25, 2015
  25. Add skip for Type::Tiny::Enum
  26. 0.40060 Wed Jun 24, 2015
  27. Field validation can use Type::Tiny subclasses
  28. Replace NoTabTests and EOLTests
  29. switch from List::AllUtils+List::MoreUtils to List::Util (in core)
  30. add render_elementx and renderx methods to allow setting attributes at render time
  31. Warning if Date field is html5 and not ISO
  32. 0.40059 Thu Feb 25, 2015
  33. Remove clear->item_id that snaked in via merge error
  34. Pass subfield name to repeatable element wrapper
  35. 0.40058 Thu Feb 25, 2015
  36. add HorizCheckboxGroup for alternative CheckboxGroup rendering
  37. minor doc typos
  38. do $class->meta->make_immutable after new_with_traits
  39. Czech translation
  40. 'get_errors' synonym for 'errors' on form
  41. add repeatable_element_wrapper ability
  42. 0.40057 Fri Aug 1, 2014
  43. added support for tag 'inline' in bootstrap3 wrapper
  44. add test for inline-checkboxes
  45. add test for prefilled with init_object form reuse
  46. clear item and init_object which are required for form reuse
  47. add failing test for element_class override through build_update_subfields
  48. add a bit of doc about handling DBIC new results & 'use_default_over_obj'
  49. =encoding utf-8 in Manual/Rendering.pod
  50. remove deprecated css_class and input_class attributes
  51. add param_to_values method to convert parameters to init_object-like hashref
  52. Add code to respect the label_no_filter tag on checkboxes for Bootstrap
  53. and the Base widgets.
  54. fix bootstrap3 input_append_button
  55. Respect label_no_filter on checkbox labels.
  56. add Arabic translations
  57. use time_zone and locale options in Date field
  58. 0.40056 Mon Feb 20, 2014
  59. use sorted_fields in 'dump_validated'
  60. added Type::Tiny support
  61. Use alert-danger rather than alert-error with in Bootstrap3
  62. Fixes RT#91966 (deprecated way to call enum warning)
  63. bug in reloading repeatable fields; skip inactive fields
  64. 0.40055 Thu Jan 2, 2014
  65. handle SelectCSV field in as_label method of Select field
  66. 2014 bug in t/compound/basic.t test (rt91793)
  67. 0.40054 Tue Nov 26, 2013
  68. Check for old unimplemented parameter to wrap_checkbox, and check
  69. for existence of option_wrapper
  70. add language handle to bootstrap3 tests
  71. pass event to repeatable js click handler
  72. stop forcing undefined Checkbox fields to 0; didn't allow undef for value
  73. different inline class for Bootstrap3 for checkboxes and radios
  74. select options: add coercion of arrayref of hashrefs from arrayref of strings
  75. allow Date field to use DateTime subclasses
  76. 0.40053 Tue Oct 22, 2013
  77. Bad version number on prereq
  78. 0.40052 Mon Oct 21, 2013
  79. allow overriding layout_classes in Bootstrap3 wrapper
  80. allow passing in value to 'as_label' method in Select field
  81. 0.40051 Thu Oct 17, 2013
  82. Update Italian message file
  83. Minor doc updates
  84. add errors_by_name and errors_by_id to result
  85. add Bootstrap3 theme for those using the Bootstrap theme
  86. better form-horizontal Bootstrap 3.0 support
  87. provide method in result (form_and_field_errors) to return form and field errors
  88. 0.40050 Thu Sep 26, 2013
  89. *** 'widget_tags' in a field have been deprecated for a long time; removing.
  90. There are still widget_tags in the form and compound fields.
  91. Use 'tags' in a field instead.
  92. *** Initial support of Bootstrap3 - still EXPERIMENTAL. Do not use in
  93. production yet. Changes in interface may occur over the next few weeks.
  94. Supporting Bootstrap 3.0 required a surprising amount of minor refactoring:
  95. Bootstrap3 checkboxes and radio elements now have an additional div wrapping them.
  96. This required setting flags in the wrapper that could be seen by the
  97. field widgets. Used 'wrapper_tags' attribute, which is not the most satisfying
  98. solution but does work. The former 'controls' div now doesn't have the
  99. 'controls' class, but is used for sizing. Added new attribute
  100. 'element_wrapper_class' to provide these classes. Split out addition of
  101. classes to the wrapper and element into 'add_standard_wrapper_classes' and
  102. 'add_standard_element_classes', because B3.0 now wants 'has-error' and
  103. 'has-warning' instead of the former 'error' class. 'control-group' was
  104. changed to 'form-group'. The 'form-control' class has been added to
  105. text, password, textarea, and select fields.
  106. Add 'preserve_case' attribute to Email field
  107. 0.40028 Sat Sep 21, 2013
  108. Fixed bug when rendering blocks with 'run' (results)
  109. Sort the deflated values of SelectCSV field
  110. Allow passing Email::Valid params to Email field
  111. Typos fixed
  112. Add 'use_init_obj_when_no_accessor_in_item' flag for dual-purpose init_obj
  113. 0.40027 Thu Aug 8, 2013
  114. Add 'options_ref' method for using options in TT templates
  115. Add unique messages to field messages hash
  116. 0.40026 Wed Jul 3, 2013
  117. Add Italian message file
  118. Doc tweaks
  119. Add errors_by_id and errors_by_name convenience methods
  120. 0.40025 Thu May 9, 2013
  121. Add skip in t/setup_form_config.t unless YAML::Syck (Config::Any)
  122. 0.40024 Tue May 7, 2013
  123. Add 'no_option_validation' flag to select field.
  124. Remove HtmlArea field. (Has always been broken, and there were complaints about
  125. not prereqing HTML::Tidy, which I won't do due to difficulty of installing)
  126. Change 'use' of GD::SecurityImage to a 'require'. (Will not prereq this one either.)
  127. 0.40023 Tue Apr 30, 2013
  128. Add Brazilian Portuguese translation file
  129. Fix bug in process of re-loading repeatables without primary keys after db update
  130. Add TextCSV field for multiple values in a text field (useful with js libraries)
  131. 0.40022 Mon Mar 18, 2013
  132. Remove 'writeonly' flag from Display field, because fix to not pull
  133. values from an item/init_object with that flag meant that values were not
  134. being applied to Display fields, when people were relying on that.
  135. Switch to using github issues instead of RT
  136. 0.40021 Mon Mar 4, 2013
  137. Don't validate disabled fields
  138. check for existence of field in match_when before getting $field->fif,
  139. improve error message
  140. add type_attr to Select field; update t/render/ff.t to use it
  141. cleanup select field options_method building
  142. 0.40020 Sun Feb 20, 2013
  143. More support for repeatable javascript:
  144. Tweak Bootsrap wrapper to check do_wrapper instead of do_label when rendering
  145. 'controls' div
  146. Reminder: It's always a good idea to make your own set of of widgets so that
  147. updates don't throw off your rendering. This change was hardly noticeable
  148. in the FH testcases, but it's possible you were relying on the old behavior
  149. for CSS.
  150. Add 'controls_div' to Simple wrapper.
  151. Add RmElement example field.
  152. 0.40019 Fri Feb 8, 2013
  153. Move back 'before_element' tag; breaks existing rendering. Add additional
  154. 'before_element_inside_div' tag instead.
  155. 0.40018 Thur Feb 7, 2013
  156. Don't put 'control-group' on Bootstrap hidden field div because of spacing issues
  157. Support for repeatable add/remove javascript
  158. add 'setup_for_js' flag to Field::Repeatable
  159. add HTML::FormHandler::Render::RepeatableJs
  160. add HTML::FormHandler::Field::AddElement
  161. add before_wrapper and after_wrapper tags
  162. add 'id' to wrappers of compound fields
  163. update Display field to use 'render_method'
  164. allow applying wrapper widget even if field has render method
  165. Fix positioning of 'before_element' tag in Bootstrap wrapper
  166. 0.40017 Sat Dec 1, 2012
  167. Fix bad html in Span widget
  168. Fix unitialized warning processing has_field with '+'
  169. Use get_default_value in Submit/Reset field
  170. Improve doc for bootstrap theme, use BootstrapFormMessages role
  171. Add lazy to render_filter for random failures in 5.17.6
  172. 0.40016 Mon Oct 15, 2012
  173. Fix bug with DBIC model interface
  174. 0.40015 Sun Oct 14, 2012
  175. Remove extraneous use of Data::Printer
  176. Correct spelling of PadWalker
  177. 0.40014 Sat Oct 13, 2012
  178. Add useful message and die in field widgets with no result
  179. Use string instead of object in LANGUAGE_HANDLE
  180. Fix bug in required_when when value is 0
  181. Allow using arrayref for sort_column.
  182. Select field as_label for multiple fields.
  183. Minor doc fixes
  184. Bug - option group label attributes
  185. Add info_message to form and rendering.
  186. Add 'use_fields_for_input_without_param' flag
  187. Call inflate_default_method on repeatable elements
  188. 0.40013 Sun Jun 24, 2012
  189. Re-write elimination of PrimaryKey field from repeatable value,
  190. add 'no_value_if_empty' attribute
  191. Fix bug with labels '0' not being displayed
  192. Change 'missing' to an attribute.
  193. Submit field has 'submit' html5_type_attr
  194. Add html5_type_attr to Hidden, Reset, and Password fields
  195. Add new behavior for compound fields and 'not_nullable' flag,
  196. where compound field value is not set to undef when all
  197. subfields are empty. This is needed for some kinds of db
  198. relationships, to ensure that subfields are set to null.
  199. 0.40012 Fri Jun 15, 2012
  200. Bug cloning merging repeatable instances; form reference garbage collected
  201. Doc typos
  202. 0.40011 Tue Jun 5, 2012
  203. Remove automatic building of field results. If you have field tests, you
  204. need to add $field->build_result after creating field with 'new'.
  205. Possible memory cycle if result is accessed when not built.
  206. Add 'required_when'
  207. Add Bulgarian message file (dpetrov)
  208. Bootstrap input_append/prepend: no linefeeds between input
  209. Add input_append_button tag to Bootstrap wrapper
  210. Correct camelcase for widgets in two fields
  211. Add 'value_when_empty' for multiple select
  212. Add SelectCSV multiple field
  213. Change Select to use sort_options_method for sorting
  214. 0.40010 Sun May 20, 2012
  215. Add 'when' clause to apply actions
  216. Fix memory leak on fields with defaults due to missing 'my' causing
  217. $self to be closed over so that RAM was leaked if forms were constructed
  218. but never processed. (in default_<field_name> & validate_<field_name>
  219. methods)
  220. 0.40009 Mon May 14, 2012
  221. Re-implement improved version of 'reload_after_update'.
  222. 0.40008 Fri May 11, 2012
  223. Add 'missing' method to Field
  224. Use result in Bootstrap render_form_messages
  225. Fix Render::Table
  226. Propagate errors when they're added, so $form->has_errors
  227. works in sub validate
  228. Use do_render_label in Bootstrap wrapper to allow setting
  229. label class/attributes
  230. Add subfield convenience method.
  231. Remove 'reload_after_update'. Didn't work anyway. Bug: duplicate
  232. results with repeatables. (avoid with reload_after_update => 0)
  233. Re-factor RadioGroup widget to allow individually rendered options
  234. Support option groups in 'Select', 'RadioGroup' & 'CheckboxGroup' widgets
  235. 0.40007 Tues Apr 24, 2012
  236. Re-factor widget to provide 'render_element' method
  237. Various doc updates
  238. Move 'by_flag' processing into '_merge_updates'
  239. Handle disabled fields better; result_from_fields if no input
  240. Fix bug: html_attributes callback called with 'input' instead of 'element'
  241. 0.40006 Tues Apr 10, 2012
  242. Render::Table incorrect table start
  243. Minor doc cleanup
  244. Add 'build_label_method'
  245. Re-do merging of widget_tags
  246. Implement experimental 'include' list for Form/Compound fields
  247. Refactor merge_updates and update_subfields to handle contains
  248. Add 'by_type' to update_subfields
  249. 0.40005 Mon Mar 26, 2012
  250. prevent undef from being passed to maketext
  251. expand use of 'posted' flag to check false values
  252. add wrap_label method
  253. 0.40004 Fri Mar 23, 2012
  254. Don't put element attributes on select options
  255. Make render_list lazy
  256. Better defaults for compound fields
  257. Provide package name for die when not extending
  258. Add block_list to provide blocks
  259. Defaults for repeatable fields
  260. 0.40003 Wed Mar 14, 2012
  261. Move dfv test that fails prereqs
  262. 0.40002 Tue Mar 13, 2012
  263. Put form wrappers that are fieldsets inside form tag; outside not legal HTML
  264. Doc updates
  265. Add 'NonEditable' field and 'Span' field widget
  266. Patch HTMLAttributes (compatibility for older style custom widgets)
  267. 0.40001 Wed Mar 7, 2012
  268. Remove \K in regex for ucc_widget; doesn't work pre 5.10
  269. Switch DateTime field to use inflate_default_method
  270. 0.40000 Tue Mar 6, 2012
  271. **** There are many changes to rendering, many of them incompatible.
  272. These changes *will* break existing form rendering.
  273. You must check that your rendering works before upgrading. Making a copy
  274. of the old code (the widget and rendering roles) may be helpful (or use
  275. the compatibility libraries -- see below).
  276. I always prefer to maintain backward compatibility if possible, but
  277. a number of the improvements were not possible without breaking
  278. compatibility, so I did a lot of changes at once.
  279. Compatibility libraries are provided to help support rendering that relied
  280. on the earlier libriaries at:
  281. git://github.com/gshank/html-formhandler_pre-0.40_compat.git
  282. README at: https://github.com/gshank/html-formhandler_pre-0.40_compat/blob/master/README
  283. Add Twitter Bootstrap 2.0 widget wrapper
  284. Add 'no_update' flag to allow skipping model_update.
  285. Remove 'deflate_to' flag; provide new inflation/deflation methods.
  286. see HTML::FormHandler::Manual::InflationDeflation
  287. New 'build_id_method' to provide different builder method for field IDs.
  288. 'auto_fieldset' and 'no_auto_fieldset' no longer used. No automatic fieldsets.
  289. Can be added with do_wrapper => 1 and a tag of wrapper_tag => 'fieldset'
  290. Localize the value of the reset button.
  291. Tests and fix for form 'validate_<field_name>' and 'default_<field_name>' method
  292. for repeatables fields.
  293. Change default radiogroup rendering to not use <br /> elements. Add back
  294. with tag radio_br_after => 1
  295. Switch to using coderef for deflate_method; custom fields with deflate sub
  296. will need to be modified.
  297. Add block rendering (HTML::FormHandler::Blocks)
  298. Re-do code for default & validate method construction; now provides
  299. 'default_method' and 'validate_method' coderef setting
  300. Remove 'init_value_*' from Field (deprecated for years).
  301. Use Hash::Merge in merging update field info on creation
  302. Fix bug in copying tags to fields by cloning field definitions
  303. Switch to using name 'element_attr' in fields instead of 'html_attr'
  304. Put wrapper class 'hfh-repinst' on Repeatable Instances unless they already have a wrapper class
  305. Remove 'javascript' field attribute. Put into *_attr hashref.
  306. Automatically put 'error' on element and wrapper.
  307. Switch to having the 'class' as a separate attribute from the _attr collection.
  308. Use 'element_class', 'wrapper_class' & 'label_class' arrayrefs
  309. Switch to having widget names by default be camel case; provide convenience
  310. methods for templates - uwidget, uwrapper, twidget, twrapper.
  311. ** this change will affect existing template systems, if they use the
  312. $field->widget method to get the widget name. See example templates.
  313. and conversion methods 'ucc_widget' and 'cc_widget' in HTML::FormHandler::Render::Util
  314. Create t/share/templates/form/form_in_one.tt
  315. Switch default rendering of checkbox to have label wrap input. Checkboxes are
  316. complicated. See t/render/checkbox.t for various options.
  317. Add 'build_update_subfields' to 'update_fields' processing to allow moving
  318. more of rendering settings into a separate role
  319. Change form 'html_attr' to 'form_element_attr', and use builder
  320. Change interface of html_field_attributes to also return attr (instead of just in-place)
  321. Remove 'label_no_colon', make labels without colon the default.
  322. Add widget tag 'label_after'. Use "label_after => ': '" for old behavior
  323. Add widget tag 'label_tag'. Default 'label'.
  324. Widget_tags replaced with 'form_tags' in form and 'tags' in Field.
  325. takes builder 'build_form_tags' instead of default
  326. Repeatable elements get automatic 'div' wrapper
  327. Remove attribute 'auto_fieldset'; wrapping form is no longer a default;
  328. Add back with sub build_do_form_wrapper {1},
  329. and form_tags => { wrapper_tag => 'fieldset' }
  330. Remove automatic wrapping of compounds.
  331. Enable wrapping with do_wrapper => 1 (there's also do_label => 1)
  332. Put form wrapper around form tag instead of inside
  333. wrapper_start and wrapper_end tags not used to skip wrapper; use do_wrapper => 0
  334. The 'get_tag' method now returns '' instead of undef if tag doesn't exist.
  335. 0.36001 Tues Jan 24, 2012
  336. Add two more widget tags: 'no_auto_fieldset' and 'no_compound_wrapper'
  337. Remove automatic addition of 'class="label"' to labels; if you want that
  338. behavior, add it in with form sub field_html_attributes.
  339. Add 'SKIP' to t/config.t test for Template.
  340. Update Captcha so it might actually work.
  341. 0.36000 Sun Jan 22, 2012
  342. Switch to using 'process_attrs' function to process attributes in rendering;
  343. *** There were lots of updates to rendering. You should verify your custom
  344. rendering, to make sure that nothing has broken. The '_add_html_attributes'
  345. method is no longer used.
  346. Add shorthand method for setting defaults in fields
  347. Add widget_tags 'label_no_colon' & 'wrapper_tag'
  348. Update and reorganize TT templates
  349. Add flags 'use_defaults_over_obj' & 'use_init_obj_over_item'
  350. Add 'num_extra' to Repeatable
  351. Update Turkish message file; add Float field
  352. Add lazy to 'html' attribute in Display field
  353. Add 'label_attr' and 'wrapper_attr' to Field
  354. Add 'Array' trait to field_name_space and widget_name_space
  355. Bug with selected/checked hash key in Multiple; switch to creating default
  356. Bug with repeatable contains; not using full name for accessor.
  357. Die if using HTML::FormHandler::Moose without HTML::FormHandler
  358. Field::TextArea extends Field::Text to reuse its validations (min/max length)
  359. Add is_html5 attribute to forms which causes forms to have the additional
  360. HTML 5 attributes which can be used by HTML 5 capable clients for validation
  361. 0.35005 Sat Oct 8, 2011
  362. Fix bug repeatable result not returned for num_when_empty
  363. Fix bug repeatable required flag not propagated
  364. Fix bug building nested compound fields
  365. Allow html attributes on radio group elements
  366. Undefined string warning in select rendering
  367. Add Japanese message file
  368. 0.35004 Wed Oct 5, 2011
  369. Fix bug setting multiple selects with init_object
  370. Provide html_attr for form attributes
  371. Use Moose type for field_name_space and widget_name_space
  372. 0.35003 Wed Sep 7, 2011
  373. Fix bug constructing classes for Class::Load, revealed by Class::Load 0.10
  374. 0.35002 Mon Aug 8, 2011
  375. Change to use Class::Load due to speed.
  376. 0.35001 Mon Jul 25, 2011
  377. Undid setting processed flag when building result in BUILD. Breaks
  378. existing apps. Re-thinking that part for now.
  379. 0.35000 Thu Jul 21, 2011
  380. Add support for tabindex attribute.
  381. Generic html attribute setting (html_attr)
  382. Set 'processed' flag when building results in BUILD to fix problem
  383. with garbage collected results.
  384. *** it's possible that this may break code if field values were being
  385. set outside of FormHandler, or params were set on new. Pass params
  386. on process. Set fields inside FormHandler, or run clear first, then
  387. set values. In general, it works best to update fields inside a
  388. FormHandler class, in a method or method modifier.
  389. Building results in 'new' happened originally because people expected
  390. to be able to do $form->render after new, without process. But you're
  391. better off always running 'process'.
  392. Add flag 'no_preload' to skip building results in new (BUILD) if not needed
  393. Add flag 'no_widgets' to skip applying widgets to fields if not needed
  394. Fix for Date fields in compounds.
  395. Types Printable & SingleWord use class messages
  396. Add link to the bug tracker into the HELP section in the Pod.
  397. Change how field_traits work: apply traits to field objects, add
  398. new class method apply_traits (Stephen Thirlwall)
  399. 0.34001 Mon May 16, 2011
  400. Fiz another memory cycle using Select field
  401. Tweak code creating results for Field testing
  402. 0.34000 Mon May 16, 2011
  403. Fixed memory cycles; 1 in HFH code, others by requiring Moose 2.0007
  404. Localize value of a button
  405. Allow limited use of has_many multiple select
  406. Add SimpleInline & TableInline widgets to not wrap compound fields
  407. 0.33002 Tues Feb 22, 2011
  408. Accidentally left off compatibility for 'required_message' attribute
  409. messages => { required => '...' } is new style and worked
  410. 0.33001 Mon Feb 21, 2011
  411. Remove unnecessary with of HFH::Validate::Actions
  412. 0.33000 Mon Feb 21, 2011
  413. bug - empty_select check defined
  414. Add button field, widget, template
  415. Check html attributes for definedness not truth
  416. Add ability to set field inactive on new & process
  417. in addition to setting active
  418. Move 'no_render_label' into Field
  419. Use form's language_handle in fields
  420. Improve PrimaryKey doc
  421. Return empty hashref from $form->value instead of undef
  422. Merge experimental Wizard into master
  423. Render disabled select options
  424. Repeatable contains rendering incorrectly, skipping empty elements
  425. Add rendering of form_errors to widgets and Render::Simple
  426. *** If you were using form_errors (there are none by default)
  427. and were using HFH rendering, check for compatibility
  428. Allow specifying full class for widget with '+'
  429. Document removing wrapper div from Simple wrapper
  430. Re-do how field messages are stored and accessed. Use messages => {...}
  431. instead of various _message attributes
  432. Add utilities in util to pull out class messages and check I18N
  433. Update I18N messages files (those that were provided by translators)
  434. Change render_filter Coderef setting because of leak;
  435. *** Possible incompatibility: if you have a form render_filter,
  436. change to function instead of method
  437. Change _localize to a Coderef to allow easier changing.
  438. *** If you have a custom _localize method, check for compatibility
  439. 0.32005 Wed Oct 20, 2010
  440. Removed '//'; incompatible with earlier versions of Perl
  441. 0.32004 Wed Oct 20, 2010
  442. Minor doc cleanup
  443. Switch away from MooseX::Traits; memory leak because of non-cached
  444. composed classes
  445. 0.32003 Sun Oct 3, 2010
  446. Fix syntax for 'with', excludes => -excludes
  447. Use labels in radio group widgets
  448. Add 'is_active' and 'is_inactive' convenience methods in Field
  449. Select options - check defined instead of truth
  450. Misc minor doc and test improvements
  451. Coderef allowed for messages in apply actions
  452. Limit removing of numbers when constructing method names
  453. Use html_filter when rendering labels
  454. Allow undefining min_size and max_size in upload field
  455. Return in render_filter if string is not defined
  456. Change rendering of repeatable subfields
  457. 0.32002 Thu July 29, 2010
  458. Update to handle newer Moose (error msg with Moose::Util::MetaRole API)
  459. Swich to Dist::Zilla
  460. Add customization of form tag attributes
  461. Add test prereqs
  462. 0.32001 Fri June 25, 2010
  463. Add prereqs for DateTime::Format::Strptime and Email::Valid
  464. 0.32000 Fri June 25, 2010
  465. Accept arrayref messages in add_error
  466. Add initial fieldset wrapper
  467. Flag (localize_labels) in Select field for rendering; localize empty_select
  468. Add posted flag for forms containing only fields with no params when unselected
  469. Add 'update_fields' methods and 'update_field_list' for preference-type field updates
  470. Fix incorrect error message in duration field
  471. Use LANGUAGE_HANDLE instead of LANG in tests
  472. Add 'input_class' for class attribute on input fields
  473. Allow deflation in fif, flag 'deflate_to' => 'value'/'fif'
  474. Fix bug with unselected Select field (move input_without_param & not_nullable into field)
  475. Add resultset example to cookbook
  476. Doc to look at input for multiple submit fields
  477. Fix bug in _set_dependency; use 'has_some_value' to determine emptiness
  478. Add form_errors for non-field errors
  479. Remove deprecated 'min_length' attribute ('minlength' is supported)
  480. Allow upload field to be passed a file handle
  481. Pass values to Display field (for display-only db fields)
  482. Change I18N to allow duck_type classes; add test for Data::Localize
  483. Added 'peek' diagnostic function for viewing field & result trees
  484. Fix bug with extra results in repeatable elements
  485. Strip empty pks and empty elements from repeatable values (avoid DB errors)
  486. Localize value of submit button
  487. Make '+' unnecessary in front of field name space types
  488. 0.31003 Fri May 7, 2010
  489. Change precedence of defaults over item/init_object; add 'default_over_obj' for
  490. cases where that behavior is desired.
  491. Fix errors in filtering HTML in rendering
  492. Call deflation in InitResult::_result_from_obj
  493. Split localization of labels into separate 'loc_label' method
  494. Call loc_label where label is used in error messages
  495. Enable empty strings for wrapper_start and wrapper_end
  496. Set locale to en_us where needed in test
  497. Fix widget_name_space use in fields
  498. 0.31002 Wed Apr 21, 2010
  499. Remove unused HTML::Entities from Simple form widget
  500. Move locale test file into xt because of env variable issues in test
  501. 0.31001 Tues Apr 20, 2010
  502. Use full length version number
  503. Updates to translated messages & messages in Validate::Actions
  504. 0.31 Fri Apr 16, 2010
  505. Remove use of HTML::Entities for filtering. New render_filter coderef for filering.
  506. Minor doc fixes for typos
  507. Use _html_attributes in widgets (for disabled, readonly, javascript)
  508. Localize default required field message
  509. Add 'render_upload' to Render::Simple
  510. Fix allowing array for field_name_space
  511. Selected_option for select lists
  512. Add example to cookbook and tests for setting a coderef for validation
  513. Checkbox group use 'eq' instead of '=='
  514. Fixes to tutorial to match Catalyst tutorial
  515. Allow arrayref for 'has_field' (like Moose 'has')
  516. Die on maketext errors
  517. Move deflation from fif to get_value called by '_result_from_object'.
  518. Possible incompatibility, except it was probably not working to start with...
  519. 0.30003 Sun Feb 21, 2010
  520. Partial fix for lack of defaults for compound fields
  521. Support for using model_fields roles (DBICFields)
  522. Use 'eq' instead of '==' when constructing html for multiple selects
  523. Remove deprecated 'auto' syntax
  524. 0.30002 Thu Feb 11, 2010
  525. Don't convert widget names that contain uppercase
  526. Better error messages for missing field classes
  527. Field attribute 'input_param' to allow input names different than field names
  528. Make field 'default' rw
  529. Clean up doc on init_object
  530. 0.30001 Fri Feb 5, 2009
  531. Remove unnecessary IO::All use causing dep problems
  532. Changes to Turkish messages
  533. Russian and Urkainian message files
  534. Use HTML::FormHandlerX namespace for fields and widgets
  535. Fix bug with defaults set to 0
  536. 0.30 Mon Feb 1, 2010
  537. Improve Display Field, adding more ways to set html
  538. Add initial pass at more automatic TT rendering
  539. Change readonly, html attributes to 'rw'
  540. Set widget in Reset field
  541. Fix bugs and oddities in HFH::types
  542. Fix bug allowing hashref to be passed to constructor
  543. Improve doc on 'trim'
  544. Add more doc on dynamic form creation
  545. Allow 'options_<field_name>' attributes in form
  546. Add Turkish message file
  547. Add 'empty_select' to Select field
  548. Fix bug displaying empty repeatable element if no values from object
  549. Improvements in I18N factoring
  550. 0.29002 Wed Dec 16, 2009
  551. Remove locale.t from dist until issues solved
  552. 0.29001 Tues Dec 15, 2009
  553. Fix bug with passing widget_wrapper to fields
  554. Fix bug with generated method names for form methods
  555. 0.29 Wed Dec 2, 2009
  556. Add CheckboxGroup widget, add MooseX::Traits to Form & Field class
  557. Fix bug where defaults were not being used with an initial object
  558. Fix DateTime field to trap DateTime errors, pass hash in value
  559. Use build_label for field labels
  560. Remove use of Class::Load, instead use Class::MOP::load_class()
  561. Add set_active and make switching fields to active simpler
  562. Fix bug when options lists from db are empty
  563. Add encode_entities to rendering widgets
  564. Switch from init_value_<fieldname> to default_<fieldname>
  565. Change upload field.
  566. Improve setting of method defaults for set_default, set_validate, set_options
  567. 0.28
  568. Switched to using native traits
  569. Add Widget roles
  570. Major refactor to support result classes
  571. Reformatting source to more Perl standard
  572. Fix bug generating CSS classes in Render::Simple (mazpe)
  573. Fix POD example in ::Intro (mazpe)
  574. 0.27006 Mon Aug 17, 2009
  575. Add ability to set params class and arguments
  576. 0.27005 Wed Aug 12, 2009
  577. DateTime::Format::Strptime dep again
  578. 0.27004 Tues Aug 11, 2009
  579. Date inherits from Text. Fix loading compound fields from related.
  580. Call load_options for forms with no init_obj & params
  581. 0.27003 Sat Aug 2, 2009
  582. Indexing failure missing version in Date
  583. 0.27002 Sat Aug 2, 2009
  584. Fix missing dependency on DateTime::Format::Strptime
  585. Doc tweaks
  586. 0.27001 Fri July 31, 2009
  587. Doc fixes, fix Date field.
  588. 0.27 Sat July 25, 2009
  589. Split HTML::FormHandler::Model::DBIC into separate distribution
  590. Add 'inactive' flag. Cleanup Makefile.PL. 'size' split into 'size' and
  591. 'maxlength'. 'min_length' renamed to 'minlength'. Add Catalyst pod.
  592. 'html_name' used for field 'id'. Fix DateMDY field.
  593. 0.26 Tues June 23, 2009
  594. Fix dependency test failures on UNIVERSAL::require and version
  595. 0.25 Sat June 20, 2009
  596. Add dependency for DateTime::Format::SQLite
  597. 0.24 Sat June 20, 2009
  598. Refactor validation processing for api consistency
  599. Skip empty undef array elements. Update Password and PrimaryKey fields.
  600. Fix bugs: calling validate_ method, recognizing errors in repeatable fields,
  601. handling empty repeatable elements,
  602. incorrect cloning in Repeatable, rendering fixes/updates.
  603. 0.23 Fri May 22, 2009
  604. Refactor HTH to use only 'process'. Deprecate 'validate' and 'update'
  605. Add field_list array, deprecate other usages.
  606. Clean up documentation
  607. Add Repeatable field to support has_many relationships
  608. 0.22 Fri May 1, 2009, 17:00
  609. Removed development only test from distribution
  610. Expanded apply documentation.
  611. 0.21 Thu Apr 30, 2009, 20:00
  612. Removed podcoverage, added skip to generator.t test, added
  613. 'apply' sugar for adding actions, doc for compound field
  614. 0.20 Thu Apr 23, 2009, 17:00
  615. Added apply constraints, transforms, checks. Refactored code for future
  616. use of nested fields. Improvements to compound fields. Bug fix for
  617. checkboxes. Added ability to redefine attributes of existing fields
  618. with '+fieldname'.
  619. 0.19 Thu Mar 05, 2009, 17:00
  620. Fix problem with empty values from form. Add Compound field.
  621. 0.18 Sun Feb 22 2009, 15:00
  622. Add missing test prereq DateTime::Format::MySQL.
  623. Add 'values' method to form. Add 'accessor' attribute
  624. to field.
  625. 0.17 Thurs Feb 19 2009, 17:30
  626. Refactor validate, adding validate_form method
  627. 0.16 Thurs Feb 19 2009, 17:00
  628. Add ability to use arrayrefs for primary key
  629. Clear 'fif' for non-db forms. Allow init_object for non-db forms.
  630. 0.15 Mon Feb 16 2009, 19:00
  631. Fix inheritance of has_field. Add ability to use has_field
  632. in roles. Some refactoring of 'clear'. If a field is not
  633. in params, don't touch in db.
  634. 0.14 Fri Feb 06 2009, 18:00
  635. Wrong version in META.yml. Fix fif for password fields.
  636. 0.13 Wed Feb 04 2009, 23:00
  637. Fix validate to set params if hash
  638. 0.12 Wed Feb 04 2009, 18:00
  639. Fix 'dump_fields'. Add more output for verbose. Change so
  640. that 'validate' doesn't require a separate 'clear' for
  641. persistent forms. The controller test will only execute
  642. with an environment variable.
  643. 0.11 Mon Feb 02 2009, 17:00
  644. Change to use BEGIN block in controllers for Catalyst 5.80.
  645. 0.10 Thu Jan 29 2009, 07:00
  646. Remove unnecessary 'use' from Render::Simple to eliminate install
  647. failures. Change handling of 'has_field'.
  648. 0.09 Sun Jan 25 2009, 17:00
  649. Minor changes.
  650. 0.08 Sat Jan 24 2009, 11:00
  651. Remove controller and role. Refactor to support persistent
  652. forms. Remove update_from_form method. Add 'process', and
  653. 'update' methods. Update documentation to match. Update tutorial.
  654. 0.07 Thurs Jan 22 2009, 04:00
  655. Add prereq of DateTime. Minor doc changes.
  656. 0.06 Wed Jan 21 2009, 04:00
  657. Add prereq skip tests to controller test. Clean up Makefile.PL.
  658. Convert test controller Book.pm to use chained. Support empty
  659. rows.
  660. 0.05 Mon Jan 19 2009, 15:00
  661. Add skip test to htmlarea test. Add action, http_method, & submit to form.
  662. Add javascript to field. Create widget directory for templates.
  663. 0.04 Fri Jan 16 2009, 19:00
  664. Move example to test directory. Change controller; add controller
  665. test. Add use for HashRefInflator. Add more documentation.
  666. 0.03 Tues Jan 12 2009, 16:00
  667. Pod fix, remove failing test from htmlarea
  668. 0.02 Tues Jan 12 2009, 03:00
  669. Fixed pod formatting, naming of files
  670. 0.01 Mon Jan 12 2009, 17:00
  671. Released on an unsuspecting world
  672. Conversion of Form::Processor to Moose, including
  673. renaming many attributes and methods and refactoring