Skip to content

Bump monolog/monolog from 2.3.5 to 2.4.0#101

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/monolog/monolog-2.4.0
Closed

Bump monolog/monolog from 2.3.5 to 2.4.0#101
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/monolog/monolog-2.4.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2022

Bumps monolog/monolog from 2.3.5 to 2.4.0.

Release notes

Sourced from monolog/monolog's releases.

2.4.0

  • Added Monolog\LogRecord interface that can be used to type-hint records like array|\Monolog\LogRecord $record to be forward compatible with the upcoming Monolog 3 changes
  • Added includeStacktraces constructor params to LineFormatter & JsonFormatter (#1603)
  • Added persistent, timeout, writingTimeout, connectionTimeout, chunkSize constructor params to SocketHandler and derivatives (#1600)
  • Added AsMonologProcessor PHP attribute which can help autowiring / autoconfiguration of processors if frameworks / integrations decide to make use of it. This is useless when used purely with Monolog (#1637)
  • Added support for keeping native BSON types as is in MongoDBFormatter (#1620)
  • Added support for a user_agent key in WebProcessor, disabled by default but you can use it by configuring the $extraFields you want (#1613)
  • Added support for username/userIcon in SlackWebhookHandler (#1617)
  • Added extension points to BrowserConsoleHandler (#1593)
  • Added record message/context/extra info to exceptions thrown when a StreamHandler cannot open its stream to avoid completely losing the data logged (#1630)
  • Fixed error handler signature to accept a null $context which happens with internal PHP errors (#1614)
  • Fixed a few setter methods not returning self (#1609)
  • Fixed handling of records going over the max Telegram message length (#1616)
Changelog

Sourced from monolog/monolog's changelog.

2.4.0 (2022-03-14)

  • Added Monolog\LogRecord interface that can be used to type-hint records like array|\Monolog\LogRecord $record to be forward compatible with the upcoming Monolog 3 changes
  • Added includeStacktraces constructor params to LineFormatter & JsonFormatter (#1603)
  • Added persistent, timeout, writingTimeout, connectionTimeout, chunkSize constructor params to SocketHandler and derivatives (#1600)
  • Added AsMonologProcessor PHP attribute which can help autowiring / autoconfiguration of processors if frameworks / integrations decide to make use of it. This is useless when used purely with Monolog (#1637)
  • Added support for keeping native BSON types as is in MongoDBFormatter (#1620)
  • Added support for a user_agent key in WebProcessor, disabled by default but you can use it by configuring the $extraFields you want (#1613)
  • Added support for username/userIcon in SlackWebhookHandler (#1617)
  • Added extension points to BrowserConsoleHandler (#1593)
  • Added record message/context/extra info to exceptions thrown when a StreamHandler cannot open its stream to avoid completely losing the data logged (#1630)
  • Fixed error handler signature to accept a null $context which happens with internal PHP errors (#1614)
  • Fixed a few setter methods not returning self (#1609)
  • Fixed handling of records going over the max Telegram message length (#1616)
Commits
  • d7fd745 Update changelog
  • 330b80c One day I will learn
  • f1f2e3e Fix fix
  • b886d70 Fixes
  • c02d86f Include record message/context/extra data when throwing an exception because ...
  • e289293 PHPStan fixes
  • 4b22d38 Expand rollbar supported versions
  • f764bbd Add includeStacktraces constructor parameter to LineFormatter & JsonFormatter...
  • 93369fd Add LogRecord interface for forward compatibility
  • 67100e7 Update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [monolog/monolog](https://github.com/Seldaek/monolog) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/Seldaek/monolog/releases)
- [Changelog](https://github.com/Seldaek/monolog/blob/main/CHANGELOG.md)
- [Commits](Seldaek/monolog@2.3.5...2.4.0)

---
updated-dependencies:
- dependency-name: monolog/monolog
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 21, 2022
@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #101 (fe2a74b) into master (531095e) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #101      +/-   ##
============================================
- Coverage     71.86%   71.48%   -0.39%     
  Complexity      230      230              
============================================
  Files            25       25              
  Lines           583      547      -36     
============================================
- Hits            419      391      -28     
+ Misses          164      156       -8     
Impacted Files Coverage Δ
source/Directive.php 60.00% <0.00%> (-12.42%) ⬇️
source/Parser/Url.php 48.27% <0.00%> (-1.73%) ⬇️
source/Stream/Filters/SkipEmptyLinesFilter.php 100.00% <0.00%> (ø)
...ource/Parser/DirectiveProcessors/HostProcessor.php 100.00% <0.00%> (ø)
...ce/Parser/DirectiveProcessors/SitemapProcessor.php 100.00% <0.00%> (ø)
...Parser/DirectiveProcessors/CrawlDelayProcessor.php 100.00% <0.00%> (ø)
source/RobotsTxtParser.php 57.01% <0.00%> (+0.49%) ⬆️
source/Stream/GeneratorBasedReader.php 81.63% <0.00%> (+0.86%) ⬆️
...Parser/DirectiveProcessors/CacheDelayProcessor.php 20.00% <0.00%> (+1.81%) ⬆️
source/Parser/TreeBuilder.php 82.14% <0.00%> (+2.83%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 531095e...fe2a74b. Read the comment docs.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2022

Superseded by #103.

@dependabot dependabot bot closed this Apr 11, 2022
@dependabot dependabot bot deleted the dependabot/composer/monolog/monolog-2.4.0 branch April 11, 2022 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants