All Versions
24
Latest Version
Avg Release Cycle
228 days
Latest Release
2420 days ago

Changelog History
Page 3

  • v1.3.0 Changes

    • โšก๏ธ [NEW] Query\Sqlite(Select|Insert|Update|Delete) classes to support SQLite-specific behaviors

    • โšก๏ธ [NEW] Query\Pgsql(Select|Insert|Update|Delete) classes to support PostgreSQL-specific behaviors

    • ๐Ÿ”จ [REF] Refactor existing limit/offset behaviors to Query\LimitTrait and Query\OffsetTrait

    • ๐Ÿ”จ [REF] Refactor existing order-by behaviors to Query\OrderByTrait

    • ๐Ÿ”จ [REF] Refactor query-string indenting and comma-separation behaviors to new methods

    • [ADD] Methods on each db-specific connection object to return db-specific query objects; e.g., Connection\Mysql::newMysqlSelect(), Connection\Pgsql::newPgsqlInsert(), etc.

    ๐Ÿš€ Many thanks to @MAXakaWIZARD for his work on the features in this release.

  • v1.2.0 Changes

    • [ADD] Profiler::getLastQuery() to get the last profiled query.

    • [CHG] AbstractConnection::fetchAll(), fetchAssoc(), fetchCol(), and fetchPairs() all now take a third param: a callable to apply to each row in the results.

    • โœ… [ADD] AbstractConnection::disconnect(), mostly to help with testing.

    • ๐Ÿ‘ [NEW] Query\Mysql classes to support MySQL-specific functionality:

      • [NEW] Query\Mysql\Select with SQL_CALC_FOUND_ROWS and other mysql-specific flags.
      • [NEW] Query\Mysql\Insert with IGNORE and other mysql-specific flags.
      • [NEW] Query\Mysql\Update with IGNORE and other mysql-specific flags, as well as LIMIT functionality.
      • [NEW] Query\Mysql\Delete with LOW_PRIORITY and other mysql-specific flags, as well as LIMIT functionality.
    • โšก๏ธ [LIC] Update license copyright dates.

    • ๐Ÿ— [TST] Add PHP 5.5 to Travis build.

    • โšก๏ธ [DOC] Update README.

  • v1.1.0 Changes

    • [ADD] AbstractConnection::setPdo() to inject a pre-existing PDO connection. Thanks, Stan Lemon, for the feature request.

    • [ADD] Add missing properties AbstractConnection::$profiler and AbstractConnection::$query_factory.

    • ๐Ÿ›  [CHG] Varios typo fixes by Pascal Borrelli and Henrique Moody.

    • [CHG] Gateway registry entries must be wrapped in a callable from now on.

    • [ADD] Method Column::__isset()

  • v1.0.0 Changes

    ๐Ÿš€ WARNING: This release has backwards compatiblity breaks.

    Breaks

    • ๐Ÿ“ฆ [BRK] Rename "Adapter" to "Connection" throughout the package

    • ๐Ÿ“ฆ [BRK] Rename "sql" to "connection" throughout the package

    Other Changes

    • [ADD] Methods Query\AbstractQuery::setBind(), addBind(), and getBind() to allow bind data to be carried along with the query object.

    • [ADD] Method Query\AbstractQuery::getConnection() to get the injected database connection.

    • [NEW] Classes Gateway, GatewayIterator, and GatewayLocator (table data gateway implementation)

    • [NEW] Class AbstractMapper (mapper implementation)

    • [NEW] Class UnitOfWork (unit-of-work implemetation)