Skip to content

v2.0.0

Compare
Choose a tag to compare
@ewilan-riviere ewilan-riviere released this 17 Feb 09:30
· 22 commits to main since this release
179670f

Breaking changes

  • Add OpdsPaginate::class based on #40 from @mikespub to handle manual pagination for issue #38
  • Opds method send() have now a new parameter bool $exit = false to control if the script should exit after sending the response to replace bool $mock = false parameter. By default, send() will not exit the script.
  • Merge paginator with paginate() method, if you not set any parameter, it will generate pagination, if you set OpdsPaginate object, it will generate pagination based on it
  • Remove usePagination and useAutoPagination from OpdsConfig class, now you can use paginate() method to handle pagination

Misc

  • OpdsConfig::class can have nullable updated attribute