Skip to content

Releases: Flipkart/recyclerlistview

Version 3.2.0-beta.2

01 Apr 21:48
8f895e8
Compare
Choose a tag to compare
Version 3.2.0-beta.2 Pre-release
Pre-release

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

30 Mar 19:36
9df1a85
Compare
Choose a tag to compare
Version 3.2.0-beta.1 Pre-release
Pre-release

What's Changed

API Changes

  • optimiseForInsertDeleteAnimations is a no-op. Please use prepareForLayoutAnimationRender instead
  • bringToFocus API now reads windowShift from applyWindowCorrection output to correct its target offset

New Contributors

Full Changelog: 3.0.5...3.2.0-beta.1

Version 3.0.5

25 Jan 11:26
e481e07
Compare
Choose a tag to compare

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 of newProps while updating onVisibleIndicesChanged callback

Version 3.0.5-beta.1

06 Jan 18:41
449cd4e
Compare
Choose a tag to compare
Version 3.0.5-beta.1 Pre-release
Pre-release

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 of newProps while updating onVisibleIndicesChanged callback

Version 3.0.1-beta.1

11 May 12:48
e12e568
Compare
Choose a tag to compare
Version 3.0.1-beta.1 Pre-release
Pre-release

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 set canChangeSize to true.

Version 3.0.0

18 Feb 06:24
b7c23d2
Compare
Choose a tag to compare

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 do import { 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:

  • #400 Fix zero height start or end being prevented from inflating.
  • #401 Fix breaks if layout provider and data providers are changed in the same pass.

Version 2.0.12

22 Aug 06:43
Compare
Choose a tag to compare

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:

  • #299 Import was not from web
  • #301 Build Fix
  • #238 Add styles when using useWindowScroll={true}
  • #223 Fix scroll value issue when scrollOffset is less than distance
  • #219 Fix for scroll to offset api
  • #210 Stuck animator fix
  • #193 Fix missing onLayout
  • Other misc fixes

Version 2.0.10-beta.1

31 Jul 07:51
Compare
Choose a tag to compare
Version 2.0.10-beta.1 Pre-release
Pre-release

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

11 Feb 12:36
Compare
Choose a tag to compare
Version 2.0.0-beta.3 Pre-release
Pre-release

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

Bug Fixes:

  • #299 Import was not from web
  • #301 Build Fix
  • #238 Add styles when using useWindowScroll={true}
  • #223 Fix scroll value issue when scrollOffset is less than distance
  • #219 Fix for scroll to offset api
  • #210 Stuck animator fix
  • #193 Fix missing onLayout

Version 1.4.0-beta.5

06 Jun 04:34
21049cc
Compare
Choose a tag to compare
Version 1.4.0-beta.5 Pre-release
Pre-release

Improvements

  • Stable Id support: Adds getStableId(index: number): string as second param in DataProvider constructor. Significantly improves re-rendering on data set changes. Enables add/remove animations.
  • New prop optimizeForInsertDeleteAnimations forcefully unmounts removed items to kick in layout animations. Without it RLV prefers reusing the cell later. This prop requires stable ids.
  • Externalised Layout Provider: You can write your own and pass it in the same prop to RLV e.g, if you want masonry with recycling you can write it and open source yourself :)
  • SSR Fixes to allow server builds
  • onRecreate prop added which triggers a callback in case of context preservation passing necessary info like lastOffset for more optimizations in app logic.
  • Improved warning in case of missing RLV bounds
  • Warning if mounted without any data

Bug Fixes

  • #178
  • #172 Only warning for now, in next major version we'll start throwing exceptions in case RLV is mounted without data.