Skip to content

Releases: schorts99/firestore-dao-php

v3.0.0

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).

v2.0.0

Choose a tag to compare

@schorts99 schorts99 released this 07 Oct 05:27
b7739ac

Changed

  • shared kernel to 2.0.0

Fixed

  • Fix formatCoordinates.

v1.0.0

Choose a tag to compare

@schorts99 schorts99 released this 24 Aug 05:47

Fixed

  • Fix folder structure.

v0.1.9

Choose a tag to compare

@schorts99 schorts99 released this 01 Aug 05:12

Fixed

  • Fixed CriteriaToFirestoreSymbolsTranslator.

Changed

  • Updated shared kernel to 0.10.4.

v0.1.8

Choose a tag to compare

@schorts99 schorts99 released this 24 Jul 02:28

Fixed

  • Fixed FirestoreDAO constructor.

v0.1.7

Choose a tag to compare

@schorts99 schorts99 released this 24 Jul 02:25

Fixed

  • Implement count method on FirestoreDAO.

v0.1.6

Choose a tag to compare

@schorts99 schorts99 released this 24 Jul 02:17

Changed

  • Update dependencies.

v0.1.5

Choose a tag to compare

@schorts99 schorts99 released this 20 Jun 19:27

Changed

  • Use Pascal on folders.

v0.1.4

Choose a tag to compare

@schorts99 schorts99 released this 20 Jun 19:09

Fixed

  • use $collection->id() instead of $collection->name() to only get the collection name and not the full path.

v0.1.3

Choose a tag to compare

@schorts99 schorts99 released this 20 Jun 18:56

Changed

  • Use SharedKernel only as dev dependency to prevent multiple instances of EntityRegistry.