Skip to content

Commit 454941c

Browse files
authored
Update CHANGELOG.md
1 parent afdd758 commit 454941c

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
# 0.6.0
22

3-
PLACEHOLDER
3+
Great thanks to @pikax for #311, which makes most of the APIs better aligned with the latest vue-next.
4+
5+
## BREAKING CHANGE
6+
7+
- The `lazy` option of `watch` has been replaced by the opposite `immediate` option, which defaults to false. (It's ignored when using the effect signature). [more details](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md#breaking-changes-12) (#266)
8+
- Rename `nonReactive` to `markRaw`
9+
- `UnwrapRef` types from `vue-next` this can cause some incompatibilities.
10+
11+
## Bug Fixes
12+
13+
- Added missing reactivity API from vue-next, #311, @pikax
14+
- Fix return type of `toRefs`, #315,
15+
- Fix incorrect ref typing, #344, @antfu
16+
- Binding context vm when using function without parentheses, #148, @pikax
17+
- **computed**: destroy helper vm of computed to prevent memleak, #277, @LinusBorg
18+
19+
## Features
20+
21+
- Added `unref`(#309), `isReactive` (#327), `toRef` (#313), `UnwrapRef` (#247)
22+
- Added `shallowReactive`, `shallowRef`
23+
- Added `toRaw`
24+
- `getCurrentInstance` available on the lifecycle hooks (`onMounted`, etc)
25+
- `getCurrentInstance` returns `undefined` when called outside setup instead of throwing exception
26+
27+
## Types
28+
- Align reactivity types with `vue-next`
29+
430

531
# 0.5.0
632

0 commit comments

Comments
 (0)