v3.2.43: initial value of watcher changed from undefined to an empty array #7074
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
regression
Vue version
3.2.43
Link to minimal reproduction
https://sfc.vuejs.org/#eNp9UV1vnDAQ/Csrq1KIBLht+nTlUPLWH9C3ulIo7N25wR+yF04R4r9nMVx0SaQ84d2dnZkdJvHgfTkOKHaiIjS+bwhrZQGqoU9ffvUaxuLgwl6J9tTYI4K2QI6a/peO5MKzEvU0wTab50r2euWQiaSSV8xcxjZoTxCRBg89LzExRSZRVhvvAgGTOeMHwi6HgE1LesTldcjh3FB7ghkOwRm4Yec3PxfS1tlIqynYv25n2S3sa/j29ZZBV5DNNyOZs3oIoXmuIgVtj3Wd/fm7oJNOtlyxcqS9cmz6AfPUtXj+vfRycH2XXgk3raFdy6xbpR/iKXtMyC2rbr3iy3RhmHmPywv1/Lg4AZiT4gTaGOw057gDCgNHrewCqOSaKOcncrFGWJjGl/+js/xjkyW1DTjn3cWkEpzfUitxIvJxJ+Vg/dOx5PzkPc9kGCxpg0XnzP1d+b38cSc7Puq6X2I0xb/gzhEDKyqRzG7kkpsjhiKg7TBg+FTsHfaN4LvZB9EUk7KzmF8AXV35QQ==
Steps to reproduce
This used to log
Total changed from undefined to 10
but now logsTotal changed from to 10
asoldTotal
is now an empty array.Change the version to v3.2.42 to this the former behavior
What is expected?
The initial value should be undefined (or a breaking change should be added to the changelog to mention that it is now an empty array)
What is actually happening?
The initial value is an empty array
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: