All Versions
30
Latest Version
Avg Release Cycle
98 days
Latest Release
888 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.11.0 Changes
January 20, 2020 -
v2.10.0 Changes
August 15, 2019- ๐ป You can now pull the original exception (which may leak credentials via
stack trace) from a
ConstructorFailed
exception by calling the newgetRealException()
method. - โ Added
insertIgnore()
(Insert a row into the table, ignoring on key collisions) - โ Added
insertOnDuplicateKeyUpdate()
(Insert a row into the table; or if a key collision occurs, doing an update instead) - #111:
EasyStatement
: Don't fail with emptyIN()
statements
- ๐ป You can now pull the original exception (which may leak credentials via
stack trace) from a
-
v2.9.0 Changes
March 12, 2019- You can now side-step credential leakage in the
Factory
class
by callingFactory::fromArray([$dsn, $username, $password, $options])
instead ofFactory::create($dsn, $username, $password, $options)
.
- You can now side-step credential leakage in the
-
v2.8.0 Changes
January 03, 2019- Our exceptions now integrate with Corner.
-
v2.7.0 Changes
September 23, 2018๐ Changed the behavior of several public APIs to invoke
$this->prepare()
instead of$this->pdo->prepare()
. This might seem subtle, but in actuality, it allows classes that extendEasyDB
to implement prepared statement caching.๐ See https://github.com/paragonie/easydb-cache for more information
-
v2.6.2 Changes
June 14, 2018๐ Fixed issues with
insert()
and booleans. See #84 -
v2.6.1 Changes
May 01, 2018We've stopped the 5to7 approach of releasing v1 branches, due to reasons outlined in the v1.x-legacy branch. To that end, the v2 branch now correctly requires PHP 7. This isn't a BC break since v2 of EasyDB would just syntax error on PHP 5 anyway.
๐ Bug fixes:
- #77: Detect when the
driver is missing and throw a distinct error message to aid in debugging.
- #77: Detect when the
-
v2.5.1 Changes
- ๐ Fixed boolean handling for SQLite databases.
-
v2.5.0 Changes
- #56:
EasyDB::q()
andEasyDB::row()
no longer explicitly forcePDO::FETCH_ASSOC
. Thanks @nfreader. - #57: Added
EasyDB::insertReturnId()
which wrapsinsert()
andlastInsertId()
. Important: Do not use this on PostgreSQL, as it is not reliable. UseinsertGet()
instead, as you normally would have. Reported by @duskwuff. - #58: Empty
EasyStatement
clauses no longer cause broken queries. Reported by @duskwuff. - ๐ #59: Fixed grouping/precedence issues
with
EasyStatement
subqueries. Reported by @duskwuff.
- #56: