Skip to content

Releases: nette/application

Released version 3.1.1

25 Jan 02:01
@dg dg

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

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

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

Released version 2.4.17

24 Nov 19:03
@dg dg

Choose a tag to compare

  • compatible with PHP 8
  • PresenterFactory: removed case mismatch checks because may work incorrectly
  • strict type fix
  • MicroPresenter: accepts any callable objects

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

Released version 3.0.7

02 Nov 13:20
@dg dg

Choose a tag to compare

  • compatible with PHP 8.0
  • added PHP 8 attributes #[Persistent] & [CrossOrigin]#
  • MicroPresenter: throws BadRequestException on invalid argument
  • ApplicationExtension, RoutingExtension: detects Tracy by presence of service nette/di#245

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

Released version 3.0.6

25 Aug 01:54
@dg dg

Choose a tag to compare

  • Application: Micro:* presenter are not achievable
  • MicroPresenter: parameter callback must be a Closure, removed support for __invoke
  • RoutingPanel: fixed calling to undefined RouteList::getModule() #264
  • LinkGenerator: added withReferenceUrl()
  • Presenter: added support for typehint 'object'
  • RoutingPanel: improved visualisation of error
  • RoutingPanel: fixed compatibility with new RouteList III.

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

Released version 2.4.15

09 Jun 14:00
@dg dg

Choose a tag to compare

  • class aliases are loaded on demand
  • added .phpstorm.meta.php
  • Template: prevents unserialization for security reasons

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

Released version 3.0.5

20 Apr 21:59
@dg dg

Choose a tag to compare

  • UIMacros: fixed (expand) in {control) nette/latte#223
  • .phpstorm.meta: added exit points
  • PresenterFactoryCallback: fixed multiple services of type found #258
  • RoutingPanel: display RouteList groups
  • RoutingPanel: fixed compatibility with new RouteList II. #251 #253
  • RoutingPanel: changed Application\Routers* classes to Nette\Routing*
  • RoutingPanel: Better mask responsivity.
  • Template: prevents unserialization for security reasons

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

Released version 3.0.4

22 Jan 22:12
@dg dg

Choose a tag to compare

  • Presenter::restoreRequest() redirects on GET request
  • Template: added custom functions isLinkCurrent() and isModuleCurrent()
  • Presenter: added isModuleCurrent() #240 (#243)
  • RoutingPanel: fixed compatibility with new RouteList
  • uses latte 2.6
  • class aliases are loaded on demand

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

Released version 3.0.3

05 Jan 22:34
@dg dg

Choose a tag to compare

  • Template: added addFunction() for Latte 2.6
  • RoutingPanel: uses capturing
  • FileResponse: added some checks (#238)
  • ComponentReflection: changed way how it detects built-in types #241
  • ApplicationExtension: options scanDirs has higher priority than robotLoader
  • ApplicationExtension: always creates directory for touch file (#237)
  • Presenter: injectPrimary() params are required because $httpRequest is required. (#239)
  • updated .phpstorm.meta.php
  • uses nette/utils 3.1
  • fixed bugs reported by PHPStan

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