Bump go.uber.org/zap from 1.21.0 to 1.23.0 #43

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/go.uber.org/zap-1.23.0 into v3 2022-08-28 17:22:53 +03:00
dependabot[bot] commented 2022-08-25 01:24:44 +03:00 (Migrated from github.com)

Bumps go.uber.org/zap from 1.21.0 to 1.23.0.

Release notes

Sourced from go.uber.org/zap's releases.

v1.23.0

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.

#1147: uber-go/zap#1147 #1155: uber-go/zap#1155

v1.22.0

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.

#1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

Changelog

Sourced from go.uber.org/zap's changelog.

1.23.0 (24 Aug 2022)

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.

#1147: uber-go/zap#1147 #1155: uber-go/zap#1155

1.22.0 (8 Aug 2022)

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.

#1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.23.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/uber-go/zap/releases">go.uber.org/zap's releases</a>.</em></p> <blockquote> <h2>v1.23.0</h2> <p>Enhancements:</p> <ul> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>[]: Add a <code>zapcore.LevelOf</code> function to determine the level of a <code>LevelEnabler</code> or <code>Core</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>[]: Add <code>zap.Stringers</code> field constructor to log arrays of objects that implement <code>String() string</code>.</li> </ul> <p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1147">uber-go/zap#1147</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1155">uber-go/zap#1155</a></p> <h2>v1.22.0</h2> <p>Enhancements:</p> <ul> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>[]: Add <code>zap.Objects</code> and <code>zap.ObjectValues</code> field constructors to log arrays of objects. With these two constructors, you don't need to implement <code>zapcore.ArrayMarshaler</code> for use with <code>zap.Array</code> if those objects implement <code>zapcore.ObjectMarshaler</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>[]: Add <code>SugaredLogger.WithOptions</code> to build a copy of an existing <code>SugaredLogger</code> with the provided options applied.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>[]: Add <code>*ln</code> variants to <code>SugaredLogger</code> for each log level. These functions provide a string joining behavior similar to <code>fmt.Println</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>[]: Add <code>zap.WithFatalHook</code> option to control the behavior of the logger for <code>Fatal</code>-level log entries. This defaults to exiting the program.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>[]: Add a <code>zap.Must</code> function that you can use with <code>NewProduction</code> or <code>NewDevelopment</code> to panic if the system was unable to build the logger.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>[]: Add a <code>Logger.Log</code> method that allows specifying the log level for a statement dynamically.</li> </ul> <p>Thanks to <a href="https://github.com/cardil"><code>@​cardil</code></a>, <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a>, <a href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>, <a href="https://github.com/shota3506"><code>@​shota3506</code></a>, and <a href="https://github.com/zhupeijun"><code>@​zhupeijun</code></a> for their contributions to this release.</p> <p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1071">uber-go/zap#1071</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1079">uber-go/zap#1079</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1080">uber-go/zap#1080</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1088">uber-go/zap#1088</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1108">uber-go/zap#1108</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1118">uber-go/zap#1118</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/uber-go/zap/blob/master/CHANGELOG.md">go.uber.org/zap's changelog</a>.</em></p> <blockquote> <h2>1.23.0 (24 Aug 2022)</h2> <p>Enhancements:</p> <ul> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>[]: Add a <code>zapcore.LevelOf</code> function to determine the level of a <code>LevelEnabler</code> or <code>Core</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>[]: Add <code>zap.Stringers</code> field constructor to log arrays of objects that implement <code>String() string</code>.</li> </ul> <p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1147">uber-go/zap#1147</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1155">uber-go/zap#1155</a></p> <h2>1.22.0 (8 Aug 2022)</h2> <p>Enhancements:</p> <ul> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>[]: Add <code>zap.Objects</code> and <code>zap.ObjectValues</code> field constructors to log arrays of objects. With these two constructors, you don't need to implement <code>zapcore.ArrayMarshaler</code> for use with <code>zap.Array</code> if those objects implement <code>zapcore.ObjectMarshaler</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>[]: Add <code>SugaredLogger.WithOptions</code> to build a copy of an existing <code>SugaredLogger</code> with the provided options applied.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>[]: Add <code>*ln</code> variants to <code>SugaredLogger</code> for each log level. These functions provide a string joining behavior similar to <code>fmt.Println</code>.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>[]: Add <code>zap.WithFatalHook</code> option to control the behavior of the logger for <code>Fatal</code>-level log entries. This defaults to exiting the program.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>[]: Add a <code>zap.Must</code> function that you can use with <code>NewProduction</code> or <code>NewDevelopment</code> to panic if the system was unable to build the logger.</li> <li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>[]: Add a <code>Logger.Log</code> method that allows specifying the log level for a statement dynamically.</li> </ul> <p>Thanks to <a href="https://github.com/cardil"><code>@​cardil</code></a>, <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a>, <a href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>, <a href="https://github.com/shota3506"><code>@​shota3506</code></a>, and <a href="https://github.com/zhupeijun"><code>@​zhupeijun</code></a> for their contributions to this release.</p> <p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1071">uber-go/zap#1071</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1079">uber-go/zap#1079</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1080">uber-go/zap#1080</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1088">uber-go/zap#1088</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1108">uber-go/zap#1108</a> <a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1118">uber-go/zap#1118</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/uber-go/zap/commit/1ae5819539453056267ba3033697df2b231e8af8"><code>1ae5819</code></a> Release v1.23.0 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1157">#1157</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/23d6cc75062ae86d8b27f973f2878b387f7dec20"><code>23d6cc7</code></a> Add Stringers field constructor for slices of Stringer-compatible objects (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1">#1</a>...</li> <li><a href="https://github.com/uber-go/zap/commit/1e46f5e6d5d0714ba826e0b7ccdbbad9eab79311"><code>1e46f5e</code></a> Issue Templates: Show a &quot;Discussions&quot; link for questions (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1152">#1152</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/92dded6872036cb9c4fa2b130e7034007ac789a6"><code>92dded6</code></a> Add issue template for questions (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1151">#1151</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/4a895a245ab794e3ae965783843a9fbc793083bc"><code>4a895a2</code></a> zapcore: Add LevelOf(LevelEnabler), UnknownLevel (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/19a5d8ab78285961f45bffddf88e5630bee984d5"><code>19a5d8a</code></a> Open: expose error cause, test for fs.ErrNotExist (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1149">#1149</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/bdd673d714c1278fd09836d7cf57ed60fa072bf4"><code>bdd673d</code></a> Replace os.TempDir usage with t.TempDir (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1146">#1146</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/4b03bc56483d64b4714462e513099701e62b43d3"><code>4b03bc5</code></a> Prepare release v1.22.0 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1145">#1145</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/ee349f9e2995499f66628dc573382939b6941b09"><code>ee349f9</code></a> CI: Lint against 1.19 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1141">#1141</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/7ee98d28331c26c2be992e3e6e6d199337204bb0"><code>7ee98d2</code></a> ci: add go1.19 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1140">#1140</a>)</li> <li>Additional commits viewable in <a href="https://github.com/uber-go/zap/compare/v1.21.0...v1.23.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/zap&package-manager=go_modules&previous-version=1.21.0&new-version=1.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
github-actions[bot] (Migrated from github.com) approved these changes 2022-08-25 01:24:58 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro-register-etcd#43
No description provided.