All Versions
11
Latest Version
Avg Release Cycle
97 days
Latest Release
840 days ago

Changelog History
Page 1

  • v3.1.0

    August 08, 2018

    โž• Added methods Atlas::logQueries() and Atlas::getQueries(), to expose
    ๐ŸŒฒ the query logging functionality of the ConnectionLocator.

    โšก๏ธ Updated docs and tests

  • v3.0.0

    July 10, 2018

    โž• Added methods Atlas::newRecords() and Atlas::persistRecords()

    For consistency with other methods, Atlas::persistRecordSet() now returns
    void, and no longer detaches deleted records

    โšก๏ธ Updated docs

  • v3.0.0-beta1

    May 08, 2018

    ๐Ÿš€ This release provides a PHPStorm metadata resource to aid in IDE autocompletion
    of return typehints, found at resources/phpstorm.meta.php. Copy it to the root
    of your project as .phpstorm.meta.php, or add it to your root-level
    .phpstorm.meta.php/ directory as atlas.meta.php.

    ๐Ÿ“š Also, the documentation and tests for this package have been updated to honor
    changes to the underlying Mapper and Table packages. In particular, the Mapper
    classes no longer use a Mapper suffix.

  • v3.0.0-alpha1

    April 19, 2018

    ๐ŸŽ‰ Initial release of the 3.x series.

  • v2.8.0

    January 30, 2020

    ๐Ÿš€ This release backports a feature from the 3.x series, such that when the
    โšก๏ธ TableEvents::beforeInsert() or TableEvents::beforeUpdate() methods return an
    โšก๏ธ array, that array is used for the insert or update. This allows finer control
    over, among other things, the logic that determines differences from the initial
    Row data.

    โœ… Expanded testing to include PHP 7.2 and 7.3.

  • v2.7.0

    March 10, 2019

    ๐Ÿš€ This release adds support for 'manual' transactions outside a unit of work,
    โช via Atlas::beginTransaction(), commit(), and rollBack() methods.

    Also, Row::isEquivalent() now compares booleans as integers, so that a change
    from 1 => true or 0 => false (and vice versa) is no longer considered a
    difference. This should help reduce "Expected 1 row affected, actual 0" errors
    with some databases (notably MySQL).

  • v2.6.0

    September 17, 2018

    ๐Ÿš€ This release introduces an AtlasBuilder similar to the one in the 3.x series,
    thereby allowing you to lazy-load mappers instead of having to register them
    in advance. Using AtlasBuilder is now preferred over AtlasContainer, though
    ๐Ÿ“š of course the latter continues to work as before. Documentation and tests have
    โšก๏ธ been updated accordingly.

  • v2.5.0

    August 15, 2018

    ๐Ÿš€ This release exposes underlying profiler functionality in Aura.Sql
    ConnectionLocator via two new methods: Atlas::setProfiling() and
    Atlas::getProfiles().

    ๐ŸŽ It also incorporates two performance enhancements: one to
    AbstractMapper::newRelated() via a prototype object for relateds, and one to
    AbstractTable::newRow() via array_intersect_key() comparison.

  • v2.4.0

    June 04, 2018

    ๐Ÿš€ This release fixes a bug where MapperEvents::modifySelect() was not being
    honored by various AbstractMapper::fetch() methods. Two new off-interface
    methods, AbstractTable::selectRow() and selectRows(), are introduced as a
    result.

  • v2.3.0

    May 06, 2018

    ๐Ÿš€ This release adds one "off-interface" method, AbstractTable::getIdentityMap(),
    ๐Ÿ‘ to support retrieval of initial values on rows.

    ๐Ÿ›  It also fixes a bug where a relationship definition could use the same name more
    than once, silently overwriting the previous definition.

    ๐Ÿ“š Finally, it includes updated documentation and tests.