Unclaimed project
Are you a maintainer of knp-components? Claim this project to take control of your public changelog and roadmap.
This is a major release, since a BC was introduced: the DBALQueryBuilderSubscriber now requires an instance of DBAL connection to be injected, otherwise it was impossible to make it work with DBAL version 4. Consequently, the BeforeEvent now accepts a third optional parameter: the connection mentioned above. If you don't pass the connection, the DBAL pagination won't be enabled.
If you use this library with Symfony (so, with the KnpPaginatorBundle), everything will be done for you.
Full Changelog: https://github.com/KnpLabs/knp-components/compare/v4.4.0...v5.0.0