Releases: scrawler-labs/arca-orm
Releases · scrawler-labs/arca-orm
v4.0.1
v4.0.0
What's New ?
Features
- Eager load modal reaction
toArray()
andtoString()
now returns with loaded relations- Database factory to build container and Database class
refresh()
function for model to sync its state if relational models are modified- Ability to store arrays and objects directly into database (this is done using serialisation)
Performance
- Loaded relational models are not loaded again
Security and Stability
- Using safe version of php function so that Exception is thrown instead of false value being return
- Force setting of id now throws error
- Foreign key constraints are applied when saving relational models
- Unstable static functions are removed
- Events class is removed as it was causing multiple side effect
- Dependencies are now properly managed by containers
Testing and Code quality
- Code now follows phpcs-fixer symfony code guideline
- Minimised class complexity using traits
- Code coverage now 100%
- Passes <75% in mutation testing
- Passes level 8 phpstan analysis
Full Changelog: v3.4.0...v4.0.0
v3.4.0
v3.3.0
v3.2.0
v3.1.1
v3.1.0
v3.0.0
Full Changelog: v2.1.1...v3.0.0
v3.0.0-beta1
- Updated Doctrine to version 4.x
- Updated and improved code architecture
- $db->get() now only returns collection and $db->getOne() is used to get single model
- Each connection now have a unique uuid
- useUUID is now part of connection params rather than a separate constructor parameter
- Better tests and coverage
Full Changelog: v2.1.1...v3.0.0-beta1
v2.1.1
What's Changed
- fix(deps): update dependency ramsey/uuid to v4.7.4 by @renovate in #30
- fix(deps): update dependency doctrine/dbal to v3.7.0 by @renovate in #36
- fix(deps): update dependency loophp/collection to v7.2.1 by @renovate in #35
- chore(deps): update dependency phpmd/phpmd to v2.14.1 by @renovate in #15
- chore(deps): update actions/checkout action to v4 by @renovate in #37
- chore(deps): update dependency pestphp/pest to v2.20.0 by @renovate in #34
- chore(deps): update dependency phpstan/phpstan to v1.10.36 by @renovate in #33
- chore(deps): update dependency squizlabs/php_codesniffer to v3.7.2 by @renovate in #17
Full Changelog: v2.1.0...v2.1.1