Skip to content

Commit 564ff27

Browse files
⬆️ Bump github.com/DeRuina/timberjack from 1.3.7 to 1.3.8 in /utils (#730)
Bumps [github.com/DeRuina/timberjack](https://github.com/DeRuina/timberjack) from 1.3.7 to 1.3.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/DeRuina/timberjack/releases">github.com/DeRuina/timberjack's releases</a>.</em></p> <blockquote> <h2>v1.3.8</h2> <h2><a href="https://github.com/DeRuina/timberjack/compare/v1.3.7...v1.3.8">1.3.8</a> (2025-10-15)</h2> <h3>Fixes &amp; Improvements</h3> <ul> <li> <p>(<a href="https://github.com/DeRuina/timberjack/commit/4c2c7433979b88b308dc927f10c95ee0fa221327">4c2c743</a>)</p> </li> <li> <p>Eliminated multiple data races in concurrent rotations and mill goroutines.<br /> Internal logic now snapshots configuration and system functions once for each logger instance to ensure safe concurrent use.</p> </li> <li> <p>Added deterministic shutdown for background goroutines (<code>mill</code> and <code>scheduled rotation</code>) via <code>WaitGroup</code> synchronization, preventing premature exits or leaks.</p> </li> <li> <p>Strengthened <code>Close()</code> to wait safely for goroutine completion without holding locks.</p> </li> <li> <p>Improved test suite:</p> <ul> <li>Fake clock (<code>fakeCurrentTime</code>) is now lock-protected to avoid race conditions.</li> <li>Tests force UTC for consistent local-time behavior.</li> <li>CI now runs with <code>go test -race</code> to verify concurrency safety.</li> </ul> </li> </ul> <h3>Internal Changes</h3> <ul> <li>Introduced <code>resolveConfigLocked()</code> for snapshotting logger configuration (time, compression, stat/rename/remove functions) at initialization.</li> <li>Simplified mill and rotation goroutine lifecycle management.</li> <li>Minor refactoring for clarity and reduced global variable reads.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/DeRuina/timberjack/blob/main/CHANGELOG.md">github.com/DeRuina/timberjack's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/DeRuina/timberjack/compare/v1.3.7...v1.3.8">1.3.8</a> (2025-10-15)</h2> <h3>Fixes &amp; Improvements</h3> <ul> <li> <p>(<a href="https://github.com/DeRuina/timberjack/commit/4c2c7433979b88b308dc927f10c95ee0fa221327">4c2c743</a>)</p> </li> <li> <p>Eliminated multiple data races in concurrent rotations and mill goroutines.<br /> Internal logic now snapshots configuration and system functions once for each logger instance to ensure safe concurrent use.</p> </li> <li> <p>Added deterministic shutdown for background goroutines (<code>mill</code> and <code>scheduled rotation</code>) via <code>WaitGroup</code> synchronization, preventing premature exits or leaks.</p> </li> <li> <p>Strengthened <code>Close()</code> to wait safely for goroutine completion without holding locks.</p> </li> <li> <p>Improved test suite:</p> <ul> <li>Fake clock (<code>fakeCurrentTime</code>) is now lock-protected to avoid race conditions.</li> <li>Tests force UTC for consistent local-time behavior.</li> <li>CI now runs with <code>go test -race</code> to verify concurrency safety.</li> </ul> </li> </ul> <h3>Internal Changes</h3> <ul> <li>Introduced <code>resolveConfigLocked()</code> for snapshotting logger configuration (time, compression, stat/rename/remove functions) at initialization.</li> <li>Simplified mill and rotation goroutine lifecycle management.</li> <li>Minor refactoring for clarity and reduced global variable reads.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/DeRuina/timberjack/commit/b689a416a644e233ba218dca5fc483a9b1392590"><code>b689a41</code></a> docs: CHANGELOG</li> <li><a href="https://github.com/DeRuina/timberjack/commit/4c2c7433979b88b308dc927f10c95ee0fa221327"><code>4c2c743</code></a> fix: data races</li> <li><a href="https://github.com/DeRuina/timberjack/commit/d46cd01b7125bbe24147a3ac34ad56e49453e933"><code>d46cd01</code></a> fix: Fix formatting of log configuration options in README</li> <li><a href="https://github.com/DeRuina/timberjack/commit/1cd6c920c8404f07616aad4d43beb4eda50467c9"><code>1cd6c92</code></a> refactor: Trigger pkg.go.dev indexing on release</li> <li><a href="https://github.com/DeRuina/timberjack/commit/00dbaeb56d541e6d82f1956d89c0fa675da3b557"><code>00dbaeb</code></a> docs: go-awesome list badge</li> <li><a href="https://github.com/DeRuina/timberjack/commit/20b71dd4450965b9639049961512e408ad6b0ba8"><code>20b71dd</code></a> feat: zstd compression, RotateWithReason(&quot;&quot;) support, (<a href="https://redirect.github.com/DeRuina/timberjack/issues/43">#43</a>)</li> <li><a href="https://github.com/DeRuina/timberjack/commit/670a637b33401ff5bbc5b37ed6a2b99c2ddaea31"><code>670a637</code></a> chore(main): release 2.0.0 (<a href="https://redirect.github.com/DeRuina/timberjack/issues/16">#16</a>)</li> <li><a href="https://github.com/DeRuina/timberjack/commit/e2c22115ae301c034e07c703ab9729d25b170a49"><code>e2c2211</code></a> feat: Rotation Suffix Time Format</li> <li>See full diff in <a href="https://github.com/DeRuina/timberjack/compare/v1.3.7...v1.3.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/DeRuina/timberjack&package-manager=go_modules&previous-version=1.3.7&new-version=1.3.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <[email protected]>
1 parent 78818f2 commit 564ff27

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

changes/20251017153742.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: timberjack-1.3.8

changes/20251017153746.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: timberjack-1.3.8

changes/20251017153817.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: timberjack-1.3.8

utils/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.23.0
55
toolchain go1.24.1
66

77
require (
8-
github.com/DeRuina/timberjack v1.3.7
8+
github.com/DeRuina/timberjack v1.3.8
99
github.com/OneOfOne/xxhash v1.2.8
1010
github.com/avast/retry-go/v4 v4.7.0
1111
github.com/bmatcuk/doublestar/v3 v3.0.0

utils/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ bitbucket.org/creachadair/stringset v0.0.9/go.mod h1:t+4WcQ4+PXTa8aQdNKe40ZP6iwe
44
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
55
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
66
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
7-
github.com/DeRuina/timberjack v1.3.7 h1:+eP0+cxzwOh8RMg5ByHHZ/abrtDiEk/F5B7JYwCvUJ0=
8-
github.com/DeRuina/timberjack v1.3.7/go.mod h1:RLoeQrwrCGIEF8gO5nV5b/gMD0QIy7bzQhBUgpp1EqE=
7+
github.com/DeRuina/timberjack v1.3.8 h1:lLxmRExvZygKSbb27Vp9hS0Tv8mL0WmFbwfRF29nY0Q=
8+
github.com/DeRuina/timberjack v1.3.8/go.mod h1:RLoeQrwrCGIEF8gO5nV5b/gMD0QIy7bzQhBUgpp1EqE=
99
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
1010
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
1111
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=

0 commit comments

Comments
 (0)