Releases: nette/application
Releases · nette/application
Released version 3.1.8
- support for PHP 8.2
Control::templatePrepareFilters()
silently deprecatedComponent::getParameter()
$default is silently deprecated
Released version 3.1.7
- {link} disables URL checking
- TranslatorExtension moved to Latte (BC break)
Released version 3.1.6
- 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
- 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
- support for PHP 8.1
- Presenter: support for @deprecated in presenters, action & signals
Presenter::run()
saves global state onsendRequest()
Presenter::canonicalize()
uses variadicsComponent::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
- 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
- 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 withallowCrossOrigin()
- UIMacros: added /* line */ comment
- improved phpDoc
- composer: accepts routing 3.1
Released version 3.1.1
- 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)
- 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 withallowCrossOrigin()
- ApplicationExtension: fixed scanDir merging
For the details you can have a look at the diff.
Released version 3.1.0
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