]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
18 months agorefactor(compiler-vapor): fast path for string
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:17:34 +0000 (22:17 +0800)] 
refactor(compiler-vapor): fast path for string

18 months agorefactor(compiler-vapor): CodeFragment for codegen
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:08:28 +0000 (22:08 +0800)] 
refactor(compiler-vapor): CodeFragment for codegen

18 months agorefactor(compiler-vapor): simplify codegen context
三咲智子 Kevin Deng [Tue, 30 Jan 2024 11:35:29 +0000 (19:35 +0800)] 
refactor(compiler-vapor): simplify codegen context

18 months agorefactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT
三咲智子 Kevin Deng [Mon, 29 Jan 2024 22:12:01 +0000 (06:12 +0800)] 
refactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT

18 months agorefactor(runtime-vapor): throw errors when node is not found
三咲智子 Kevin Deng [Mon, 29 Jan 2024 21:35:28 +0000 (05:35 +0800)] 
refactor(runtime-vapor): throw errors when node is not found

18 months agotest: add normalizeBlock
三咲智子 Kevin Deng [Mon, 29 Jan 2024 21:34:54 +0000 (05:34 +0800)] 
test: add normalizeBlock

18 months agorefactor(runtime-vapor): template fragment (#100)
Rizumu Ayaka [Mon, 29 Jan 2024 20:15:52 +0000 (04:15 +0800)] 
refactor(runtime-vapor): template fragment (#100)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agotest: simplify
三咲智子 Kevin Deng [Mon, 29 Jan 2024 19:16:33 +0000 (03:16 +0800)] 
test: simplify

18 months agofix(compiler-vapor): handle no template
三咲智子 Kevin Deng [Mon, 29 Jan 2024 15:06:21 +0000 (23:06 +0800)] 
fix(compiler-vapor): handle no template

18 months agorefactor(compiler-vapor): make dynamic.children an array
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:28:40 +0000 (22:28 +0800)] 
refactor(compiler-vapor): make dynamic.children an array

18 months agorefactor(compiler-vapor): decoupe insert and non-template
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:15:34 +0000 (22:15 +0800)] 
refactor(compiler-vapor): decoupe insert and non-template

18 months agorefactor(compiler-vapor): dynamicFlag
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:08:57 +0000 (22:08 +0800)] 
refactor(compiler-vapor): dynamicFlag

18 months agofeat(compiler-vapor): `v-else` / `v-else-if` (#98)
Rizumu Ayaka [Sun, 28 Jan 2024 19:42:56 +0000 (03:42 +0800)] 
feat(compiler-vapor): `v-else` / `v-else-if` (#98)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agostyle: respect root prettier config
三咲智子 Kevin Deng [Sun, 28 Jan 2024 19:11:30 +0000 (03:11 +0800)] 
style: respect root prettier config

18 months agofeat(runtime-vapor): createFor
三咲智子 Kevin Deng [Sun, 28 Jan 2024 12:15:41 +0000 (20:15 +0800)] 
feat(runtime-vapor): createFor

18 months agoci: show size report for push job
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:41:01 +0000 (03:41 +0800)] 
ci: show size report for push job

18 months agochore: add compiler-vapor & dom for size report
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:37:36 +0000 (03:37 +0800)] 
chore: add compiler-vapor & dom for size report

18 months agoperf(compiler-vapor): use array instead of regex
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:35:04 +0000 (03:35 +0800)] 
perf(compiler-vapor): use array instead of regex

18 months agofix(compiler-vapor): don't mutate ast
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:28:27 +0000 (03:28 +0800)] 
fix(compiler-vapor): don't mutate ast

18 months agofeat(compiler-vapor): add error check and simplify for v-if
三咲智子 Kevin Deng [Sat, 27 Jan 2024 18:11:05 +0000 (02:11 +0800)] 
feat(compiler-vapor): add error check and simplify for v-if

18 months agorefactor(playground): replace v-show with v-if
三咲智子 Kevin Deng [Sat, 27 Jan 2024 17:54:26 +0000 (01:54 +0800)] 
refactor(playground): replace v-show with v-if

18 months agorefactor(compiler-vapor): dedpue fragment
三咲智子 Kevin Deng [Sat, 27 Jan 2024 17:39:16 +0000 (01:39 +0800)] 
refactor(compiler-vapor): dedpue fragment

18 months agofeat(compiler-vapor): `v-if` (#96)
Rizumu Ayaka [Sat, 27 Jan 2024 17:31:20 +0000 (01:31 +0800)] 
feat(compiler-vapor): `v-if` (#96)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agotest(compiler-vapor): refactor compile
三咲智子 Kevin Deng [Sat, 27 Jan 2024 14:13:34 +0000 (22:13 +0800)] 
test(compiler-vapor): refactor compile

18 months agorefactor(compiler-vapor): codegen result
三咲智子 Kevin Deng [Sat, 27 Jan 2024 13:42:52 +0000 (21:42 +0800)] 
refactor(compiler-vapor): codegen result

18 months agorefactor(compiler-vapor): group directives by same element
三咲智子 Kevin Deng [Sat, 27 Jan 2024 12:49:43 +0000 (20:49 +0800)] 
refactor(compiler-vapor): group directives by same element

18 months agofeat(playground): todo mvc
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:49:34 +0000 (16:49 +0800)] 
feat(playground): todo mvc

18 months agorefactor: get oldVal from metadata
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:38:56 +0000 (16:38 +0800)] 
refactor: get oldVal from metadata

18 months agofix(compiler-vapor): omit prop key for set class&style
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:24:42 +0000 (16:24 +0800)] 
fix(compiler-vapor): omit prop key for set class&style

18 months agofeat(sfc-playground): display vapor status
三咲智子 Kevin Deng [Wed, 24 Jan 2024 14:14:12 +0000 (22:14 +0800)] 
feat(sfc-playground): display vapor status

18 months agofeat(runtime-vapor): expose vapor mode flag
三咲智子 Kevin Deng [Wed, 24 Jan 2024 14:11:40 +0000 (22:11 +0800)] 
feat(runtime-vapor): expose vapor mode flag

18 months agofeat: generate specific function when the prop key is static (#97)
ygj6 [Mon, 22 Jan 2024 15:03:39 +0000 (23:03 +0800)] 
feat: generate specific function when the prop key is static (#97)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agofeat: repl (#94)
三咲智子 Kevin Deng [Sun, 21 Jan 2024 08:51:28 +0000 (16:51 +0800)] 
feat: repl (#94)

18 months agorefactor(runtime-vapor): template refs
三咲智子 Kevin Deng [Sun, 21 Jan 2024 05:59:56 +0000 (13:59 +0800)] 
refactor(runtime-vapor): template refs

18 months agorefactor(compiler-vapor): extract gen operation
三咲智子 Kevin Deng [Sun, 21 Jan 2024 05:43:23 +0000 (13:43 +0800)] 
refactor(compiler-vapor): extract gen operation

18 months agofeat: v-model for input & textarea
三咲智子 Kevin Deng [Sat, 20 Jan 2024 18:16:30 +0000 (02:16 +0800)] 
feat: v-model for input & textarea

18 months agofeat: basic template ref
三咲智子 Kevin Deng [Sat, 20 Jan 2024 15:48:10 +0000 (23:48 +0800)] 
feat: basic template ref

18 months agorefactor(runtime-vapor): remove ref wrapper for mounted state
三咲智子 Kevin Deng [Sat, 20 Jan 2024 12:46:41 +0000 (20:46 +0800)] 
refactor(runtime-vapor): remove ref wrapper for mounted state

18 months agofix(runtime-vapor): set setupState
三咲智子 Kevin Deng [Sat, 20 Jan 2024 12:22:06 +0000 (20:22 +0800)] 
fix(runtime-vapor): set setupState

18 months agofix(runtime-vapor): patch prop
三咲智子 Kevin Deng [Sat, 20 Jan 2024 05:38:20 +0000 (13:38 +0800)] 
fix(runtime-vapor): patch prop

18 months agofeat: prop and attr modifiers for v-bind (#79)
ygj6 [Sat, 20 Jan 2024 05:31:16 +0000 (13:31 +0800)] 
feat: prop and attr modifiers for v-bind (#79)

18 months agotest: update snapshot
三咲智子 Kevin Deng [Sat, 20 Jan 2024 05:29:55 +0000 (13:29 +0800)] 
test: update snapshot

18 months agofix(compiler-vapor): don't setText for root element
三咲智子 Kevin Deng [Fri, 19 Jan 2024 14:50:07 +0000 (22:50 +0800)] 
fix(compiler-vapor): don't setText for root element

18 months agofix(runtime-vapor): normalize state&block
三咲智子 Kevin Deng [Fri, 19 Jan 2024 14:43:43 +0000 (22:43 +0800)] 
fix(runtime-vapor): normalize state&block

18 months agochore: update comment
三咲智子 Kevin Deng [Fri, 19 Jan 2024 09:09:57 +0000 (17:09 +0800)] 
chore: update comment

18 months agorefactor: simplify code
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:59:03 +0000 (16:59 +0800)] 
refactor: simplify code

18 months agochore: update todo
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:41:03 +0000 (16:41 +0800)] 
chore: update todo

18 months agofeat(runtime-vapor): createIf (#95)
Rizumu Ayaka [Fri, 19 Jan 2024 08:38:41 +0000 (16:38 +0800)] 
feat(runtime-vapor): createIf (#95)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agostyle: format tsconfig
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:38:00 +0000 (16:38 +0800)] 
style: format tsconfig

18 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:29:21 +0000 (16:29 +0800)] 
Merge remote-tracking branch 'upstream/main'

18 months agorelease: v3.4.15 v3.4.15
Evan You [Thu, 18 Jan 2024 13:34:34 +0000 (21:34 +0800)] 
release: v3.4.15

18 months agoperf(templateRef): avoid double render when using template ref on v-for
Evan You [Thu, 18 Jan 2024 13:25:10 +0000 (21:25 +0800)] 
perf(templateRef): avoid double render when using template ref on v-for

close #9908

18 months agofix: correct url for production error reference links
Evan You [Thu, 18 Jan 2024 12:00:01 +0000 (20:00 +0800)] 
fix: correct url for production error reference links

18 months agoperf(v-model): optimize v-model multiple select w/ large lists
Evan You [Thu, 18 Jan 2024 11:55:15 +0000 (19:55 +0800)] 
perf(v-model): optimize v-model multiple select w/ large lists

close #10014

18 months agofix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
Evan You [Thu, 18 Jan 2024 05:52:42 +0000 (13:52 +0800)] 
fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm

close #10121

18 months agofix(runtime-core): should not warn out-of-render slot fn usage when mounting another...
inottn [Thu, 18 Jan 2024 03:45:11 +0000 (11:45 +0800)] 
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup (#10125)

close #10124

18 months agorefactor: use shared isAttrRenderable logic between ssr and hydration
Evan You [Thu, 18 Jan 2024 03:23:59 +0000 (11:23 +0800)] 
refactor: use shared isAttrRenderable logic between ssr and hydration

18 months agochore: remove unused import
Evan You [Thu, 18 Jan 2024 03:23:50 +0000 (11:23 +0800)] 
chore: remove unused import

18 months agofix(hydration): fix incorect mismatch warning for option with non-string value and...
Evan You [Thu, 18 Jan 2024 03:19:04 +0000 (11:19 +0800)] 
fix(hydration): fix incorect mismatch warning for option with non-string value and inner text

close 10140

18 months agochore: replace -1 to PatchFlags.HOISTED (#10146)
pengbo [Thu, 18 Jan 2024 02:48:27 +0000 (10:48 +0800)] 
chore: replace -1 to PatchFlags.HOISTED (#10146)

18 months agofix(reactivity): re-fix #10114 (#10123)
Johnson Chu [Thu, 18 Jan 2024 02:46:57 +0000 (10:46 +0800)] 
fix(reactivity): re-fix #10114 (#10123)

18 months agochore: dev build for multi-packages (#10126)
Bou Harusame [Thu, 18 Jan 2024 02:38:36 +0000 (10:38 +0800)] 
chore: dev build for multi-packages (#10126)

Co-authored-by: baoqiang <qiang.bao@stanlogy.com>
18 months agorelease: v3.4.14 v3.4.14
Evan You [Mon, 15 Jan 2024 15:41:12 +0000 (23:41 +0800)] 
release: v3.4.14

18 months agofix(reactivity): fix regression for computed with mutation (#10119)
Doctor Wu [Mon, 15 Jan 2024 15:38:57 +0000 (23:38 +0800)] 
fix(reactivity): fix regression for computed with mutation (#10119)

close #10114

18 months agochore(deps): update test to ^1.2.0 (#10113)
renovate[bot] [Mon, 15 Jan 2024 12:08:45 +0000 (20:08 +0800)] 
chore(deps): update test to ^1.2.0 (#10113)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore(deps): update lint (#10112)
renovate[bot] [Mon, 15 Jan 2024 10:15:47 +0000 (18:15 +0800)] 
chore(deps): update lint (#10112)

* chore(deps): update lint

* [autofix.ci] apply automated fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
18 months agochore(deps): update all non-major dependencies (#10111)
renovate[bot] [Mon, 15 Jan 2024 10:15:36 +0000 (18:15 +0800)] 
chore(deps): update all non-major dependencies (#10111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agofix(deps): update dependency postcss to ^8.4.33 (#10110)
renovate[bot] [Mon, 15 Jan 2024 10:15:24 +0000 (18:15 +0800)] 
fix(deps): update dependency postcss to ^8.4.33 (#10110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore: dev build for multi-packages (#10108)
三咲智子 Kevin Deng [Mon, 15 Jan 2024 10:14:32 +0000 (18:14 +0800)] 
chore: dev build for multi-packages (#10108)

18 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Sun, 14 Jan 2024 15:33:08 +0000 (23:33 +0800)] 
Merge remote-tracking branch 'upstream/main'

18 months agofix(compiler-sfc): enable prefixIdentifiers by default when reparsing on consumed...
三咲智子 Kevin Deng [Sun, 14 Jan 2024 01:36:04 +0000 (09:36 +0800)] 
fix(compiler-sfc): enable prefixIdentifiers by default when reparsing on consumed AST (#10105)

18 months agochore: fix typo in changelog (#10104) [ci skip]
Saeid Zareie [Sat, 13 Jan 2024 13:53:26 +0000 (17:23 +0330)] 
chore: fix typo in changelog (#10104) [ci skip]

18 months agofeat(compiler-vapor): support `expressionPlugins` for generate (#91)
zhiyuanzmj [Sat, 13 Jan 2024 10:30:03 +0000 (18:30 +0800)] 
feat(compiler-vapor): support `expressionPlugins` for generate (#91)

18 months agorelease: v3.4.13 v3.4.13
Evan You [Sat, 13 Jan 2024 08:03:45 +0000 (16:03 +0800)] 
release: v3.4.13

18 months agofix(reactivity): fix dirtyLevel checks for recursive effects (#10101)
Johnson Chu [Sat, 13 Jan 2024 07:53:06 +0000 (15:53 +0800)] 
fix(reactivity): fix dirtyLevel checks for recursive effects (#10101)

close #10082

18 months agorelease: v3.4.12 v3.4.12
Evan You [Sat, 13 Jan 2024 02:41:29 +0000 (10:41 +0800)] 
release: v3.4.12

18 months agorevert: fix(reactivity): correct dirty assign in render function (#10091)
Evan You [Sat, 13 Jan 2024 02:28:47 +0000 (10:28 +0800)] 
revert: fix(reactivity): correct dirty assign in render function (#10091)

This reverts commit 8d042050411fdf04d9d1d6c153287164b12e0255.

close #10098
close #10100

18 months agofix(compiler-vapor): should not prefix member expression (#92)
zhiyuanzmj [Fri, 12 Jan 2024 19:26:50 +0000 (03:26 +0800)] 
fix(compiler-vapor): should not prefix member expression (#92)

18 months agofeat(runtime-vapor): lifecycle beforeUpdate and updated hooks (#89)
Rizumu Ayaka [Fri, 12 Jan 2024 19:25:57 +0000 (03:25 +0800)] 
feat(runtime-vapor): lifecycle beforeUpdate and updated hooks (#89)

18 months agorelease: v3.4.11 v3.4.11
Evan You [Fri, 12 Jan 2024 14:15:16 +0000 (22:15 +0800)] 
release: v3.4.11

18 months agodx(defineModel): warn against reference of setup scope variables in defineModel options
Evan You [Fri, 12 Jan 2024 14:06:46 +0000 (22:06 +0800)] 
dx(defineModel): warn against reference of setup scope variables in defineModel options

close #10093

18 months agofix(runtime-core): filter single root for nested DEV_ROOT_FRAGMENT (#8593)
edison [Fri, 12 Jan 2024 14:07:06 +0000 (22:07 +0800)] 
fix(runtime-core): filter single root for nested DEV_ROOT_FRAGMENT (#8593)

close #5203
close #8581
close #10087

18 months agofix(reactivity): correct dirty assign in render function (#10091)
Doctorwu [Fri, 12 Jan 2024 13:13:17 +0000 (21:13 +0800)] 
fix(reactivity): correct dirty assign in render function (#10091)

close #10082

18 months agofix(hydration): improve mismatch when client valut is null or undefined (#10086)
zhoulixiang [Fri, 12 Jan 2024 09:50:26 +0000 (17:50 +0800)] 
fix(hydration): improve mismatch when client valut is null or undefined (#10086)

18 months agorelease: v3.4.10 v3.4.10
Evan You [Thu, 11 Jan 2024 15:04:20 +0000 (23:04 +0800)] 
release: v3.4.10

18 months agofix(hydration): should not warn on falsy bindings of non-property keys
Evan You [Thu, 11 Jan 2024 13:07:41 +0000 (21:07 +0800)] 
fix(hydration): should not warn on falsy bindings of non-property keys

18 months agorelease: v3.4.9 v3.4.9
Evan You [Thu, 11 Jan 2024 10:49:05 +0000 (18:49 +0800)] 
release: v3.4.9

18 months agofix(build): avoid accessing __FEATURE_PROD_DEVTOOLS__ flag in root scope
Evan You [Thu, 11 Jan 2024 10:30:23 +0000 (18:30 +0800)] 
fix(build): avoid accessing __FEATURE_PROD_DEVTOOLS__ flag in root scope

18 months agochore(build): rename __NODE_JS__ build flag to __CJS__
Evan You [Thu, 11 Jan 2024 10:24:21 +0000 (18:24 +0800)] 
chore(build): rename __NODE_JS__ build flag to __CJS__

18 months agorefactor: split out useModel implementation and tests
Evan You [Thu, 11 Jan 2024 09:57:47 +0000 (17:57 +0800)] 
refactor: split out useModel implementation and tests

18 months agobuild: add node production/development condition in package exports (#10036)
Evan You [Thu, 11 Jan 2024 10:04:32 +0000 (18:04 +0800)] 
build: add node production/development condition in package exports (#10036)

follow up of #9977

18 months agofix(suspense): avoid double-patching nested suspense when parent suspense is not...
edison [Thu, 11 Jan 2024 09:27:53 +0000 (17:27 +0800)] 
fix(suspense): avoid double-patching nested suspense when parent suspense is not resolved (#10055)

close #8678

18 months agotest: test case for style binding w/ object value + v-show
Evan You [Thu, 11 Jan 2024 09:14:49 +0000 (17:14 +0800)] 
test: test case for style binding w/ object value + v-show

ref #10074

18 months agofix(runtime-dom): unify behavior for v-show + style display binding (#10075)
cyx [Thu, 11 Jan 2024 09:11:35 +0000 (17:11 +0800)] 
fix(runtime-dom): unify behavior for v-show + style display binding (#10075)

close #10074

18 months agofix(hydration): do not warn against bindings w/ object values
Evan You [Thu, 11 Jan 2024 08:18:00 +0000 (16:18 +0800)] 
fix(hydration): do not warn against bindings w/ object values

18 months agochore: upgrade vite-node
三咲智子 Kevin Deng [Thu, 11 Jan 2024 06:26:53 +0000 (14:26 +0800)] 
chore: upgrade vite-node

18 months agochore: update playground script
三咲智子 Kevin Deng [Wed, 10 Jan 2024 18:38:43 +0000 (02:38 +0800)] 
chore: update playground script

18 months agorelease: v3.4.8 v3.4.8
Evan You [Wed, 10 Jan 2024 17:03:51 +0000 (01:03 +0800)] 
release: v3.4.8

18 months agofix(hydration): fix class and style hydration mismatch message
Evan You [Wed, 10 Jan 2024 16:47:28 +0000 (00:47 +0800)] 
fix(hydration): fix class and style hydration mismatch message

close #10067

18 months agofix(suspense): fix more suspense patch before resolve edge cases
Evan You [Wed, 10 Jan 2024 13:03:20 +0000 (21:03 +0800)] 
fix(suspense): fix more suspense patch before resolve edge cases

close #10017