Releases: vuejs/vue
Releases · vuejs/vue
v2.6.13
Bug Fixes
- attrs: do not consider translate attribute as boolean (#11392) cd57393, closes #11392 #11391
- compiler: Allow BigInt usage in templates (#11152) c42b706, closes #11152
- compiler: avoid converting to spaces (#11065) 55a30cf, closes #11065
- compiler: event handlers with modifiers swallowing arguments (fix #10867) (#10958) 8620706, closes #10867 #10958
- core: fix sameVnode for async component (#11107) 5260830, closes #11107
- core: remove trailing comma in function signature (#10845) 579e1ff, closes #10845 #10843
- errorHandler: async error handling for watchers (#9484) e4dea59, closes #9484
- keep-alive: cache what is really needed not the whole VNode data (#12015) e7baaa1, closes #12015
- parser: allow multiple slots with new syntax (#9785) 67825c2, closes #9785 #9781
- props: correctly warn when a provided prop is Symbol (#10529) abb5ef3, closes #10529 #10519
- props: support BigInt in props type validation (#11191) fa1f81e, closes #11191
- slot: add a function to return the slot fallback content (#12014) ce457f9, closes #12014
- ssr: avoid missing files in manifest (#11609) b97606c, closes #11609
- ssr: inheritAttrs false adds attributes to html (#11706) 7e5dc6b, closes #11706
- ssr: textarea keeps undefined/null values (#11121) b8bd149, closes #11121
- types: add types for Vue.util.warn function (#11964) e0274e4, closes #11964 /github.com/vuejs/vue/blob/v2.6.12/src/core/util/debug.js#L18-L26
- types: allow string for watch handlers in options (#10396) 668e1e6, closes #10396
- types: allow symbol & boolean for vnode key (#11914) 5c459f0, closes #11914
- types: changed expression type to optional string (#11189) 7c75462, closes #11189 #10871
- types: make $refs undefined possible (#11112) 2b93e86, closes #11112
- v-on: avoid events with empty keyCode (autocomplete) (#11326) c6d7a6f, closes #11326
- force update between two components with and without slot (#11795) 77b5330, closes #11795
- give correct namespace in foreignObject (#11576) af5e05d, closes #11576 #11575
- handle async placeholders in normalizeScopedSlot (#11963) af54514, closes #11963
- warns: modify
maybeComponent
function in parser (#10167) 0603ff6, closes #10167 #10152 - pause dep collection during immediate watcher invocation (#11943) 987f322, closes #11943
- v-pre: do not alter attributes (#10088) 0664cb0, closes #10088 #10087
- vdom: avoid executing root level script tags (#11487) fb16d7b, closes #11487 #11483
- warn: better message with no constructors props (#9241) 6940131, closes #9241
Features
- warn: warn computed conflict with methods (#10119) 3ad60fe, closes #10119
- warns: avoid warning native modifiers on dynamic components (#11052) 3d46692, closes #11052
Performance Improvements
v2.6.11
Security Fixes
- Bump
vue-server-renderer
's dependency ofserialize-javascript
to 2.1.2
Bug Fixes
- types: fix prop constructor type inference (#10779) 4821149, closes #10779
- fix function expression regex (#9922) 569b728, closes #9922 #9920
- compiler: Remove the warning for valid v-slot value (#9917) 085d188, closes #9917
- types: fix global namespace declaration for UMD bundle (#9912) ab50e8e, closes #9912
v2.6.10
Bug Fixes
- codegen: support named function expression in v-on (#9709) 3433ba5, closes #9709 #9707
- core: cleanup timeouts for async components (#9649) 02d21c2, closes #9649 #9648
- core: only unset dom prop when not present f11449d, closes #9650
- core: use window.performance for compatibility in JSDOM (#9700) 653c74e, closes #9700 #9698
- scheduler: revert timeStamp check 22790b2, closes #9729 #9632
- slots: fix slots not updating when passing down normal slots as $scopedSlots ebc1893, closes #9699
- types: allow using functions on the PropTypes (#9733) df4af4b, closes #9733 #9692
- types: support string type for style in VNode data (#9728) 982d5a4, closes #9728 #9727
v2.6.9
Bug Fixes
- event timeStamp check for Qt 7591b9d, closes #9681
- should consider presence of normal slots when caching normalized scoped slots 9313cf9, closes #9644
- should not swallow user catch on rejected promise in methods 7186940, closes #9694
- should use fallback for scoped slots with single falsy v-if 781c705, closes #9658
- ssr: not push non-async css files into map (#9677) d282400, closes #9677
- v-bind object should be overridable by single bindings (#9653) 0b57380, closes #9653 #9641
- compiler: whitespace: 'condense' should honor pre tag as well (#9660) f1bdd7f, closes #9660
- scheduler: fix getNow check in IE9 (#9647) da77d6a, closes #9647 #9632
- scheduler: getNow detection can randomly fail (#9667) ef2a380, closes #9667
- ssr: fix nested async functional componet rendering (#9673) 8082d2f, closes #9673 #9643
- transition: fix appear check for transition wrapper components (#9668) 4de4649, closes #9668
v2.6.8
Bug Fixes
- avoid compression of unicode sequences by using regexps (#9595) 7912f75, closes #9595 #9456
- fix modifier parsing for dynamic argument with deep path (#9585) 060c3b9, closes #9585 #9577
- further adjust max stack size 571a488, closes #9562
- handle async component when parent is toggled before resolve (#9572) ed34113, closes #9572 #9571
- scoped slots dynamic check should include v-for on element itself 2277b23, closes #9596
- compiler: set end location for incomplete elements (#9598) cbad54a, closes #9598
- types: allow scoped slots to return a single VNode (#9563) 241eea1, closes #9563
- types: update this for nextTick api (#9541) f333016, closes #9541
v2.6.7
Bug Fixes
- avoid errors thrown during dom props update 8a80a23, closes #9459
- avoid possible infinite loop by accessing observables in error handler (#9489) ee29e41, closes #9489
- ensure generated scoped slot code is compatible with 2.5 7ec4627, closes #9545
- ensure scoped slots update in conditional branches d9b27a9, closes #9534
- scoped slots should update when inside v-for 8f004ea, closes #9506
- #9511: avoid promise catch multiple times (#9526) 2f3020e, closes #9511 #9526 #9511 #9511 #9511
- compiler: handle negative length in codeframe repeat 7a8de91
v2.6.6
v2.6.5
v2.6.4
Performance Improvements
- cache result from functional ctx.slots() calls 7a0dfd0
- skip scoped slots normalization when possible 099f3ba
Bug Fixes
- avoid breaking avoriaz edge case 9011b83
- avoid logging same error twice when thrown by user in global handler ca57920, closes #9445
- empty scoped slot should return undefined 57bc80a, closes #9452
- expose v-slot slots without scope on this.$slots 0e8560d, closes #9421 #9458
- new syntax slots without scope should also be exposed on functional slots() 8a80086
v2.6.3
Bug Fixes
- async component should use render owner as force update context b9de23b, closes #9432
- avoid exposing internal flags on $scopedSlots 24b4640, closes #9443
- bail out scoped slot optimization when there are nested scopes 4d4d22a, closes #9438
- compiler: fix v-bind dynamic arguments on slot outlets 96a09aa, closes #9444
- types: add Vue.version to types (#9431) 54e6a12, closes #9431
- skip microtask fix if event is fired from different document dae7e41, closes #9448
- skip microtask fix in Firefix <= 53 7bc88f3, closes #9446
Reverts
- revert: expose all scoped slots on this.$slots d5ade28