t1gor / Robots.txt-Parser-Class

Php class for robots.txt parse
MIT License
83 stars 31 forks source link

Bump monolog/monolog from 2.3.5 to 2.8.0 #107

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps monolog/monolog from 2.3.5 to 2.8.0.

Release notes

Sourced from monolog/monolog's releases.

2.8.0

  • Deprecated CubeHandler and PHPConsoleHandler as both projects are abandoned and those should not be used anymore (#1734)
  • Added RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord to increase interoperability (#1723)
  • Added support for __toString for objects which are not json serializable in JsonFormatter (#1733)
  • Added GoogleCloudLoggingFormatter (#1719)
  • Added support for Predis 2.x (#1732)
  • Added AmqpHandler->setExtraAttributes to allow configuring attributes when using an AMQPExchange (#1724)
  • Fixed serialization/unserialization of handlers to make sure private properties are included (#1727)
  • Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing \n or \r sequences (#1720)
  • Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions (#1726)
  • Fixed PHP 8.2 deprecation warnings (#1722)
  • Fixed rare race condition or filesystem issue where StreamHandler is unable to create the directory the log should go into yet it exists already (#1678)

2.7.0

  • Added $datetime parameter to Logger::addRecord as low level API to allow logging into the past or future (#1682)
  • Added Logger::useLoggingLoopDetection to allow disabling cyclic logging detection in concurrent frameworks (#1681)
  • Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler (#1670)
  • Marked the reusable Monolog\Test\TestCase class as @internal to make sure PHPStorm does not show it above PHPUnit, you may still use it to test your own handlers/etc though (#1677)
  • Fixed RotatingFileHandler issue when the date format contained slashes (#1671)

2.6.0

  • Deprecated SwiftMailerHandler, use SymfonyMailerHandler instead
  • Added SymfonyMailerHandler (#1663)
  • Added ElasticSearch 8.x support to the ElasticsearchHandler (#1662)
  • Added a way to filter/modify stack traces in LineFormatter (#1665)
  • Fixed UdpSocket not being able to reopen/reconnect after close()
  • Fixed infinite loops if a Handler is triggering logging while handling log records

2.5.0

  • Added callType to IntrospectionProcessor (#1612)
  • Fixed AsMonologProcessor syntax to be compatible with PHP 7.2 (#1651)

Full Changelog: https://github.com/Seldaek/monolog/compare/2.4.0...2.5.0

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.8.0 (2022-07-24)

  • Deprecated CubeHandler and PHPConsoleHandler as both projects are abandoned and those should not be used anymore (#1734)
  • Added RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord to increase interoperability (#1723)
  • Added support for __toString for objects which are not json serializable in JsonFormatter (#1733)
  • Added GoogleCloudLoggingFormatter (#1719)
  • Added support for Predis 2.x (#1732)
  • Added AmqpHandler->setExtraAttributes to allow configuring attributes when using an AMQPExchange (#1724)
  • Fixed serialization/unserialization of handlers to make sure private properties are included (#1727)
  • Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing \n or \r sequences (#1720)
  • Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions (#1726)
  • Fixed PHP 8.2 deprecation warnings (#1722)
  • Fixed rare race condition or filesystem issue where StreamHandler is unable to create the directory the log should go into yet it exists already (#1678)

2.7.0 (2022-06-09)

  • Added $datetime parameter to Logger::addRecord as low level API to allow logging into the past or future (#1682)
  • Added Logger::useLoggingLoopDetection to allow disabling cyclic logging detection in concurrent frameworks (#1681)
  • Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler (#1670)
  • Marked the reusable Monolog\Test\TestCase class as @internal to make sure PHPStorm does not show it above PHPUnit, you may still use it to test your own handlers/etc though (#1677)
  • Fixed RotatingFileHandler issue when the date format contained slashes (#1671)

2.6.0 (2022-05-10)

  • Deprecated SwiftMailerHandler, use SymfonyMailerHandler instead
  • Added SymfonyMailerHandler (#1663)
  • Added ElasticSearch 8.x support to the ElasticsearchHandler (#1662)
  • Added a way to filter/modify stack traces in LineFormatter (#1665)
  • Fixed UdpSocket not being able to reopen/reconnect after close()
  • Fixed infinite loops if a Handler is triggering logging while handling log records

2.5.0 (2022-04-08)

  • Added callType to IntrospectionProcessor (#1612)
  • Fixed AsMonologProcessor syntax to be compatible with PHP 7.2 (#1651)

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
  • 7204886 Update changelog
  • 4b4fad9 Fix serialization to include private properties, fixes #1727, fixes phpro/gru...
  • ffd5055 Add RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord, fix...
  • 320909a Fix replaceNewlines method to avoid replacing escaped backslashes, closes #17...
  • cf0f4b3 Handle __toString to serialize objects which are not json-serializable in Jso...
  • 284482a More test fixes
  • 1e6a4e1 Remove deprecated handlers from docs
  • 34635fd Add docs
  • 6fdeea4 Fix build
  • 9c1fb56 Deprecate CubeHandler and PHPConsoleHandler which are targetting abandoned pr...
  • 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)
codecov[bot] commented 2 years ago

Codecov Report

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

@@             Coverage Diff              @@
##             master     #107      +/-   ##
============================================
- 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%) :arrow_down:
source/Parser/Url.php 48.27% <0.00%> (-1.73%) :arrow_down:
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%) :arrow_up:
source/Stream/GeneratorBasedReader.php 81.63% <0.00%> (+0.86%) :arrow_up:
...Parser/DirectiveProcessors/CacheDelayProcessor.php 20.00% <0.00%> (+1.81%) :arrow_up:
source/Parser/TreeBuilder.php 82.14% <0.00%> (+2.83%) :arrow_up:
... 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...f9b77db. Read the comment docs.

dependabot[bot] commented 1 year ago

Superseded by #115.