contributte / playground

:books: Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
https://contributte.org/examples.html
MIT License
23 stars 19 forks source link

Bump nette/forms from 3.0.7 to 3.1.0 in /contributte-datagrid #328

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps nette/forms from 3.0.7 to 3.1.0.

Release notes

Sourced from nette/forms's releases.

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
Commits
  • 2fce9b9 Guess first parameter for event by type hint (#219)
  • 4423d28 updated netteForms.min.js
  • 8ea1e00 Validator::validateEqual returns false if control value is empty array (BC br...
  • e5a6953 events refactoring, added default values, removed magic
  • 46c7a26 Form: POST form checks Http\Request::isSameSite() as CSRF protection
  • 7ed01d3 Form::getValues() triggers warning when form is not valid
  • 294d807 Form::getValues() returns only controls in scope (BC break)
  • a55867c Container::getValues($obj) hydrates object
  • b67ff3f Form::onValidate - values are passed only when form is valid
  • e7328ee Validator::formatMessage() added validator name to error message (#263)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)