github.com/jackc/puddle@v1.3.0/CHANGELOG.md (about) 1 # 1.3.0 (August 27, 2022) 2 3 * Acquire creates resources in background to allow creation to continue after Acquire is canceled (James Hartig) 4 5 # 1.2.1 (December 2, 2021) 6 7 * TryAcquire now does not block when background constructing resource 8 9 # 1.2.0 (November 20, 2021) 10 11 * Add TryAcquire (A. Jensen) 12 * Fix: remove memory leak / unintentionally pinned memory when shrinking slices (Alexander Staubo) 13 * Fix: Do not leave pool locked after panic from nil context 14 15 # 1.1.4 (September 11, 2021) 16 17 * Fix: Deadlock in CreateResource if pool was closed during resource acquisition (Dmitriy Matrenichev) 18 19 # 1.1.3 (December 3, 2020) 20 21 * Fix: Failed resource creation could cause concurrent Acquire to hang. (Evgeny Vanslov) 22 23 # 1.1.2 (September 26, 2020) 24 25 * Fix: Resource.Destroy no longer removes itself from the pool before its destructor has completed. 26 * Fix: Prevent crash when pool is closed while resource is being created. 27 28 # 1.1.1 (April 2, 2020) 29 30 * Pool.Close can be safely called multiple times 31 * AcquireAllIDle immediately returns nil if pool is closed 32 * CreateResource checks if pool is closed before taking any action 33 * Fix potential race condition when CreateResource and Close are called concurrently. CreateResource now checks if pool is closed before adding newly created resource to pool. 34 35 # 1.1.0 (February 5, 2020) 36 37 * Use runtime.nanotime for faster tracking of acquire time and last usage time. 38 * Track resource idle time to enable client health check logic. (Patrick Ellul) 39 * Add CreateResource to construct a new resource without acquiring it. (Patrick Ellul) 40 * Fix deadlock race when acquire is cancelled. (Michael Tharp)