All Versions
42
Latest Version
Avg Release Cycle
50 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v9.0.0 Changes
- โ Removed support for depecrated
extraAriaContext
(please useariaLabelBuilder
instead)
- โ Removed support for depecrated
-
v8.1.4 Changes
- โ Add an ARIA role
navigation
to main<ul>
tag - ๐ Dependencies bumps for generating build. Replace
react-hot-loader
byreact-refresh
(see: https://github.com/AdeleD/react-paginate/issues/428#issuecomment-1302408824)
- โ Add an ARIA role
-
v8.1.3 Changes
- ๐ Support React 18 (see: https://github.com/AdeleD/react-paginate/issues/423)
-
v8.1.2 Changes
- ๐ Excluded unnecessary files from package (see: https://github.com/AdeleD/react-paginate/pull/410)
-
v8.1.1 Changes
- โ Add TypeScript definition for
pageLabelBuilder
prop
- โ Add TypeScript definition for
-
v8.1.0 Changes
- ๐ A new prop
onClick
has been added. It is a callback for any click on the component. It exposes information on the part clicked (for eg.isNext
for when next control is clicked orisBreak
for a break clicked), the next expected pagenextSelectedPage
& others. Can returnfalse
to prevent any page change or a number to override the page to jump to. Just return nothing (orundefined
) to let default behavior take place. (see: https://github.com/AdeleD/react-paginate/issues/263) - Prevent breaks to be displayed when both
pageRangeDisplayed
andmarginPagesDisplayed
are 0
- ๐ A new prop
-
v8.0.3 Changes
- ๐ Fix bug on
marginPagesDisplayed={0}
(see: https://github.com/AdeleD/react-paginate/pull/396)
- ๐ Fix bug on
-
v8.0.2 Changes
- โ Add TypeScript definitions directly in the repository (instead of community definitions from DefinitelyTyped) (see: https://github.com/AdeleD/react-paginate/issues/394)
-
v8.0.1 Changes
- ๐ Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: https://github.com/AdeleD/react-paginate/pull/395)
-
v8.0.0 Changes
- โ Remove button role for links with an href (see: https://github.com/AdeleD/react-paginate/pull/390)
- โ Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props
prevPageRel
,selectedPageRel
andnextPageRel
. To disable the rel attribute, set them tonull
. (see: https://github.com/AdeleD/react-paginate/pull/391) - 0๏ธโฃ A new prop
disabledLinkClassName
has been added. It allows to add a custom class on disabledprevious
andnext
controls. Default toundefined
(no class added). - ๐
tabindex
is now set to-1
on disabled controls (disable previous/next buttons; active page button). (see: https://github.com/AdeleD/react-paginate/issues/219) - โ Add a warning when providing an
initialPage
prop value that is greater than the maximum page index frompageCount
prop. - โ Add a warning when providing a
forcePage
prop value that is greater than the maximum page index frompageCount
prop. - ๐ The
href
generated fromhrefBuilder
prop is now also set on active page control<a>
tag. (see #242) - A new prop
hrefAllControls
has been added. It allows to enablehrefBuilder
for all controls. - ๐ Fix page range of 2 when first page is selected. (see https://github.com/AdeleD/react-paginate/issues/307)
- ๐ Fix the breaking algorithm to not create breaks for only one page (see: https://github.com/AdeleD/react-paginate/issues/270)