Skip to content

v1.0.8 — Repository Layer Foundation & Unified RepositoryInterface

Choose a tag to compare

@Maatify Maatify released this 22 Nov 12:10
· 4 commits to main since this release

🧾 Release Notes — v1.0.8

⭐ Repository Layer Foundation (Phase 16)

This release introduces the core repository contract for the entire Maatify.dev backend ecosystem.
A new RepositoryInterface has been added to standardize CRUD and pagination operations across all adapters
(MySQL, MongoDB, Redis, DBAL) and prepare the architecture for the upcoming maatify/data-repository package.


🚀 What's New

✔ Added

  • RepositoryInterface defining unified CRUD operations:

    • find(int|string $id): ?array
    • findAll(array $filters = []): array
    • insert(array $data): int|string
    • update(int|string $id, array $data): bool
    • delete(int|string $id): bool
    • paginate(int $page, int $perPage, array $filters = []): PaginationResultDTO
  • New Phase 16 documentation:

    • docs/phases/README.phase16.md
  • Repository section added to:

    • README.md
    • README.full.md

🛠 Updated

  • CHANGELOG.md updated with full v1.0.8 entry
  • VERSION bumped from 1.0.7 → 1.0.8

🔧 Compatibility

  • Fully backward compatible
  • No breaking changes introduced
  • Works with all existing adapters
  • Serves as the base for the upcoming repository layer library (maatify/data-repository)

🧪 Tests

  • All existing tests passed successfully
  • No repository tests added yet (first tests will appear in Phase 17)
  • No behavioral changes to existing modules

📦 Summary

v1.0.8 finalizes the internal architecture for repository operations, enabling clean data access layers, unified patterns, and future repository abstractions across the Maatify backend ecosystem.