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
Assets
2
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
Assets
2
Bug Fixes
Assets
2
Bug Fixes
Assets
2
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
Assets
2
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
Assets
2
Improvements
Bug Fixes
Assets
2
Bug Fixes
- regression: avoid isPromise check when handler return value is Vue instance b6b42ca, closes #9418
- compiler: fix inline-template crashing (#9365) 55bfb94, closes #9365 #9361
- compiler: allow comments on the root node in templates (#9408) 1922e7d, closes #9408 #9407
- compiler: decode single quotes in html attributes (#9341) c27fe24, closes #9341
- v-model: add value to $attrs if not defined in props (#9331) 66fd3c8, closes #9331 #9330
- ie: avoid blocking first input event in IE when it shouldn't (#9297) 0fb03b7, closes #9297 #7138 #9042 #9383
Assets
2
yyx990803
released this
Announcement Blog Post
Contributors
@gzzhanghao, @mathieutu, @Justineo, @shortdiv, @imzyf, @youngrok, @enkot, @posva, @utatti, @Akryum, @ferdaber, @ktsn, @mymyoux, @sodatea, @hikerpig, @hirokiosame, @AlexMaguey
Features
- core/slots: implement new v-slot syntax 4fca045 [RFC-0001] [RFC-0002] [Updated documentation]
- core/slots: add scopedSlots to context in functional components (#7941) fb6aa06, closes #7941
- core/error-handling: sync/async error handling for lifecycle hooks and v-on handlers (#8395) 6e9fcfc, closes #8395 #6953 #7653
- core/template: support dynamic directive arguments for v-on, v-bind and custom directives (#9373) dbc0582 [RFC-0003]
- core/global-api: add Vue.observable() for explicitly creating observable objects c50bbde
- core/slots: expose all normal slots on $scopedSlots as functions 5d52262
- core/v-html: support v-html for SVG elements (#8652) a981c80, closes #8652
- core/v-bind: v-bind.sync also listens for kebab-case update event (#8297) 3fca527, closes #8297 #6428
- core/v-for: support iterables in v-for (#8179) d40eb9c, closes #8179
- core/template: support custom toString() in text interpolation and v-html (#8217) 0e4e45e, closes #8217 #8093
- core/misc: expose performance measures 9ae80ac, closes #7570
- compiler: output source range for compiler errors (#7127) b31a1aa, closes #7127 #6338
- compiler: add whitespace option, deprecate preserveWhitespace option e1abedb, closes #9208
- compiler: expose generateCodeFrame method a4ed58c
- compiler: output codeframe in browser compiler 325fc76
- compiler: support deindent: false in vue-template-compiler (#7215) bf0efb0, closes #7215 #7054
- compiler/watch: allow unicode characters in component names and watch paths (#8666) 9c71852, closes #8666 #8564
- ssr: add serverPrefetch component option + context.rendered hook (#9017) d7a533d, closes #9017
- ssr: allow template option to be function in renderToString (#9324) b65f6d7
- ssr: Add 'nonce' option to context for ssr outlet script (#8047) f036cce, closes #8047 #7479
- ssr: add custom state serializer option 4494012, closes #6614
- ssr: allow opting-out of caching by returning false in serverCacheKey ab24285, closes #8790
- build: add browser ESM build 861abf4
- types: add Prop to main type declaration file (#6856) 5791072, closes #6856 #6850
- types: add types for vue-template-compiler (#7918) ced774b, closes #7918
Performance Improvements
Important Internal Changes
These internal changes may cause unintended side effects on existing code that relies on non-publicly-documented behavior.
- next-tick: revert nextTick to alaways use microtask 60da366 080dd97, closes #8436 [Details]
- scoped-slots: ensure $scopedSlots calls always return Arrays c7c13c2, closes #8056 [Details]
Bug Fixes
- allow more enumerated values for contenteditable e632e9a, closes #9397
- fix v-bind:style for camelCase properties with !important (#9386) 539e481, closes #9386
- fix checkbox event edge case in Firefox 1868561
- always use microtasks for nextTick (#8450) 850555d, closes #8450 #7109 #7546 #7707 #7834 #8109 #6566
- core: dedupe lifecycle hooks during options merge edf7df0, closes #9199
- core: fix merged twice bug when passing extended constructor to mixins (#9199) 5371617, closes #9199 #9198
- provide/inject: Merges symbol provides (#7926) 1933ee8, closes #7926
- runtime: DevTools recommendation shows for all browsers (#8638) 22ad266, closes #8638 #8634
- make transition-group key warning a tip to avoid breaking compilation d08b49f
- ssr: properly handle invalid and numeric style properties 7d9cfeb, closes #9231
- cover more cases in v-on inline return value 9432737
- ssr: should not render invalid numeric style values 17d8bcb
- ssr: should render 0 as valid value for style property with unit aef5b4e
- ensure only nromalize a scoped slot when it is present 5fb23d4
- ensure proxied normal slot uses correct key b32c4b6
- return inline invocation return value in v-on handlers 0ebb0f3, closes #7628
Assets
2
Pre-release
Pre-release
yyx990803
released this
Features
Assets
2
PreviousNext