v1.0.18
New
-
Due to security concerns, the devtools hooks are now disabled in production builds by default. However, you can explicitly enable it by setting:
Vue.config.devtools = true
-
Vue's internal observation mechanism has been improved to allow you to take advantage of data that are supposed to be immutable. A common use case is when you are simply replacing a huge data structure that you know will never be mutated with a fresh copy. You can now freeze it with
Object.freeze
and Vue will skip the getter/setter conversion (including its nested values) for that object.As a reference, in the DBMonster benchmark, simply freezing the data results in 50%+ FPS increase.
-
Decent performance improvement (~15%) to watcher's dependency collection process.
Fixed
- Dynamic slot names were disabled in last version, but is now available again.
- #2424 fix async queue scheduling: new watchers should not be triggered before current watcher's callback is complete.
- #2426 fix error when merging classes with extra whitespace during transclusion.
- #2435 fix slot resolution inside template tags
- #2445 fix attached/ready hooks not called for child components when parent component uses an async activate hook and is inside a fragment.
- #2491 fix two-way filter regression on blur
- #2500 fix template-parser wrongly wrapping certain custom elements as SVG