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 module go.uber.org/zap to v1.25.0 #254

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 17, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.uber.org/zap require minor v1.17.0 -> v1.25.0

Release Notes

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

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.


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 has been generated by Mend Renovate. View repository job log here.

@bastianccm bastianccm added blocked needs-tests code not covered by tests labels May 18, 2022
@bastianccm
Copy link
Contributor

core/zap

@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 7 times, most recently from c9220a7 to b84f281 Compare May 19, 2022 11:32
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from b84f281 to 927f0bd Compare June 14, 2022 07:17
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 927f0bd to be557ce Compare July 4, 2022 13:26
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 4 times, most recently from 4856681 to 48a65c5 Compare July 14, 2022 13:15
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 48a65c5 to 4a7c4e4 Compare August 8, 2022 19:44
@renovate renovate bot changed the title chore(deps): update module go.uber.org/zap to v1.21.0 chore(deps): update module go.uber.org/zap to v1.22.0 Aug 8, 2022
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 4a7c4e4 to 4a36cb0 Compare August 24, 2022 17:47
@renovate renovate bot changed the title chore(deps): update module go.uber.org/zap to v1.22.0 chore(deps): update module go.uber.org/zap to v1.23.0 Aug 24, 2022
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 4a36cb0 to 870906f Compare August 25, 2022 13:08
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 4 times, most recently from 450fafc to 13255a9 Compare October 13, 2022 18:58
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 4 times, most recently from 430a26b to 8372cb2 Compare October 28, 2022 17:04
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 8372cb2 to 62d1f7d Compare November 3, 2022 14:06
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from 62b9ec8 to b249719 Compare April 21, 2023 07:11
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from 50eed8d to 43e6662 Compare May 5, 2023 16:50
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 43e6662 to 2c2a251 Compare May 19, 2023 10:28
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 3 times, most recently from d57a90b to dc93220 Compare June 1, 2023 15:06
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from dc93220 to c75902e Compare June 15, 2023 13:03
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from e07dec6 to 5b15bc2 Compare July 13, 2023 13:21
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from b596193 to f0e5e22 Compare July 28, 2023 16:58
@renovate renovate bot changed the title chore(deps): update module go.uber.org/zap to v1.24.0 chore(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 2 times, most recently from 02f1df3 to d919962 Compare August 3, 2023 13:44
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from 00639db to 70c38b0 Compare August 15, 2023 09:58
@tessig tessig self-assigned this Aug 16, 2023
@tessig tessig removed blocked needs-tests code not covered by tests labels Aug 16, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Aug 16, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@tessig tessig force-pushed the renovate/go.uber.org-zap-1.x branch from 79941c6 to 9d6e1f6 Compare August 16, 2023 15:47
@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Health
flamingo.me/flamingo/v3/core/auth 13%
flamingo.me/flamingo/v3/core/auth/fake 50%
flamingo.me/flamingo/v3/core/auth/http 40%
flamingo.me/flamingo/v3/core/auth/oauth 49%
flamingo.me/flamingo/v3/core/cache 54%
flamingo.me/flamingo/v3/core/gotemplate 87%
flamingo.me/flamingo/v3/core/healthcheck/interfaces/controllers 76%
flamingo.me/flamingo/v3/core/healthcheck 66%
flamingo.me/flamingo/v3/core/internalauth/application 100%
flamingo.me/flamingo/v3/core/internalauth 100%
flamingo.me/flamingo/v3/core/locale/application 87%
flamingo.me/flamingo/v3/core/locale/domain 75%
flamingo.me/flamingo/v3/core/locale/interfaces/controllers 100%
flamingo.me/flamingo/v3/core/locale/interfaces/templatefunctions 92%
flamingo.me/flamingo/v3/core/locale 59%
flamingo.me/flamingo/v3/core/oauth/application 4%
flamingo.me/flamingo/v3/core/oauth/domain 62%
flamingo.me/flamingo/v3/core/oauth 55%
flamingo.me/flamingo/v3/core/requestlogger 100%
flamingo.me/flamingo/v3/core/requesttask 10%
flamingo.me/flamingo/v3/core/robotstxt 50%
flamingo.me/flamingo/v3/core/runtime 77%
flamingo.me/flamingo/v3/core/security/application/role 95%
flamingo.me/flamingo/v3/core/security/application 98%
flamingo.me/flamingo/v3/core/security/application/voter 100%
flamingo.me/flamingo/v3/core/security/interface/controller 100%
flamingo.me/flamingo/v3/core/security/interface/middleware 72%
flamingo.me/flamingo/v3/core/security 59%
flamingo.me/flamingo/v3/core/zap 81%
flamingo.me/flamingo/v3/framework/cmd 12%
flamingo.me/flamingo/v3/framework/config 49%
flamingo.me/flamingo/v3/framework/flamingo 40%
flamingo.me/flamingo/v3/framework 29%
flamingo.me/flamingo/v3/framework/opencensus 88%
flamingo.me/flamingo/v3/framework/prefixrouter 43%
flamingo.me/flamingo/v3/framework/systemendpoint 27%
flamingo.me/flamingo/v3/framework/testutil 0%
flamingo.me/flamingo/v3/framework/web 49%
Summary 51% (3448 / 6780)

@tessig tessig merged commit a7f9476 into master Aug 17, 2023
5 checks passed
@tessig tessig deleted the renovate/go.uber.org-zap-1.x branch August 17, 2023 15:14
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.

None yet

2 participants