All Versions
34
Latest Version
Avg Release Cycle
98 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
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:
-
v2.4.0 Changes
- Thanks to @SignpostMarv, you can now easily run
an entire block of code in a flat transaction:
$easyDb->tryFlatTransaction(function (EasyDB $db) { /* ... */ });
- EasyDB is now fully type-safe. This is verified by Psalm. If you're using a static analysis tool on your project that uses EasyDB, this should eliminate a lot of false positive findings.
- We now allow the
/
character to be used in SQLite identifiers.
- Thanks to @SignpostMarv, you can now easily run
an entire block of code in a flat transaction:
-
v2.3.1 Changes
- ๐ Fix SQLite setting UTF-8 mode.
-
v2.3.0 Changes
- โ Added
EasyDB::buildInsertQuery
for buildingINSERT
statements without executing. - ๐ Fixed escaping of backslashes in
LIKE
statements.
- โ Added
-
v2.2.1 Changes
- ๐
Adopt strict PSR-2 code style and add
phpcs
check.
- ๐
Adopt strict PSR-2 code style and add
-
v2.2.0 Changes
- โ Added
EasyDB::escapeLikeValue()
for escaping wildcards inLIKE
condition values.
- โ Added
-
v2.1.1 Changes
- ๐ Fix PHP version requirement to work with HHVM.