Skip to content

Release v3.4.7

Choose a tag to compare

@github-actions github-actions released this 24 Sep 19:38
· 102 commits to main since this release

Release v3.4.7

Changelog

Fixed

  • FrankenPHP worker mode (no kernel reset between requests) – see docs/FRANKENPHP-WORKER-AUDIT.md:
    • PerformanceMetricsSubscriber calls memory_reset_peak_usage() at the start of each tracked main request, so memoryUsage (and memory alerts) no longer report the worker-lifetime peak.
    • PerformanceMetricsSubscriber / PerformanceMetricsService no longer call error_reporting(0); warnings are silenced with @ (restored by the engine even on exceptions) and the output buffer is closed in finally. onKernelTerminate() now catches \Throwable (not only \Exception), so an \Error while recording metrics is logged and no longer escapes kernel.terminate.
    • PerformanceMetricsService::recordMetricsSync() detaches the persisted RouteDataRecord and the RouteData after flush (and after AfterMetricsRecordedEvent), so the shared identity map does not grow per request and the next request reloads a fresh RouteData.
    • The profiler collector is reset at the start of each main request and gets the configured async flag again (the toolbar no longer shows "sync" after the first reset nor the previous request's record status).
  • services_twig_component.yaml – Fixed invalid YAML indentation of the Nowo\PerformanceBundle\Form\ block (the file failed to load when symfony/ux-twig-component was installed).

Documentation

  • Added docs/FRANKENPHP-WORKER-AUDIT.md (scenario A/B audit, W-01…W-05 findings and remediation status).
  • Spec FR-WORKER-001: metrics path MUST remain correct under FrankenPHP worker with no kernel reboot / no services_resetter.

Commits

  • Release v3.4.7: FrankenPHP worker mode with kernel reset false. (e2cd09a)
  • chore(deps): bump doctrine/orm from 3.7.0 to 3.7.1 (#47) (77f2ae2)
  • chore(deps): bump rector/rector from 2.6.6 to 2.6.7 (#46) (91d8b22)
  • chore(deps): bump twig/extra-bundle from 3.24.0 to 3.29.0 (#45) (eac7aa8)
  • chore(deps): bump phpstan/phpstan in the phpstan group (#44) (27e0605)
  • chore(deps): refresh Composer lockfiles. (e46377f)
  • chore(deps): bump vincentlanglet/twig-cs-fixer from 4.0.2 to 4.1.0 (#43) (5885742)
  • chore(deps): bump rector/rector from 2.6.4 to 2.6.6 (#42) (baaf991)
  • chore(deps): bump friendsofphp/php-cs-fixer from 3.95.23 to 3.95.24 (#41) (873416f)
  • chore(deps): bump phpstan/phpstan in the phpstan group (#40) (b08ddf8)
  • Apply PHP CS Fixer fixes [skip ci] (e25b783)
  • chore(deps): bump friendsofphp/php-cs-fixer from 3.95.22 to 3.95.23 (#38) (e711709)
  • chore(deps): bump rector/rector from 2.6.3 to 2.6.4 (#39) (519203c)
  • Apply PHP CS Fixer fixes [skip ci] (c5ac379)