Skip to content

Pagination Utils 4.0.1 - Electric Boogaloo

Compare
Choose a tag to compare
@ygimenez ygimenez released this 07 Mar 14:31
· 42 commits to master since this release

And here we are again, the long-waited release is finally here, with many performance improvements and full compatibility to JDA 5. The most notable improvement is that API calls were reduced to one per event (more in the case of reactions), reducing considerably the amount of requests sent to Discord during method calls (paginate, categorize, buttonize and lazyPaginate).
Another notable feature in this version is the addition of Helper classes (namely PaginateHelper, CategorizeHelper, ButtonizeHelper and LazyPaginateHelper) which allow reusage of configurations and easier configuration.

WARNING: This version had signature changes on some methods, making it incompatible with older versions, make sure to check your code after updating.

Solved issues:

Changelist:

  • Updated to JDA 5
  • Changed Page to use String instead of Message (MessageEmbeds unaffected)
  • Reduced API calls across all methods
  • Introduction of Helper classes
  • Optimized internal handling of Pages
  • Added handling for unmapped interactions (PUtilsConfig.setOnRemove())
  • Updated README