Repository navigation
Release v3.14.1
v3.14.1
Changelog
Performance: track_user and kernel environment detection wired (optional services) See UPGRADING.
Fixed
track_userand kernel environment detection never worked:PerformanceMetricsSubscriberused
#[Autowire(service: '?security.helper')]/'?kernel'/'?stopwatch', which are not optional references (the
attribute keeps?in the service id) and, the arguments being nullable, compiled tonull. Access records never
stored the logged-in user and theenvironmentsfilter fell back toAPP_ENVinstead of the kernel environment.
The security helper is now wired inservices.yaml(@?security.helper, still optional without SecurityBundle) and
the kernel is autowired by type. The stopwatch stays unwired on purpose (the query-time fallback resets it, so it must
not be the profiler's debug stopwatch); behaviour unchanged. Kernel test:PerformanceMetricsSubscriberWiringTest.