Skip to content

Releases: nette/application

Released version 2.4.3

20 Dec 23:21
@dg dg
Compare
Choose a tag to compare
  • TemplateFactory: added support for custom Template implementation #159 #141
  • JsonResponse: allow scalar payload #168
  • Route::constructUrl(): split of module and presenter moved before global filter (#167)
  • Route::constructUrl() fixed global filter on presenter name (#161)
  • LatteExtension: added support for macro factories defined as DI services
  • Application: fixed empty $requests when createInitialRequest() failed, thx to @vlastavesely #163
  • Template::addFilter() returns $this
  • @return self -> static

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

Released version 2.4.2

27 Sep 09:50
@dg dg
Compare
Choose a tag to compare
  • UI: added support for PHP 7.1 nullable types
  • Revert "Presenter: invalid component name in signal throws BadSignalException"
  • MicroPresenter: fixed passing of services to closure in 2.4
  • ComponentReflection::combineArgs() throws InvalidArgumentException instead BadRequestException when incompatible type is object
  • Route: fixed PHP warning "strpos(): Offset not contained in string" (#154)
  • ComponentReflection::parseAnnotation: fix false positive annotation parsing (#151)

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

Released version 2.4.1

31 Jul 11:31
@dg dg
Compare
Choose a tag to compare
  • SnippetBridge: added setSnippetMode; added snippet test (#150)
  • Presenter: removed static from refUrl variable (#80)
  • Presenter: fixed creating link with required persistent parameters (#148)
  • Presenter: flash key has to be string (fix for "Array to string conversion" notice) (#147)
  • ComponentReflection::parseAnnotations: fixed regexp quoting

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

Released version 2.4.0

27 Jun 19:05
@dg dg
Compare
Choose a tag to compare
  • requires PHP 5.6
  • PresenterComponent, Form: added $onAnchor
  • Route, SimpleRouter: by default keeps the currently used HTTP/HTTPS protocol (BC break) nette/nette#1196 nette/routing#14
  • Route: added support for scheme:// in mask
  • Route: add %host% variable (#140)
  • Route: Added variable for domain second level name (%sld%)
  • Route: support for optional [<module>]
  • RouteList: added warmupCache()
  • PresenterFactory: added possibility to configure mapping via array #101 #119
  • PresenterComponent: added redirectPermanent()
  • Presenter: support for direct setting layout file
  • Presenter: don't mix GET & POST params in AJAX when form is submitted nette/forms#33 nette/nette#1061 (#127)
  • Snippets: do not render snippets from a template which is included using includeblock macro
  • JsonResponse: sends utf-8 charset #120
  • UIMacros: {control} wrap arguments in array only when needed nette/nette#1206
  • uses Nette\SmartObject

deprecated, changed:

  • Presenter: argsToParams() and saveState() now distinguish between NULL and FALSE #107
  • PresenterComponentReflection::convertType() objects can be passed only to parameters without array or scalar type (without array / scalar default value) (BC break)
  • Form: uses underscored signal parameter _do only in POST forms
  • IRouter::SECURED is deprecated
  • Router::$defaultFlags and flag SECURED are deprecated nette/routing#13
  • PresenterComponent ⇒ Component
  • PresenterComponentReflection ⇒ ComponentReflection
  • Control::validateControl() & invalidateControl(), Presenter::backlink() and Template::registerHelper() trigger E_USER_DEPRECATED
  • Presenter: triggers notice when payload is send via terminate()
  • UIMacros: uses Latte providers uiControl and uiPresenter instead of $_control and $_presenter
  • composer: removed dependency on nette/security (#132)

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

Released version 2.3.13

17 Jun 17:45
@dg dg
Compare
Choose a tag to compare
  • Route: add %host% variable (#140)
  • Route: Added variable for domain second level name (%sld%)
  • Route: fixed checking for missing [

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

Released version 2.3.12

06 Apr 10:37
@dg dg
Compare
Choose a tag to compare
  • PresenterFactory: added possibility to configure mapping via array; thanks @achse #101 #119
  • Presenter: isLinkCurrent is compatible with PHP 7 typehints #126
  • RouteList: added warmupCache()
  • JsonResponse: sends utf-8 charset #120
  • RoutingPanel: fixed displaying of empty mask ''

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

Released version 2.3.11

08 Feb 22:12
@dg dg
Compare
Choose a tag to compare
  • Route: support for optional [<module>]
  • ApplicationExtension: do not initialize RoutingPanel if Tracy is not installed
  • Presenter: throws exception when parameter has scalar type hint & no default value and argument is missing #112
  • PresenterComponentReflection::combineArgs() throws exception when parameter has scalar type hint, no default value and argument is missing
  • PresenterComponentReflection::convertType() NULLs are not allowed

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

Released version 2.3.9

20 Jan 02:41
@dg dg
Compare
Choose a tag to compare
  • Presenter::argsToParams() computes default values for mandatory parameters with built-in typehint
  • Template: better error message when Translator is not set

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

Released version 2.3.8

03 Dec 04:16
@dg dg
Compare
Choose a tag to compare
  • Route: action is mandatory when defined as 'Presenter:'
  • UIMacros: better error message
  • __toString and router serialization handles Throwable errors

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

Released version 2.2.9

03 Dec 02:46
@dg dg
Compare
Choose a tag to compare
  • Route: action is mandatory when defined as 'Presenter:'
  • __toString handles Throwable errors
  • typos, fixed coding style

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