|
| 1 | +# [3.0.0-alpha.6](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2020-02-22) |
| 2 | + |
| 3 | + |
| 4 | +### Bug Fixes |
| 5 | + |
| 6 | +* **compiler-core:** should alias name in helperString ([#743](https://github.com/vuejs/vue-next/issues/743)) ([7b987d9](https://github.com/vuejs/vue-next/commit/7b987d9450fc7befcd0946a0d53991d27ed299ec)), closes [#740](https://github.com/vuejs/vue-next/issues/740) |
| 7 | +* **compiler-dom:** properly stringify class/style bindings when hoisting static strings ([1b9b235](https://github.com/vuejs/vue-next/commit/1b9b235663b75db040172d2ffbee1dd40b4db032)) |
| 8 | +* **reactivity:** should trigger all effects when array length is mutated ([#754](https://github.com/vuejs/vue-next/issues/754)) ([5fac655](https://github.com/vuejs/vue-next/commit/5fac65589b4455b98fd4e2f9eb3754f0acde97bb)) |
| 9 | +* **sfc:** inherit parent scopeId on child rooot ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe)) |
| 10 | +* **types:** improve ref typing, close [#759](https://github.com/vuejs/vue-next/issues/759) ([627b9df](https://github.com/vuejs/vue-next/commit/627b9df4a293ae18071009d9cac7a5e995d40716)) |
| 11 | +* **types:** update setup binding unwrap types for 6b10f0c ([a840e7d](https://github.com/vuejs/vue-next/commit/a840e7ddf0b470b5da27b7b2b8b5fcf39a7197a2)), closes [#738](https://github.com/vuejs/vue-next/issues/738) |
| 12 | + |
| 13 | + |
| 14 | +### Code Refactoring |
| 15 | + |
| 16 | +* preserve refs in reactive arrays ([775a7c2](https://github.com/vuejs/vue-next/commit/775a7c2b414ca44d4684badb29e8e80ff6b5d3dd)), closes [#737](https://github.com/vuejs/vue-next/issues/737) |
| 17 | + |
| 18 | + |
| 19 | +### Features |
| 20 | + |
| 21 | +* **reactivity:** expose unref and shallowRef ([e9024bf](https://github.com/vuejs/vue-next/commit/e9024bf1b7456b9cf9b913c239502593364bc773)) |
| 22 | +* **runtime-core:** add watchEffect API ([99a2e18](https://github.com/vuejs/vue-next/commit/99a2e18c9711d3d1f79f8c9c59212880efd058b9)) |
| 23 | + |
| 24 | + |
| 25 | +### Performance Improvements |
| 26 | + |
| 27 | +* **effect:** optimize effect trigger for array length mutation ([#761](https://github.com/vuejs/vue-next/issues/761)) ([76c7f54](https://github.com/vuejs/vue-next/commit/76c7f5426919f9d29a303263bc54a1e42a66e94b)) |
| 28 | +* **reactivity:** only trigger all effects on Array length mutation if new length is shorter than old length ([33622d6](https://github.com/vuejs/vue-next/commit/33622d63600ba0f18ba4dae97bda882c918b5f7d)) |
| 29 | + |
| 30 | + |
| 31 | +### BREAKING CHANGES |
| 32 | + |
| 33 | +* **runtime-core:** replae `watch(fn, options?)` with `watchEffect` |
| 34 | + |
| 35 | + The `watch(fn, options?)` signature has been replaced by the new |
| 36 | + `watchEffect` API, which has the same usage and behavior. `watch` |
| 37 | + now only supports the `watch(source, cb, options?)` signautre. |
| 38 | +* reactive arrays no longer unwraps contained refs |
| 39 | + |
| 40 | + When reactive arrays contain refs, especially a mix of refs and |
| 41 | + plain values, Array prototype methods will fail to function |
| 42 | + properly - e.g. sort() or reverse() will overwrite the ref's value |
| 43 | + |
| 44 | + |
| 45 | + |
1 | 46 | # [3.0.0-alpha.5](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2020-02-18)
|
2 | 47 |
|
3 | 48 |
|
|
0 commit comments