Skip to content

Add cursor pagination and sequential view rendering - #64

Merged
mbabker merged 20 commits into
4.xfrom
feature/cursor-pagination
Oct 8, 2026
Merged

mbabker merged 20 commits into
4.xfrom
feature/cursor-pagination

Conversation

@mbabker

@mbabker mbabker commented Sep 25, 2026

Copy link
Copy Markdown
Member

Fixes #30

  • Creates a new set of core interfaces describing cursor- and offset-based pagination and their capabilities
  • Creates a new set of view integrations for sequential views (previous/next navigation only)
  • Adds cursor pagination adapters for Doctrine's ORM (building off their pagination tools), Collections, and DBAL packages (the latter two home-rolled), as well as the Elastica and Solarium adapters
  • Deprecate the page-number based APIs at the view layer

(Stays draft through review and until I've gotten the bundle changes situated to catch up to this)

Comment thread lib/Core/Adapter/AdapterInterface.php Outdated
Comment thread lib/Core/RouteGenerator/PageNumberRouteGenerator.php Outdated
@mbabker
mbabker force-pushed the feature/cursor-pagination branch from 7d3a530 to a0f8f8a Compare October 5, 2026 11:44
@mbabker
mbabker marked this pull request as ready for review October 8, 2026 19:29
@mbabker
mbabker merged commit 21bc2f5 into 4.x Oct 8, 2026
45 of 150 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor and offset based paginators

2 participants