Evan You
012e10c9ca
fix(build): fix mjs dual package hazard
...
close #12626
2022-07-08 11:42:36 +08:00
Evan You
9d12106e21
feat: defineAsyncComponent
...
close #12608
2022-07-08 10:55:23 +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
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
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
webfansplz
ff2d52f7ac
chore(types): remove unnecessary type assertion ( #12563 )
2022-07-03 23:25:59 -04:00
Evan You
e452e9d436
fix: export proxyRefs
...
close #12600
2022-07-04 10:56: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
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
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
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
52cf912d85
fix(setup): setup props should pass isReactive check
...
close #12561
2022-06-20 13:09:56 +08:00
Evan You
2533a360a8
fix(template-ref): preserve ref removal behavior in non-composition-api usage
...
close #12554
2022-06-20 12:42:32 +08:00
Evan You
0fabda7a3b
feat: useCssModules
2022-06-18 16:10:00 +08:00
Evan You
749b96d84e
feat: export version as named export
2022-06-16 11:17:09 +08:00
Evan You
7173ad4272
feat: types for <script setup>
macros
2022-06-16 10:19:01 +08:00
Evan You
3c2707b62e
feat: defineExpose() support
2022-06-16 09:53:45 +08:00
Evan You
bd8409bc98
wip: fix component resolution check
2022-06-15 21:38:05 +08:00
Evan You
aa2b1f4d93
feat: directive resolution for <script setup>
2022-06-15 21:21:59 +08:00
Evan You
4b193390fb
feat: resolve components from <script setup>
2022-06-15 10:39:45 +08:00
Evan You
452aa9d29c
wip: handle script analyzed bindings when prefixing identifiers
2022-06-15 10:10:54 +08:00
Evan You
2bb3659c05
wip: expose compileScript
2022-06-14 21:48:15 +08:00
Evan You
d6c0c2a992
wip: compileScript
2022-06-14 15:26:57 +08:00
Evan You
846e3165d8
refactor: add types for html parser options
2022-06-14 13:29:47 +08:00
Evan You
ba08e96877
wip: compileScript
2022-06-10 23:46:47 +08:00
Evan You
06594f68b7
wip: port @vue/component-compiler-utils
2022-06-10 16:50:17 +08:00
Evan You
4f2a04e6a8
fix: fix scopedSlots regression
2022-06-06 15:25:41 +08:00
Evan You
c319cc7a74
fix: guard against non-object provide value
2022-06-01 22:18:05 +08:00
Evan You
206f8a7f09
wip: defineComponent
2022-06-01 21:55:33 +08:00
Evan You
09beea9ae7
chore: move sfc parser
2022-06-01 21:32:13 +08:00
Evan You
5673363eda
feat: expose set/del as named exports
2022-06-01 09:46:50 +08:00
Evan You
ff4f1fdf37
refactor: move more ssr logic into server-renderer package
2022-05-31 17:38:27 +08:00
Evan You
d6bdff8903
refactor: move src types folder
2022-05-31 16:33:48 +08:00
Evan You
dd39e7ef4c
chore: fix TS 4.7 error
2022-05-31 16:11:55 +08:00
Evan You
9f74f2048d
refactor: move to monorepo
2022-05-31 15:32:44 +08:00
Evan You
2acb5474bc
types: generate types for v3 apis
2022-05-30 21:36:07 +08:00
Evan You
460856510d
wip: setup() template refs support
2022-05-30 16:47:00 +08:00
Evan You
cae88defa2
chore: rename template ref module
2022-05-29 19:29:17 +08:00
Evan You
1a13c63ff5
wip: provide/inject
2022-05-29 18:43:36 +08:00
Evan You
dae380dc24
wip: renderTriggered/renderTracked
2022-05-29 16:01:38 +08:00
Evan You
075f215edf
wip: onTrack/onTrigger debugger options
2022-05-29 15:39:49 +08:00
Evan You
15c5c43ca6
wip: onTrack debugger option
2022-05-29 15:05:35 +08:00
Evan You
9fb4f7d070
wip: effectScope
2022-05-29 14:17:08 +08:00
Evan You
b4c511da8f
chore: fix unit tests
2022-05-29 02:35:56 +08:00
Evan You
54f5f9bad6
chore: fix ssr tests
2022-05-29 02:26:36 +08:00
Evan You
c9136b1275
wip: apiWatch tests
2022-05-29 02:21:44 +08:00
Evan You
6c1d2efd04
wip: setup() tests
2022-05-28 20:33:12 +08:00
Evan You
cfc2c59132
chore: use isFunction
2022-05-27 23:52:22 +08:00
Evan You
1e4ac46fe5
wip: lifecycle api
2022-05-27 23:40:03 +08:00
Evan You
1f1046b7e5
wip: rename dir to v3
2022-05-27 17:27:17 +08:00
Evan You
f29ad1def5
wip: shallowReactive/shallowReadonly
2022-05-27 12:07:19 +08:00
Evan You
a5ad708ccf
wip: readonly
2022-05-27 10:45:28 +08:00
Evan You
a16271280a
refactor: simplify implementations
...
since we output es5, classes are more verbose then necessary
2022-05-26 02:34:15 +08:00
Evan You
282ebb0893
chore: remove duplicated types
2022-05-26 02:18:33 +08:00
Evan You
05aaa33a45
wip: computed tests passing
2022-05-26 02:14:14 +08:00
Evan You
c4aa8ea66d
wip: reactive tests passing
2022-05-26 00:30:31 +08:00
Evan You
ac85a4217e
wip: ref tests passing
2022-05-25 15:36:10 +08:00
Evan You
e1e5a75540
wip: fix entry with compiler
2022-05-25 15:07:46 +08:00
Evan You
f50a1b84d9
wip(vca): partial ref and watch implementation
2022-05-24 21:49:16 +08:00
Evan You
450767f3bb
refactor: isArray
2022-05-24 21:48:01 +08:00
Evan You
797e72e6fd
build: use __DEV__ flag
2022-05-24 08:56:11 +08:00
Evan You
72aed6a149
workflow: remove eslint, apply prettier
2022-05-23 17:21:17 +08:00
Evan You
898d1e19fc
test: all ssr tests passing
2022-05-20 16:55:05 +08:00
Evan You
7136e19bc8
chore: remove stale js file
2022-05-20 15:08:58 +08:00
Evan You
575f07643d
build: separate src and test tsconfig
2022-05-20 14:35:56 +08:00
Evan You
d8c3bbfa44
refactor: remove weex from codebase
2022-05-20 12:17:13 +08:00
Evan You
2d019e4e25
test: partial ssr tests passing
2022-05-20 12:01:16 +08:00
Evan You
23bd3b2ca3
types: fix types
2022-05-20 11:11:47 +08:00
Evan You
c19fabd930
build: remove flow deps
2022-05-19 16:15:57 +08:00
David Welch
40dccfedd1
chore: fix test harness; most of the tooling + test harness is happy; coverage still needs fixing
2022-05-03 11:04:55 -06:00
David Welch
be4b617942
chore: cleanup on tests; babel preset for typescript help
2022-05-01 14:37:05 -06:00
David Welch
534a0aa863
chore: convert tests to typescript
2022-04-29 15:43:25 -06:00
David Welch
ec1f7309f3
chore: merge
2022-04-29 14:06:13 -06:00
Carlos Rodrigues
8e047df75a
update deps and other code -- still need to fix some issues with testing - basically dependencies issues
2022-04-29 19:54:08 +01:00
Carlos Rodrigues
da64b4a41f
Merge branch 'dev' into move_to_typescript
...
# Conflicts:
# dist/vue.common.dev.js
# dist/vue.common.prod.js
# dist/vue.esm.browser.js
# dist/vue.esm.browser.min.js
# dist/vue.esm.js
# dist/vue.js
# dist/vue.min.js
# dist/vue.runtime.common.dev.js
# dist/vue.runtime.common.prod.js
# dist/vue.runtime.esm.js
# dist/vue.runtime.js
# dist/vue.runtime.min.js
# packages/vue-server-renderer/basic.js
# packages/vue-server-renderer/build.dev.js
# packages/vue-server-renderer/build.prod.js
# packages/vue-server-renderer/client-plugin.js
# packages/vue-server-renderer/server-plugin.js
# packages/vue-template-compiler/browser.js
# packages/vue-template-compiler/build.js
# packages/weex-template-compiler/build.js
# packages/weex-vue-framework/index.js
# src/compiler/codegen/index.ts
# src/core/components/keep-alive.ts
# src/core/instance/lifecycle.js
# src/core/instance/render-helpers/render-slot.ts
# src/core/instance/state.ts
# src/core/observer/watcher.ts
# src/core/vdom/helpers/normalize-scoped-slots.ts
# src/core/vdom/patch.ts
# src/platforms/web/runtime/modules/events.ts
# src/platforms/weex/entry-framework.ts
# src/server/webpack-plugin/client.js
# src/server/webpack-plugin/server.ts
# src/server/webpack-plugin/util.ts
# yarn.lock
2022-04-29 19:40:58 +01:00
Si Nguyen
05d05c0e69
chore: comment typo [skip ci] ( #12359 )
2021-11-16 14:09:25 +01:00
180909
93bd4406ac
fix typos ( #12348 )
2021-11-06 23:43:57 +01:00
Roy Eden
515467a618
feat(compiler): condenses staticClass whitespace ( fix #12113 ) ( #12195 )
...
* feat(compiler): template staticClass no longer preserves whitespace
Template static classes used to preserve whitespace after compilation, resulting in builds that had
bigger file outputs with whitespace in component's staticClass attributes
fix #12113
* refactor(refactor(web-compiler): removed ignore in regex): Removed ignore flag in regex
fix #12113
* test(ssr-string.spec.js): Removed newline character, as whitespace is purged in static classes
There's no need to escape newlines in static classes, as they're now replaced with a single
whitespace character
fix #12113
* test(directives/class.spec.js): Added whitespace to test
fix #12113
* Apply suggestions from code review
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-09-08 11:23:49 +02:00
zrh122
3d29ba863b
fix(v-on): add removing all dom event listeners when vnode destroyed ( #10085 )
2021-08-05 11:21:12 +02:00
Jason
80e7730946
feat(ssr): vue-ssr-webpack-plugin compatible with webpack 5 ( #12002 )
...
* feat(ssr): vue-ssr-webpack-plugin compatible with webpack 5
* chore(ssr): remove webpack from peerDependencies
2021-06-02 14:50:28 +02:00
Eduardo San Martin Morote
38f71de380
fix(v-slot): fix scoped slot normalization combined with v-if ( #12104 )
2021-06-02 14:44:18 +02:00
Evan You
f038000157
refactor: check is function for fallback slots
2021-06-01 10:08:28 -04:00
Eduardo San Martin Morote
e7baaa1205
fix(keep-alive): cache what is really needed not the whole VNode data ( #12015 )
...
Co-authored-by: zrh122 <1229550935@qq.com>
2021-04-16 19:19:29 +02:00
contribu
52608302e9
fix(core): fix sameVnode for async component ( #11107 )
...
Co-authored-by: mac2 <mac2@example.com>
2021-04-16 17:58:02 +02:00
hello-brsd
e4dea59f84
fix(errorHandler): async error handling for watchers ( #9484 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-04-16 17:57:25 +02:00
wangzongxu
3ad60fea73
feat(warn): warn computed conflict with methods ( #10119 )
...
Co-authored-by: wangzongxu <wangzongxu@vipkid.com.cn>
2021-04-16 17:56:32 +02:00
Mattia Trapani
c6d7a6fce7
fix(v-on): avoid events with empty keyCode (autocomplete) ( #11326 )
2021-04-16 17:53:45 +02:00
Eduardo San Martin Morote
ce457f9f4d
fix(slot): add a function to return the slot fallback content ( #12014 )
...
Co-authored-by: zrh122 <1229550935@qq.com>
2021-04-16 17:37:35 +02:00
ygj6
77b5330c54
fix: force update between two components with and without slot ( #11795 )
2021-04-16 17:34:34 +02:00
pooya parsa
af54514cf9
fix: handle async placeholders in normalizeScopedSlot ( #11963 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-04-16 17:33:56 +02:00
pikax
f22b2165f4
chore: improve some types and remove @ts-ignore
2021-04-13 16:21:54 +01:00
pikax
b5f39bf02c
dedup functions
2021-04-07 19:11:31 +01:00
pikax
f036db5dd4
remove custom modules and use the typescript ones
2021-04-07 17:31:25 +01:00
pikax
87afa0687c
Merge branch 'dev' into move_to_typescript
2021-04-07 14:43:13 +01:00