Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency monolog/monolog to v3 #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 2, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
monolog/monolog ^2.3.5 -> ^3.8.1 age adoption passing confidence

Release Notes

Seldaek/monolog (monolog/monolog)

v3.8.1

Compare Source

  • Deprecated Monolog\DateTimeImmutable in favor of Monolog\JsonSerializableDateTimeImmutable (#​1928)
    • Fixed gelf keys not being valid when context/extra data keys have spaces in them (#​1927)
    • Fixed empty lines appearing in the stack traces when a custom formatter returned null (#​1925)

v3.8.0

Compare Source

  • Added $fileOpenMode param to StreamHandler to define a custom fopen mode to open the log file (#​1913)
    • Fixed PHP 8.4 deprecation notices (#​1903)
    • Added ability to extend/override IntrospectionProcessor (#​1899)
    • Added $timeout param to ProcessHandler to configure the stream_select() timeout to avoid blocking too long (default is 1.0 sec) (#​1916)
    • Fixed JsonFormatter batch handling to normalize records individually to make sure they look the same as if they were handled one by one (#​1906)
    • Fixed StreamHandler handling of write failures so that it now closes/reopens the stream and retries the write once before failing (#​1882)
    • Fixed StreamHandler error handler causing issues if a stream handler triggers an error (#​1866)
    • Fixed StreamHandler::reset not closing the stream, so that it would fail to write in some cases with long running processes (#​1862)
    • Fixed RotatingFileHandler issue where rotation does not happen in some long running processes (#​1905)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed RotatingFileHandler bug where rotation could sometimes not happen correctly (#​1905)

v3.7.0

Compare Source

  • Added NormalizerFormatter->setBasePath(...) (and JsonFormatter by extension) that allows removing the project's path from the stack trace output (47e301d)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed private error handlers causing problems with custom StreamHandler implementations (#​1866)

v3.6.0

Compare Source

  • Added LineFormatter->setBasePath(...) that allows removing the project's path from the stack trace output (#​1873)
    • Added $includeExtra option in PsrHandler to also use extra data to replace placeholder values in the message (#​1852)
    • Added ability to customize what is a duplicated message by extending the DeduplicationHandler (#​1879)
    • Added handling for using GelfMessageFormatter together with the AmqpHandler (#​1869)
    • Added ability to extend GoogleCloudLoggingFormatter (#​1859)
    • Fixed __toString failures in context data crashing the normalization process (#​1868)
    • Fixed PHP 8.4 deprecation warnings (#​1874)

v3.5.0

Compare Source

  • Added ability to indent stack traces in LineFormatter via e.g. indentStacktraces(' ') (#​1835)
    • Added ability to configure a max level name length in LineFormatter via e.g. setMaxLevelNameLength(3) (#​1850)
    • Added support for indexed arrays (i.e. [] and not {} arrays once json serialized) containing inline linebreaks in LineFormatter (#​1818)
    • Added WithMonologChannel attribute for integrators to use to configure autowiring (#​1847)
    • Fixed log record extra data leaking between handlers that have handler-specific processors set (#​1819)
    • Fixed LogglyHandler issue with record level filtering (#​1841)
    • Fixed display_errors parsing in ErrorHandler which did not support string values (#​1804)
    • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#​1815)
    • Fixed normalization error when normalizing incomplete classes (#​1833)

v3.4.0

Compare Source

  • Added LoadAverageProcessor to track one of the 1, 5 or 15min load averages (#​1803)
    • Added support for priority to the AsMonologProcessor attribute (#​1797)
    • Added TelegramBotHandler topic/message_thread_id support (#​1802)
    • Fixed FingersCrossedHandler passthruLevel checking (#​1801)
    • Fixed support of yearly and monthly rotation log file to rotate only once a month/year (#​1805)
    • Fixed TestHandler method docs (#​1794)
    • Fixed handling of falsey display_errors string values (#​1804)

v3.3.1

Compare Source

  • Fixed Logger not being serializable anymore (#​1792)

v3.3.0

Compare Source

  • Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown (#​1748)
    • Added ClosureContextProcessor to allow delaying the creation of context data by setting a Closure in context which is called when the log record is used (#​1745)
    • Added an ElasticsearchHandler option to set the op_type to create instead of the default index (#​1766)
    • Added support for enum context values in PsrLogMessageProcessor (#​1773)
    • Added graylog2/gelf-php 2.x support (#​1747)
    • Improved BrowserConsoleHandler logging to use more appropriate methods than just console.log in the browser (#​1739)
    • Fixed GitProcessor not filtering correctly based on Level (#​1749)
    • Fixed WhatFailureGroupHandler not catching errors happening inside close() (#​1791)
    • Fixed datetime field in GoogleCloudLoggingFormatter (#​1758)
    • Fixed infinite loop detection within Fibers (#​1753)
    • Fixed AmqpHandler->setExtraAttributes not working with buffering handler wrappers (#​1781)

v3.2.0

Compare Source

  • Deprecated CubeHandler and PHPConsoleHandler as both projects are abandoned and those should not be used anymore (#​1734)
    • Marked Logger @final as it should not be extended, prefer composition or talk to us if you are missing something
    • Added RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord to increase interoperability (#​1723)
    • Added SyslogFormatter to output syslog-like files which can be consumed by tools like lnav (#​1689)
    • 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)

v3.1.0

Compare Source

  • 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)
    • Fixed interop issue by removing the need for a return type in ProcessorInterface (#​1680)
    • 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)

v3.0.0

Compare Source

Changes from RC1

  • The Monolog\LevelName enum does not exist anymore, use Monolog\Level->getName() instead.

v2.10.0

Compare Source

  • Added $fileOpenMode to StreamHandler to define a custom fopen mode to open the log file (#​1913)
    • Fixed StreamHandler handling of write failures so that it now closes/reopens the stream and retries the write once before failing (#​1882)
    • Fixed StreamHandler error handler causing issues if a stream handler triggers an error (#​1866)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed RotatingFileHandler bug where rotation could sometimes not happen correctly (#​1905)

v2.9.3

Compare Source

  • Fixed PHP 8.4 deprecation warnings (#​1874)

v2.9.2

Compare Source

  • Fixed display_errors parsing in ErrorHandler which did not support string values (#​1804)
    • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#​1815)
    • Fixed normalization error when normalizing incomplete classes (#​1833)

v2.9.1

Compare Source

  • Fixed Logger not being serializable anymore (#​1792)

v2.9.0

Compare Source

  • Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown (#​1748)
    • Added support for enum context values in PsrLogMessageProcessor (#​1773)
    • Added graylog2/gelf-php 2.x support (#​1747)
    • Improved BrowserConsoleHandler logging to use more appropriate methods than just console.log in the browser (#​1739)
    • Fixed WhatFailureGroupHandler not catching errors happening inside close() (#​1791)
    • Fixed datetime field in GoogleCloudLoggingFormatter (#​1758)
    • Fixed infinite loop detection within Fibers (#​1753)
    • Fixed AmqpHandler->setExtraAttributes not working with buffering handler wrappers (#​1781)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Author

renovate bot commented Aug 2, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: drupal/composer.lock
Command failed: composer update monolog/monolog:3.6.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires monolog/monolog ^3.6.0 -> satisfiable by monolog/monolog[3.6.0].
    - monolog/monolog 3.6.0 requires php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from 823d8cb to f049130 Compare September 10, 2022 04:57
@renovate renovate bot changed the title Update dependency monolog/monolog to v3 chore(deps): update dependency monolog/monolog to v3 Sep 10, 2022
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from f049130 to 421c5dd Compare November 20, 2022 14:15
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from 421c5dd to b8c13dd Compare March 16, 2023 11:39
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from b8c13dd to e0cea45 Compare June 22, 2023 23:20
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from e0cea45 to f280381 Compare October 28, 2023 06:02
@coderabbitai
Copy link

coderabbitai bot commented Oct 28, 2023

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from f280381 to 2c81a5a Compare April 13, 2024 05:52
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from 2c81a5a to 5f4aa0d Compare June 29, 2024 05:44
Copy link
Author

renovate bot commented Jun 29, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: drupal/composer.lock
Command failed: composer update monolog/monolog:3.8.1 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires monolog/monolog ^3.8.1 -> satisfiable by monolog/monolog[3.8.1].
    - monolog/monolog 3.8.1 requires php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from 5f4aa0d to afe465b Compare November 13, 2024 17:58
@renovate renovate bot force-pushed the renovate/monolog-monolog-3.x branch from afe465b to 077532a Compare December 6, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants