Skip to content

Releases: sasha-s/go-deadlock

v0.3.9

18 Mar 18:56
c1cf6f8

Choose a tag to compare

Reduce allocations from callers (#54), add new unit tests, and fix existing -race unit test failures

v0.3.8

17 Mar 22:08
dcbba57

Choose a tag to compare

What's Changed

  • Reduce allocations per lock request (#52) — replaces goroutine-per-lock deadlock detection with time.AfterFunc + sync.Pool, cutting allocations from 4 to 2 per lock/unlock cycle (~40% throughput improvement).

Full Changelog: v0.3.7...v0.3.8

v0.3.7

07 Mar 07:34

Choose a tag to compare

Release v0.3.7

Changes

  • Fix testing/synctest compatibility, including Go 1.25 support and related build tags
  • Fix concurrent lock tracking under contention
  • Prevent lock-order tracking from retaining mutex-containing structs on Go 1.24+

What's New

This release improves synctest compatibility, fixes concurrent lock tracking, and resolves a GC-retention issue in lock-order bookkeeping.

v0.3.6

31 Aug 02:09
b089b4f

Choose a tag to compare

Release v0.3.6

Changes

  • Go 1.25 support
  • Updated dependencies (github.com/petermattis/goid)
  • Improved test coverage (90.5%)

What's New

This release includes compatibility updates for Go 1.25 and dependency updates to ensure continued reliability of deadlock detection.

v0.3.3

14 Aug 08:41
ed6f7f6

Choose a tag to compare

What's Changed

  • Add missing sync.NewCond wrapper by @ncw in #22
  • fixed the comment of Opts.DeadlockTimeout in deadlock.go by @h3n4l in #23
  • deadlock: Add TryLock wrappers by @jrajahalme in #30
  • Reuse timers with sync.Pool by @millfort in #31

New Contributors

Full Changelog: v0.3.1...v0.3.3

v0.3.0

20 Jul 06:38
4c17c32

Choose a tag to compare

cleanup the docs, fix typos,

faster, cleaner

09 Jan 21:12

Choose a tag to compare

Includes performance improvements #2
and extra checks #7