Release v0.3.5
0.3.5: missing log HTTP columns, call_site backtrace only
MissingTranslationLog gains request_route, request_method, request_path.
TranslationCallSiteResolver skips the call-site builder frame.
See docs/CHANGELOG.md [0.3.5].
Changelog
Added
MissingTranslationLog: nullable columnsrequest_route,request_method,request_pathfor HTTP context whenrecord_request_contextistrue(default).MissingTranslationRecordContext+MissingTranslationLogCallSiteBuilder::buildContext()supply values for the decorator / recorder.
Changed
TranslationCallSiteResolver: skipsMissingTranslationLogCallSiteBuildersocall_sitepoints at the real caller (not the builder frame).call_sitestores only the backtrace segment (file:line); route / method / path are no longer concatenated into that column.MissingTranslationLogCallSiteBuilderis no longer declaredfinalso PHPUnit can generate test doubles forRecordingTranslatorDecoratortests.MissingTranslationRecorderInterface::record()adds optional$requestRoute,$requestMethod,$requestPathparameters (implementations and async buffer payloads must align).persistBufferINSERT/UPDATEincludes the new columns when present in the buffer snapshot.
Tests
MissingTranslationLogRepositoryTest: duplicate flush without request fields preserves existing HTTP columns; truncation of longrequest_path;EntityManager::clear()where needed so assertions read DB state after raw SQL updates.DoctrineMissingTranslationRecorderTest,RecordingTranslatorDecoratorTest,MissingTranslationLogCallSiteBuilderTest,TranslationCallSiteResolverTest,MissingTranslationLogEntityTest,MissingTranslationLogCommandsTest,MissingTranslationBufferDtosTest: coverage forbuildContext(), buffer shape, andrecord()forwarding.
Documentation
- USAGE / CONFIGURATION / UPGRADING: request context columns,
persistBufferbehaviour, and 0.3.4 → 0.3.5 migration notes. - Demos (
demo/README.md, Symfony 7/8 insights Twig, devnowo_translation_yaml_tools.yaml): copy aligned with splitcall_sitevs HTTP columns.
Full Changelog: v0.3.4...v0.3.5