v2.7.15
Fixed 8
- Add semicolon after defineProps statement in compiler-sfc
- Fix macro usage in multi-variable declaration in compiler-sfc
- Optimize the value of emitIdentifier in compiler-sfc
- Resolve object expression parsing errors in v-on in compiler-sfc
- Fix scope that might change when call hook in lifecycle
- Clone insert hooks to avoid being mutated during iteration in patch
- Improve the type inference using withDefaults in types/sfc
- Correct serverPrefetch this type in types
From Vue 2
Bug Fixes
- compiler-sfc: add semicolon after
definePropsstatement (#12879) (51fef2c) - compiler-sfc: fix macro usage in multi-variable declaration (#12873) (d27c128)
- compiler-sfc: Optimize the value of emitIdentifier (#12851) (bb59751)
- compiler-sfc: Resolve object expression parsing errors in
v-on(#12862) (b8c8b3f) - lifecycle: scope might changed when call hook (#13070) (74ca5a1)
- patch: clone insert hooks to avoid being mutated during iteration (#12905) (c223634)
- types/sfc: improve the type inference using
withDefaults(#12872) (099401e) - types: correct serverPrefetch this type (#13068) (67c1d26), closes #12488