Commit Graph

1207 Commits

Author SHA1 Message Date
Evan You
2af751b6ef fix(reactivity): fix shallowReactive nested ref setting edge cases
ref #12688
2022-07-22 11:20:40 +08:00
Evan You
adf3ac8adc feat(setup): support listeners on setup context + useListeners() helper
These are added because Vue 2 does not include listeners in
`context.attrs` so there is no way to access the equivalent of
`this.$listeners` in `setup()`.
2022-07-20 12:13:04 +08:00
troy351
135d07442a
chore(sfc): remove useless vue-template-es2015-compiler (#12677) 2022-07-19 23:16:01 -04:00
Evan You
e8d3a7d7a1 fix(codegen): script setup should not attempt to resolve native elements as component
fix #12674
2022-07-16 22:08:07 +08:00
Evan You
67760f8d30 fix(setup): ensure setup context slots can be accessed immediately
fix #12672
2022-07-16 21:45:03 +08:00
Evan You
ea5d0f3fbf fix(inject): fix edge case of provided with async-mutated getters
fix #12667
2022-07-16 21:33:48 +08:00
Evan You
25ffdb62d2 fix(watch): fix queueing multiple post watchers
fix #12664
2022-07-16 20:46:39 +08:00
Evan You
1a2c3c2d77 fix(watch): fix deep watch for structures containing raw refs
fix #12652
2022-07-13 11:01:10 +08:00
Evan You
98fb01c79c fix(reactivity): fix watch behavior inconsistency + deep ref shallow check
fix #12643
2022-07-12 18:50:12 +08:00
Evan You
8904ca77c2 fix(watch): fix watchers triggered in mounted hook
fix #12624
2022-07-08 14:47:03 +08:00
Evan You
9d12106e21 feat: defineAsyncComponent
close #12608
2022-07-08 10:55:23 +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
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
9d54f8bdfe chore: remove .only from tests 2022-06-20 14:14:41 +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
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
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
72194a4591 build: use extended tsconfig 2022-06-01 14:27:29 +08:00
Evan You
1b49c75e2a chore: fix unit test 2022-05-31 17:45:10 +08:00
Evan You
d6bdff8903 refactor: move src types folder 2022-05-31 16:33:48 +08:00
Evan You
9f74f2048d refactor: move to monorepo 2022-05-31 15:32:44 +08:00
Evan You
e5a6fe5da7 test: e2e test for composition API examples 2022-05-30 17:20:43 +08:00
Evan You
460856510d wip: setup() template refs support 2022-05-30 16:47:00 +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
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
b0140bfdab ci: __DEV__ flag for e2e tests 2022-05-26 02:42:48 +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
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