Skip to content

Release v1.0.9

Choose a tag to compare

@github-actions github-actions released this 25 Sep 06:24
· 46 commits to main since this release

Release v1.0.9

FrankenPHP worker mode hardening (kernel not reset between requests).
See docs/CHANGELOG.md ## [1.0.9] and docs/FRANKENPHP-WORKER-AUDIT.md.

Changelog

Fixed

  • hash_chain.repository now also aliases HashChainRepositoryInterface (previously only nowo_verifactu.hash_chain_repository, so BillingRecordProcessor kept using the in-memory storage).
  • FrankenPHP worker mode (no kernel reset between requests): see docs/FRANKENPHP-WORKER-AUDIT.md.
    • InMemoryHashChainRepository is request-scoped: new clear() method, tagged kernel.reset, and called at the start of every main request by the new EventSubscriber\WorkerStateResetSubscriber (priority 4096). Workers no longer build per-worker hash chains. When kernel.debug is false it logs a warning on every store (the chain is not persistent).
    • DoctrineHashChainRepository reads the last state fresh from the database (Query::HINT_REFRESH), detaches the entity after each read/write, deletes with a DQL DELETE, and resets a closed EntityManager when a flush/query fails before rethrowing.
    • XsdValidator restores the previous libxml_use_internal_errors() value in finally.