Releases: onemightyroar/PHP-ActiveRecord-Components
Stabilized Ordering for Paging Options
Order Parameter Changes
This release ensures that the order parameters are properly sanitized.
Paging Parameter Range Enforcing
This release normalizes the paging values to enforce a safe range.
Wildcard Value Escaping
This release adds a new method to escape a query parameter's value that contains wildcards.
Cache Adapter Interface
ActiveRecord caching should now be much easier to setup and use, thanks to a new interface definition and even an adapter for Doctrine Cache.
Optimization for hasNextPage
AbstractModel::hasNextPage()
will set include = null
to avoid any eager loading since that is not needed for determining if a next page exists.
Assert valid fix
The previous release wasn't properly checking for null references.
This release fixes that.
Assert valid
This release adds a new convenience method to assert that a model is "valid". Valid meaning that it passes the model's validations without error.
Read-only freezing
This release adds a new feature to "freeze" a model into a read-only mode.
This release also adds a convenient way to build ActiveRecordValidationException
s from a model instance.
Magic __isset() Fix
This release overrides the model's magical isset() function and now checks for a model's existing attributes as well as relationships.