Releases: nette/forms
Releases · nette/forms
Released version 3.1.10
- FormNNameNode: $form is created before tag itself #291
- latte: fixed parsing of {input} & {label} arguments
- Latte: better error message when form is missing
- Latte: {inputError ...} should have argument
getUnsafeValues()
renamed togetUntrustedValues()
- supports nette/utils 4
Released version 3.1.8
- support for PHP 8.2
Form::initialize()
sets 'secure' flag nette/http#217- BaseControl,
ControlGroup::getOption()
parameter $default is silently deprecated - cs
Released version 3.1.7
- support for Latte 3
- FormMacros: optimized code
Form::addProtection()
fixed error "Argument 3 must be of the type string or null, int given"- coding style
- Runtime: fixed method name
- improved Latte examples
Released version 3.1.6
- compatibility: fixed interfaces
- added DataClassGenerator & tag {formClassPrint}
- LatteRenderer: do not send cookie
- Latte generator moved from Rutime to new class LatteRenderer
- Latte Blueprint: used code highlighting
Released version 3.1.5
- {formPrint} calls
fireRenderEvents()
- Container::getValues($obj) mapping to PHP 8 constructor
- BaseControl: added
addFilter()
- refactoring
- Container: catches infinite loop in
getValue()
#277 - netteForms: improved netteFormsModal CSS for problematic browsers
- netteForms: visible doc comment
- improved error messages
- Button: preserves prototype when caption is null #276
- Revert "added FormFactory & DI service"
Released version 3.1.4
Released version 3.1.3
Form::getValues()
fixed when in validation scope is container- fixed compatibility with Symfony DebugClassLoader
Released version 3.1.2
Released version 3.1.1
- phpDoc: fixed event type hints [Closes #265]
- Revert "Form::onValidate - values are passed only when form is valid"
- Latte: added more comments /* line */
- FormMacros: internal variables are prefixed $ʟ_
Released version 3.1.0
- requires PHP 7.2
Features
- Form: POST form checks Http\Request::isSameSite() as CSRF protection
- Guess first parameter for event by type hint (#219)
- Container::getValues($obj) to hydrate object
Changes
- Form::getValues() triggers warning when form is not valid
- Form::getValues() returns only controls in scope (BC break)
- Form::onValidate - values are passed only when form is valid
- Validator Form::URL autocompletes https:// instead of http:// (BC break)
- Validator::validateEqual returns false if control value is empty array (BC break) [Closes #257]
- Validator::formatMessage() added validator name to error message (#263)
- breaks exporting rules to JS after non-static validator [Closes #259]
- FormMacros: removed deprecated $_form
- Container: addImage() renamed to addImageButton()
- Checkbox: getSeparatorPrototype() renamed to getContainerPrototype()
- removed deprecated stuff