Skip to content

Releases: phpnexus/cwh

New release v3.2.0

02 Feb 03:25

Choose a tag to compare

Improvements

  • Add PSR-6 Cache support for log group and stream initialization (PR #6) - thank you @Ostico

New release v3.1.4

07 Aug 09:18

Choose a tag to compare

Fixes

  • Fix type in docblock for $level in constructor, for compatibility with static analysis tools (Bug #5) - thank you @SiMoSiMo2

New release v3.1.3

17 Jun 01:21

Choose a tag to compare

Fixes

  • Increase log event size to 1MB, to match new size allowed by AWS as of April 2025 (PR #4) - thank you @KentarouTakeda

Improvements

  • Increased test coverage

New release v3.1.2

02 Aug 10:12

Choose a tag to compare

Fixes

  • Update default quota on AWS for DescribeLogGroups and DescribeLogStreams in the README

New release v3.1.1

06 Feb 09:12
77d8a25

Choose a tag to compare

Fixes

  • Restore ability to use null for the log retention setting, as per the example in the README (#2)

New release v3.1.0

22 Jun 05:46

Choose a tag to compare

Changed features

  • Remove sequence token for PutLogEvents, as this is no longer required by AWS CloudWatch Logs (maxbanton/cwh#115)

New features

  • Add option $createStream
    Enabled by default for compatibility. Set to false to disable creating log streams automatically. This will also remove the need to call DescribeLogStreams, which has a limit of 5 requests per second per account per region. Please check the latest README.md for updated AWS IAM permission samples.

  • Add option $rpsLimit
    Disabled by default for compatibility. Allows setting a per-second rate limit for PutLogEvents, which is useful for long running CLI scripts when setting a low $batchSize.

New release v3.0.0

26 May 08:00

Choose a tag to compare

After a couple of weeks of testing as a pre-release, the feature/php-8.1 branch seems stable, so I am releasing as v3.0.0.

For those who previously used the maxbanton/cwh repository with Monolog v2 and would like Monolog v3 and PHP 8.1 support, please try this release.

To install, simply run:

composer require phpnexus/cwh

Thank you!

Merge of feature/php-8.1

12 May 16:45

Choose a tag to compare

Pre-release

The original repository no longer seems to be maintained, so I've created this fork from the original maxbanton/cwh repository and merged the existing feature/php-8.1 branch. This provides compatibility with version 3 of Seldaek/monolog and naturally requires php >= 8.1.

After a minor fix it seems to work fine, but I've still marked this release as pre-release until I can run this in a production environment next week.

For anyone who'd like to try it out, please feel free to add to your composer.json require section as:

"phpnexus/cwh": "^v3.0.0-RC1@dev"

Note: by default the usual composer require command doesn't allow installation of packages not marked as "stable", hence the need to add directly to composer.json.