October 14th, 2010Features:
· New architecture to make the pool even faster
· Changed license to Apache v2.0
· OSGi support
· Add maxConnectionAge to give a maximum time a connection will be kept alive.
· Add ability to load default XML config file (with overrides)
· Added onBeforeStatementExecute and onAfterStatementExecute hooks.
· Added connection/statement handles to onQueryTimeLimitExeceeded (deprecated old version)
· Support for LIFO queues for better idleConnectionTimeouts.
Fixes:
· Make connectionTimeout 0 behave like max value
· Don't set username to blank if it is null and respect datasource bean setting
· Allow minConnections = 0
· Fixes for hibernate provider (https://bugs.launchpad.net/bonecp/+bug/655288)
· Pass StatementHandle reference to hook rather than Statement
· Use StringBuilder where necessary for better performance.1
· Failures in closing a connection might cause connection to be lost.
· Other minor cleanups.
Compatibility notes:
· set default partition count to 1
· Migrated from Google collections library to Google guava
July 30th, 2010· Fixes for idleMaxAge/idleConnectionTester
· Fixes for multiple nodes in XML config
· Fix NPE on getConnection timeout
· Log batch statements properly
· Enhance onAcquireFail hook (and fix tiny bug in process)
· Also log statements + quote strings
· Added driver properties option
· Don't close off connection when shutting down
· Fix bug in close connection watch debug tool, terminate all release helpers when shutting down.
July 22nd, 2010· Log batch statements properly, add driver properties option, also log statements + quote strings, enhance onAcquireFail (+ fix small bug), fix lazy init race, add connection timeout, use locking via blockingqueues to avoid lost signals (potential race), remove statics from finalizers, JDK5 compatibility, fix add new connection bug, expose internal statements via a public getter, add onConnectionException hook, pom cleanups.
April 24th, 2010· Added: Automatic replay of transaction on broken connections (allows seamless restart of database without affecting application)
· Added: Feature to disable JMX
· Added: Feature to add custom name to JMX/created threads
· Improvement: Benchmark, datasource and hibernate provider cleanups
· Fix: Remove potential NPE on an unused pool during shutdown
· Fix: Do not kill off more idle connections than minConnections allows. 104 unit tests, 100% test coverage.