NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1544 most downloaded on Packagist
AWS CloudWatch Handler for Monolog library
Last release 5 months ago
03 May 2026
Ships unpredictably
gaps range from 9 days to 3.5 years
Rarely documented
notes for 2 of 26 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
26 releases · first in 2016
$createStream constructor argument (10th, default true). Set to false to skip DescribeLogStreams + CreateLogStream when the log stream is provisioned
$createStream constructor argument (10th, default true). Set to false to skip DescribeLogStreams + CreateLogStream when the log stream is provisioned out of band (e.g. via Terraform). Lets users drop the matching IAM permissions.readonly for immutable state).phpstan (level 8) runs in CI alongside lint and tests.^10.5 || ^11.0.^8.1.^3.0.Monolog\Logger::DEBUG (or other level constant) usage with Monolog\Level::Debug. The $level constructor argument continues to accept int|string|Level so string values like 'debug' keep working.!php/const Monolog\Logger::WARNING must change to !php/const Monolog\Level::Warning.protected function write(array $record): void must update the signature to protected function write(\Monolog\LogRecord $record): void and access fields via ->property instead of ['key'].arguments: lists and Laravel with/handler_with named-key configs continue to work after the platform upgrades above.One column per quarter.
sequenceToken tracking. AWS deprecated this parameter in August 2023 — PutLogEvents ignores it server-side and never throws InvalidSequenceTokenExcept…
flush() method for long-lived workers (Laravel queues, Symfony messenger, PHP-FPM with persistent state). The handler's reset() is also overridden to flush, integrating with Symfony ResettableInterface and Laravel Octane's FlushMonologState. (#95, thanks @DrLuke for #102)CredentialProvider::memoize(). (#103)make build, make test, make matrix) running against PHP 8.2 / 8.3 / 8.4 / 8.5.actions/checkout and actions/upload-artifact (both official) are used..gitattributes excludes dev files from the Composer dist tarball; composer require maxbanton/cwh now ships only LICENSE, README.md, composer.json, and src/Handler/CloudWatch.php (~57% smaller).EVENT_SIZE_LIMIT raised from 256 KB to 1 MB (1,048,550 bytes) to match the current AWS PutLogEvents quota. Messages between 256 KB and 1 MB are now shipped as a single CloudWatch event instead of split. (#101)RPS_LIMIT self-throttle (5 RPS). The library no longer sleeps to artificially cap PutLogEvents calls — the AWS quota is 5,000 TPS per account/region (1000× higher), and the AWS SDK's retry middleware handles real throttling automatically. (#111, #114)sequenceToken tracking. AWS deprecated this parameter in August 2023 — PutLogEvents ignores it server-side and never throws InvalidSequenceTokenException or DataAlreadyAcceptedException anymore. (thanks @a10waveracer for #115)CloudWatchLogsException loop in flushBuffer() (it existed solely to refresh the sequence token, which no longer matters).checkThrottle() had a latent bug — $current->diff($savedTime)->s reads only the seconds component of a DateInterval, misbehaving across minute boundaries. Fixed by removing the method entirely (see "Removed" above).flush() and overrides reset() to flush. Existing constructor and method signatures are unchanged; existing ^2.0 pins continue to work without modification.^7.2 || ^8 / monolog/monolog: ^2.0). CI tests PHP 8.2 – 8.5; no code paths require newer PHP.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →