v1.2.0 - First stable release
Loggastic leaves beta! This is the first stable release, and from now on the project follows semantic versioning: no breaking changes outside major versions, and deprecations announced at least one minor release ahead (see CONTRIBUTING.md for the backward-compatibility policy).
Highlights
- Symfony 6.4 LTS support. All
symfony/*requirements now accept^6.4 || ^7.0, so the bundle installs on everything from Symfony 6.4 LTS to the latest 7.4. Tested in CI on PHP 8.2/8.3/8.4 with both Symfony 6.4 and 7.4. (#35) composer installworks again on fresh checkouts. The previous exact version pins only matched Symfony releases with published security advisories, which Composer 2.9+ refuses to install. Constraints are widened so patched releases resolve. (#33)- Elasticsearch bridge interfaces.
ElasticsearchClientInterfaceandElasticsearchServiceInterfaceare now used everywhere instead of the concrete classes, enabling service decoration. Thanks @manuel-gamma! (#32)
Also in this release
- PHPStan (level 6) and PHP-CS-Fixer now run in CI, alongside a new tests matrix covering 6 PHP/Symfony combinations (#34, #35)
- New community files: CHANGELOG, CONTRIBUTING, SECURITY policy, and issue/PR templates (#34)
- Fixed PHP 8.4 implicit-nullable deprecation warnings (#34)
Deprecations
AnnotationLoggableContextCollectionFactoryis deprecated and will be removed in 2.0. Use the#[Loggable]PHP attribute (or XML/YAML config) instead. Related: the abandoneddoctrine/annotationspackage is no longer a dependency; if you wired the annotation factory manually, require it yourself. See UPGRADE-2.0.md. (#35)
Upgrading from 1.1.x
No action needed for most projects: there are no breaking changes. If your app is on Symfony 7.3+, nothing changes at all; if you were blocked from installing on 6.4, you no longer are.