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

17 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

17 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

18 months agofix: fix post watcher fire timing on nested app mounts
Evan You [Mon, 8 Jan 2024 10:44:28 +0000 (18:44 +0800)] 
fix: fix post watcher fire timing on nested app mounts

close #10005

18 months agofix(scheduler): sort nested postFlushCbs
Evan You [Mon, 8 Jan 2024 10:20:29 +0000 (18:20 +0800)] 
fix(scheduler): sort nested postFlushCbs

close #10003

18 months agodx(computed): warn incorrect use of getCurrentInstance inside computed
Evan You [Mon, 8 Jan 2024 10:12:40 +0000 (18:12 +0800)] 
dx(computed): warn incorrect use of getCurrentInstance inside computed

ref #9974
close #10001

18 months agofix(hydration): avoid hydration mismatch warning for styles with different order...
zhoulixiang [Mon, 8 Jan 2024 08:36:27 +0000 (16:36 +0800)] 
fix(hydration): avoid hydration mismatch warning for styles with different order (#10011)

close #10000
close #10006

18 months agofix(suspense): fix anchor for suspense with transition out-in (#9999)
白雾三语 [Mon, 8 Jan 2024 07:57:14 +0000 (15:57 +0800)] 
fix(suspense): fix anchor for suspense with transition out-in (#9999)

close #9996

18 months agochore(deps): update test (#10030)
renovate[bot] [Mon, 8 Jan 2024 07:03:47 +0000 (15:03 +0800)] 
chore(deps): update test (#10030)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agotest: update vShow tests to workaround jsdom regression
Evan You [Mon, 8 Jan 2024 07:03:10 +0000 (15:03 +0800)] 
test: update vShow tests to workaround jsdom regression

18 months agochore(comments): dep changed from set to map (#10019) [ci skip]
LiuSeen [Mon, 8 Jan 2024 06:19:07 +0000 (14:19 +0800)] 
chore(comments): dep changed from set to map (#10019) [ci skip]

18 months agochore(deps): update dependency @types/node to ^20.10.7 (#10029)
renovate[bot] [Mon, 8 Jan 2024 06:17:07 +0000 (14:17 +0800)] 
chore(deps): update dependency @types/node to ^20.10.7 (#10029)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agofeat: compound expression for `v-on` (#60)
Rizumu Ayaka [Mon, 8 Jan 2024 06:07:49 +0000 (14:07 +0800)] 
feat: compound expression for `v-on` (#60)

18 months agochore(runtime-core): remove console comment (#9989)
Doctorwu [Sat, 6 Jan 2024 19:26:38 +0000 (03:26 +0800)] 
chore(runtime-core): remove console comment (#9989)

18 months agofeat: renderWatch / renderEffect (#86)
Rizumu Ayaka [Sat, 6 Jan 2024 17:31:01 +0000 (01:31 +0800)] 
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>
18 months agofeat(runtime-core, reactivity): `onEffectCleanup` and `baseWatch` (#82)
Rizumu Ayaka [Thu, 4 Jan 2024 15:22:55 +0000 (23:22 +0800)] 
feat(runtime-core, reactivity): `onEffectCleanup` and `baseWatch` (#82)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 months agoMerge tag 'v3.4.5'
三咲智子 Kevin Deng [Thu, 4 Jan 2024 09:43:25 +0000 (17:43 +0800)] 
Merge tag 'v3.4.5'

18 months agochore: update eslint ignore
三咲智子 Kevin Deng [Thu, 4 Jan 2024 09:41:04 +0000 (17:41 +0800)] 
chore: update eslint ignore

18 months agochore: add more readme (Codes Copied From `runtime-core`) (#88)
ubugeeei [Thu, 4 Jan 2024 09:36:37 +0000 (18:36 +0900)] 
chore: add more readme (Codes Copied From `runtime-core`) (#88)

18 months agorelease: v3.4.5 v3.4.5
Evan You [Thu, 4 Jan 2024 09:21:24 +0000 (17:21 +0800)] 
release: v3.4.5

18 months agofix(compiler-sfc): fix co-usage of defineModel transform options and props destructure
Evan You [Thu, 4 Jan 2024 09:07:29 +0000 (17:07 +0800)] 
fix(compiler-sfc): fix co-usage of defineModel transform options and props destructure

close #9972

18 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Thu, 4 Jan 2024 08:25:58 +0000 (16:25 +0800)] 
Merge remote-tracking branch 'upstream/main'

18 months agofix(compiler-sfc): fix sfc template unref rewrite for class instantiation
Evan You [Thu, 4 Jan 2024 07:57:54 +0000 (15:57 +0800)] 
fix(compiler-sfc): fix sfc template unref rewrite for class instantiation

close #6483
close #6491

18 months agochore: disallow console statement (#9986)
三咲智子 Kevin Deng [Thu, 4 Jan 2024 07:54:48 +0000 (15:54 +0800)] 
chore: disallow console statement (#9986)

18 months agochore: remove log
Evan You [Thu, 4 Jan 2024 07:45:35 +0000 (15:45 +0800)] 
chore: remove log

18 months agobuild: add production/development export conditions (#9977)
Daniel Roe [Thu, 4 Jan 2024 03:24:17 +0000 (03:24 +0000)] 
build: add production/development export conditions (#9977)

18 months agofix(compiler-ssr): fix node clone edge case caused by AST reuse (#9983)
edison [Thu, 4 Jan 2024 02:52:09 +0000 (10:52 +0800)] 
fix(compiler-ssr): fix node clone edge case caused by AST reuse (#9983)

close #9981

18 months agofix(watch): cleanup watcher effect from scope when manually stopped (#9978)
Yang Mingshan [Thu, 4 Jan 2024 02:36:13 +0000 (10:36 +0800)] 
fix(watch): cleanup watcher effect from scope when manually stopped (#9978)

18 months agochore: update readme, add codes copied list
Rizumu Ayaka [Wed, 3 Jan 2024 12:22:30 +0000 (20:22 +0800)] 
chore: update readme, add codes copied list

18 months agorelease: v3.4.4 v3.4.4
Evan You [Wed, 3 Jan 2024 10:40:28 +0000 (18:40 +0800)] 
release: v3.4.4