Skip to content

Tags: maxbanton/cwh

Tags

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v3.0.0 — PHP 8.1 + Monolog 3 modernization (#132)

* Bump PHP min to 8.1 and Monolog to 3.0

* Modernize CloudWatch handler for PHP 8.1 and Monolog 3

- write() now takes Monolog\LogRecord (was array)
- Constructor promotion + readonly properties; full type coverage
- $level accepts int|string|Monolog\Level (default Level::Debug)
- New $createStream argument (10th, default true) — set false to skip
  DescribeLogStreams + CreateLogStream when the stream is provisioned
  out of band; lets users drop those IAM permissions
- PHPUnit config migrated to 10.x schema

* Switch lint to PSR-12 and add phpstan to CI matrix

* Update README, CHANGELOG, and CONTRIBUTING for 3.0

* Loosen aws/aws-sdk-php constraint to ^3.0

* Set 3.0.0 release date in CHANGELOG

v2.1.0

Toggle v2.1.0's commit message
AWS API alignment, Docker dev env, contributor PRs (#130)

v2.0.4

Toggle v2.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revert "Allow Monolog 3 (#106)" (#110)

This reverts commit dcd2249.

v2.0.3

Toggle v2.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update php.yml

v2.0.2

Toggle v2.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow PHP ^8 and PHPUnit ^9.4 (#91)

* Allow PHP ^8 and PHPUnit ^9.4

* Update composer.json

* Update composer.json

* Update composer.json

* Update composer.json

Co-authored-by: Max Leonov <maxbanton@users.noreply.github.com>

v2.0.1

Toggle v2.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update composer.json

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
PHP7 + Monolog 2 (#78)

* Dependencies updated + composer.lock removed + GH Actions skeleton

* Removed .travis.yml

* Fix

* PHP 7

* Fix

* mbstring extension

* Test failed test

* Fix

* Added coveralls

* Fix

* Run only on push

* Up

* Up

* Optimize composer autoload

* Cosmetic

* Readme update

* Cosmetic

* Order changed

* issue template removed

v1.1.14

Toggle v1.1.14's commit message
Added option to disable creating the log group (#75)

* Added option to disable creating the log group

* Move create group option to constructor

* Move paragraph to relevant section in README

v1.1.13

Toggle v1.1.13's commit message
Sort log entries chronologically before calling PutLogEvents. (#70)

See issues #32 and #69 for more context.

v1.1.12

Toggle v1.1.12's commit message
Do not overshadow errors thrown by DescribeLogGroups. (#68)

If DescribeLogGroups throws an error (e.g. AccessDeniedException), the retry logic
will still call DescribeLogStreams, which will also fail, either with
AccessDeniedException, or, more confusingly, with "The specified log group
does not exist." if the log group has never been created.

This change makes sure that the original error is thrown.