Releases: Flipkart/recyclerlistview
Releases · Flipkart/recyclerlistview
Version 3.2.0-beta.4
What's Changed
- Fix no op set state by @naqvitalha in #706
- Added prop to suppress bounded size exception by @naqvitalha in #709
- remove unnecessary force refresh by @naqvitalha in #710
- Remove no data warning by @naqvitalha in #711
Full Changelog: 3.2.0-beta.2...3.2.0-beta.4
Version 3.2.0-beta.2
What's Changed
- Forcing size change in renderer if onLayout is missing by @naqvitalha in #705
Full Changelog: 3.2.0-beta.1...3.2.0-beta.2
Version 3.2.0-beta.1
What's Changed
- Added bring to focus functionality by @anirudhagarwal365 in #585
- Making RLV render stack wait for pending offset by @ananyachandra14 in #604
- Update README.md by @bobychaudhary in #672
- Item container override by @naqvitalha in #675
- Fix undefined index while rendering sticky by @naqvitalha in #674
- Adding capability to set final offset after progressive list view updates by @naqvitalha in #685
ProgressiveListView
should render after first onLayout by @naqvitalha in #688- Expose scrollable nodes by @naqvitalha in #690
- Web container override by @naqvitalha in #691
- Add a new prop -
onEndReachedThresholdRelative
by @ElviraBurchik in #695 - Skip forceRefresh when actualOffset < 0 by @fortmarek in #700
- Fix stable id collisions and provide alternate for
optimiseForInsertDeleteAnimations
by @naqvitalha in #696 - Fix offset when applyWindowCorrection is used by @naqvitalha in #699
- Avoid skipping force refresh by @naqvitalha in #702
- Removed no-op set state by @naqvitalha in #703
API Changes
optimiseForInsertDeleteAnimations
is a no-op. Please useprepareForLayoutAnimationRender
insteadbringToFocus
API now readswindowShift
fromapplyWindowCorrection
output to correct its target offset
New Contributors
- @anirudhagarwal365 made their first contribution in #585
- @bobychaudhary made their first contribution in #672
- @ElviraBurchik made their first contribution in #695
- @fortmarek made their first contribution in #700
Full Changelog: 3.0.5...3.2.0-beta.1
Version 3.0.5
New Features:
- Server Side Rendering support.
layoutSize
prop introduced that can be passed on the server. This value will be used for first render and frame skip that happens on normal client rendering to measure size is avoided. onItemLayout
callback added. Can report when an item layout changes. First call can also be used as a proxy to determine when atleast one item has been rendered on screen. The callback doesn't report the layout however, it can be queried from RLV ref.alwaysStickyFooter
prop available to make the last sticky footer item remain at the end of the screen.
Bug Fixes:
- OffsetY compute fix for first sticky render
- Fixed incorrect reference to
this.props
instead ofnewProps
while updatingonVisibleIndicesChanged
callback
Version 3.0.5-beta.1
New Features:
- Server Side Rendering support.
layoutSize
prop introduced that can be passed on the server. This value will be used for first render and frame skip that happens on normal client rendering to measure size is avoided. onItemLayout
callback added. Can report when an item layout changes. First call can also be used as a proxy to determine when atleast one item has been rendered on screen. The callback doesn't report the layout however, it can be queried from RLV ref.alwaysStickyFooter
prop available to make the last sticky footer item remain at the end of the screen.
Bug Fixes:
- OffsetY compute fix for first sticky render
- Fixed incorrect reference to
this.props
instead ofnewProps
while updatingonVisibleIndicesChanged
callback
Version 3.0.1-beta.1
Changes
- New prop
layoutSize
added. Use this to pass a size that can be used to render RLV in the first frame itself. This can also enable SSR. If you want RLV to use the right size after mount setcanChangeSize
totrue
.
Version 3.0.0
Breaking Changes:
distanceFromWindow
is deprecated and removed, use applyWindowCorrection instead.
New Features:
- Recyclerlistview has now been moved to react 16 however, it still remains compatible with older versions of react.
- Moved GridLayoutProvider into recylerlistview. Refer this while we update samples.
You can now doimport { GridLayoutProvider } from "recyclerlistview"
(recommended) renderStickyContainer
introduced in StickyContainer, used to provide custom styling options for StickyObjects.applyWindowCorrection
introduced, used to provide correctional values for the visible window bound for RecyclerListView.renderContentContainer
provided to wrap the list items inside a custom component for custom use cases.
Improvements:
- #387 Compat component to maintain compatibility across react version.
Bug Fixes:
Version 2.0.12
Breaking Changes:
- onVisibleIndexesChanged deprecated. Use onVisibleIndicesChanged instead.
- Lot of internal changes. Test well before shipping.
New Features:
- ProgressiveListView with dynamic render ahead.
- Sticky items added. Wrap your RecyclerListView component with StickyContainer and pass header and footer indices to stick the items to the top or bottom.
- Support for debugging of difference in cell dimension.
forceRerender
now available for custom use cases on web
Improvements:
- #272 Support IE11 window scroll offset
- #257 Building process simplified
- #237 Layout type check for computed layouts
- #231 OnRecreateParams added in default export
- #213 Optional anchoring
- #216 Removed all binds
- #212 Removed requestAnimationFrame polyfill
- #196 Accomodating content insets and content container padding in row calculations
Bug Fixes:
Version 2.0.10-beta.1
Bug Fixes:
- Common debounce method removed
- Scroll inconsistencies due to
distanceFromWindow
fixed - RelayoutReqIndex matches with dataProvider length now
forceRerender
method added to enforce renders if required- Sticky header related bug fixes
Version 2.0.0-beta.3
Breaking Changes:
- onVisibleIndexesChanged deprecated. Use onVisibleIndicesChanged instead.
- Lot of internal changes. Test well before shipping.
New Features:
- ProgressiveListView with dynamic render ahead.
- Sticky items added. Wrap your RecyclerListView component with StickyContainer and pass header and footer indices to stick the items to the top or bottom.
- Support for debugging of difference in cell dimension.
Improvements:
- #272 Support IE11 window scroll offset
- #257 Building process simplified
- #237 Layout type check for computed layouts
- #231 OnRecreateParams added in default export
- #213 Optional anchoring
- #216 Removed all binds
- #212 Removed requestAnimationFrame polyfill
- #196 Accomodating content insets and content container padding in row calculations