Skip to content

Releases: nette/application

Released version 3.1.8

27 Nov 22:23
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.2
  • Control::templatePrepareFilters() silently deprecated
  • Component::getParameter() $default is silently deprecated

Released version 3.1.7

01 Jun 12:25
@dg dg
Compare
Choose a tag to compare
  • {link} disables URL checking
  • TranslatorExtension moved to Latte (BC break)

Released version 3.1.6

17 May 18:27
@dg dg
Compare
Choose a tag to compare
  • support for Latte 3
  • added tag {translate}
  • {_var} and {translate} can translate values during compile time
  • RoutingPanel: withPath() fix II.

Released version 3.1.5

21 Dec 11:30
@dg dg
Compare
Choose a tag to compare
  • ApplicationExtension: support for creating presenters via Tracy
  • RoutingPanel: supports withPath(...)
  • Revert "Component::link() & etc uses variadic parameter" #298
  • improved coding standard

Released version 3.1.4

06 Oct 23:42
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.1
  • Presenter: support for @deprecated in presenters, action & signals
  • Presenter::run() saves global state on sendRequest()
  • Presenter::canonicalize() uses variadics
  • Component::link() & etc uses variadic parameter
  • UIRuntime: improved {templatePrint}
  • phpstorm.meta: added exitPoint Component::error (#293)
  • Presenter: Add return never typehint. (#291) (#290)

Released version 3.1.3

02 Jun 14:57
@dg dg
Compare
Choose a tag to compare
  • UIMacros: supports {control |noescape}
  • LatteExtension: inject interface to be more compatible (#288)
  • LatteExtension: fixed debug panel for custom templates
  • LatteExtension: changed UI\TemplateFactory type to ApplicationLatte\TemplateFactory (#283)
  • Component: persistent parameters does not have to be initialized #286

Released version 3.1.2

08 Feb 05:58
@dg dg
Compare
Choose a tag to compare
  • Presenter: try to find Template file for each action (#277)
  • Component: Throw exception in case of signal method in Component or Presenter is private #263
  • Presenter, Control: formatTemplateClass() refactoring
  • Presenter: non-final createRequest() #262
  • RoutingPanel: displays one-way flags #274
  • LatteExtension: fix undefined property
  • Form::disableSameSiteProtection() replaced with allowCrossOrigin()
  • UIMacros: added /* line */ comment
  • improved phpDoc
  • composer: accepts routing 3.1

Released version 3.1.1

25 Jan 02:01
@dg dg
Compare
Choose a tag to compare
  • Component::createComponent() warns on non-presenter components nette/forms#147
  • LatteExtension: option 'xhtml' is deprecated
  • LatteExtension: initializes Latte Panel, added option 'debugger'
  • TemplateFactory::createTemplate() returns Nette\Bridges\ApplicationLatte (BC break)
  • Control::flashMessage: allow HtmlStringable as a message
  • UIMacros: {control} can be used in HTML attribute nette/latte#250

For the details you can have a look at the diff.

Released version 3.0.8 (end of support)

25 Jan 20:06
@dg dg
Compare
Choose a tag to compare
  • PresenterFactory: removed case mismatch checks because may work incorrectly
  • MicroPresenter: accepts any callable objects
  • ComponentReflection: type 'NULL' replaced with pseudotype 'scalar'
  • added support for union types in arguments and persistent parameters
  • ComponentReflection: supports type 'mixed'
  • Form::disableSameSiteProtection() replaced with allowCrossOrigin()
  • ApplicationExtension: fixed scanDir merging

For the details you can have a look at the diff.

Released version 3.1.0

31 Dec 18:32
@dg dg
Compare
Choose a tag to compare

Features

  • Template divided into hierarchy Template > DefaultTemplate
  • DefaultTemplate: added default properites and @methods
  • Template, DefaultTemplate: magic access via __get/__set replaced with object properties
  • Control, Presenter::createTemplate() added parameter $class for custom creation of the Template
  • Control, Presenter::createTemplate() tries to create custom Template according to naming convention
  • Presenter::sendTemplate() added parameter $template
  • Link: added isLinkCurrent() & getComponent() [Closes #229]
  • UIMacros: support named arguments {control x: 1}
  • Control::flashMessage accepts custom flash object
  • Template: passes the template to the latte instead of just parameters.
  • UIMacros: overloaded macro {templatePrint}

Changes

  • requires PHP 7.2
  • RoutingExtension: creates service 'routes' only when routes are defined (BC break)
  • RoutingExtension: removed option 'routeClass' (BC break)
  • Presenter::getContext() & others trigger error message
  • removed prefix I from interfaces (except for IPresenter & IPresenterLoader)
  • ApplicationExtension: option 'scanFilter' changed to pattern, default is '*Presenter'
  • ApplicationExtension: catchExceptions is always true on production mode (BC break)
  • UIMacros: modifiers are deprecated in {control}
  • Route, SimpleRouter: flags is deprecated