]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
17 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

17 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

17 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

17 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

17 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

17 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

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

17 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>
17 months agotest(compiler-vapor): refactor compile
三咲智子 Kevin Deng [Sat, 27 Jan 2024 14:13:34 +0000 (22:13 +0800)] 
test(compiler-vapor): refactor compile

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

17 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

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

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

17 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

17 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

17 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

17 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>
17 months agofeat: repl (#94)
三咲智子 Kevin Deng [Sun, 21 Jan 2024 08:51:28 +0000 (16:51 +0800)] 
feat: repl (#94)

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

17 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

17 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

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

17 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

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

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

17 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)

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

17 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

17 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

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

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

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

17 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>
17 months agostyle: format tsconfig
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:38:00 +0000 (16:38 +0800)] 
style: format tsconfig

17 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'

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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)

17 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)

17 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>
17 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

17 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

17 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>
17 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>
17 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>
17 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>
17 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)

17 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'

17 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)

17 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]

17 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

18 months agofix(hydration): improve attr hydration mismatch check for boolean attrs
Evan You [Wed, 10 Jan 2024 06:14:47 +0000 (14:14 +0800)] 
fix(hydration): improve attr hydration mismatch check for boolean attrs

close #10057
close #10060

18 months agobuild: add copyright and license banner
Evan You [Wed, 10 Jan 2024 05:58:33 +0000 (13:58 +0800)] 
build: add copyright and license banner

close #10054

18 months agorelease: v3.4.7 v3.4.7
Evan You [Tue, 9 Jan 2024 10:15:03 +0000 (18:15 +0800)] 
release: v3.4.7

18 months agofix(types): fix functional component for `h` (#9991)
三咲智子 Kevin Deng [Tue, 9 Jan 2024 08:45:05 +0000 (16:45 +0800)] 
fix(types): fix functional component for `h` (#9991)

- stricter children/slots type
- fix emits/`EE` type argument of `FunctionalComponent`

18 months agorevert: "dx(computed): warn incorrect use of getCurrentInstance inside computed"
Evan You [Tue, 9 Jan 2024 08:37:50 +0000 (16:37 +0800)] 
revert: "dx(computed): warn incorrect use of getCurrentInstance inside computed"

This reverts commit 324e817ef8d00c091e5d1537789542241c876d66.

18 months agoworkflow: ignore non-package directories in /packages (#10016)
LiuSeen [Tue, 9 Jan 2024 07:30:08 +0000 (15:30 +0800)] 
workflow: ignore non-package directories in /packages (#10016)

18 months agochore(types): use EffectScheduler type for its queue (#10023)
LiuSeen [Tue, 9 Jan 2024 07:27:17 +0000 (15:27 +0800)] 
chore(types): use EffectScheduler type for its queue (#10023)

18 months agorefactor(runtime-core): use currentRenderingInstance directly
zhangenming [Tue, 9 Jan 2024 07:26:07 +0000 (15:26 +0800)] 
refactor(runtime-core): use currentRenderingInstance directly

18 months agochore: use NOOP. (#9938)
zhangenming [Tue, 9 Jan 2024 07:24:10 +0000 (15:24 +0800)] 
chore: use NOOP. (#9938)

18 months agofix(parser): skip compat mode check for SFC root `<template>` tags (#10034)
Haoqun Jiang [Tue, 9 Jan 2024 03:14:00 +0000 (11:14 +0800)] 
fix(parser): skip compat mode check for SFC root `<template>` tags (#10034)

Fixes https://github.com/vitejs/vite-plugin-vue/issues/330

18 months agorefactor(runtime-core): safer currentInstance reset
Evan You [Mon, 8 Jan 2024 23:22:13 +0000 (07:22 +0800)] 
refactor(runtime-core): safer currentInstance reset

18 months agorelease: v3.4.6 v3.4.6
Evan You [Mon, 8 Jan 2024 15:01:54 +0000 (23:01 +0800)] 
release: v3.4.6

18 months agofix(types): allow `null` type for textarea value (#9997)
白雾三语 [Mon, 8 Jan 2024 14:58:27 +0000 (22:58 +0800)] 
fix(types): allow `null` type for textarea value (#9997)

close #9904

18 months agofix(build): revert "build: add production/development export conditions (#9977)"
Evan You [Mon, 8 Jan 2024 14:29:08 +0000 (22:29 +0800)] 
fix(build): revert "build: add production/development export conditions (#9977)"

This reverts commit e790e1bdd7df7be39e14780529db86e4da47a3db.

close #10012
close #10020

18 months agofix(runtime-core): handle fragment with null children (#10010)
Doctorwu [Mon, 8 Jan 2024 10:48:47 +0000 (18:48 +0800)] 
fix(runtime-core): handle fragment with null children (#10010)

close #10007