Releases: mrjgreen/database
PHP 8 compatibility
Added "Rollup" for MySQL
2.5.0 added rollup mysql directive
Release 2.4
2.4.0 Limit the query length
Add MySQL infile abstraction
2.3.0 load data infile in builder
Remove dangerous transaction behaviour
Edge case where disconnections within transactions caused the "transaction level" property to remain non-zero.
A reconnection and further transactions would cause all kinds of unwanted committing and rolling-back of transactions whenever the transaction counter happened to hit zero again.
Awful.
Add correct outfile implementation
BC breaking changes to outfile.
use DB::table()->intoOutfile($file)->query()
instead of DB::table()->intoOutfile($file)
This allows union select into outfile to work correctly
Release V2
2.0.1 Update README.md
Connection Factory - Set Logger
2.0.1-alpha set logger in connection factory
2.0 Release
####Breaking changes in the logging API
Instead of Database::getQueryLog()
and Database::flushQueryLog()
a psr logger aware interface has been implemented along with a Database::getLogger()
method. The default logger buffers log items for retrieval in the same way: Database::getLogger()->getQueryLog();
and Database::getLogger()->flushQueryLog();
####An exception handler has been added to allow for customisable exception handling. The default exception handler now throws Database\Exception\QueryException
instead of Database\QueryException
. The default handler will now also include the connection parameters (without password) for context.
Load data infile
1.5.0 Update README.md