Skip to content

Released version 3.2.10 (end of support)

Choose a tag to compare

@dg dg released this 29 Oct 03:21
· 102 commits to master since this release

✨ New Features

  • PHP 8.6 is supported
  • %value in error messages now reads naturally for every control: uploaded file names, the items of a multi-choice selection joined by commas, and dates in the control's format (#302)
  • Rules Filled, Blank and Valid work with any Control implementation, so custom controls no longer need to extend BaseControl to use them (#346)

🐛 Bug Fixes

  • Rule messages and translators may return a Stringable object; validation messages, select optgroups and the prompt now accept it (#349, #312)
  • Form values map onto int-backed enum properties: numeric strings from text and hidden fields convert to the matching case, and a value with no matching case is passed on unchanged
  • A GET form whose action contains a query parameter without a value (?foo) renders correctly (#348)
  • Exceeding post_max_size reports its own message instead of the one for file size
  • A Form or Container subclass that applies the SmartObject trait again works without a fatal error (nette/utils#338)