Releases: daycry/twig
Releases · daycry/twig
v3.2.0
v3.1.1
Full Changelog: v3.1.0...v3.1.1
v3.1.0
[3.1.0] - 2025-09-19
Added
- Automatic discovery snapshot + preload + APCu acceleration in full profile (no manual flags needed).
- Lean Mode capability profile with nullable overrides (
enableDiscoverySnapshot,enableWarmupSummary,enableInvalidationHistory,enableDynamicMetrics,enableExtendedDiagnostics). - Autodetected cache backend (CI cache service preferred, filesystem fallback) with automatic prefix derivation.
- Expanded diagnostics: render timing, discovery cache source, warmup summary, invalidation history (gated by capabilities).
Changed
- Configuration surface simplified: discovery micro-tuning flags removed from docs; behavior is profile-driven.
- Snapshot persistence: always on in full profile; opt-in via override in Lean Mode.
- Fingerprint strategy depth fixed (previous configurable depth removed).
Removed
- Legacy documentation of tuning flags and deprecated cache backend keys (docs now show only current configuration model).
Guidance
Use leanMode = false for maximum automatic acceleration & observability. Use leanMode = true for minimal overhead, optionally re‑enabling specific capabilities with the nullable overrides.
v3.0.2
Full Changelog: v3.0.0...v3.0.2
v3.0.1
Full Changelog: v3.0.0...v3.0.1
v3.0.0
[3.0.0] - 2025-09-18
Added
- Modular services:
TemplateDiscovery,TemplateCacheManager,DynamicRegistry,TemplateInvalidator. - Documentation: Added
docs/SERVICES.mddetailed architecture & advanced usage guide. - Batch & namespace invalidation APIs:
invalidateTemplates(),invalidateNamespace()+ CLItwig:invalidate:batch. - Unregister APIs:
unregisterFunction(),unregisterFilter(),unregisterExtension(). - Runtime cache toggle:
disableCache(),enableCache(),isCacheEnabled(). - Namespace auto-escape mapping:
setAutoescapeForNamespace(),removeAutoescapeForNamespace(). - Persistent compile index & listing:
listTemplates()with status andcompile-index.jsonstorage. - CLI utilities:
twig:list,twig:stats. - Pattern & namespace filtering in
listTemplates().
Changed
- Internal monolithic
Twigclass refactored into facade delegating to new services. - Batch invalidation optimized to single directory traversal.
- Logging standardized to
event=twig.* key=valueformat using globallog_message(). - README expanded for new runtime, listing & invalidation features.
Removed
- Internal PSR-3 logger property &
setLogger()method (replaced by helper logging). - Direct access to internal compiled template arrays (now encapsulated in services).
v1.3.7
Full Changelog: v1.3.6...v1.3.7
v1.3.6
What's Changed
- Update rector/rector requirement from 1.1.0 to 1.2.6 by @dependabot in #68
- Update rector/rector requirement from 1.2.6 to 1.2.7 by @dependabot in #69
Full Changelog: v1.3.5...v1.3.6
v1.3.5
What's Changed
- Fixed issue where clicking View in Toolbar didn't display View name by @k4zuki02h4t4 in #66
- Update rector/rector requirement from 1.0.5 to 1.1.0 by @dependabot in #65
New Contributors
- @k4zuki02h4t4 made their first contribution in #66
Full Changelog: v1.3.4...v1.3.5
v1.3.4
Full Changelog: v1.3.3...v1.3.4