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/rs/zerolog to v1.33.0 #272

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/rs/zerolog v1.32.0 -> v1.33.0 age adoption passing confidence

Release Notes

rs/zerolog (github.com/rs/zerolog)

v1.33.0

Compare Source


Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 2 times, most recently from 8b17722 to 7e058f3 Compare June 14, 2024 08:47
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 4 times, most recently from f8aa22e to b9c1d58 Compare July 3, 2024 11:51
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 3 times, most recently from e151131 to f18cbfc Compare July 17, 2024 08:03
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 4 times, most recently from e003d9e to 515a8dd Compare August 21, 2024 15:34
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from 515a8dd to f54e03f Compare October 5, 2024 11:59
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from f54e03f to 61ec42a Compare October 13, 2024 13:35
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from 61ec42a to f80fb32 Compare October 21, 2024 10:14
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 2 times, most recently from 395e1d7 to 83c1b01 Compare October 30, 2024 12:17
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from 83c1b01 to 9d2760a Compare December 12, 2024 20:12
Copy link

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

Description

This PR updates several aspects of the zerolog library, including GitHub Actions versions, documentation changes, and various code improvements. The changes span across multiple files, enhancing functionality, fixing issues, and improving performance.

Changes

Changes

  1. .github/workflows/test.yml:

    • Updated GitHub Actions versions for setup-go and cache.
  2. README.md:

    • Updated documentation, including changes to default log level and added new configuration options.
  3. array.go:

    • Modified float and duration appending to use new precision parameter.
  4. cmd/prettylog/prettylog.go:

    • Added time format customization options.
  5. console.go:

    • Enhanced console writer with new formatting options and improved level handling.
  6. context.go:

    • Updated float and duration appending to use new precision parameter.
    • Added a Reset() method to Context.
  7. encoder.go:

    • Updated method signatures to include precision parameter.
  8. event.go:

    • Updated float and duration appending to use new precision parameter.
  9. fields.go:

    • Updated float and duration appending to use new precision parameter.
  10. globals.go:

    • Added FloatingPointPrecision global variable.
    • Modified InterfaceMarshalFunc to disable HTML escaping.
  11. internal/cbor/* and internal/json/*:

    • Updated float handling and added precision parameter.
    • Added fuzz tests for float encoding.
  12. log_test.go:

    • Added new tests for Context Reset() and HTML escaping.
  13. sampler.go:

    • Changed time.Now() to TimestampFunc() for consistency.
sequenceDiagram
    participant User
    participant Logger
    participant ConsoleWriter
    participant Encoder

    User->>Logger: Log event
    Logger->>ConsoleWriter: Format event
    ConsoleWriter->>Encoder: Encode fields
    Encoder-->>ConsoleWriter: Encoded data
    ConsoleWriter-->>Logger: Formatted output
    Logger-->>User: Log message
Loading

Possible Issues

  • The change in default log level from debug to trace in README.md might affect existing implementations relying on the previous behavior.

Security Hotspots

No significant security issues were identified in this PR.

@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 5 times, most recently from 2271c0c to fd777ac Compare December 12, 2024 20:50
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from fd777ac to de1e5a9 Compare December 12, 2024 20:53
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