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

Update module github.com/sirupsen/logrus to v1.9.3 #55

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/sirupsen/logrus v1.3.0 -> v1.9.3 age adoption passing confidence

Release Notes

sirupsen/logrus (github.com/sirupsen/logrus)

v1.9.3

Compare Source

Full Changelog: sirupsen/logrus@v1.9.2...v1.9.3

v1.9.2

Compare Source

Full Changelog: sirupsen/logrus@v1.9.1...v1.9.2

v1.9.1

Compare Source

What's Changed

New Contributors

Full Changelog: sirupsen/logrus@v1.9.0...v1.9.1

v1.9.0

Compare Source

v1.8.3

Compare Source

What's Changed

New Contributors

Full Changelog: sirupsen/logrus@v1.8.2...v1.8.3

v1.8.2

Compare Source

What's Changed

New Contributors

Full Changelog: sirupsen/logrus@v1.8.1...v1.8.2

v1.8.1

Compare Source

v1.8.0

Compare Source

Correct versioning number replacing v1.7.1

v1.7.1

Compare Source

Code quality:

  • use go 1.15 in travis
  • use magefile as task runner

Fixes:

  • small fixes about new go 1.13 error formatting system
  • Fix for long time race condiction with mutating data hooks

Features:

  • build support for zos

v1.7.0: Add new BufferPool and LogFunction APIs

Compare Source

  • a new buffer pool management API has been added
  • a set of <LogLevel>Fn() functions have been added
  • the dependency toward a windows terminal library has been removed

v1.6.0

Compare Source

Release v1.6.0

v1.5.0

Compare Source

This new release introduces:

v1.4.2

Compare Source

v1.4.1

Compare Source

This new release introduces:

  • Enhance TextFormatter to not print caller information when they are empty (#​944)
  • Remove dependency on golang.org/x/crypto (#​932, #​943)

Fixes:

  • Fix Entry.WithContext method to return a copy of the initial entry (#​941)

v1.4.0

Compare Source

This new release introduces:

  • Add DeferExitHandler, similar to RegisterExitHandler but prepending the handler to the list of handlers (semantically like defer) (#​848).
  • Add CallerPrettyfier to JSONFormatter and `TextFormatter (#​909, #​911)
  • Add Entry.WithContext() and Entry.Context, to set a context on entries to be used e.g. in hooks (#​919).

Fixes:

  • Fix wrong method calls Logger.Print and Logger.Warningln (#​893).
  • Update Entry.Logf to not do string formatting unless the log level is enabled (#​903)
  • Fix infinite recursion on unknown Level.String() (#​907)
  • Fix race condition in getCaller (#​916).

Configuration

📅 Schedule: Branch creation - "* 0-12 * * 3" (UTC), 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.

Copy link
Author

renovate bot commented Dec 11, 2024

ℹ Artifact update notice

File name: tools/dleq-test-gen/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/tmthrgd/go-rand v0.0.0-20180829004326-9716d99b29d1 -> v0.0.0-20180829004326-9716d99b29d1
File name: tools/oprf-test-gen/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/tmthrgd/go-rand v0.0.0-20180829004326-9716d99b29d1 -> v0.0.0-20180829004326-9716d99b29d1

Copy link

[puLL-Merge] - sirupsen/[email protected]

Description

This PR implements several improvements and new features for the Logrus logging library. The main changes include updating CI configurations, adding new hooks, improving formatter functionality, and enhancing cross-platform support.

Possible Issues

  1. The removal of the github.com/konsorten/go-windows-terminal-sequences dependency might affect Windows users who rely on specific terminal behavior.
  2. Changes to the TextFormatter and JSONFormatter might require updates to existing logging configurations in projects using Logrus.

Security Hotspots

No significant security vulnerabilities were identified in this change.

Changes

Changes

  1. CI/CD:

    • Added GitHub Actions workflow for CI
    • Updated Travis CI configuration
    • Added Magefile for build tasks
  2. Hooks:

    • Added new writer hook for splitting log output
    • Improved syslog hook documentation
  3. Formatters:

    • Enhanced TextFormatter with new options (ForceQuote, DisableQuote, PadLevelText)
    • Added CallerPrettyfier to both TextFormatter and JSONFormatter
    • Improved HTML escaping in JSONFormatter
  4. Cross-platform support:

    • Refactored terminal detection for better cross-platform compatibility
    • Added support for ZOS and AIX
  5. API improvements:

    • Added LogFn family of functions for lazy evaluation of log messages
    • Implemented WithContext for adding context to log entries
    • Added SetBufferPool for custom buffer pool implementations
  6. Documentation:

    • Updated README with maintenance mode notice and alternatives
    • Added examples for new features
  7. Testing:

    • Added new tests for race conditions and edge cases
    • Improved existing tests for better coverage
sequenceDiagram
    participant User
    participant Logger
    participant Entry
    participant Formatter
    participant Hook
    participant Output

    User->>Logger: Log message
    Logger->>Entry: Create entry
    Entry->>Hook: Fire hooks
    Entry->>Formatter: Format entry
    Formatter-->>Entry: Formatted message
    Entry->>Output: Write formatted message
    Output-->>Logger: Confirmation
    Logger-->>User: Log complete
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants