Releases: Tiloweb/SymfonyPaginationBundle
Releases · Tiloweb/SymfonyPaginationBundle
v1.6.4
What's Changed
- "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1 by @waschinski in #12
New Contributors
- @waschinski made their first contribution in #12
Full Changelog: v1.6.3...v1.6.4
PHP strict returns
Add PHP Strict returns in order to avoid deprecation on Symfony 6.3
What's Changed
Full Changelog: v1.6.2...v1.6.3
remove deprecation
Merge pull request #10 from Tiloweb/deprecation Remove Deprecation messages
Handle return type for Symfony 6.0
v1.6.1 Update Configuration.php
Paginator helper
You can now use the paginator shortcut to paginate your QueryBuilder in your Repositories :
public function paginate(int $page = 1): Paginator {
$dql = $this->createQueryBuilder('retail');
$dql->orderBy('retail.label');
return Tiloweb\PaginationBundle\Pagination::paginate($dql, $page, 10);
}
Retrocompatibility
Thanks to @DNVl
Symfony 5.0
v1.5 Update PaginationExtension.php
bugfix
Symfony 5.0
v1.4.5 Update to Symfony 5.0