Skip to content

Releases: onemightyroar/PHP-ActiveRecord-Components

Stabilized Ordering for Paging Options

04 Feb 18:49
Compare
Choose a tag to compare

This release fixes an enhances paging option parsing to make sure that the resulting order is stabilized by appending an order clause on a stably/naturally ordered column.

Order Parameter Changes

24 Nov 20:02
Compare
Choose a tag to compare

This release ensures that the order parameters are properly sanitized.

Paging Parameter Range Enforcing

04 Nov 18:36
Compare
Choose a tag to compare

This release normalizes the paging values to enforce a safe range.

Wildcard Value Escaping

29 Jul 21:21
Compare
Choose a tag to compare

This release adds a new method to escape a query parameter's value that contains wildcards.

Cache Adapter Interface

04 Jun 20:17
Compare
Choose a tag to compare

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

14 Apr 21:58
Compare
Choose a tag to compare

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

05 Feb 23:08
Compare
Choose a tag to compare

The previous release wasn't properly checking for null references.
This release fixes that.

Assert valid

22 Jan 22:00
Compare
Choose a tag to compare

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

09 Jan 17:42
Compare
Choose a tag to compare

This release adds a new feature to "freeze" a model into a read-only mode.

This release also adds a convenient way to build ActiveRecordValidationExceptions from a model instance.

Magic __isset() Fix

06 Nov 17:52
Compare
Choose a tag to compare

This release overrides the model's magical isset() function and now checks for a model's existing attributes as well as relationships.