Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 16, 2025

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

You can trigger a rebase of this PR 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 16, 2025
@github-actions github-actions bot added the bot created by a bot label Oct 16, 2025
github-actions[bot]
github-actions bot previously approved these changes Oct 16, 2025
@acabarbaye
Copy link
Contributor

@dependabot recreate

Bumps [github.com/DeRuina/timberjack](https://github.com/DeRuina/timberjack) from 1.3.7 to 1.3.8.
- [Release notes](https://github.com/DeRuina/timberjack/releases)
- [Changelog](https://github.com/DeRuina/timberjack/blob/main/CHANGELOG.md)
- [Commits](DeRuina/timberjack@v1.3.7...v1.3.8)

---
updated-dependencies:
- dependency-name: github.com/DeRuina/timberjack
  dependency-version: 1.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/utils/github.com/DeRuina/timberjack-1.3.8 branch from b684ecb to 8a6125f Compare October 17, 2025 15:37
github-actions[bot]
github-actions bot previously approved these changes Oct 17, 2025
@acabarbaye acabarbaye merged commit 564ff27 into master Oct 17, 2025
6 checks passed
@acabarbaye acabarbaye deleted the dependabot/go_modules/utils/github.com/DeRuina/timberjack-1.3.8 branch October 17, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot created by a bot dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants