Skip to content
12 changes: 12 additions & 0 deletions .changeset/memory-leak-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"vue-pivottable": patch
---

Fix critical memory leak in VPivottableUi component (#270)

- Remove deep watch that created thousands of property watchers (80% of memory leak)
- Replace computed PivotData with shallowRef to prevent instance recreation on every access
- Add proper cleanup in onUnmounted lifecycle hook
- Results: 94% memory reduction (881MB β†’ 53MB after 1000 refreshes)
- Fixes #270: Memory continuously increases when refreshing pivot chart
EOF < /dev/null
13 changes: 13 additions & 0 deletions .changeset/pivot-model-two-way-binding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"vue-pivottable": minor
---

feat: PivotModel μ–‘λ°©ν–₯ 바인딩 κΈ°λŠ₯ κ΅¬ν˜„

- VPivottableUi μ»΄ν¬λ„ŒνŠΈμ— v-model:pivotModel 지원 μΆ”κ°€
- PivotModel μΈν„°νŽ˜μ΄μŠ€ μ •μ˜ 및 νƒ€μž… μ‹œμŠ€ν…œ ꡬ좕
- ν•„ν„° 변경사항이 μ¦‰μ‹œ PivotModel에 λ°˜μ˜λ˜λ„λ‘ μˆ˜μ •
- props μ •μ˜λ₯Ό Partial<DefaultPropsType>둜 λ³€κ²½ν•˜μ—¬ pivotModel μ‚¬μš© μ‹œ κ°œλ³„ propsλ₯Ό μ„ νƒμ μœΌλ‘œ λ§Œλ“¦
- PivotModel μœ ν‹Έλ¦¬ν‹° ν•¨μˆ˜ μΆ”κ°€ (비ꡐ, 생성, 볡제)
- PivotModel νžˆμŠ€ν† λ¦¬ 관리λ₯Ό μœ„ν•œ composable μΆ”κ°€ (usePivotModelHistory)
- PivotModel 직렬화/역직렬화 μœ ν‹Έλ¦¬ν‹° μΆ”κ°€
Loading