Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Releases: juampi92/cursor-pagination

Laravel 8.* support

24 Nov 09:45
445dab1
Compare
Choose a tag to compare
Merge pull request #17 from patrickomeara/laravel8-support

Add Laravel 8 support

Support Laravel 7.*

19 Mar 10:30
fbce47f
Compare
Choose a tag to compare
Merge pull request #14 from patrickomeara/master

Support Laravel 7

Support Laravel 6.*

16 Oct 12:57
c06e725
Compare
Choose a tag to compare
  • bumped minimum version of PHP to 7.1 to support phpunit 8 with return type
  • syntaxCheck no longer supported in recent phpunit versions
  • str helper functions have been removed
  • use facade methods
  • PHPUnit have deprecated a lot of functions
  • date _identifier and identifier are protected and can no longer be tested, the subsequent tests cover this anyway

PR: #11
Thanks @patrickomeara

Laravel 5.8 support

07 May 14:54
3d1cf7c
Compare
Choose a tag to compare
v1.3.2

Update composer.json to support laravel 5.8.*

Identifier Alias

02 Dec 19:50
Compare
Choose a tag to compare
  • New option: identifier_alias. It determines the name of the attribute to use on the model.
  • Smartly decide the column name when ordering by table.column on the Query.

Added Laravel 5.7 support

29 Oct 08:47
afc13cd
Compare
Choose a tag to compare
Merge pull request #8 from juampi92/juampi92-laravel-5.7

Update composer.json to include laravel 5.7

Added support for unix_dates

27 Jul 05:26
Compare
Choose a tag to compare

If you were using datetime and the date is formatted using unix timestamps, the paginator will transform the unix timestamp into date 'c' format to compare it in the database.

If you are storing unix timestamps on the database, use the 'date_unix' => true option

Date cursors

04 Jun 00:07
Compare
Choose a tag to compare
  • Auto-detect cursors (depending on orderBy clause or primaryKey)
  • Datetime cursors are casted property to unix timestamps
  • camelCase or snake_case or custom transformation for cursor names

Initial Release 1.0

24 Feb 01:36
Compare
Choose a tag to compare
v1.0.0

StyleCI double quote for simple