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

Changelog History
Page 1

  • v3.0.2 Changes

    • Guarantee that EasyDB::row() always returns an array instead of throwing a TypeError when encountering null. See also: #144.
  • v3.0.1 Changes

    • #143: Don't assume the array passed to insertMany() is indexed at 0.
    • ๐Ÿ›  Fixed the type declaration of the $duplicates_mode parameter to be nullable in buildInsertQueryBoolSafe().
  • v3.0.0 Changes

    • #141: Increased minimum PHP Version to 8.0
      • Lots of code refactoring went into this, including strict-typing with PHP 8's new support for Union Types.
    • #142: Added support for Psalm Security Analysis
  • v2.12.0 Changes

    • ๐Ÿ‘ท Migrated from Travis CI to GitHub Actions
    • #136: Added EasyPlaceholder for calling SQL functions on insert/update queries
    • #137: Added csv() method to satisfy feature request #100
    • Miscellaneous boyscouting
  • v2.11.0 Changes

    January 20, 2020
    • #120:
      0๏ธโƒฃ EasyStatement now defaults to WHERE 1 = 1 instead of WHERE 1
      to ensure success with PostgreSQL.
    • #122:
      ๐Ÿ— Builds on PHP 7.4 in Travis CI, installs on PHP 8.
  • 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 new getRealException() 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 empty IN() statements
  • v2.9.0 Changes

    March 12, 2019
    • You can now side-step credential leakage in the Factory class
      by calling Factory::fromArray([$dsn, $username, $password, $options])
      instead of Factory::create($dsn, $username, $password, $options).
  • 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 extend EasyDB 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