Releases: vuejs/vue
Releases · vuejs/vue
v1.0.10
v1.0.9
Known Issue
The distributed file on CDNs and NPM will expose the incorrect version (Vue.version = '1.0.8'). Fixed in 1.0.10.
New Build Setup
- The source code now uses ES2015 modules and leverages a more efficient build setup. This results in slightly better script parse time and smaller build size.
- When installed via NPM and used with a module bundler (Webpack/Browserify), the main file is now a pre-bundled single file (
dist/vue.common.js), which should also make builds faster. - Contributors: please note the build setup has changed. Here's the updated instructions.
Fixed
- #1797
v-modelandvm.$setcan now properly initialize non-existent dynamic paths such as"a[b + 'c']". - #1800 properly preserve whitespace inside raw HTML interpolations
- #1806 avoid duplicate classes during transclusion
- #1816 Fix error when using
Vue.setandVue.deleteon objects created viaObject.create(null)(@kazupon) - #1839 Fix event propagation check when there are chained emits.
- Note this fix changes an undocumented behavior of
vm.$emit: previously it returns thevmitself. Now it returns a boolean value representing whether the event should propagate. Do not rely on any behavior that is not officially documented.
- Note this fix changes an undocumented behavior of
- #1850 Fix
v-refon elements with bothv-forandv-if. - props with wrong types on initialization are now still set up with reactivity.
1.0.8
New
- Added support for pre-defined getters/setters on data objects. This feature is off by default and must be turned on by setting
Vue.config.convertAllProperties = true, since it comes with a small performance cost. (@jdavidberger) v-onkey modifiers now also support all single letters. (@yulon)propsoptions now supports using prop objects in array syntax again.
Fixed
- Observer should no longer throw errors when trying to observe objects created via
Object.create(null). (@kazupon) - Fixed an edge case in IE where text interpolations are not processed due to IE randomly splitting the text nodes into multiple adjacent ones.
- #1778 fix incorrect warning for two-way binding on
v-foralias - #1779 fix incorrect warning for
v-refon non-component elements - #1781 fix
afterEnterhook firing before transition finishes - #1786 fix
$eventvariable forv-oninline statement handlers with filters - #1791 avoid
v-forre-rendering when usingv-modelon primitive values
1.0.7
1.0.6
Skipped 1.0.5 because it contains an incorrect dist file.
New
- The
limitByfilter now also accepts a second argument which is the starting offset. (@Mat-Moo) - Added warning for mixed usage of mustache interpolation and
v-bindfor theclassattribute.
Fixed
v-elseshould no longer insert the block multiple times when the condition changes from one falsy value to another falsy value.- #1669 Improved fragment instance ignored attribute check so it only warn at appropriate times.
- #1671
$refsshould be reactive forv-ifchecks - #1683 two-way props should sync properly when first mutating the value then replacing it.
- #1695
$refsshould be updated when switching between components withkeep-alive - #1703 fixed an issue where IE treats an attribute and its
v-bind:form as the same attribute. (@fergaldoyle) - #1717
v-showshould properly skip transition when element is detached. Also fixed behavior difference in Firefox and Chrome.
1.0.5
1.0.4
New
- Better warning for ignored attributes on fragment instances.
Changed
- Custom directives now have a default priority of 1000. This should make it be bound before most of the built-in directives (except components, partials, slots and flow-controls, of course). This is part of the fix for custom directive dynamic params and should not break existing usage.
Fixed
- Fixed dynamic
paramsfor custom directives not working properly. (@kazupon) v-forcontext can now properly access parent scope's$elsand$refs. (@TerenceZ)v-bindon object andv-bind:classon object are now in deep mode as expected.- #1656 Fixed
v-onfilters not applied in correct scope when used with inline statements.
1.0.3
New
-
v-bindnow support accepting an object without arguments, which would allow dynamic binding of multiple attributes:<div v-bind="{ id: someProp, 'other-attr': otherProp }"></div>
Note when using this syntax to bind
classandstyle, only plain string values would work. -
limitByfilter:Limit the array to the first N items, as specified by the argument.
<!-- only display first 10 items --> <div v-for="item in items | limitBy 10"></div>
Fixed
- #1479
filterByshould no longer return duplicate objects when using multiple search keys. - User-defined component names should no longer be overwritten by option key names.
- Fix edge case for
v-for="(key, val) in obj"syntax where the key could be falsy. (@vprimachenko) - #1639 Fix
titleas prop edge case in IE10/11 (@fergaldoyle)