[PR #262] [CLOSED] build(deps): Bump github.com/DeRuina/timberjack from 1.3.7 to 1.3.8 #260

Closed
opened 2026-02-26 18:33:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/decke/smtprelay/pull/262
Author: @dependabot[bot]
Created: 10/16/2025
Status: Closed

Base: masterHead: dependabot/go_modules/github.com/DeRuina/timberjack-1.3.8


📝 Commits (1)

  • 756c993 build(deps): Bump github.com/DeRuina/timberjack from 1.3.7 to 1.3.8

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)

📄 Description

Bumps github.com/DeRuina/timberjack from 1.3.7 to 1.3.8.

Release notes

Sourced from github.com/DeRuina/timberjack's releases.

v1.3.8

1.3.8 (2025-10-15)

Fixes & Improvements

  • (4c2c743)

  • Eliminated multiple data races in concurrent rotations and mill goroutines.
    Internal logic now snapshots configuration and system functions once for each logger instance to ensure safe concurrent use.

  • Added deterministic shutdown for background goroutines (mill and scheduled rotation) via WaitGroup synchronization, preventing premature exits or leaks.

  • Strengthened Close() to wait safely for goroutine completion without holding locks.

  • Improved test suite:

    • Fake clock (fakeCurrentTime) is now lock-protected to avoid race conditions.
    • Tests force UTC for consistent local-time behavior.
    • CI now runs with go test -race to verify concurrency safety.

Internal Changes

  • Introduced resolveConfigLocked() for snapshotting logger configuration (time, compression, stat/rename/remove functions) at initialization.
  • Simplified mill and rotation goroutine lifecycle management.
  • Minor refactoring for clarity and reduced global variable reads.
Changelog

Sourced from github.com/DeRuina/timberjack's changelog.

1.3.8 (2025-10-15)

Fixes & Improvements

  • (4c2c743)

  • Eliminated multiple data races in concurrent rotations and mill goroutines.
    Internal logic now snapshots configuration and system functions once for each logger instance to ensure safe concurrent use.

  • Added deterministic shutdown for background goroutines (mill and scheduled rotation) via WaitGroup synchronization, preventing premature exits or leaks.

  • Strengthened Close() to wait safely for goroutine completion without holding locks.

  • Improved test suite:

    • Fake clock (fakeCurrentTime) is now lock-protected to avoid race conditions.
    • Tests force UTC for consistent local-time behavior.
    • CI now runs with go test -race to verify concurrency safety.

Internal Changes

  • Introduced resolveConfigLocked() for snapshotting logger configuration (time, compression, stat/rename/remove functions) at initialization.
  • Simplified mill and rotation goroutine lifecycle management.
  • Minor refactoring for clarity and reduced global variable reads.
Commits
  • b689a41 docs: CHANGELOG
  • 4c2c743 fix: data races
  • d46cd01 fix: Fix formatting of log configuration options in README
  • 1cd6c92 refactor: Trigger pkg.go.dev indexing on release
  • 00dbaeb docs: go-awesome list badge
  • 20b71dd feat: zstd compression, RotateWithReason("") support, (#43)
  • 670a637 chore(main): release 2.0.0 (#16)
  • e2c2211 feat: Rotation Suffix Time Format
  • See full diff in compare view

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/decke/smtprelay/pull/262 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/16/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/go_modules/github.com/DeRuina/timberjack-1.3.8` --- ### 📝 Commits (1) - [`756c993`](https://github.com/decke/smtprelay/commit/756c993046e4b4e830ff4042a692541f318c3f97) build(deps): Bump github.com/DeRuina/timberjack from 1.3.7 to 1.3.8 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) </details> ### 📄 Description 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) 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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:33:59 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
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
starred/smtprelay#260
No description provided.