CHANGELOG.md (1737B)
1 # Changelog 2 3 ## v2.4.2 (2022-03-03) 4 5 * Enhancements 6 * Add `DBConnection.connection_module/1` 7 8 ## v2.4.1 (2021-10-14) 9 10 * Enhancements 11 * Add `DBConnection.disconnect_all/2` 12 13 ## v2.4.0 (2021-04-02) 14 15 * Enhancements 16 * Add telemetry events for connection errors 17 * Use `:rand` default algorithm 18 * Allow decentralized lookups on DBConnection.Ownership 19 20 ## v2.3.1 (2020-11-25) 21 22 * Enhancements 23 * Add `:connection_listeners` to `DBConnection.start_link/2` 24 * Allow connection `~> 1.0` 25 26 ## v2.3.0 (2020-10-14) 27 28 This release requires Elixir v1.7+. 29 30 * Bug fixes 31 * Fix deprecation warnings related to the use of `System.stacktrace()` 32 33 ## v2.2.2 (2020-04-22) 34 35 * Bug fixes 36 * Make sure all idle connections in the pool are pinged on each idle interval 37 38 ## v2.2.1 (2020-02-04) 39 40 * Enhancements 41 * Remove warnings 42 43 ## v2.2.0 (2019-12-11) 44 45 * Enhancements 46 * Add `:idle_time` to `DBConnection.LogEntry` 47 * Ping all stale connections on idle interval 48 * Add `crash_reason` to relevant Logger error reports 49 * Ping all stale connections on idle interval. One possible downside of this approach is that we may shut down all connections at once and if there is a request around this time, the response time will be higher. However, this is likely better than the current approach, where we ping only the first one, which means we can have a pool of stale connections. The current behaviour is the same as in v1.0 50 51 ## v2.1.1 (2019-07-17) 52 53 * Enhancements 54 * Reduce severity in client exits to info 55 * Improve error message on redirect checkout 56 57 * Bug fixes 58 * Make sure ownership timeout is respected on automatic checkouts 59 60 ## v2.1.0 (2019-06-07) 61 62 * Enhancements 63 * Require Elixir v1.6+ 64 * Include client stacktrace on check out timeouts