1.3 KiB
1.3 KiB
Changelog
All notable changes to this project will be documented in this file.
[0.1.0] - 2026-01-06
Added
- Caching Layer: Integrated PSR-16 (Simple Cache) support into
AbstractDaoandAbstractMongoDao.- Automated cache invalidation on write operations.
- Identity Map synchronization for cached objects.
- Customizable TTL and prefix per DAO.
- CLI Enhancements:
- Extracted CLI logic into dedicated Command classes in
Pairity\Console. - Added
--pretendflag tomigrate,rollback, andresetcommands for dry-run support. - Added
--templateflag tomake:migrationfor custom migration boilerplate.
- Extracted CLI logic into dedicated Command classes in
- MongoDB Refinements:
- Production-ready
MongoClientConnectionwrappingmongodb/mongodb^2.0. - Integrated caching into
AbstractMongoDao. - Improved
_idnormalization and BSON type handling.
- Production-ready
- Improved Testing: Added
PretendTest,MigrationGeneratorTest, andCachingTest.
Changed
- Updated
AbstractDtoto support\Serializableand PHP 8.1+__serialize()/__unserialize()for better cache persistence. - Refactored
bin/pairityto use the new Console Command structure.
[0.0.1] - 2025-12-11
- Initial development version with core ORM, Relations, Migrations, and basic MongoDB support.