All Versions
34
Latest Version
Avg Release Cycle
98 days
Latest Release
-

Changelog History
Page 2

  • v2.6.1 Changes

    May 01, 2018

    We'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.
  • v2.6.0 Changes

    • ๐Ÿ›  #69: Fixed an error when using EasyDB with SQLite.
    • #70: You can now use EasyStatement objects for the conditions instead of arrays in EasyDB::update() and EasyDB::delete(). (Arrays are still supported!)
  • v2.5.1 Changes

    • ๐Ÿ›  Fixed boolean handling for SQLite databases.
  • v2.5.0 Changes

    • #56: EasyDB::q() and EasyDB::row() no longer explicitly force PDO::FETCH_ASSOC. Thanks @nfreader.
    • #57: Added EasyDB::insertReturnId() which wraps insert() and lastInsertId(). Important: Do not use this on PostgreSQL, as it is not reliable. Use insertGet() 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.
  • 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.
  • v2.3.1 Changes

    • ๐Ÿ›  Fix SQLite setting UTF-8 mode.
  • v2.3.0 Changes

    • โž• Added EasyDB::buildInsertQuery for building INSERT statements without executing.
    • ๐Ÿ›  Fixed escaping of backslashes in LIKE statements.
  • v2.2.1 Changes

    • ๐Ÿ’… Adopt strict PSR-2 code style and add phpcs check.
  • v2.2.0 Changes

    • โž• Added EasyDB::escapeLikeValue() for escaping wildcards in LIKE condition values.
  • v2.1.1 Changes

    • ๐Ÿ›  Fix PHP version requirement to work with HHVM.