Skip to content

v3.0.0

Choose a tag to compare

@serhat-m serhat-m released this 14 Jul 20:48
c605356

3.0.0 (2025-07-14)

🆕 Overview V3

  • generateTestData removed

    The generateTestData function has been removed in V3.

    As an alternative, mock data can be generated manually, for example:

    const dataList = Array.from({ length: 400 }, (_, index) => ({
      id: `Id${index + 1}`,
      name: `Name${index + 1}`,
    }))
  • Renamed: pageNumbers → pagination

    • The top-level pageNumbers object has been renamed to pagination.
    • Within pagination, the nested navigation object has been renamed to pageNumbers.
  • Changed fallback values: false → null

    The properties pagination.previousPage, pagination.nextPage, pagination.customPreviousPage and pagination.customNextPage may not always be technically available.

    In V2, unavailable values were represented as false.

    In V3, these now return null to more accurately reflect the absence of a value.

  • Improved performance through memoization of calculations between re-renders

⚠ BREAKING CHANGES

  • hook structure
  • remove generateTestData from package

Features

  • adapt ui to new structure (a1be42a)
  • improve error handling for usePagination hook (17cb6ca)

Core

  • hook structure (3bfb6ce)
  • memoize calculations between re-renders (f622ae4)
  • remove generateTestData from package (51aa0a8)
  • remove generateTestData from ui package (887afb4)
  • update contributing file (129334d)

Miscellaneous

  • adapt readme to new structure (2fd7e9f)
  • add media for docs (00ca7fd)
  • add release please and update pipelines (9cebbff)
  • migrate to biome v2 and update package.json (e337874)
  • update dev dependencies and change build process from tsc to tsup (81b2082)
  • update readme (1935894)