Skip to content

Releases: lampager/lampager-cakephp

v2.0.0

12 Jan 17:08
00f7f88
Compare
Choose a tag to compare
  • Support CakePHP 4.x (#15)

The version 2.x is for CakePHP 4.x while the version 1.x is for CakePHP 3.x. Both version 1.x and 2.x are still going to receive any kind of updates.

v1.0.1

12 Jan 17:06
b06b74e
Compare
Choose a tag to compare
  • Fix type definitions (#14, #16)
  • Fix \Lampager\Cake\Paginator::paginate() to match with documentation (#14)

v1.0.0

05 Jan 14:36
cd353cf
Compare
Choose a tag to compare
  • \Lampager\Cake\Paginator now accepts \Cake\ORM\Query (#10)
  • Add support for PostgreSQL (#11)
  • \Lampager\Cake\Datasource\Paginator now throws \InvalidArgumentException when \Lampager\Cake\ORM\Query is passed (#12)

The version 1.x is for CakePHP 3.x and continues to receive any kinds of updates. A new version that works for CakePHP 4.x is under development and will be released in the version 2.x.

v0.1.1

02 Jan 16:57
d295749
Compare
Choose a tag to compare
  • \Lampager\Cake\ORM\Query::count() now returns the number of the result set considering pagination
  • \Lampager\Exceptions\Query\BadKeywordException is thrown if \Cake\Database\Expression\OrderClauseExpression does not have direction
  • \Lampager\Exceptions\Query\LimitParameterException is thrown if \Cake\Database\Expression\QueryExpression passed to limit() is not a positive integer
  • \Lampager\Cake\ORM\Query object can now dump its information even when its state is incomplete
  • Fix a bug where \Lampager\Paginator dropped queries other than order() and limit()
  • \Lampager\Exceptions\Query\InsufficientConstraintsException is thrown if group() or union() is specified
  • The coverage now reaches 100%!

v0.1.0

02 Jan 16:58
67867a2
Compare
Choose a tag to compare
  • Initial release 🎉