Framework

Repository Author Commit message Committed SHA  
 
application by dg Component: StatePersistent component that is not UI\Component cannot be added (BC break)

Its state was silently skipped by Presenter::getGlobalState().

application by dg Control: flashMessage() does not create the template

In the most typical flow - flashMessage() followed by redirect() - the template
was created just to be thrown away, which builds a whole Latte\Engine instance.
The messages are written to the session first and into the template only if it
already exists; a template created later gets them from the template factory,
which reads the flashes from the session on its own.

application by dg Presenter::argsToParams() now distinguish between NULL and ''
application by dg removed {templatePrint}
application by dg uses nette/routing 4.0
application by dg removed support for @annotations (BC break)
application by dg Presenter: removed constructor (BC break!)
application by dg Component: only UI components can be added to presenter/component (BC break) WIP
application by dg Component: method checkRequirements() is called for createComponent<Name>() methods (BC break)
application by dg Revert "UI\PresenterComponent: removed references created by loadState() for persistent parameters. [Closes nette/nette#703][Closes nette/nette#703][Closes #69]" (possible BC break)

This reverts commit cda17f460d020b0f042364d4e140742022a7e94d.

See https://forum.nette.org/cs/35528-stejne-pojmenovany-parametr-akce-presenteru-a-persistentni-odlisne-chovani-v-nette-2-0-oproti-aktualnimu#p221742

BC break: Property must be nullable, ie: #[Persistent] public ?int $foo

application by dg removed legacy services names (BC break)
application by dg Presenter::handleInvalidLink() -> processInvalidLink() (BC break)
application by dg added type hints (BC break)
application by dg composer: increased dependencies versions
application by dg used attribute Deprecated
application by dg used PHP 8.4 features
application by dg requires PHP 8.4
application by dg opened 4.0-dev
bootstrap by dg Extensions: converted to #[Hook] handlers
bootstrap by dg requires nette/di 3.3
bootstrap by dg used #Deprecated
bootstrap by dg renamed PhpExtension -> PhpIniExtension
bootstrap by dg opened 4.0-dev
bootstrap by dg updated upgrading.md
bootstrap by dg Configurator: added addSecrets(), parameters from a file whose values are never compiled in and tools hide

098f275d-e67b-49fd-b2e0-1c535c3e2422

bootstrap by dg Configurator: addParameters() is the method for all parameters again, a dynamic one is marked by DynamicValue

41e5f65f-a7af-4e51-ba6d-ec5276c69994

bootstrap by dg Configurator: DynamicValue markers in static parameters are passed to the container as dynamic parameters
bootstrap by dg Configurator: added extensions and excluded classes to container key

A change of $defaultExtensions or $autowireExcludedClasses kept the compiled container, even in
debug mode, because the dependency check does not track them. Arguments of the extensions stay
out of the key, as they may hold objects such as RobotLoader.

0ec20b85-dc24-4d97-9312-acfe1af71d86

bootstrap by dg Configurator: fixed getParameters() of the container without nette/http

%baseUrl% is resolved from the IRequest service and Container::getParameters() evaluates every
dynamic parameter, so a container without that service threw MissingServiceException. %baseUrl%
is an empty string there now.

0ec20b85-dc24-4d97-9312-acfe1af71d86

bootstrap by dg composer: allowed nette/security 4.0
bootstrap by dg composer: allowed nette/caching 4.0

The tests reach the cache services by their names cache.storage and
cache.journal, the aliases cacheStorage and nette.cacheJournal are gone in 4.0.

540d3379-98ae-4924-88b3-ede8cf5a00f0

application by dg updated upgrading.md

Last synchronization: 2026-12-03 15:03:25