Skip to content

Latest commit

 

History

History
89 lines (53 loc) · 2.35 KB

CHANGELOG.md

File metadata and controls

89 lines (53 loc) · 2.35 KB

Changelog

This library adheres to Semantic Versioning and Keep a CHANGELOG.

2.5.0 - 2024-09-03

  • Change the garbage collector to schedule a single recurring event to clean up logs instead of wp_schedule_single_event.

2.4.4 - 2024-08-26

  • Display the relative time for the log.

2.4.3 - 2024-07-02

  • Fix a serialization of closure error when using an exception in a log's context.

2.4.2 - 2024-06-28

  • Fix an incorrectly named variable in the Post_Handler class.

2.4.1 - 2024-04-30

  • Re-release of 2.4.1.

2.4.0 - 2024-04-30

Added

  • New filter ai_logger_unrestricted_logging to allow unrestricted logging without checking if the log was recently seen.
  • Overhaul of the log backtrace display in the admin.

Changed

  • Bumped minimum PHP version to 8.1.

2.3.2

  • Add return types to logger to appease psr/log v3.

2.3.1

  • Renamed the main plugin file from ai-logger.php to logger.php.

2.3.0

  • Dependency bumps.
  • Drops support for PHP 7.4. Requires 8.0.
  • Adding support for psr/log support for v1 through v3.
  • Adds support for logging with default context (ai_logger()->with_context(...)).
  • Improves log filtering in admin.

2.2.0

  • Dependency bumps.

2.1.0

Added

  • Improve logger display in-WordPress.
  • Adds ai_logger_handlers and ai_logger_processors filters to allow Monolog handlers and processors to be filtered.
  • Adds ai_logger()->to_post() and ai_logger()->to_term() methods for easily creating a logger with a post/term handler

Changed

  • Implements Psr\Log\LoggerInterface on the AI_Logger\AI_Logger class to allow the logger to support DI against the logger interface.
  • Moved to GitHub actions for continuous integration.
  • Switches to Mantle Framework for unit testing.

2.0.0

Added

  • Provides a helpful ai_logger() and maintains the existing ai_logger_insert hook for inserting global post logs.
  • Provides better log display interface and log meta box display for object-specific logs.

Changed

1.0.0

Initial release.