Version 4.0.0
Important note about this version:
- DecaLog 4 is a transition version to prepare DecaLog 5.
- No migration path wil be available to migrate from DecaLog 3.x to 5.x, so don't ignore this version 4: install it!
- DecaLog 5 will be available in early 2025.
Added
- Events sent to DataDog, Elastic Cloud, Elasticsearch, Grafana Cloud, Loki and Sematext can now be extended with custom fields (this feature supports variable substitution).
- It's now possible to substitute PHP-defined constants for some loggers settings.
- There's now a filter to map PHP error levels to PSR3 levels - see hooks reference (thanks to Clément Hallet).
- Full compatibility with Elasticsearch 8.
Changed
- [BC] If a third-party plugin or theme uses PSR-3 1.x only, DecaLog early-loading option become unavailable.
- [BC] DecaLog now uses PSR-3 1.x & 3.x => if you use the DecaLog SDK, you should update it to version 4.
- Events contexts are now fully mapped with standard fields while using Elastic Cloud logger.
- The responsiveness of DecaLog settings pages has been greatly boosted.
- The rendering of web console has been improved.
- Upgraded Monolog library from version 2.9.1 to version 2.9.3.
- Upgraded InfluxDB library from version 1.12.0 to version 3.5.0.
- Upgraded GuzzleHttp library from version 7.2.0 to version 7.8.1.
- Upgraded Elasticsearch library from version 7.6.1 to version 8.13.0.
- Upgraded Tracy from version 2.10.5 to version 2.10.7.
Fixed
- Constant storage may produce PHP warning while initializing.
- There's some deprecation warnings with PHP 8.4.