Skip to content

v3.0.0

Latest

Choose a tag to compare

@schorts99 schorts99 released this 30 Oct 20:29

Added

  • Comprehensive PHPUnit 13 test suite covering translators, formatters, entity factories, query executor, unit of work runner/transaction, migrators, and full FirestoreDAO CRUD/criteria lifecycle (49 tests, 197 assertions).
  • Added phpunit.xml configuration and test composer script.

Changed

  • Updated schorts/shared-kernel to ^3.0.0:
    • Updated EntityFirestoreFactory::fromEntity() to use array primitives from Entity::toPrimitives().
    • Updated FirestoreEntityFactory::fromSnapshot() to pass primitive attributes directly to EntityRegistry::fromPrimitives().
    • Updated CriteriaToFirestoreSymbolsTranslator with match expressions for Operator and Direction enums.
    • Updated FirestoreCriteriaQueryExecutor to evaluate Operator::GEO_RADIUS against enum and support UnitOfWork.
  • Migrated geohash encoding in PrimitiveTypesToFirestoreFormatter to use saikiran/geohash (Sk\Geohash\Geohash).