Skip to content

Releases: darkain/pudl

Version 2.7.0

01 Feb 18:57
Compare
Choose a tag to compare

A pudlStringResult may now be directly passed into $db($result)
Galera Cluster Status codes are updated and easier to understand now
Date and Time functions updated and simplified
pudlId functionality extended and various bugs fixed with it

Version 2.6.0

08 Dec 23:42
Compare
Choose a tag to compare

Massive update for persistent connections
NOTE: persistent connections are now OPTIONAL. This is EXTREMELY important because PHP's persistent connection handler is broken in all current builds of PHP, including 5.6 STABLE, 7.0 STABLE, 7.1 BETA, and 7.2 HEAD
Pull request for PHP can be found here: php/php-src#2195

Added Travis CI support for automatic continuous integration unit testing. This is built around PUDL's existing testing frame work. Some minor tweaks were added to make it Travis CI compatible.

Fixed legacy support for PHP 5.4. This is NOT officially supported platform, however it was a simple function call change that needed updating to at least validate the unit tests on PHP 5.4

Other minor fixes too (typos, using variables which are optionally defined, things like this)

Version 2.5.0

26 Oct 17:18
Compare
Choose a tag to compare

Session is now HTTP/HTTPS only, prevents JavaScript access to session cookie from browser
Insert now supports all empty data, uses database's default for all columns
Added $db->date() to insert current UNIX timestamp into database in DB's native format
Added $db->tables() to get list of all tables in current database
Added $db->tableExists() to see if given table exists within current database
$db->sync() no longer dies with offline servers

Version 2.4.3

03 Oct 17:44
Compare
Choose a tag to compare

BUG FIX: Empty strings without a specified key are now ignored in _clauseRecurse
BUG FIX: Using complex pudl::eq with strings as second param
Enhancement: Added $db->merge() - same as extract, but uses keys instead of value
Unit Test: Added tests for required and optional PHP extensions

Version 2.4.2

20 Sep 20:05
Compare
Choose a tag to compare

pudlHelper changed from trait to interface and simplified
pudlId simplified
added pudl::_and and pudl::_or
Fixed issue with Redis cache and sessions
Added experimental support for PDO connectivity

Added 'log' callback:
$db->on('log', function) //create callback
$db->log()->select('1') //initiate callback

Version 2.4.1

13 Sep 19:58
Compare
Choose a tag to compare

Improved WSREP state error reporting upon connecting
Added check for empty update data - will throw exception if nothing to update
Added pudl::notBetween

Version 2.4.0

10 Sep 18:47
Compare
Choose a tag to compare

Added pudlNull - a NULL router, literally does nothing with every call
Improved data type error checking
Dynamic column support cleaned up and extended
Added better support for SQL server variables
Added support for truncating tables
Added ability to clone connection (part of an Altaform security patch)
pudlId code cleanup and simplification

Version 2.3.0

23 Aug 21:33
Compare
Choose a tag to compare

Significant cleanup to folder structure
Compatibility fixes for PHP/HHVM
Compatibility fix with MySQLi interface
Compatibility fix with HHVM's Redis interface
Removed dependencies on other libraries
Standardized all errors to be exceptions
Added ability to easily uncache items
New and extended APIs

Version 2.2.0

14 Aug 04:19
Compare
Choose a tag to compare

Security update for session handler.
Added support for ArrayAccess objects.
Better integration with other Altaform projects.

Version 2.1.0

13 Jul 16:09
Compare
Choose a tag to compare

Tons of stability fixes, especially with Galera clustering and Redis caching
Fixes for PHP 7.0 compatibility
Better support for MariaDB dynamic columns
Cleaned up code consistency between each of the SQL instance types