@legendapp/list 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/index.js +292 -281
  3. package/index.mjs +236 -225
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,47 @@
1
+ ## 2.0.5
2
+ - Perf: Change updateAllPositions to constrain processing to the scroll range
3
+ - Fix: Crash when using snapTo in some environments
4
+ - Perf: Change Separator to use useIsLastItem which should reduce the number of times it runs
5
+
6
+ ## 2.0.4
7
+ - Fix: Possible crash if refScroller is undefined
8
+
9
+ ## 2.0.3
10
+ - Feat: Set activeStickyIndex for usage in getState()
11
+ - Revert changes from 2.0.1 and 2.0.2 which were buggy in an edge case
12
+
13
+ ## 2.0.2
14
+ - Fix: Performance improvement in 2.0.1 caused a bug in an edge case
15
+
16
+ ## 2.0.1
17
+ - Perf: Improve performance in very long lists (bad release)
18
+
19
+ ## 2.0.0
20
+ Major version release with significant performance improvements and architectural changes:
21
+ - Feat: Complete rewrite of virtualization algorithm for better performance
22
+ - Feat: Add sticky headers support via stickyIndices prop
23
+ - Feat: Add snapToIndices prop for snap-to behavior
24
+ - Feat: Add getItemType prop for better item type handling
25
+ - Feat: Add getFixedItemSize prop for items with known fixed sizes
26
+ - Feat: Add itemsAreEqual prop to reduce re-rendering when data changes
27
+ - Feat: Expose positions in getState()
28
+ - Feat: Add enableAverages prop to control average size calculations
29
+ - Feat: Add viewOffset option to scrollToEnd
30
+ - Feat: Improve maintainScrollAtEnd with more granular options
31
+ - Feat: Add ref function to enable/disable scroll processing
32
+ - Feat: Support lazy rendering directly in LegendList component
33
+ - Perf: Optimize container positioning using transform instead of absolute positioning
34
+ - Perf: Improve scroll buffering algorithm with directional bias
35
+ - Perf: Enable batched updates for better rendering performance
36
+ - Perf: Optimize container allocation and reuse algorithms
37
+ - Perf: Improve average item size calculations
38
+ - Fix: Improve maintainVisibleContentPosition reliability
39
+ - Fix: Better handling of data changes and scroll position maintenance
40
+ - Fix: Improve initial scroll positioning accuracy
41
+ - Fix: Better handling of padding changes
42
+ - Fix: Resolve various edge cases with container recycling
43
+ - Fix: Improve viewability calculations
44
+
1
45
  ## 1.1.4
2
46
  - Feat: Add sizes to getState()
3
47