Skip to content

Commit 72ed2e1

Browse files
authored
Merge pull request #286 from vue-pivottable/develop
๐Ÿ”„ Integrate develop โ†’ staging (7 commits)
2 parents 2e6fcd6 + fc5e85f commit 72ed2e1

17 files changed

+2264
-48
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"vue-pivottable": patch
3+
---
4+
5+
Fix critical memory leak in VPivottableUi component (#270)
6+
7+
- Remove deep watch that created thousands of property watchers (80% of memory leak)
8+
- Replace computed PivotData with shallowRef to prevent instance recreation on every access
9+
- Add proper cleanup in onUnmounted lifecycle hook
10+
- Results: 94% memory reduction (881MB โ†’ 53MB after 1000 refreshes)
11+
- Fixes #270: Memory continuously increases when refreshing pivot chart
12+
EOF < /dev/null
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"vue-pivottable": minor
3+
---
4+
5+
feat: PivotModel ์–‘๋ฐฉํ–ฅ ๋ฐ”์ธ๋”ฉ ๊ธฐ๋Šฅ ๊ตฌํ˜„
6+
7+
- VPivottableUi ์ปดํฌ๋„ŒํŠธ์— v-model:pivotModel ์ง€์› ์ถ”๊ฐ€
8+
- PivotModel ์ธํ„ฐํŽ˜์ด์Šค ์ •์˜ ๋ฐ ํƒ€์ž… ์‹œ์Šคํ…œ ๊ตฌ์ถ•
9+
- ํ•„ํ„ฐ ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ์ฆ‰์‹œ PivotModel์— ๋ฐ˜์˜๋˜๋„๋ก ์ˆ˜์ •
10+
- props ์ •์˜๋ฅผ Partial<DefaultPropsType>๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ pivotModel ์‚ฌ์šฉ ์‹œ ๊ฐœ๋ณ„ props๋ฅผ ์„ ํƒ์ ์œผ๋กœ ๋งŒ๋“ฆ
11+
- PivotModel ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜ ์ถ”๊ฐ€ (๋น„๊ต, ์ƒ์„ฑ, ๋ณต์ œ)
12+
- PivotModel ํžˆ์Šคํ† ๋ฆฌ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ composable ์ถ”๊ฐ€ (usePivotModelHistory)
13+
- PivotModel ์ง๋ ฌํ™”/์—ญ์ง๋ ฌํ™” ์œ ํ‹ธ๋ฆฌํ‹ฐ ์ถ”๊ฐ€

0 commit comments

Comments
ย (0)