Skip to content

Releases: nette/forms

Released version 3.1.10

09 Jan 20:54
@dg dg
Compare
Choose a tag to compare
  • 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 to getUntrustedValues()
  • supports nette/utils 4

Released version 3.1.8

18 Nov 03:09
@dg dg
Compare
Choose a tag to compare
  • 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

17 May 18:36
@dg dg
Compare
Choose a tag to compare
  • 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

10 Nov 16:52
@dg dg
Compare
Choose a tag to compare
  • 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

06 Oct 23:45
@dg dg
Compare
Choose a tag to compare
  • {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

25 Aug 15:10
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.1
  • Button: allows change to <button> #273
  • Form::addGroup() loose type (#269)
  • Form: checks the existence of handlers
  • netteForms: uses <dialog> in Opera & mobile Chromium because it loses focus after alert() #275
  • netteForms: added Nette.showModal() method

Released version 3.1.3

04 Mar 12:06
@dg dg
Compare
Choose a tag to compare
  • Form::getValues() fixed when in validation scope is container
  • fixed compatibility with Symfony DebugClassLoader

Released version 3.1.2

10 Feb 22:24
@dg dg
Compare
Choose a tag to compare
  • added Container::getUnsafeValues(), onValidate does not throw warning [Closes #266]
  • fixed validation after 1592cf6 [Closes #268]
  • added Form::initialize() for standalone forms
  • added FormFactory & DI service

Released version 3.1.1

04 Feb 15:28
@dg dg
Compare
Choose a tag to compare
  • 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

19 Jan 02:27
@dg dg
Compare
Choose a tag to compare
  • 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