All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.7.0 - 2026-03-06
- Restructured as Composer monorepo with 5 packages under
packages/* - Unified test suite with PHPUnit 10.5 (265 tests, 570 assertions)
- PHPStan level 8 static analysis across all packages
- PSR-12 code style enforcement with PHP_CodeSniffer
LogtideSdk- static entry point for SDK initializationClientBuilder- fluent client construction with sensible defaultsClient- capture logs, errors, breadcrumbs, and spansHub- global singleton for convenient access across your appScope- per-request context isolation with tags, extras, and breadcrumbsBatchTransport- automatic batching with retry logic and circuit breakerHttpTransportandOtlpHttpTransportfor log and span deliveryCurlHttpClientandGuzzleHttpClientHTTP client implementations- DSN parsing, error serialization, trace ID generation
- W3C Trace Context (
traceparent) propagation - Breadcrumb buffer with configurable max size
- Monolog handlers:
LogtideHandlerandBreadcrumbHandler - PSR-15 middleware for generic HTTP request tracing
- Global helper functions (
\LogTide\init(),\LogTide\captureException(), etc.) - Built-in integrations: Request, Environment, ExceptionListener, ErrorListener, FatalErrorListener
LogtideServiceProviderwith auto-discovery and publishable configLogtideMiddlewarefor automatic request tracingLogChannelfor Laravel logging integrationLogtideFacadefor static access- Breadcrumb integrations: DB queries, cache operations, queue jobs
LogtideBundlewith DI extension and semantic configurationRequestSubscriberfor automatic HTTP request tracingConsoleSubscriberfor CLI command tracingSymfonyIntegrationandDoctrineIntegrationfor breadcrumbs
LogtideMiddleware- PSR-15 middleware for request tracingLogtideErrorMiddleware- error capture with full request context- Automatic route pattern resolution from Slim routing
LogtideWordPress- static initializer with WordPress hook registration- Lifecycle hooks:
wp_loaded,shutdown,wp_die_handler,wp_redirect,wp_mail WordPressIntegration- PHP error handler integrationDatabaseIntegration- slow query breadcrumbs via$wpdbHttpApiIntegration- outgoing HTTP request breadcrumbs- Multisite support (blog switch tracking, plugin activation/deactivation)
- GitHub Actions CI: PHPUnit tests, PHPStan, PHPCS on push/PR to
main/develop - GitHub Actions publish: Packagist publish on tag
v*.*.*or manual dispatch - PHP version matrix: 8.1, 8.2, 8.3, 8.4
- Branch model:
develop→main, hotfix directly tomain
- README for every package with badges, quick start, API reference
- Root README with package table, architecture diagram, development guide
- Contributing guide, Code of Conduct, Changelog
- Branch protection documentation (
.github/BRANCH_PROTECTION.md)
0.1.0 - 2026-01-13
- Initial release of LogTide PHP SDK
- Automatic batching with configurable size and interval
- Retry logic with exponential backoff
- Circuit breaker pattern for fault tolerance
- Max buffer size with drop policy
- Query API for searching and filtering logs
- Live tail with Server-Sent Events (SSE)
- Aggregated statistics API
- Trace ID context for distributed tracing
- Global metadata support
- Structured error serialization
- Internal metrics tracking
- Logging methods: debug, info, warn, error, critical
- Laravel middleware for auto-logging HTTP requests
- Symfony event subscriber for auto-logging HTTP requests
- PSR-15 middleware for Slim, Mezzio, and other frameworks
- Full PHP 8.1+ support with strict types and enums