You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console follows the links in the URI fragment, with their queries: php bin/app.php get '/order?id=1#link=self:payment?card=1234'.
Changed
Behaviour change: a console URI with any other fragment, such as #section, fails with UriException; the fragment was ignored.
.compile.php is no longer loaded, and the compile raises E_USER_DEPRECATED when it finds one. The object graph built at boot must build without its stubs; delete .compile.php after reading the manual
The compile no longer requests the resource a #[ResourceParam] names, so autoload.php no longer lists the classes only that evaluation loaded, such as #[Input] objects; Composer loads them as before
A request to / that fails while the compile records preload.php is reported on STDERR as get <uri> failed while recording preload.php: <exception>: <first line of its message>, the URI taking the context's scheme host (page://self/, app://self/); the classes the rest of that request would load are missing from preload.php. A missing page at / is not reported
Deprecated
.compile.php: it is not loaded, see Changed
Compiler\CompileClassMetaInfo; the compile no longer uses it
Fixed
A 201 Location keeps its fragment (#comments), which RFC 9110 §10.2.2 allows, and the created resource is still returned.
The compiled DI scripts follow the real classes: since 1.22 a .compile.php stub with another constructor compiled cleanly and failed in production, and one without a method attribute ran without its interceptor
A CLI context's compile requests / through the CLI router: since 1.12.4 the request named page:://self/, which never resolved, so preload.php lacked what the page at / loads. An application whose CLI scheme host has no page at / still records none
A dev anonymous override module gets one script directory under var/build/{context}/di/ from every entry point, so test and dev entry points no longer add a directory each