Releases: nette/application
Releases · nette/application
Released version 2.4.4
- UIMacros: added n:nonce
- compatibility with nette/di and RobotLoader 3.0
For the details you can have a look at the diff.
Released version 2.4.3
- 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
- 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
- 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
- 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()
andsaveState()
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
Released version 2.3.12
- 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
- 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
- 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
- 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.