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 from f18cbfc to d943cbd Compare August 21, 2024 15:20
Copy link

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

Description

This PR makes several improvements and updates to the zerolog library, including updating GitHub Actions, refining log level behavior, enhancing floating-point precision control, and improving the prettylog command.

Changes

Changes

  1. .github/workflows/test.yml:

    • Updated GitHub Actions versions:
      • actions/setup-go from v4 to v5
      • actions/cache from v3 to v4
  2. README.md:

    • Changed default log level for log.Print from debug to trace
    • Updated CallerMarshalFunc example to use filepath.Base
    • Added documentation for new FloatingPointPrecision setting
  3. array.go:

    • Modified Float32, Float64, and Dur methods to use FloatingPointPrecision
  4. cmd/prettylog/prettylog.go:

    • Added command-line flag for time format selection
    • Improved error handling and file processing
  5. console.go:

    • Added TimeLocation field to ConsoleWriter struct
    • Implemented FieldsOrder for controlling the order of contextual fields
    • Improved level formatting and time localization
  6. console_test.go:

    • Added tests for new features and edge cases
  7. context.go:

    • Updated float and duration methods to use FloatingPointPrecision
    • Added Reset method to Context
  8. encoder.go:

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

    • Updated float and duration methods to use FloatingPointPrecision
  10. fields.go:

    • Updated float and duration encoding to use FloatingPointPrecision
  11. globals.go:

    • Added FloatingPointPrecision global variable
    • Modified InterfaceMarshalFunc to disable HTML escaping
  12. internal/json/time.go and internal/json/types.go:

    • Implemented precision control for float formatting
    • Improved float formatting to match ES6 number to string conversion
  13. log_test.go:

    • Added test for Reset method and HTML non-escaping
  14. sampler.go:

    • Changed time.Now() to TimestampFunc()

Possible Issues

  1. The change in default log level from debug to trace might affect existing applications that rely on the previous behavior.
  2. The modification of float formatting might lead to slight differences in output for some edge cases.

Security Hotspots

None identified. The changes appear to be focused on performance improvements and feature enhancements rather than security-related modifications.

@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch 3 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 from f80fb32 to 395e1d7 Compare October 30, 2024 12:14
@renovate renovate bot force-pushed the renovate/github.com-rs-zerolog-1.x branch from 395e1d7 to 83c1b01 Compare October 30, 2024 12:17
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