Releases: scrawler-labs/arca-orm
Releases · scrawler-labs/arca-orm
v4.2.0
v4.1.0
v4.0.2
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