Commit Graph

3453 Commits

Author SHA1 Message Date
Evan You 012e10c9ca fix(build): fix mjs dual package hazard
close #12626
2022-07-08 11:42:36 +08:00
Evan You 559600f13d feat: support functional components in defineComponent
close #12619
2022-07-08 11:18:36 +08:00
Evan You 9d12106e21 feat: defineAsyncComponent
close #12608
2022-07-08 10:55:23 +08:00
Evan You 26ff4bc0ed fix(types): global component registration type compat w/ defineComponent
fix #12622
2022-07-08 10:39:36 +08:00
Evan You b70a2585fc fix(compiler-sfc): use safer deindent default for compatibility with previous behavior 2022-07-08 09:45:37 +08:00
blackie ca7daefaa1
fix(ssr/reactivity): fix array setting error at created in ssr [#12632] (#12633)
fix #12632
2022-07-07 21:44:41 -04:00
Evan You 15e6f1dee4 release: v2.7.3 2022-07-06 13:16:22 +08:00
Caleb Hearon 6d1dbeee7e
fix: add renderTracked/Triggered merge strategy (#12616) 2022-07-06 00:59:30 -04:00
Evan You 360272bde3 fix(ssr/reactivity): fix composition api behavior in SSR
fix #12615
2022-07-06 12:49:30 +08:00
Evan You 94ccca207c fix(types): allow slot attribute
close #12617
2022-07-06 11:17:33 +08:00
Evan You e244687135 release: v2.7.2 2022-07-05 10:54:47 +08:00
Evan You 1294385300 fix(compiler-sfc): preserve old deindent behavior for pug
fix #12611
2022-07-05 10:33:20 +08:00
Evan You fb93c1be77
feat(types): define component improvements (#12612) 2022-07-04 22:12:21 -04:00
Kael d45bbeac27 feat: allow passing directive definition directly to h() (#12590) 2022-07-04 18:40:12 +08:00
Evan You 427028ad89 release: v2.7.1 2022-07-04 18:38:35 +08:00
Evan You caceece8fa fix(compiler-sfc): fix template usage check edge case for v-on statements
fix #12591
2022-07-04 11:38:48 +08:00
webfansplz 6f0d2e6985
chore(compiler-sfc): replace `substr` with `slice` (#12564) 2022-07-03 23:26:18 -04:00
webfansplz ff2d52f7ac
chore(types): remove unnecessary type assertion (#12563) 2022-07-03 23:25:59 -04:00
码农小余 86fb6bd151
chore(benchmarks:ssr): createRenderer function path error (#12601) 2022-07-03 22:58:42 -04:00
Evan You e452e9d436 fix: export proxyRefs
close #12600
2022-07-04 10:56:36 +08:00
Evan You bcb62d1a00 test: test case for #12597 2022-07-04 10:39:36 +08:00
Evan You ff5acb12cf fix: fix NaN comparison on state change
fix #12595
2022-07-04 10:37:22 +08:00
Deft 15b9b9b19d
fix(reactivity): shallowReactive should not unwrap refs (#12605)
fix #12597
2022-07-03 22:33:44 -04:00
Evan You 8cdd0ac07e chore: update 2.7 changelog [ci skip] 2022-07-01 14:31:58 +08:00
Evan You 89bd1c2056 chore: changelog [ci skip] 2022-07-01 12:26:41 +08:00
Evan You 1e3a0ceb26 release: v2.7.0 2022-07-01 12:22:26 +08:00
Evan You 8dc1b31cb8 chore: use v2-latest release tag 2022-07-01 12:20:29 +08:00
Evan You 326d24a4e4 fix(sfc): only include legacy decorator parser plugin when new plugin is not used 2022-07-01 12:16:56 +08:00
Evan You 0ea6c366f5 release: v2.7.0-beta.8 2022-06-28 10:00:08 +08:00
Evan You 008d78bd72 fix(compiler-sfc): should transform non relative paths when base option is present
fix https://github.com/vitejs/vite-plugin-vue2/issues/14
2022-06-28 09:57:19 +08:00
Evan You bf64c4da5c release: v2.7.0-beta.7 2022-06-27 15:00:30 +08:00
草鞋没号 5b94562dcd
chore: create build target dir if does not exist (#12581) 2022-06-27 02:52:28 -04:00
lsdsjy 11e4bfe806
fix: types/v3-directive not published (#12571) 2022-06-27 02:50:41 -04:00
Evan You 20e7e7e138 release: v2.7.0-beta.6 2022-06-26 16:41:54 +08:00
Evan You 089b27c30b fix(watch): template ref watcher should fire after owner instance mounted hook
fix #12578
2022-06-26 16:36:47 +08:00
Evan You 44ab1cda74 fix(reactivity): readonly() compat with classes
fix #12574
2022-06-23 08:34:26 +08:00
Evan You 530b56a36e release: v2.7.0-beta.5 2022-06-22 10:22:49 +08:00
Evan You 7a3aa3faac fix(watch): fix pre watchers not flushed on mount for nested component
fix #12569
2022-06-22 10:20:02 +08:00
Evan You fb7f5f0b67 chore: remove unused code
Vue 2 has no inline mode so template ref ref_key logic is unnecessary
2022-06-22 10:12:52 +08:00
Evan You 65531f5803 fix(types): fix instance type inference for setup() with no return value
fix #12568
2022-06-22 09:44:41 +08:00
Evan You a122bd25c3 release: v2.7.0-beta.4 2022-06-21 10:51:19 +08:00
Evan You 9b9f2bf1c8 fix(compiler-sfc): properly handle shorthand property in template expressions
fix #12566
2022-06-21 09:41:30 +08:00
Evan You de03f69cd6 release: v2.7.0-beta.3 2022-06-20 16:34:23 +08:00
Evan You c9d0e3aee1 ci: e2e test fix 2022-06-20 16:23:44 +08:00
Evan You 0f2cede374 build: move cssVars logic into compiler-sfc entry 2022-06-20 16:10:14 +08:00
Evan You d3916b69b4 feat(sfc): parse needMap compat 2022-06-20 15:48:54 +08:00
Evan You 8ab0074bab feat(sfc): css v-bind 2022-06-20 15:46:57 +08:00
Evan You 2d67641656 fix: remove wrong observe toggle, properly disable tracking in setup() 2022-06-20 14:40:03 +08:00
Evan You 9d54f8bdfe chore: remove .only from tests 2022-06-20 14:14:41 +08:00
Evan You 769c053cff chore: remove code for non-supported :slotted feature 2022-06-20 13:25:29 +08:00