]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
17 months agofix(reactivity): re-run effect when is dirty in the pikax/computed_render_issue 10090/head
Carlos Rodrigues [Fri, 12 Jan 2024 09:37:28 +0000 (09:37 +0000)] 
fix(reactivity): re-run effect when is dirty in the

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 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 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 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 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 agorelease: v3.4.4 v3.4.4
Evan You [Wed, 3 Jan 2024 10:40:28 +0000 (18:40 +0800)] 
release: v3.4.4

18 months agochore(apiWatch): constraint deep passes boolean (#9952)
丶远方 [Wed, 3 Jan 2024 10:18:45 +0000 (18:18 +0800)] 
chore(apiWatch): constraint deep passes boolean (#9952)

18 months agofix(defineModel): support kebab-case/camelCase mismatches (#9950)
skirtle [Wed, 3 Jan 2024 10:18:35 +0000 (10:18 +0000)] 
fix(defineModel): support kebab-case/camelCase mismatches (#9950)

18 months agofix(watch): remove instance unmounted short circuit in getter of `watchEffect` (...
Yang Mingshan [Wed, 3 Jan 2024 10:09:53 +0000 (18:09 +0800)] 
fix(watch): remove instance unmounted short circuit in getter of `watchEffect` (#9948)

18 months agochore(deps): update lint (#9963)
renovate[bot] [Wed, 3 Jan 2024 09:46:24 +0000 (17:46 +0800)] 
chore(deps): update lint (#9963)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agofix(compiler-sfc): fix scss source map regression
Evan You [Wed, 3 Jan 2024 09:45:57 +0000 (17:45 +0800)] 
fix(compiler-sfc): fix scss source map regression

close #9970
close #9969

18 months agofix(ssr): avoid rendering transition-group slot content as a fragment (#9961)
edison [Wed, 3 Jan 2024 09:43:08 +0000 (17:43 +0800)] 
fix(ssr): avoid rendering transition-group slot content as a fragment (#9961)

close #9933

18 months agochore(deps): update test to ^1.1.1 (#9962)
renovate[bot] [Wed, 3 Jan 2024 09:41:10 +0000 (17:41 +0800)] 
chore(deps): update test to ^1.1.1 (#9962)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore(deps): update dependency postcss-selector-parser to ^6.0.15 (#9960)
renovate[bot] [Wed, 3 Jan 2024 09:35:34 +0000 (17:35 +0800)] 
chore(deps): update dependency postcss-selector-parser to ^6.0.15 (#9960)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore(deps): update all non-major dependencies (#9959)
renovate[bot] [Wed, 3 Jan 2024 09:35:15 +0000 (17:35 +0800)] 
chore(deps): update all non-major dependencies (#9959)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agofix(watch): revert watch behavior when watching shallow reactive objects
Evan You [Wed, 3 Jan 2024 09:25:24 +0000 (17:25 +0800)] 
fix(watch): revert watch behavior when watching shallow reactive objects

close #9965

18 months agofix(runtime-core): correctly assign suspenseId to avoid conflicts with the default...
yangxiuxiu [Wed, 3 Jan 2024 09:22:06 +0000 (17:22 +0800)] 
fix(runtime-core): correctly assign suspenseId to avoid conflicts with the default id (#9966)

close #9944

18 months agoworkflow(sfc-playground): init custom formatter when selecting new version (#9958)
SerKo [Wed, 3 Jan 2024 08:54:47 +0000 (16:54 +0800)] 
workflow(sfc-playground): init custom formatter when selecting new version (#9958)

close #9957

18 months agofix(compiler-sfc): use compilerOptions when re-parsing consumed AST
Evan You [Tue, 2 Jan 2024 02:55:10 +0000 (10:55 +0800)] 
fix(compiler-sfc): use compilerOptions when re-parsing consumed AST

fixes hydration error for custom elements

18 months agochore: bump repl version
Evan You [Tue, 2 Jan 2024 02:54:13 +0000 (10:54 +0800)] 
chore: bump repl version

18 months agoperf(watch): avoid double traverse for reactive source
Evan You [Sun, 31 Dec 2023 09:29:58 +0000 (17:29 +0800)] 
perf(watch): avoid double traverse for reactive source

18 months agorelease: v3.4.3 v3.4.3
Evan You [Sat, 30 Dec 2023 13:34:23 +0000 (21:34 +0800)] 
release: v3.4.3

18 months agotest: test case for sfc parse options cache invalidation
Evan You [Sat, 30 Dec 2023 13:09:15 +0000 (21:09 +0800)] 
test: test case for sfc parse options cache invalidation

18 months agofix(compiler-sfc): respect sfc parse options in cache key
Evan You [Sat, 30 Dec 2023 12:38:58 +0000 (20:38 +0800)] 
fix(compiler-sfc): respect sfc parse options in cache key

18 months agorelease: v3.4.2 v3.4.2
Evan You [Sat, 30 Dec 2023 11:41:35 +0000 (19:41 +0800)] 
release: v3.4.2

18 months agofix(ssr): fix hydration error for slot outlet inside transition-group (#9937)
edison [Sat, 30 Dec 2023 11:01:07 +0000 (19:01 +0800)] 
fix(ssr): fix hydration error for slot outlet inside transition-group (#9937)

close #9933

18 months agochore: fix snapshot
Evan You [Sat, 30 Dec 2023 10:57:22 +0000 (18:57 +0800)] 
chore: fix snapshot

18 months agofix(runtime-core): support deep: false when watch reactive (#9928)
yangxiuxiu [Sat, 30 Dec 2023 10:52:17 +0000 (18:52 +0800)] 
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>
18 months agofix(compiler-sfc): fix dev regression for dot / namespace component usage
Evan You [Sat, 30 Dec 2023 10:20:04 +0000 (18:20 +0800)] 
fix(compiler-sfc): fix dev regression for dot / namespace component usage

close #9947

18 months agotest: split import usage check tests into dedicated file
Evan You [Sat, 30 Dec 2023 10:13:15 +0000 (18:13 +0800)] 
test: split import usage check tests into dedicated file

18 months agorelease: v3.4.1 v3.4.1
Evan You [Sat, 30 Dec 2023 01:02:48 +0000 (09:02 +0800)] 
release: v3.4.1

18 months agofix(defineModel): support local mutation when only prop but no listener is passed
Evan You [Sat, 30 Dec 2023 00:57:55 +0000 (08:57 +0800)] 
fix(defineModel): support local mutation when only prop but no listener is passed

18 months agofeat(compiler-sfc): support passing template parsing options when parsing sfc
Evan You [Sat, 30 Dec 2023 00:42:43 +0000 (08:42 +0800)] 
feat(compiler-sfc): support passing template parsing options when parsing sfc

- This is released in a patch because it is an relatively internal API
  but required to properly fix https://github.com/vitejs/vite-plugin-vue/issues/322

- `parseExpressions` is now deprecated because it can be passed using
  original template parsing options (`prefixIdentifiers`)

18 months agochore: dedupe deps
Evan You [Sat, 30 Dec 2023 00:32:40 +0000 (08:32 +0800)] 
chore: dedupe deps

18 months agochore: use relative import location instead of package (#9941)
Carlos Rodrigues [Sat, 30 Dec 2023 00:35:56 +0000 (00:35 +0000)] 
chore: use relative import location instead of package (#9941)

18 months agofix(defineModel): always default modifiers to empty object
Evan You [Sat, 30 Dec 2023 00:26:48 +0000 (08:26 +0800)] 
fix(defineModel): always default modifiers to empty object

close #9945

18 months agofix(types): fix defineModel watch type error (#9942)
丶远方 [Sat, 30 Dec 2023 00:22:56 +0000 (08:22 +0800)] 
fix(types): fix defineModel watch type error (#9942)

close #9939

18 months agochore(eslint): eslint ignore .gitignore (#9932)
丶远方 [Fri, 29 Dec 2023 04:42:37 +0000 (12:42 +0800)] 
chore(eslint): eslint ignore .gitignore (#9932)

18 months agochore: ignore files for eslint
三咲智子 Kevin Deng [Thu, 28 Dec 2023 16:41:22 +0000 (00:41 +0800)] 
chore: ignore files for eslint

18 months agofix(compat): correct enum value for COMPILER_FILTERS feature (#9875)
Masa-Shin [Fri, 29 Dec 2023 04:41:21 +0000 (13:41 +0900)] 
fix(compat): correct enum value for COMPILER_FILTERS feature (#9875)

18 months agochore: fix jsx namespace link in 3.4 changelog [ci skip]
Evan You [Fri, 29 Dec 2023 02:55:30 +0000 (10:55 +0800)] 
chore: fix jsx namespace link in 3.4 changelog [ci skip]

18 months agorelease: v3.4.0 v3.4.0
Evan You [Fri, 29 Dec 2023 02:50:32 +0000 (10:50 +0800)] 
release: v3.4.0

18 months agochore: split out 3.3 changelog [ci skip]
Evan You [Thu, 28 Dec 2023 08:13:05 +0000 (16:13 +0800)] 
chore: split out 3.3 changelog [ci skip]

18 months agochore: link to compile-time flag reference in docs [ci skip]
Evan You [Wed, 27 Dec 2023 05:08:44 +0000 (13:08 +0800)] 
chore: link to compile-time flag reference in docs [ci skip]

18 months agorelease: v3.4.0-rc.3 v3.4.0-rc.3
Evan You [Wed, 27 Dec 2023 02:15:44 +0000 (10:15 +0800)] 
release: v3.4.0-rc.3

18 months agochore(sfc-playground): correctly show selected version on start up
Evan You [Wed, 27 Dec 2023 02:08:26 +0000 (10:08 +0800)] 
chore(sfc-playground): correctly show selected version on start up

18 months agochore: apply eslint fix on commit
Evan You [Tue, 26 Dec 2023 14:13:50 +0000 (22:13 +0800)] 
chore: apply eslint fix on commit

18 months agofeat(defineModel): support modifiers and transformers
Evan You [Tue, 26 Dec 2023 14:13:04 +0000 (22:13 +0800)] 
feat(defineModel): support modifiers and transformers

18 months agochore: ignore style commit in git blame
三咲智子 Kevin Deng [Tue, 26 Dec 2023 11:42:15 +0000 (19:42 +0800)] 
chore: ignore style commit in git blame

18 months agostyle: update format & lint config (#9162)
三咲智子 Kevin Deng [Tue, 26 Dec 2023 11:39:47 +0000 (19:39 +0800)] 
style: update format & lint config (#9162)

Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
18 months agorefactor(sfc-playground): default to dev mode
Evan You [Tue, 26 Dec 2023 09:57:18 +0000 (17:57 +0800)] 
refactor(sfc-playground): default to dev mode

18 months agofix: also export runtime error strings in all cjs builds
Evan You [Tue, 26 Dec 2023 08:32:53 +0000 (16:32 +0800)] 
fix: also export runtime error strings in all cjs builds

18 months agochore: update new issue url in scheduler error message
Evan You [Tue, 26 Dec 2023 08:15:24 +0000 (16:15 +0800)] 
chore: update new issue url in scheduler error message

18 months agorelease: v3.4.0-rc.2 v3.4.0-rc.2
Evan You [Tue, 26 Dec 2023 07:52:53 +0000 (15:52 +0800)] 
release: v3.4.0-rc.2

18 months agochore: Merge branch 'main' into minor
Evan You [Tue, 26 Dec 2023 07:45:49 +0000 (15:45 +0800)] 
chore: Merge branch 'main' into minor

18 months agoci: build via pnpm in verify-treeshaking script
Evan You [Tue, 26 Dec 2023 07:39:22 +0000 (15:39 +0800)] 
ci: build via pnpm in verify-treeshaking script

18 months agoci: verify common treeshaking issues in CI
Evan You [Tue, 26 Dec 2023 07:34:40 +0000 (15:34 +0800)] 
ci: verify common treeshaking issues in CI