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

fix(deps): update module go.uber.org/zap to v1.27.0 #191

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.uber.org/zap v1.15.0 -> v1.27.0 age adoption passing confidence

Release Notes

uber-go/zap (go.uber.org/zap)

v1.27.0

Compare Source

Enhancements:

  • #​1378: Add WithLazy method for SugaredLogger.
  • #​1399: zaptest: Add NewTestingWriter for customizing TestingWriter with more flexibility than NewLogger.
  • #​1406: Add Log, Logw, Logln methods for SugaredLogger.
  • #​1416: Add WithPanicHook option for testing panic logs.

Thanks to @​defval, @​dimmo, @​arxeiss, and @​MKrupauskas for their contributions to this release.

v1.26.0

Compare Source

Enhancements:

  • #​1297: Add Dict as a Field.
  • #​1319: Add WithLazy method to Logger which lazily evaluates the structured
    context.
  • #​1350: String encoding is much (~50%) faster now.

Thanks to @​hhk7734, @​jquirke, @​cdvr1993 for their contributions to this release.

v1.25.0

Compare Source

This release contains several improvements including performance, API additions,
and two new experimental packages whose APIs are unstable and may change in the
future.

Enhancements:

  • #​1246: Add zap/exp/zapslog package for integration with slog.
  • #​1273: Add Name to Logger which returns the Logger's name if one is set.
  • #​1281: Add zap/exp/expfield package which contains helper methods
    Str and Strs for constructing String-like zap.Fields.
  • #​1310: Reduce stack size on Any.

Thanks to @​knight42, @​dzakaammar, @​bcspragu, and @​rexywork for their contributions
to this release.

v1.24.0

Compare Source

Enhancements:

  • #​1148: Add Level to both Logger and SugaredLogger that reports the
    current minimum enabled log level.
  • #​1185: SugaredLogger turns errors to zap.Error automatically.

Thanks to @​Abirdcfly, @​craigpastro, @​nnnkkk7, and @​sashamelentyev for their
contributions to this release.

v1.23.0

Compare Source

Enhancements:

  • #​1147: Add a zapcore.LevelOf function to determine the level of a
    LevelEnabler or Core.
  • #​1155: Add zap.Stringers field constructor to log arrays of objects
    that implement String() string.

v1.22.0

Compare Source

Enhancements:

  • #​1071: Add zap.Objects and zap.ObjectValues field constructors to log
    arrays of objects. With these two constructors, you don't need to implement
    zapcore.ArrayMarshaler for use with zap.Array if those objects implement
    zapcore.ObjectMarshaler.
  • #​1079: Add SugaredLogger.WithOptions to build a copy of an existing
    SugaredLogger with the provided options applied.
  • #​1080: Add *ln variants to SugaredLogger for each log level.
    These functions provide a string joining behavior similar to fmt.Println.
  • #​1088: Add zap.WithFatalHook option to control the behavior of the
    logger for Fatal-level log entries. This defaults to exiting the program.
  • #​1108: Add a zap.Must function that you can use with NewProduction or
    NewDevelopment to panic if the system was unable to build the logger.
  • #​1118: Add a Logger.Log method that allows specifying the log level for
    a statement dynamically.

Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun
for their contributions to this release.

v1.21.0

Compare Source

1.21.0 (7 Feb 2022)

Enhancements:

  • #​1047: Add zapcore.ParseLevel to parse a Level from a string.
  • #​1048: Add zap.ParseAtomicLevel to parse an AtomicLevel from a
    string.

Bugfixes:

  • #​1058: Fix panic in JSON encoder when EncodeLevel is unset.

Other changes:

  • #​1052: Improve encoding performance when the AddCaller and
    AddStacktrace options are used together.

Thanks to @​aerosol and @​Techassi for their contributions to this release.

v1.20.0

Compare Source

Enhancements:

  • #​989: Add EncoderConfig.SkipLineEnding flag to disable adding newline
    characters between log statements.
  • #​1039: Add EncoderConfig.NewReflectedEncoder field to customize JSON
    encoding of reflected log fields.

Bugfixes:

  • #​1011: Fix inaccurate precision when encoding complex64 as JSON.
  • #​554, #​1017: Close JSON namespaces opened in MarshalLogObject
    methods when the methods return.
  • #​1033: Avoid panicking in Sampler core if thereafter is zero.

Other changes:

Thanks to @​psrajat, @​lruggieri, @​sammyrnycreal for their contributions to this release.

v1.19.1

Compare Source

Fixed
  • #​1001: JSON: Fix complex number encoding with negative imaginary part. Thanks to @​hemantjadon.
  • #​1003: JSON: Fix inaccurate precision when encoding float32.

v1.19.0

Compare Source

Enhancements:

  • #​975: Avoid panicking in Sampler core if the level is out of bounds.
  • #​984: Reduce the size of BufferedWriteSyncer by aligning the fields
    better.

Thanks to @​lancoLiu and @​thockin for their contributions to this release.

v1.18.1

Compare Source

Bugfixes:

  • #​974: Fix nil dereference in logger constructed by zap.NewNop.

v1.18.0

Compare Source

Enhancements:

  • #​961: Add zapcore.BufferedWriteSyncer, a new WriteSyncer that buffers
    messages in-memory and flushes them periodically.
  • #​971: Add zapio.Writer to use a Zap logger as an io.Writer.
  • #​897: Add zap.WithClock option to control the source of time via the
    new zapcore.Clock interface.
  • #​949: Avoid panicking in zap.SugaredLogger when arguments of *w
    methods don't match expectations.
  • #​943: Add support for filtering by level or arbitrary matcher function to
    zaptest/observer.
  • #​691: Comply with io.StringWriter and io.ByteWriter in Zap's
    buffer.Buffer.

Thanks to @​atrn0, @​ernado, @​heyanfu, @​hnlq715, @​zchee
for their contributions to this release.

v1.17.0

Compare Source

Bugfixes:

  • #​867: Encode <nil> for nil error instead of a panic.
  • #​931, #​936: Update minimum version constraints to address
    vulnerabilities in dependencies.

Enhancements:

  • #​865: Improve alignment of fields of the Logger struct, reducing its
    size from 96 to 80 bytes.
  • #​881: Support grpclog.LoggerV2 in zapgrpc.
  • #​903: Support URL-encoded POST requests to the AtomicLevel HTTP handler
    with the application/x-www-form-urlencoded content type.
  • #​912: Support multi-field encoding with zap.Inline.
  • #​913: Speed up SugaredLogger for calls with a single string.
  • #​928: Add support for filtering by field name to zaptest/observer.

Thanks to @​ash2k, @​FMLS, @​jimmystewpot, @​Oncilla, @​tsoslow, @​tylitianrui, @​withshubh, and @​wziww for their contributions to this release.

v1.16.0

Compare Source

Bugfixes:

  • #​828: Fix missing newline in IncreaseLevel error messages.
  • #​835: Fix panic in JSON encoder when encoding times or durations
    without specifying a time or duration encoder.
  • #​843: Honor CallerSkip when taking stack traces.
  • #​862: Fix the default file permissions to use 0666 and rely on the umask instead.
  • #​854: Encode <nil> for nil Stringer instead of a panic error log.

Enhancements:

  • #​629: Added zapcore.TimeEncoderOfLayout to easily create time encoders
    for custom layouts.
  • #​697: Added support for a configurable delimiter in the console encoder.
  • #​852: Optimize console encoder by pooling the underlying JSON encoder.
  • #​844: Add ability to include the calling function as part of logs.
  • #​843: Add StackSkip for including truncated stacks as a field.
  • #​861: Add options to customize Fatal behaviour for better testability.

Thanks to @​SteelPhase, @​tmshn, @​lixingwang, @​wyxloading, @​moul, @​segevfiner, @​andy-retailnext and @​jcorbin for their contributions to this release.


Configuration

📅 Schedule: Branch creation - "on the first day of the month" (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.

@sonarcloud
Copy link

sonarcloud bot commented Nov 1, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from da90dd9 to b5b06fa Compare March 7, 2022 09:43
@renovate renovate bot changed the title Update module go.uber.org/zap to v1.19.1 Update module go.uber.org/zap to v1.21.0 Mar 7, 2022
@sonarcloud
Copy link

sonarcloud bot commented Mar 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from b5b06fa to de47f29 Compare September 25, 2022 19:48
@renovate renovate bot changed the title Update module go.uber.org/zap to v1.21.0 Update module go.uber.org/zap to v1.23.0 Sep 25, 2022
@sonarcloud
Copy link

sonarcloud bot commented Sep 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title Update module go.uber.org/zap to v1.23.0 fix(deps): update module go.uber.org/zap to v1.24.0 Mar 17, 2023
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from de47f29 to 7130d24 Compare March 17, 2023 05:54
@sonarcloud
Copy link

sonarcloud bot commented Mar 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title fix(deps): update module go.uber.org/zap to v1.24.0 fix(deps): update module go.uber.org/zap to v1.25.0 Aug 2, 2023
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 7130d24 to 3982b25 Compare August 2, 2023 07:13
@sonarcloud
Copy link

sonarcloud bot commented Aug 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title fix(deps): update module go.uber.org/zap to v1.25.0 fix(deps): update module go.uber.org/zap to v1.26.0 Sep 14, 2023
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 3982b25 to d8a79b4 Compare September 14, 2023 22:07
@sonarcloud
Copy link

sonarcloud bot commented Sep 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from d8a79b4 to 61bbf7d Compare February 20, 2024 22:07
@renovate renovate bot changed the title fix(deps): update module go.uber.org/zap to v1.26.0 fix(deps): update module go.uber.org/zap to v1.27.0 Feb 20, 2024
Copy link

sonarcloud bot commented Feb 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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