| 1 |
2.07 2018-12-14 15:55:00+00:00 UTC |
| 2 |
|
| 3 |
- Fix handling or error_attributes & error_container_attributes |
| 4 |
|
| 5 |
- Allow pre_process() plugins to replace query() object |
| 6 |
|
| 7 |
2.06 2018-04-09 20:23:54+00:00 UTC |
| 8 |
|
| 9 |
- New JSON Constraint |
| 10 |
|
| 11 |
- Improve email tests, so that MX tests are only run if internet access |
| 12 |
|
| 13 |
- Tests improved to ensure all locales pass |
| 14 |
|
| 15 |
- Corrected Email Validation so that spaces in the address cause failures |
| 16 |
|
| 17 |
- add new auto_error_field_class() method to add classes directly |
| 18 |
to field tag |
| 19 |
|
| 20 |
- constraints_from_dbic() can now be called on Blocks, |
| 21 |
handles 'nested_name', and support added for BOOL and DECIMAL columns |
| 22 |
|
| 23 |
- remove bundled/renamed MooseX::Attribute::Chained and depend on the |
| 24 |
fixed version |
| 25 |
|
| 26 |
- Remove out-of-date reference to lacunaexpanse. |
| 27 |
|
| 28 |
2.05 2016-10-07 15:34:52+01:00 Europe/London |
| 29 |
|
| 30 |
- Release machinery - dzil transition to @Starter and simplification |
| 31 |
|
| 32 |
2.04 2016-09-30 |
| 33 |
|
| 34 |
- HTML::FormFu::Validator::Callback now passes the $params hash to |
| 35 |
callback subs. |
| 36 |
- No longer use Test::Aggregate - RT#117137 |
| 37 |
- Update list of contributors |
| 38 |
- Code tidying (Karen Etheridge):- |
| 39 |
- remove duplicate "use" lines |
| 40 |
- remove unused exports |
| 41 |
- use subs from List::Util preferentially (which is in core) |
| 42 |
- fix some pod markup |
| 43 |
- properly document core validators (RT#118022) |
| 44 |
- preserve the exception message in case of validation error |
| 45 |
- Spelling fixes from Debian - RT#115812 |
| 46 |
- [Release of 2.04 was a trial/devel release only] |
| 47 |
|
| 48 |
2.03 2016-06-24 |
| 49 |
|
| 50 |
- Bug fix: RT#109159 Number formatting tests can fail |
| 51 |
- Bug fix: RT#112582 Date tests fail on leap day |
| 52 |
- Minor packaging fixups |
| 53 |
|
| 54 |
2.02 2016-06-01 |
| 55 |
|
| 56 |
- Public release of 2.02 |
| 57 |
|
| 58 |
2.01_03 2016-05-25 |
| 59 |
|
| 60 |
- cleanup unused modules and functions |
| 61 |
- fix indirect object notation |
| 62 |
- add label functionality |
| 63 |
- ensure disabled attributes are ignored |
| 64 |
- strip excessive/trailing whitespace |
| 65 |
- fix inflator bug RT76034 |
| 66 |
- avoid warnings from CGI |
| 67 |
- enable more author/release tests |
| 68 |
- it language fixes |
| 69 |
- Remove link to old website - now unrelated/NSFW |
| 70 |
- avoid emitting unecessary warnings |
| 71 |
- enable use of Travis CI & coverage tests |
| 72 |
- fixes to ensure we pass all the additional author tests |
| 73 |
|
| 74 |
2.01 2014-05-05 |
| 75 |
|
| 76 |
- Avoid uninitialized warning |
| 77 |
|
| 78 |
2.00 2014-04-11 |
| 79 |
|
| 80 |
- New layout() method for customizing output of fields. |
| 81 |
Any custom elements which override string() will likely need modified. |
| 82 |
|
| 83 |
- Deprecated: reverse_single() and reverse_multi() are deprecated, |
| 84 |
and warn when used. |
| 85 |
If the new layout() is used, and there is no simple way to replicate |
| 86 |
the behaviour, these methods will have no affect. |
| 87 |
|
| 88 |
- TT template files changed - update them if you use a local copy. |
| 89 |
Files updated: field |
| 90 |
New files: field_layout, field_layout_block, |
| 91 |
field_layout_checkboxgroup_field, field_layout_comment, |
| 92 |
field_layout_contentbutton_field, field_layout_errors, |
| 93 |
field_layout_field, field_layout_javascript, field_layout_label, |
| 94 |
field_layout_label_field, field_layout_label_text, |
| 95 |
field_layout_multi_field, field_layout_parser, |
| 96 |
field_layout_select_field, field_layout_textarea_field. |
| 97 |
Files deleted due to layout() changes: checkboxgroup_tag, |
| 98 |
content_button, errors, input, input_tag, label, label_element, |
| 99 |
multi, select_tag, textarea_tag |
| 100 |
Unused files deleted: checkboxgroup. |
| 101 |
|
| 102 |
- New Filter::ForceListValue addresses rt bug #90813 |
| 103 |
|
| 104 |
- render_label() and render_field() no longer require TT. |
| 105 |
Include render_label() in tests. |
| 106 |
|
| 107 |
- Fix typo in I18N::ja (Yusuke Watase). |
| 108 |
|
| 109 |
- Bundle our own (renamed) copy of MooseX::Attribute::Chained to avoid |
| 110 |
warnings under perl 5.19.x |
| 111 |
|
| 112 |
1.00 2013-12-16 |
| 113 |
|
| 114 |
- TT template files changed - update them if you use a local copy. |
| 115 |
Template file 'label_tag' renamed to 'label_element' - old file can |
| 116 |
be deleted. 'field' file changed. New 'errors' file. |
| 117 |
|
| 118 |
- TT no longer listed as a prerequisite. If you use the TT files, |
| 119 |
you must add 'Template' to your own app's prereqs. |
| 120 |
|
| 121 |
- Element::reCAPTCHA and Constraint::reCAPTCHA moved out to separate |
| 122 |
distribution. |
| 123 |
|
| 124 |
- HTML::FormFu::MultiForm moved out to separate distribution. |
| 125 |
|
| 126 |
- auto_container_class(), auto_label_class(), auto_comment_class(), |
| 127 |
auto_container_error_class(), auto_container_per_error_class(), |
| 128 |
auto_error_class() no longer have default values. |
| 129 |
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore |
| 130 |
previous behaviour. |
| 131 |
|
| 132 |
- auto_label_class() no longer adds class to container. |
| 133 |
auto_label_class() now adds class to label tag. |
| 134 |
new auto_container_label_class() adds class to container. |
| 135 |
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore |
| 136 |
previous behaviour. |
| 137 |
|
| 138 |
- auto_comment_class() no longer adds class to both container and comment. |
| 139 |
auto_comment_class() now only adds class to comment tag. |
| 140 |
new auto_container_comment_class() adds class to container. |
| 141 |
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore |
| 142 |
previous behaviour. |
| 143 |
|
| 144 |
- Bug fix: param_value() form method now matches documented behaviour - |
| 145 |
returns undef when field has errors. (Reported by Hailin Hu). |
| 146 |
|
| 147 |
- New Element::Email and Element::URL HTML5 input fields. |
| 148 |
|
| 149 |
- Role::Element::Input has new datalist_options(), datalist_values(), |
| 150 |
datalist_id() and auto_datalist_id() methods to support HTML5 datalists. |
| 151 |
auto_datalist_id() is an inherited accessor which can be set on the |
| 152 |
Form, MultiForm, or Block. |
| 153 |
|
| 154 |
- Form and Elements has new title() attribute short-cut. |
| 155 |
|
| 156 |
- Constraint::Regex has new anchored() accessor. |
| 157 |
|
| 158 |
- New Input attribute accessors: placeholder(), pattern(), autocomplete(). |
| 159 |
|
| 160 |
- New Input boolean attribute accessors: autofocus(), multiple(), required(). |
| 161 |
|
| 162 |
- New Field inherited accessors: auto_container_per_error_class(), |
| 163 |
auto_error_container_class(), auto_error_container_per_error_class(), |
| 164 |
error_tag(), error_container_tag |
| 165 |
|
| 166 |
- Constraints have new experimental method fetch_error_message(). |
| 167 |
|
| 168 |
- All field elements have new method error_filename(). |
| 169 |
|
| 170 |
- default_args() now supports 'Block', 'Field', 'Input' pseudo-elements, |
| 171 |
'|' alternatives, and '+' and '-' ancestor modifiers. |
| 172 |
|
| 173 |
- New Czech (cs) I18N translation by Jan Grmela. |
| 174 |
|
| 175 |
- mk_inherited_accessors() now also creates a *_no_inherit() method. |
| 176 |
|
| 177 |
- Experimental new roles() form method. |
| 178 |
|
| 179 |
- form methods start(), end() now respect render_method - no longer |
| 180 |
force use of tt templates. |
| 181 |
|
| 182 |
- Bug fix: del_attribute() on empty attribute no longer sets the attribute. |
| 183 |
|
| 184 |
- All attribute accessors generated with mk_attrs() now have *_loc variants. |
| 185 |
|
| 186 |
- form methods start(), end() now respect render_method - no longer |
| 187 |
force use of tt templates. |
| 188 |
|
| 189 |
- Tests now always require Test::Aggregate::Nested. |
| 190 |
Re-enable aggregate tests on Win32. |
| 191 |
Don't run all tests twice under both aggregate and t/ (doh!) |
| 192 |
|
| 193 |
0.09010 2012-10-05 |
| 194 |
|
| 195 |
- Internal changes - all Repeatable/nested_name munging is moved out of |
| 196 |
HTML::FormFu::Element::Repeatable into individual constraints |
| 197 |
|
| 198 |
0.09009 2012-09-29 |
| 199 |
- Make sure object can('checked') before calling checked() (colinnewell) |
| 200 |
- Updated Repeatable control to update id_field on DBIC::Unique if present |
| 201 |
- ComboBox new get_select_field_nested_name(), get_text_field_nested_name() |
| 202 |
accessors. |
| 203 |
- Fieldset new legend_attributes() method. |
| 204 |
- New form_error_message_class() method. |
| 205 |
- Constraint 'when' callback now receives $constraint as 2nd argument. |
| 206 |
|
| 207 |
0.09007 2012-01-23 |
| 208 |
- bump MooseX::Attribute::Chained version |
| 209 |
|
| 210 |
0.09006 2012-01-23 |
| 211 |
- fixed deprecation warnings of MX::Attribute::Chained (bricas) |
| 212 |
- Added placeholder attributes for types Text and Textarea with L10N support. |
| 213 |
- Added L10N support for 'prefix' attributes for types Date and DateTime. |
| 214 |
- Added 'attributes' support to types Date and DateTime. |
| 215 |
|
| 216 |
0.09005 2011-09-06 |
| 217 |
- bump version of prereq CGI to 3.37 to make all tests pass |
| 218 |
|
| 219 |
0.09004 2011-08-26 |
| 220 |
|
| 221 |
- skip aggregate.t on Win32 |
| 222 |
- no functional changes to HTML::FormFu |
| 223 |
|
| 224 |
0.09003_02 2011-08-25 |
| 225 |
|
| 226 |
- disable Test::Aggregate on Win32 |
| 227 |
|
| 228 |
0.09003_01 2011-05-11 |
| 229 |
|
| 230 |
- using Test::Aggregate for the test suite if installed |
| 231 |
tests finish now in seconds instead of minutes |
| 232 |
|
| 233 |
0.09003 2011-05-10 |
| 234 |
|
| 235 |
- fixed regression in Model::HashRef introduced in 0.09000 |
| 236 |
|
| 237 |
0.09002 2011-03-21 |
| 238 |
|
| 239 |
- Hopefully fix IO::Interactive dependency properly |
| 240 |
|
| 241 |
0.09001 2011-03-31 |
| 242 |
|
| 243 |
- Fix IO::Interactive dependency |
| 244 |
|
| 245 |
0.09000 2011-03-29 |
| 246 |
|
| 247 |
- Codebase changed to use Moose - massive internal changes - any custom |
| 248 |
Elements, Constraints, etc will require changes. |
| 249 |
See advice on mailing list: |
| 250 |
http://www.mail-archive.com/[email protected]/msg02325.html |
| 251 |
Or ask for help on the mailing list: |
| 252 |
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu |
| 253 |
|
| 254 |
- Bug fix: was a fatal error when a value was submitted for Label element |
| 255 |
(code called delete_nested_hash_value instead of deleted_nested_hash_key). |
| 256 |
|
| 257 |
- Bug fix: RT#65728 Filter::Split shouldn't return a value if no value was |
| 258 |
submitted. |
| 259 |
|
| 260 |
- Bug fix: Element::Date now uses default() in preference to |
| 261 |
default_natural(). RT#65727 |
| 262 |
|
| 263 |
- DateTime elements, minutes and seconds have new 'interval' option. |
| 264 |
|
| 265 |
- Now only delete submitted value if there's no other field on the form with |
| 266 |
the same name. |
| 267 |
|
| 268 |
- load_config_file(stem) now honours the include path order, to mimic TT |
| 269 |
behaviour. |
| 270 |
|
| 271 |
0.08002 2010-09-22 |
| 272 |
|
| 273 |
- Incompatible Change: removed all previously deprecated methods. |
| 274 |
|
| 275 |
- Incompatible Change: HTML::FormFu::QueryType::Catalyst |
| 276 |
File uploads under Catalyst no longer have copy_to(), link_to() and |
| 277 |
catalyst_upload() methods |
| 278 |
|
| 279 |
- Deprecated passing multiple arguments to many methods, where they were |
| 280 |
being implicitly converted to a hash-ref or array-ref. |
| 281 |
A warning is now issued. |
| 282 |
|
| 283 |
- Fix: Constraint::Equal with not(1) set no longer sets an error when both |
| 284 |
field values are empty strings. |
| 285 |
|
| 286 |
- Fix: An empty block with nested_name set, containing Label elements and |
| 287 |
no other fields, was causing the block's nested_name to be added to |
| 288 |
$form->valid(). RT #54967 |
| 289 |
|
| 290 |
- Constraints that inherit from HTML::FormFu::Constraint::_others have a new |
| 291 |
'other_siblings' option, which auto-generates the 'others' list. |
| 292 |
|
| 293 |
- Constraint 'when' condition now supports new 'fields' and 'any_field' |
| 294 |
options. |
| 295 |
|
| 296 |
- Bumped required version of DateTime to 0.54 - needed to pass tests under |
| 297 |
Test::More 0.96. |
| 298 |
|
| 299 |
0.07003 2010-08-02 |
| 300 |
|
| 301 |
- Fix: Group element now escapes each items attributes, label_attributes |
| 302 |
and container attributes (based on by patch by Jeff Dairiki). |
| 303 |
|
| 304 |
- Fix: If using default_natural, use default_datetime_args{set_time_zone} |
| 305 |
if it's also set (Radek). |
| 306 |
|
| 307 |
- Filter::HTMLScrubber extra functionality. |
| 308 |
|
| 309 |
- Update _merge_hashes() so it can also merge arrays and hashes into a new |
| 310 |
array. This is necessary to allow default_args() to define a different |
| 311 |
ref-type than the element or processor which uses its values. |
| 312 |
|
| 313 |
- Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA |
| 314 |
(bump dependency version). |
| 315 |
|
| 316 |
0.07002 2010-06-24 |
| 317 |
|
| 318 |
- Fix: Use MRO::Compat before mro to support perl 5.8 |
| 319 |
|
| 320 |
- Fix: Date and ComboBox elements need to run deflators before trying to |
| 321 |
use any default value - reported by Matija Grabnar. |
| 322 |
|
| 323 |
- Overloading comparisons no longer assume both arguments are a blessed |
| 324 |
object - change needed for latest Test::More (Test-Simple-0.95_02) |
| 325 |
(RT#57747) |
| 326 |
|
| 327 |
- Change Element::Date to not use deprecated DateTime::Locale methods. |
| 328 |
|
| 329 |
- Bump DateTime::Locale and DateTime::Format::Strptime required versions |
| 330 |
as DateTime::Locale Changes file has no mention of when the methods |
| 331 |
we're now using were added. |
| 332 |
|
| 333 |
- Removed Regexp::Copy from prereqs. |
| 334 |
|
| 335 |
0.07001 2010-05-16 |
| 336 |
|
| 337 |
- No changes - cpan indexer failed for last release |
| 338 |
|
| 339 |
0.07000 2010-05-16 |
| 340 |
|
| 341 |
- Change of behaviour: default_args() values are now applied to any object |
| 342 |
inheriting from the specified type, rather than just an instance of that |
| 343 |
type. Old behaviour is still supported with a minor change, see docs for |
| 344 |
details. - (Daniel Hilton) |
| 345 |
|
| 346 |
- Change of behaviour: default_args() key/values are now applied in order |
| 347 |
of inheritance, rather than the random order returned by keys() |
| 348 |
|
| 349 |
- New reverse_single attribute for all field elements. New reverse_group |
| 350 |
attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) |
| 351 |
|
| 352 |
- New default_datetime_args() method on Date and DateTime elements. |
| 353 |
|
| 354 |
- Element::DateTime now supports a 'second' select menu. |
| 355 |
|
| 356 |
- Allow empty string as default value for Date element. (Ronald Kimball) |
| 357 |
|
| 358 |
- Now use Clone instead of Storable ([email protected]). |
| 359 |
|
| 360 |
- Change from Class::C3 to mro, to get built-in support in perl >= 5.9 |
| 361 |
|
| 362 |
- New Bulgarian translation (Kamen Naydenov). |
| 363 |
|
| 364 |
- Fix bad links and markup in POD. (Ronald Kimball) |
| 365 |
|
| 366 |
- Fix spelling errors in POD (Ansgar Burchardt) |
| 367 |
|
| 368 |
- Documented Element::Textarea cols() and rows() methods. |
| 369 |
|
| 370 |
- Bump Config::Any requirement to version 0.18 for YAML::XS support |
| 371 |
|
| 372 |
- Refactored ObjectUtil (Daniel Hilton) |
| 373 |
|
| 374 |
0.06001 2010-01-08 |
| 375 |
|
| 376 |
- Fixed issue with Model::HashRef where form fields with an underscore |
| 377 |
and overlapping name (e.g. 'foo' and 'foo_bar') were causing problems |
| 378 |
|
| 379 |
- Fix test suite year issue. |
| 380 |
|
| 381 |
0.06000 2009-12-10 |
| 382 |
|
| 383 |
- New get_parent() method that traverses the parent hierarchy, returning |
| 384 |
the first parent that matches the supplied options. |
| 385 |
|
| 386 |
- Date element, year menu now supports 'reverse' option to reverse order |
| 387 |
of year list. - patch from Ozum Eldogan. |
| 388 |
|
| 389 |
- New Element::Block method auto_block_id(). |
| 390 |
|
| 391 |
- New only_on_reps() method for constraints on fields within a Repeatable |
| 392 |
element. Causes the constraint to only be run if the field's |
| 393 |
repeatable_count() matches one of the set values. |
| 394 |
|
| 395 |
- New Repeatable::Any constraint. |
| 396 |
|
| 397 |
- Bugfix: after submission, group-type fields were getting the wrong value |
| 398 |
when multiple fields had the same name. - patch by Doug Orleans. |
| 399 |
|
| 400 |
- Bugfix: If a field in a Repeatable block had an error, all copies of that |
| 401 |
field were displaying the error. - report by Doug Orleans. |
| 402 |
|
| 403 |
- Repeatable elements inside a Repeatable element, now works without |
| 404 |
having nested_name set. |
| 405 |
|
| 406 |
- Performance fix: change all uses of eval() to check for array/hash-refs |
| 407 |
to Scalar::Util::reftype() instead. - Was causing a hit for group-type |
| 408 |
fields with large numbers of options. - initial patch by Steve Nolte. |
| 409 |
|
| 410 |
- Bump required version of Data::Visitor to 0.26 |
| 411 |
|
| 412 |
- Minor pod fixes. |
| 413 |
|
| 414 |
0.05004 2009-12-02 |
| 415 |
|
| 416 |
- No changes - last release was built on Windows and didn't pass pause's |
| 417 |
indexer checks. |
| 418 |
|
| 419 |
0.05003 2009-11-29 |
| 420 |
|
| 421 |
- Fix YAML test files for YAML::XS compatibility |
| 422 |
|
| 423 |
0.05002 2009-11-25 |
| 424 |
|
| 425 |
- Fix handling of counter_name in nested-repeatables. |
| 426 |
|
| 427 |
- Element::reCAPTCHA new constraint_args() method to pass options to the |
| 428 |
automatically-created Constraint::reCAPTCHA. |
| 429 |
|
| 430 |
- Model::HashRef->create() now works with submitted input. |
| 431 |
|
| 432 |
- Kwalitee updates. (RT #47998) |
| 433 |
|
| 434 |
- Pod fixes. (RT #49120, #49114, #46363) |
| 435 |
|
| 436 |
0.05001 2009-07-03 |
| 437 |
|
| 438 |
- get_field(s), get_element(s), get_all_elements() now support a Regex |
| 439 |
object for any conditional argument. |
| 440 |
|
| 441 |
- Model::Hashref now searches for Multi and Repeatable elements using the |
| 442 |
regexes qr/Multi/ and qr/Repeatable/ to all for custom/derived classes. |
| 443 |
|
| 444 |
- New $form->add_localize_object_from_class() method. |
| 445 |
|
| 446 |
- New Element::Label. |
| 447 |
|
| 448 |
- Bugfix: DateTime element, hour/minute select menus didn't display correct |
| 449 |
value when hour/minute value was less than 10, and $form->process() |
| 450 |
wasn't called after $form->model->default_values(). |
| 451 |
|
| 452 |
- Silence "undef value in string eq" warnings. |
| 453 |
|
| 454 |
0.05000 2009-05-26 |
| 455 |
|
| 456 |
- Nested repeatable blocks now create field names such as |
| 457 |
'foo_1.bar_1' rather than 'foo.bar_1_1', to assist client-side scripting. |
| 458 |
|
| 459 |
0.04002 2009-05-08 |
| 460 |
|
| 461 |
- Incompatible Change: Element::Repeatable->repeat() now defaults to 1 |
| 462 |
instead of 0. This allows empty Repeatables. |
| 463 |
|
| 464 |
- Fix test failures on Win32. |
| 465 |
|
| 466 |
- During Element::Repeatable->process() call children's process() before |
| 467 |
$self->repeat(). |
| 468 |
|
| 469 |
- Support nested Repeatable elements. |
| 470 |
|
| 471 |
- Ensure plugins are correctly cloned. |
| 472 |
|
| 473 |
0.04001 2009-04-15 |
| 474 |
|
| 475 |
- Fix handling of arguments to plugin(). |
| 476 |
|
| 477 |
- HTML::FormFu::Model::HashRef supports now empty repeatable elements. |
| 478 |
|
| 479 |
- vertically-aligned CSS example updated. |
| 480 |
|
| 481 |
0.04000 2009-03-26 |
| 482 |
|
| 483 |
- Incompatible Change: plugins process() method is now run *after* |
| 484 |
elements' process() method. |
| 485 |
|
| 486 |
- Incompatible Change: Button element no longer sets retain_default(1) - |
| 487 |
now sets force_default(1). Fixes bug where multiple buttons with same |
| 488 |
name were getting the wrong value after being redisplayed after errors. |
| 489 |
|
| 490 |
- New pre_process() plugin method that runs at the same time as the old |
| 491 |
process() hook. |
| 492 |
|
| 493 |
- New Model::HashRef. |
| 494 |
|
| 495 |
- New inherited method locale() available on forms, blocks and fields. |
| 496 |
|
| 497 |
- New Element::Number. |
| 498 |
|
| 499 |
- New Deflators: FormatNumber, PathClassFile, Callback. |
| 500 |
|
| 501 |
- New Filter::FormatNumber. |
| 502 |
|
| 503 |
- New Inflator::Callback. |
| 504 |
|
| 505 |
- New Norwegian I18N translation. |
| 506 |
|
| 507 |
- Updated vertically-aligned CSS. |
| 508 |
|
| 509 |
- config_file_path() now supports a list of directories. |
| 510 |
|
| 511 |
- Checkboxgroup + Radiogroup elements others() method now supports |
| 512 |
'container_attributes' hash-key |
| 513 |
|
| 514 |
- Constraint when() condition no longer demands a 'value' or 'values' |
| 515 |
key - if it's missing, the constraint will pass on any true value. |
| 516 |
|
| 517 |
- Bugfix: _Group elements - ensure 'empty_first' gets set before any |
| 518 |
'options', 'values', 'value_range'. |
| 519 |
|
| 520 |
- Bugfixes for constraint attach_errors_to_base(), |
| 521 |
attach_errors_to_others(). |
| 522 |
|
| 523 |
- Bugfix: Repeatable blocks now correctly rename nested-names in |
| 524 |
constraints' others(). |
| 525 |
|
| 526 |
- Bugfix: Repeatable blocks now rename field names in constraints' when(). |
| 527 |
|
| 528 |
- Bugfix: Repeatable blocks now reparent fields' plugins. |
| 529 |
|
| 530 |
0.03007 2008-12-08 |
| 531 |
|
| 532 |
- Remove Test::Aggregate - seeing test failures under perl 5.8.x |
| 533 |
|
| 534 |
0.03006 2008-12-03 |
| 535 |
|
| 536 |
- New DateTime element. |
| 537 |
|
| 538 |
- New MinRange, MaxRange, File::MinSize, File::MaxSize constraints to |
| 539 |
provide more specific error messages. |
| 540 |
|
| 541 |
- New File::Size constraint methods: min_kilobyte(), max_kilobyte(), |
| 542 |
min_megabyte(), max_megabyte(). |
| 543 |
|
| 544 |
- New config_file_path() method, used by load_config_file() and |
| 545 |
load_config_filestem(). |
| 546 |
|
| 547 |
- New field_order() method for Date elements. |
| 548 |
|
| 549 |
- New I18N translations for Romanian, Russian, Ukranian. |
| 550 |
|
| 551 |
- New MultiForm system for multi-page forms (not yet documented, file |
| 552 |
upload tests skipped due to test problems on MS Win32). |
| 553 |
|
| 554 |
- Length, Range and File::Size constraints now pass min() and max() |
| 555 |
values as I18N args, for use in strings. |
| 556 |
|
| 557 |
- DependOn and Equal constraints now pass the root field label as I18N |
| 558 |
arg, for use in strings. |
| 559 |
|
| 560 |
- Checkbox + Radio elements now default to value(1). |
| 561 |
|
| 562 |
- Constraint when() method now works with nested_names(). |
| 563 |
|
| 564 |
- Using test aggregate to speed-up tests. |
| 565 |
|
| 566 |
0.03005 2008-09-08 |
| 567 |
|
| 568 |
- New ComboBox element. |
| 569 |
|
| 570 |
- Don't use Pod::Help - some people were getting test failures. |
| 571 |
|
| 572 |
0.03004 2008-09-03 |
| 573 |
|
| 574 |
- New reCAPTCHA element. |
| 575 |
|
| 576 |
- New pt_br (Brazilian Portuguese) translation from Daniel Nicoletti. |
| 577 |
|
| 578 |
- New load_config_filestem() method for loading config files without |
| 579 |
having to specify the file extension. |
| 580 |
|
| 581 |
- New html_formfu_dumpconf.pl script, for viewing config files structure. |
| 582 |
|
| 583 |
- Assorted optimizations, providing over 20% runtime speedup. |
| 584 |
|
| 585 |
- Radio element now inherits from Checkbox, to remove duplicated code. |
| 586 |
|
| 587 |
- Radiogroup element now inherits from Checkboxgroup, to remove duplicated |
| 588 |
code. |
| 589 |
|
| 590 |
- checkboxgroup_tag template file has been removed - Checkboxgroup now just |
| 591 |
uses radiogroup_tag file. |
| 592 |
|
| 593 |
- All non-english I18N packages now correctly "use utf8;" |
| 594 |
|
| 595 |
- load_config_file() now switches on Config-General's UTF8, so that files |
| 596 |
are correctly decoded. |
| 597 |
|
| 598 |
- Regex filter now has an eval() method, which if true, eval's the |
| 599 |
contents of replace(), to allow the use of $1 variables or any other |
| 600 |
perl expression. |
| 601 |
|
| 602 |
- Allow languages() to be a single value, rather than just an arrayref. |
| 603 |
|
| 604 |
- CompoundJoin filter now ignores empty values. |
| 605 |
|
| 606 |
- examples/unicode updated. |
| 607 |
|
| 608 |
- Manual-Unicode cat. config examples changed to use MyApp->config(). |
| 609 |
|
| 610 |
- Stop warnings for undefined attributes - reported by Rod Taylor. |
| 611 |
|
| 612 |
- Documentation improvements by Ansgar Burchardt. |
| 613 |
|
| 614 |
0.03003 2008-08-21 |
| 615 |
|
| 616 |
- Form and elements inside template files now have access to original |
| 617 |
object via self.object |
| 618 |
|
| 619 |
- Having a named Multi block within a Block with nested_name set, now works. |
| 620 |
|
| 621 |
- New Element method is_block() which is true for Block elements. |
| 622 |
|
| 623 |
- Multi no longers sets is_field(0) - it's now true for both is_field() and is_block(). |
| 624 |
|
| 625 |
- prereqs - set minimum version of Exporter.pm that exports import() |
| 626 |
|
| 627 |
0.03002 2008-08-11 |
| 628 |
|
| 629 |
- Deprecate element_defaults() method. |
| 630 |
|
| 631 |
- New default_args() method. |
| 632 |
|
| 633 |
- New CompoundSprintf filter. |
| 634 |
|
| 635 |
- New DateTime constraint. |
| 636 |
|
| 637 |
- New field method default_empty_value(). |
| 638 |
|
| 639 |
- New I18N translations for Danish, French and Italian. |
| 640 |
|
| 641 |
- Added time_zone support to Inflator::DateTime |
| 642 |
|
| 643 |
- Documented that process() must be called before render() - this has |
| 644 |
been the case since 0.03000. |
| 645 |
|
| 646 |
0.03001 2008-06-20 |
| 647 |
|
| 648 |
- Require version 0.38 of DateTime, for string overloading support. |
| 649 |
|
| 650 |
0.03000 2008-06-19 |
| 651 |
|
| 652 |
- Field container_tag() now defaults to 'div' rather than 'span' to provide |
| 653 |
better layout without CSS. |
| 654 |
|
| 655 |
- Multi block no longer sets container_tag() to 'span' - defaults to 'div'. |
| 656 |
|
| 657 |
- HTML::FormFu::Model::DBIC moved out into a separate distribution. |
| 658 |
|
| 659 |
- Models now accessed through new form method: model(), with accompanying |
| 660 |
methods: default_model() and model_config. |
| 661 |
|
| 662 |
- Deprecated form methods: model_class(), defaults_from_model(), |
| 663 |
save_to_model(). |
| 664 |
|
| 665 |
- Model methods renamed to: default_model(), default_values() and update(). |
| 666 |
|
| 667 |
- New model method: create(). |
| 668 |
|
| 669 |
- Deprecated element method: db(). |
| 670 |
|
| 671 |
- Bugfixes for perl 5.10.0 (missing imports). |
| 672 |
|
| 673 |
- Bugfix: insert_before() and insert_after() now check if the object is |
| 674 |
already a child, and if so, removes it first. Reported by Ferruccio |
| 675 |
Zamuner. |
| 676 |
|
| 677 |
- Bugfix: update() many_to_many multi-value fields where |
| 678 |
'default_column' included the table name (or 'me.') failed. |
| 679 |
|
| 680 |
- Bugfix: make inflators work with multiple submitted values. |
| 681 |
|
| 682 |
- Bugfix for Bool constraint: use '?' quantifier, not '*'. |
| 683 |
|
| 684 |
- Bugfix in Email constraint: ensure Email::Valid->address() is called in |
| 685 |
scalar context. |
| 686 |
|
| 687 |
- New Split and CompoundJoin filters. |
| 688 |
|
| 689 |
- New CompoundDateTime inflator. |
| 690 |
|
| 691 |
- New CompoundSplit and CompoundDateTime deflators. |
| 692 |
|
| 693 |
- New Plugin system (see tests, not yet documented) and StashValid plugin. |
| 694 |
|
| 695 |
- New form methods: stash_valid(), params_ignore_underscore() and |
| 696 |
tmp_upload_dir(). |
| 697 |
|
| 698 |
- New method for _Group fields: empty_first_label(). |
| 699 |
|
| 700 |
- Multi->render_data() now builds itself before it's children, so that |
| 701 |
deflators on the Multi work. |
| 702 |
|
| 703 |
- insert_before() and insert_after() now first removes the object if it's |
| 704 |
already a child of the target. |
| 705 |
|
| 706 |
- Callback filter and transformers now receive $params as a 2nd argument. |
| 707 |
|
| 708 |
- _Group field options() now supports value_xml, value_loc, label_xml and |
| 709 |
label_loc args. |
| 710 |
|
| 711 |
- get_* methods (fields, elements, constraints, etc) now accept any valid |
| 712 |
method-name as a search parameter. |
| 713 |
|
| 714 |
- add default_natural() method to Date element, allowing the use of |
| 715 |
DateTime::Format::Natural to parse dates such as "today" or "yesterday". |
| 716 |
|
| 717 |
- when() method for Constraints can now accept a callback |
| 718 |
|
| 719 |
- Transformer callbacks now get $params as second argument (as Constraints |
| 720 |
aready were getting) |
| 721 |
|
| 722 |
- Form method add_valid() now expects a full nested-name. |
| 723 |
|
| 724 |
- auto_id() now translates "%n" into the full nested-name. |
| 725 |
|
| 726 |
- Add a END block to DBICTestLib that cleans up the t/test.db |
| 727 |
|
| 728 |
0.02004 2008-02-22 |
| 729 |
|
| 730 |
- Incompatible Change: $upload->headers no longer returns a hashref, it now |
| 731 |
returns a HTTP::Headers object. |
| 732 |
Tests for $upload->headers->{'Content-Type'} changed to |
| 733 |
$upload->headers->content_type. |
| 734 |
Tests for $upload->headers->{'Content-Length'} changed to |
| 735 |
$upload->headers->content_length. |
| 736 |
|
| 737 |
- Catalyst upload object now provides basename(), copy_to(), link_to(), |
| 738 |
size(), tempname() and type() methods which delegate to the |
| 739 |
Catalyst::Request::Upload object. |
| 740 |
|
| 741 |
- The original Catalyst::Request::Upload objects can be retrived with the |
| 742 |
catalyst_upload() method. |
| 743 |
|
| 744 |
- CGI and CGI::Simple upload objects provide size() and type() methods. |
| 745 |
|
| 746 |
- New Constraints: File::Size, File::MIME and File. |
| 747 |
|
| 748 |
- 'Required' and other constraints now work with file uploads. |
| 749 |
|
| 750 |
- Spanish I18N added. |
| 751 |
|
| 752 |
- Support for DBIx::Class schema methods which don't correspond to a |
| 753 |
database column or relationship. |
| 754 |
|
| 755 |
- Fixed test failures due to hardcoded date element output expecting the |
| 756 |
year 2007. |
| 757 |
|
| 758 |
- Fixed circular references in upload objects. |
| 759 |
|
| 760 |
0.02003 2007-12-20 |
| 761 |
|
| 762 |
- Bugfix for has-many rels in defaults_from_model() |
| 763 |
|
| 764 |
- Added Template.pm back into prereqs |
| 765 |
|
| 766 |
- Repeatable element, increment_field_names() is now true by default |
| 767 |
|
| 768 |
- Fixed javascript rendering in _Field |
| 769 |
|
| 770 |
0.02002 2007-12-12 |
| 771 |
|
| 772 |
- Fixes required for perl 5.10.0 |
| 773 |
|
| 774 |
0.02001 2007-12-12 |
| 775 |
|
| 776 |
- Bugfix for save_to_model() in HTML::FormFu::Model::DBIC |
| 777 |
|
| 778 |
0.02000 2007-12-12 |
| 779 |
|
| 780 |
- New HTML::FormFu::Model::DBIC module to replace DBIx::Class::HTML::FormFu |
| 781 |
|
| 782 |
- New Repeatable block element |
| 783 |
|
| 784 |
- New "nested" params support. Form and Block elements have a new |
| 785 |
nested_name() method. Field elements have new nested(), nested_name() |
| 786 |
and nested_names() methods. Doesn't require CGI::Expand or |
| 787 |
Catalyst::Plugin::NestedParams |
| 788 |
|
| 789 |
- Uses new "string" renderer by default - doesn't use template files, |
| 790 |
Generated markup still exactly the same, |
| 791 |
Set render_method("tt") to use the template files (old behaviour), |
| 792 |
render_class_args() renamed to tt_args(), |
| 793 |
Template files now installed into @INC path by File::ShareDir, |
| 794 |
INCLUDE_PATH no longer set by default |
| 795 |
|
| 796 |
- New Checkboxgroup element. Works much like Radiogroup, but with |
| 797 |
checkboxes |
| 798 |
|
| 799 |
- Support multiple yaml documents in a single file - calls populate() |
| 800 |
once for each document |
| 801 |
|
| 802 |
- Date element now uses names of the form "date_day" instead of |
| 803 |
"date.day", so as to not conflict with the new nested-params. This |
| 804 |
should only affect you if your client-side code (CSS, JS) references |
| 805 |
the field names |
| 806 |
|
| 807 |
- Group elements (Select, Radiogroup, Checkboxgroup) now support a |
| 808 |
'label_loc' argument, to provide the item labels via localize() |
| 809 |
|
| 810 |
- *_loc() methods now accept an arrayref argument, to allowing setting |
| 811 |
in YAML config files |
| 812 |
|
| 813 |
- render() now returns a string, not an object. |
| 814 |
$form->render->start_form() must be changed to $form->start(), |
| 815 |
$form->render->end_form() must be changed to $form->end, |
| 816 |
$form->render->field('foo') must be changed to $form->get_field('foo'), |
| 817 |
$form->render->hidden_fields() must be changed to $form->hidden_fields() |
| 818 |
|
| 819 |
- Bugfix: OutputProcessor::Indent was indenting closing tag, when it's |
| 820 |
value was empty (RT 30239) |
| 821 |
|
| 822 |
- Bugfix: Objects were getting wrong parents during clone() and |
| 823 |
auto_fieldset() |
| 824 |
|
| 825 |
0.01006 2007-10-23 |
| 826 |
|
| 827 |
- render_class_args->{INCLUDE_PATH} now defaults to 'root' if it's not |
| 828 |
set - previously was only set if the entire render_class_args hashref |
| 829 |
was empty |
| 830 |
- New StripWhitespace OutputProcessor |
| 831 |
- New CopyValue Filter |
| 832 |
- New Cookbook and Unicode manual pages |
| 833 |
- New unicode example Catalyst application |
| 834 |
- New portuguese I18N translation |
| 835 |
- Callback Filters, Constraints and Validators now accept a fully |
| 836 |
qualified subroutine name instead of a code-ref |
| 837 |
- Date element month names from DateTime::Locale are run through ucfirst |
| 838 |
- Documentation improvements |
| 839 |
- Bugfix: forced errors are now displayed |
| 840 |
|
| 841 |
0.01005 2007-09-21 |
| 842 |
|
| 843 |
- New Indent "output processor" to pretty-print output |
| 844 |
- New force_default() method on fields |
| 845 |
- New when() method for all Constraints |
| 846 |
- Behaviour change for MinMaxFields Constraint |
| 847 |
|
| 848 |
0.01004 2007-09-12 |
| 849 |
|
| 850 |
- New html_formfu_deploy.pl helper program |
| 851 |
- AutoSet Constraint now works with Select optgroups |
| 852 |
- Added vertically-aligned CSS example |
| 853 |
- Fix circular reference / memory leak |
| 854 |
- Documentations fixes / additions |
| 855 |
- require v0.7901 of DateTime::Format::Builder to fix memory leak |
| 856 |
|
| 857 |
0.01003 2007-08-22 |
| 858 |
|
| 859 |
- Add missing prereq to Makefile.PL |
| 860 |
|
| 861 |
0.01002 2007-08-22 |
| 862 |
|
| 863 |
- Fixed missing imports causing errors with perl 5.9.x |
| 864 |
|
| 865 |
0.01001 2007-08-22 |
| 866 |
|
| 867 |
- First non-dev release |
| 868 |
- All Element names now follow CamelCase convention |
| 869 |
- Key format of I18N files changed |
| 870 |
- New Date element |
| 871 |
- Use Class::C3 instead of SUPER |
| 872 |
- Automatically set UTF-8 encoding on TT |
| 873 |
- Support for Template::Alloy instead of TT |
| 874 |
|
| 875 |
0.01000_02 2007-07-02 |
| 876 |
|
| 877 |
- Updated templates in tt_files.pm - 0.01000_02 was out of date |
| 878 |
|
| 879 |
0.01000_02 2007-07-02 |
| 880 |
|
| 881 |
- Added YAML::Syck to dependencies |
| 882 |
- Pod fix |
| 883 |
|
| 884 |
0.01000_01 2007-06-29 |
| 885 |
|
| 886 |
- First CPAN dev release |