Commit Graph

5779 Commits

Author SHA1 Message Date
Evan You 3c3561e720 fix: fix post watcher fire timing on nested app mounts
close #10005
2024-01-08 18:44:28 +08:00
Evan You d9162dfc2e fix(scheduler): sort nested postFlushCbs
close #10003
2024-01-08 18:20:29 +08:00
Evan You 324e817ef8 dx(computed): warn incorrect use of getCurrentInstance inside computed
ref #9974
close #10001
2024-01-08 18:12:40 +08:00
zhoulixiang 2701355e8e
fix(hydration): avoid hydration mismatch warning for styles with different order (#10011)
close #10000
close #10006
2024-01-08 16:36:27 +08:00
白雾三语 a3fbf2132b
fix(suspense): fix anchor for suspense with transition out-in (#9999)
close #9996
2024-01-08 15:57:14 +08:00
renovate[bot] 7220c58d99
chore(deps): update test (#10030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 15:03:47 +08:00
Evan You ceb215e45d test: update vShow tests to workaround jsdom regression 2024-01-08 15:03:10 +08:00
LiuSeen 96fffe6ec3
chore(comments): dep changed from set to map (#10019) [ci skip] 2024-01-08 14:19:07 +08:00
renovate[bot] 78f8db78bd
chore(deps): update dependency @types/node to ^20.10.7 (#10029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 14:17:07 +08:00
Rizumu Ayaka 26fee414ff
feat: compound expression for `v-on` (#60) 2024-01-08 14:07:49 +08:00
Doctorwu 68e5cc6ac8
chore(runtime-core): remove console comment (#9989) 2024-01-07 03:26:38 +08:00
Rizumu Ayaka fb4d9a1443
feat: renderWatch / renderEffect (#86)
* refactor: use baseWatch to drive watchAPI

* feat: basic implementation of renderWatch and effectId

* chore: remove effect id

* chore: export and simplify types

* test: render watch

* chore: add todo comment

* fix: sync code changes according to the review in PR #82

* fix: enum values conflict

* chore: rename

* feat: change watchEffect to renderEffect in compiler-vapor

* chore: update

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-07 01:31:01 +08:00
Rizumu Ayaka bdf28de8e8
feat(runtime-core, reactivity): `onEffectCleanup` and `baseWatch` (#82)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-04 23:22:55 +08:00
三咲智子 Kevin Deng c9fe3f12e7
Merge tag 'v3.4.5' 2024-01-04 17:43:25 +08:00
三咲智子 Kevin Deng 243af64f04
chore: update eslint ignore 2024-01-04 17:41:33 +08:00
ubugeeei 82f1c58be6
chore: add more readme (Codes Copied From `runtime-core`) (#88) 2024-01-04 17:36:37 +08:00
Evan You 0275dd329d release: v3.4.5 2024-01-04 17:21:24 +08:00
Evan You b20350ded5 fix(compiler-sfc): fix co-usage of defineModel transform options and props destructure
close #9972
2024-01-04 17:07:29 +08:00
三咲智子 Kevin Deng e971b0699b
Merge remote-tracking branch 'upstream/main' 2024-01-04 16:25:58 +08:00
Evan You ae60a91cc2 fix(compiler-sfc): fix sfc template unref rewrite for class instantiation
close #6483
close #6491
2024-01-04 15:58:13 +08:00
三咲智子 Kevin Deng fda51925f4
chore: disallow console statement (#9986) 2024-01-04 15:54:48 +08:00
Evan You 0ae651a5f0 chore: remove log 2024-01-04 15:45:35 +08:00
Daniel Roe e790e1bdd7
build: add production/development export conditions (#9977) 2024-01-04 11:24:17 +08:00
edison 7dbdb3edf0
fix(compiler-ssr): fix node clone edge case caused by AST reuse (#9983)
close #9981
2024-01-04 10:52:09 +08:00
Yang Mingshan d2d89551bb
fix(watch): cleanup watcher effect from scope when manually stopped (#9978) 2024-01-04 10:36:13 +08:00
Rizumu Ayaka c82ed7d8a1
chore: update readme, add codes copied list 2024-01-03 20:22:30 +08:00
Evan You f70f7ca9ae release: v3.4.4 2024-01-03 18:40:28 +08:00
丶远方 fe03b2f8bf
chore(apiWatch): constraint deep passes boolean (#9952) 2024-01-03 18:18:45 +08:00
skirtle 10ccb9bfa0
fix(defineModel): support kebab-case/camelCase mismatches (#9950) 2024-01-03 18:18:35 +08:00
Yang Mingshan f300a4001e
fix(watch): remove instance unmounted short circuit in getter of `watchEffect` (#9948) 2024-01-03 18:09:53 +08:00
renovate[bot] 6de0c55661
chore(deps): update lint (#9963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:46:24 +08:00
Evan You 71d3121b72 fix(compiler-sfc): fix scss source map regression
close #9970
close #9969
2024-01-03 17:45:57 +08:00
edison 0160264d67
fix(ssr): avoid rendering transition-group slot content as a fragment (#9961)
close #9933
2024-01-03 17:43:08 +08:00
renovate[bot] 25f212d8a7
chore(deps): update test to ^1.1.1 (#9962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:41:10 +08:00
renovate[bot] 7b8c95a43d
chore(deps): update dependency postcss-selector-parser to ^6.0.15 (#9960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:35:34 +08:00
renovate[bot] 4331af9093
chore(deps): update all non-major dependencies (#9959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:35:15 +08:00
Evan You a9f781a92c fix(watch): revert watch behavior when watching shallow reactive objects
close #9965
2024-01-03 17:25:24 +08:00
yangxiuxiu 06488047c1
fix(runtime-core): correctly assign suspenseId to avoid conflicts with the default id (#9966)
close #9944
2024-01-03 17:22:06 +08:00
SerKo a47fb45c50
workflow(sfc-playground): init custom formatter when selecting new version (#9958)
close #9957
2024-01-03 16:54:47 +08:00
Evan You d94d8d4bff fix(compiler-sfc): use compilerOptions when re-parsing consumed AST
fixes hydration error for custom elements
2024-01-02 21:38:13 +08:00
Evan You be7eabda22 chore: bump repl version 2024-01-02 10:54:13 +08:00
三咲智子 Kevin Deng 3d3d08d0f1
Merge remote-tracking branch 'upstream/minor' 2023-12-31 18:51:34 +08:00
Evan You 24d77c25ce perf(watch): avoid double traverse for reactive source 2023-12-31 17:29:58 +08:00
Evan You 8f85b6da44 release: v3.4.3 2023-12-30 21:34:23 +08:00
Evan You 274f6f71fc test: test case for sfc parse options cache invalidation 2023-12-30 21:09:15 +08:00
Evan You b8d58ec4f4 fix(compiler-sfc): respect sfc parse options in cache key 2023-12-30 20:38:58 +08:00
Evan You b010cb9939 release: v3.4.2 2023-12-30 19:41:35 +08:00
edison 6cb00ed0f9
fix(ssr): fix hydration error for slot outlet inside transition-group (#9937)
close #9933
2023-12-30 19:01:07 +08:00
Evan You c3fd577177 chore: fix snapshot 2023-12-30 18:57:22 +08:00
yangxiuxiu 4f703d120d
fix(runtime-core): support deep: false when watch reactive (#9928)
close #9916

---------

Co-authored-by: RicardoErii <‘1974364190@qq.com’>
Co-authored-by: Evan You <yyx990803@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-30 18:52:17 +08:00