Commit Graph

1096 Commits

Author SHA1 Message Date
Evan You bfb0ad5a5e types: refactor watcher types naming 2019-12-30 11:30:12 -05:00
Elad Frizi 1cf1ad5e94 test(reactivity): extracted repetitive assertions (#554) 2019-12-30 11:29:43 -05:00
susiwen8 dee5480317 chore: use Boolean to filter TemplateChildNode (#569) 2019-12-30 11:26:45 -05:00
likui a7ef59c4c3 test(vnode): add test for dynamic children (#563) 2019-12-30 11:25:44 -05:00
djy0 ad2a0bde98 perf(compiler-core): simplify `advancePositionWithMutation` (#564) 2019-12-30 11:25:06 -05:00
Yang Mingshan 3980ad65de types: exports watch api types (#562) 2019-12-30 11:19:57 -05:00
Evan You 7df5e70c83 types: accept defineComponent return types in app.mount 2019-12-24 11:04:44 -05:00
Evan You 59c595c1e8 refactor: use named export for compiled render function 2019-12-24 11:04:44 -05:00
宋铄运 4d20981eb0 fix(runtime-core): pass options to plugins (#561) 2019-12-24 10:33:47 -05:00
Evan You 6614f21bf4 chore: further edit formats and include it in vue package readme [ci skip] 2019-12-23 10:28:40 -05:00
Evan You d6275a3c31 fix(sfc): treat custom block content as raw text 2019-12-22 21:09:39 -05:00
Evan You 90ddb7c260 refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
Evan You 7d436ab59a fix: mounting new children 2019-12-22 16:24:24 -05:00
Evan You 2fdb499bd9 fix(fragment): perform direct remove when removing fragments
This avoids trying to grab .el from hoisted child nodes (which can
be created by another instance), and also skips transition check
since fragment children cannot have transitions.
2019-12-22 16:15:16 -05:00
Evan You 47a6a84631 fix(core): clone mounted hoisted vnodes on patch
...since they may need to be checked as fragment child
2019-12-22 13:31:13 -05:00
Evan You eda495efd8 feat(hmr): root instance reload 2019-12-22 12:25:04 -05:00
Evan You c9b9ae3941 refactor: rename apiApp.ts -> apiCreateApp.ts 2019-12-22 11:27:40 -05:00
Chris Fritz 1c4cdd841d refactor(createComponent): rename to defineComponent (#549) 2019-12-22 10:58:12 -05:00
CodinCat 2e3c5aaf5f test(e2e): add test for svg example (#551) 2019-12-20 11:56:36 -05:00
Evan You 755c7b581c chore: mark get/set create calls pure 2019-12-20 11:16:46 -05:00
Evan You 0a4f306492 fix: shallowReadonly should keep reactive properties reactive
ref #552
2019-12-20 11:14:07 -05:00
Evan You 94d692b0cf test: fix tests after missing end tag error location fix 2019-12-20 10:10:08 -05:00
Evan You 362831d8ab fix(sfc): fix v-slotted attribute injection 2019-12-19 17:54:52 -05:00
Evan You 3a3a24d621 feat(sfc): accept inMap in compileTemplate() 2019-12-19 16:25:05 -05:00
Evan You 02c6d5c4e3 fix: codeframe marker should have min width of 1 2019-12-19 15:42:53 -05:00
Evan You d6da48a33f perf: optimize public properties access on componentProxy 2019-12-19 14:19:58 -05:00
Evan You c73d889235 test(sfc): test @media and @supports query for scoped css 2019-12-19 14:19:58 -05:00
Evan You bdbfead1e0 chore: adjust package.json 2019-12-19 14:19:58 -05:00
Evan You 9f52dce0d5 fix(renderer): should also use latest parent node when patching block child components 2019-12-18 17:09:28 -05:00
Evan You 3deb20df63 feat(watch): warn when using lazy with simple callback 2019-12-18 11:54:12 -05:00
Yang Mingshan c2c9c2b57e fix(watch): ignore lazy option in simple watch (#546)
* fix(watch): ignore lazy option in simple watch

* test: ignore lazy option in simple watch
2019-12-18 11:46:59 -05:00
djy0 fc48e43ac7 chore: fix typo [ci skip] (#547) 2019-12-18 11:45:28 -05:00
Evan You c1959fa64d build: set compiler-sfc peerDep on vue 2019-12-18 10:00:49 -05:00
Evan You d84cf3a538 feat(sfc): css modules support 2019-12-18 10:00:49 -05:00
CodinCat abfea8eb45 test(e2e): add test for grid example (#545) 2019-12-18 09:19:31 -05:00
Evan You 5cf7523787 build: export runtime-only build for bundlers by default in main vue package 2019-12-17 18:24:01 -05:00
Evan You 9550302df4 build: esm-bunlder builds should be considered browser builds 2019-12-17 17:34:10 -05:00
Evan You a894a350cd test(sfc): test scoped css compilation 2019-12-17 15:20:30 -05:00
Evan You b689ca6e85 test: test scopeId support 2019-12-17 12:31:38 -05:00
Evan You 3d16c0ea5a fix(runtime-test): output empty attrs without value in seralized output 2019-12-17 12:31:38 -05:00
Evan You 31ca7858bb feat(sfc): ::v-global() pseudo selector support 2019-12-17 12:31:38 -05:00
Evan You 8ea2101553 test: test hot module replacement 2019-12-17 12:31:38 -05:00
Evan You f194aa0eea feat(sfc): ::slotted selector support 2019-12-17 12:31:38 -05:00
Evan You 69c9dbc825 feat(sfc): scopeId runtime support 2019-12-17 12:31:38 -05:00
Evan You 04e11187b9 perf: cache string helpers 2019-12-17 12:31:38 -05:00
Evan You 51980afca2 feat(sfc): wip scopeId compiler support 2019-12-17 12:31:38 -05:00
Evan You b2c2d0590e refactor: extract SFCInternalOptions inteface 2019-12-17 12:31:38 -05:00
Evan You 35858cec8c build: adjust global names + allow inline overrides of build flags 2019-12-15 15:37:43 -05:00
Evan You 75113c8d3e test: fix tests 2019-12-14 22:28:54 -05:00
Evan You 2b178981bc refactor: move isRuntimeCompiled flag into component.ts 2019-12-14 22:15:38 -05:00