currentPage, totalPages, url, and params settings can now be functions (though you can still hardcode the values like before) which is handy for working with search results that are updated with an ajax call instead of a full screen refresh
merging