Skip to content

Latest commit

 

History

History
127 lines (95 loc) · 3.6 KB

VERSIONLOG.md

File metadata and controls

127 lines (95 loc) · 3.6 KB

0.9.9

0.9.8 2026-10-28

0.9.7 2026-10-23

0.9.6 2026-10-20

  • Destination\Slack keeps the result of its last post. write() discarded the webhook response, so a rate limit, a 5xx, a DNS failure or a dead webhook URL all looked like success to anything posting through it, and retries built on top of it could never fire. The destination still never throws (a Slack outage must not turn every Log::error() into an exception); getLastResponse() returns the WebHookResponse and lastWriteSucceeded() is true only for a 2xx with no transport error. setWebHook() injects the HTTP client for tests.

0.9.5 2026-09-10

0.9.4 2026-08-24

  • Fixed some memory leaks related to singleton/serialize.

0.9.3 2026-01-13

0.9.2 2026-01-02

0.9.1 2025-12-11

  • Nightwatch destination now uses system abstractions - Refactored to use IHttpClient interface instead of direct curl calls
  • Added neuron-php/core 0.8.* dependency for system abstractions
  • Nightwatch destination now supports dependency injection with optional IHttpClient parameter for testability
  • Maintains full backward compatibility - existing code works without changes
  • Tests rewritten to use MemoryHttpClient for deterministic, fast testing without network dependencies
  • Test performance improvement: Instant execution - No network calls, fully deterministic
  • All 15 Nightwatch tests passing with 100% code coverage (6/6 methods, 53/53 lines)

0.9.0 2025-11-24

  • BREAKING CHANGE: Renamed FATAL log level to CRITICAL for PSR-3 compliance
  • Added three new log levels for full PSR-3 compliance: NOTICE, ALERT, EMERGENCY
  • Added PSR-3 adapter class (Psr3Adapter) for full PSR-3 LoggerInterface compatibility
  • Added Laravel Nightwatch integration
  • Added WebSocket log destination for real-time log streaming
  • Added Papertrail log destination with configurable SD-ID support
  • Refactored all code to camelCase
  • Refactored channels to be part of the log data
  • Added complex data logging support
  • Added Sqs log destination

0.8.00 2025-02-07

  • Updated to php8.4
  • Switched RunLevel to an enum.

0.7.10 2025-01-21

  • Updated tests to 100% coverage.
  • Updated to validation 0.7

0.7.9 2026-01-01

0.7.8

  • Added StdOutStdError destination.
  • Updated documentation.
  • Added error handling to the socket destination.
  • Refactored formats to better handle contexts.

0.7.7

0.7.6 2024-12-16

  • Updated core packages.

0.7.5 2024-12-13

  • Internal refactoring.

0.7.4 2024-10-25

  • Added slack formatter.

0.7.3 2024-10-23

  • Refactored destinations and filters to allow access to the parent logger.

0.7.2 2024-10-22

  • Added setContext to the logging singleton.

0.7.1 2024-10-18

  • Fix for destination write signatures.

0.7.0 2024-10-16

  • Test refactoring.
  • Added logging filters.
  • Renamed mux to channels in log singleton.

0.6.10

0.6.9

  • Updated dependencies.

0.6.8

  • Added named multiplexers to the singleton logger.

0.6.7 2022-06-14

  • Added contexts to logging.

0.6.6

  • Fixed an issue with Log\Base.

0.6.5 2022-03-30

  • Added Memory log destination.
  • Added Raw log format.

0.6.4 2022-03-21

  • Added code to handle missing STDERR on non cli applications.

0.6.3 2022-03-21

  • Added port setting to Destination/Socket.
  • Added an update to strerr logging for heroku.

0.6.2 2022-03-18

  • Updated SysLog to use openlog/closelog.

0.6.1 2022-03-17

  • Added syslog destination.

0.6.0 2022-03-12

  • Converting to PHP8
  • Added util package requirement.
  • Added Log::setRunLevelByText
  • Log::setRunLevel now works with int and string.
  • Updated travis to php 8.1

0.5.3

0.5.2

0.5.1