Upgrading connection_pool 2 to 3
Breaking2.5.5 → 3.0.2Breaking1Platform1New1Fixed1
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- If you call the pool's methods directly with positional arguments, you must switch to named arguments. Most people use the unchanged with API and are unaffected.
- You must run Ruby 3.2.0 or newer to use this version.
Must act 2 items need code or config changes
Ruby requirement changed in 3.0.0: >= 2.5.0 → >= 3.2.0.
What you must change
Breaking1
ConnectionPool and ConnectionPool::TimedStack now use keyword arguments instead of positional arguments everywhere.
ConnectionPoolConnectionPool::TimedStackConnectionPool.newwithcheckoutreapPlatform1
Drops support for Ruby versions below 3.2.0.