]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
2 years agobuild: fix size check
Evan You [Fri, 3 Feb 2023 09:22:01 +0000 (17:22 +0800)] 
build: fix size check

2 years agobuild: adjust dts test setup
Evan You [Fri, 3 Feb 2023 09:10:31 +0000 (17:10 +0800)] 
build: adjust dts test setup

2 years agoci: try puppeteer fix
Evan You [Fri, 3 Feb 2023 08:46:57 +0000 (16:46 +0800)] 
ci: try puppeteer fix

2 years agobuild: fix handling of const enum that rely on previous values
Evan You [Fri, 3 Feb 2023 08:26:56 +0000 (16:26 +0800)] 
build: fix handling of const enum that rely on previous values

2 years agobuild: remove api-extractor
Evan You [Fri, 3 Feb 2023 07:57:00 +0000 (15:57 +0800)] 
build: remove api-extractor

2 years agobuild: use rollup-plugin-dts for dts build
Evan You [Fri, 3 Feb 2023 07:48:12 +0000 (15:48 +0800)] 
build: use rollup-plugin-dts for dts build

2 years agobuild: custom const enum processing
Evan You [Fri, 3 Feb 2023 01:54:15 +0000 (09:54 +0800)] 
build: custom const enum processing

2 years agochore: bump deps
Evan You [Thu, 2 Feb 2023 21:47:40 +0000 (05:47 +0800)] 
chore: bump deps

2 years agobuild: refactor rollup config
Evan You [Thu, 2 Feb 2023 21:00:06 +0000 (05:00 +0800)] 
build: refactor rollup config

2 years agochore: remove hanging slash from import
Evan You [Thu, 2 Feb 2023 14:13:53 +0000 (22:13 +0800)] 
chore: remove hanging slash from import

2 years agoworkflow: type check on commit
Evan You [Thu, 2 Feb 2023 08:36:07 +0000 (16:36 +0800)] 
workflow: type check on commit

2 years agochore: remove rpts2
Evan You [Thu, 2 Feb 2023 08:26:12 +0000 (16:26 +0800)] 
chore: remove rpts2

2 years agowip: isolatedModules + use rollup-plugin-esbuild
Evan You [Thu, 2 Feb 2023 08:20:32 +0000 (16:20 +0800)] 
wip: isolatedModules + use rollup-plugin-esbuild

2 years agobuild: only enable esModule compat for cjs builds
Evan You [Thu, 2 Feb 2023 14:32:21 +0000 (22:32 +0800)] 
build: only enable esModule compat for cjs builds

2 years agoworkflow: disable threads during tests
Evan You [Thu, 2 Feb 2023 14:08:37 +0000 (22:08 +0800)] 
workflow: disable threads during tests

2 years agochore: define compile time flags during size check
Evan You [Thu, 2 Feb 2023 13:37:10 +0000 (21:37 +0800)] 
chore: define compile time flags during size check

2 years agofix(build): ensure BaseTransition functions can be tree-shaken
Evan You [Thu, 2 Feb 2023 13:36:36 +0000 (21:36 +0800)] 
fix(build): ensure BaseTransition functions can be tree-shaken

2 years agochore: fix size reporting for brotli
Evan You [Thu, 2 Feb 2023 12:54:39 +0000 (20:54 +0800)] 
chore: fix size reporting for brotli

2 years agochore: fix types
Evan You [Thu, 2 Feb 2023 07:27:29 +0000 (15:27 +0800)] 
chore: fix types

2 years agorelease: v3.2.47 v3.2.47
Evan You [Thu, 2 Feb 2023 05:48:18 +0000 (13:48 +0800)] 
release: v3.2.47

2 years agofix(build): enforce __esModule interop for cjs builds
Evan You [Thu, 2 Feb 2023 05:41:25 +0000 (13:41 +0800)] 
fix(build): enforce __esModule interop for cjs builds

2 years agorelease: v3.2.46 v3.2.46
Evan You [Thu, 2 Feb 2023 03:32:04 +0000 (11:32 +0800)] 
release: v3.2.46

2 years agoworkflow: check ci status during release
Evan You [Thu, 2 Feb 2023 03:24:26 +0000 (11:24 +0800)] 
workflow: check ci status during release

2 years agofix(types): optional boolean props should have boolean type in return type of defineP...
三咲智子 Kevin Deng [Thu, 2 Feb 2023 02:57:28 +0000 (10:57 +0800)] 
fix(types): optional boolean props should have boolean type in return type of defineProps (#7619)

close #7116
fix #5847
fix #7487

2 years agofix(compiler-sfc): support resolving type declaration from normal script (#5831)
edison [Wed, 1 Feb 2023 09:24:50 +0000 (17:24 +0800)] 
fix(compiler-sfc): support resolving type declaration from normal script (#5831)

fix #5830

2 years agofix(runtime-core): fix keep-alive cache prune logic on vnodes with same type but...
李想 [Wed, 1 Feb 2023 09:02:03 +0000 (17:02 +0800)] 
fix(runtime-core): fix keep-alive cache prune logic on vnodes with same type but different keys (#7510)

fix #7355

2 years agochore: fix jest reference in merged test case
Evan You [Wed, 1 Feb 2023 08:50:13 +0000 (16:50 +0800)] 
chore: fix jest reference in merged test case

2 years agofix(compat): fix custom transition classes in compat mode (#7435)
René Koller [Wed, 1 Feb 2023 08:21:50 +0000 (09:21 +0100)] 
fix(compat): fix custom transition classes in compat mode (#7435)

fix #6253

2 years agofix(reactivity): `triggerRef` working with `toRef` from reactive (#7507)
Anthony Fu [Wed, 1 Feb 2023 08:20:47 +0000 (09:20 +0100)] 
fix(reactivity): `triggerRef` working with `toRef` from reactive (#7507)

* fix(reactivity): `triggerRef` working with `toRef` from reactive

* chore: refactor

2 years agofix(types): accept sync `serverPrefetch()` (#7000)
Anthony Fu [Wed, 1 Feb 2023 08:15:51 +0000 (09:15 +0100)] 
fix(types): accept sync `serverPrefetch()` (#7000)

2 years agoci: bump netlify node version
Evan You [Wed, 1 Feb 2023 08:07:28 +0000 (16:07 +0800)] 
ci: bump netlify node version

2 years agochore: update caniuse
Evan You [Wed, 1 Feb 2023 07:47:49 +0000 (15:47 +0800)] 
chore: update caniuse

2 years agotest: fix await patch prop case (#7600)
三咲智子 Kevin Deng [Wed, 1 Feb 2023 07:59:50 +0000 (15:59 +0800)] 
test: fix await patch prop case (#7600)

2 years agofix(build): ensure type exports is first
Evan You [Wed, 1 Feb 2023 02:49:31 +0000 (10:49 +0800)] 
fix(build): ensure type exports is first

2 years agochore: remove unused import
Evan You [Mon, 30 Jan 2023 09:03:45 +0000 (17:03 +0800)] 
chore: remove unused import

2 years agochore: remove debugging log
三咲智子 Kevin Deng [Sun, 29 Jan 2023 19:48:20 +0000 (03:48 +0800)] 
chore: remove debugging log

2 years agobuild: do not throw when running `build --release` for the 1st time (#7587) 6002/head
Haoqun Jiang [Fri, 27 Jan 2023 23:03:21 +0000 (07:03 +0800)] 
build: do not throw when running `build --release` for the 1st time (#7587)

2 years agochore: fix broken link (#7589)
vaakian X [Fri, 27 Jan 2023 23:00:04 +0000 (07:00 +0800)] 
chore: fix broken link (#7589)

closes https://github.com/vuejs/core/issues/7588

2 years agotest: configure test hooks sequence order, remove workaround
Evan You [Fri, 27 Jan 2023 06:52:41 +0000 (14:52 +0800)] 
test: configure test hooks sequence order, remove workaround

2 years agoci: fix dts tests 7581/head
Evan You [Thu, 26 Jan 2023 15:04:18 +0000 (23:04 +0800)] 
ci: fix dts tests

2 years agochore: explicitly install jsdom
Evan You [Thu, 26 Jan 2023 14:58:27 +0000 (22:58 +0800)] 
chore: explicitly install jsdom

2 years agochore: replace test global types with vitest types
Evan You [Thu, 26 Jan 2023 14:56:13 +0000 (22:56 +0800)] 
chore: replace test global types with vitest types

2 years agoworkflow: complete migration from jest to vitest
Evan You [Thu, 26 Jan 2023 14:53:39 +0000 (22:53 +0800)] 
workflow: complete migration from jest to vitest

2 years agowip(vitest-migration): all tests passing
Evan You [Thu, 26 Jan 2023 14:22:43 +0000 (22:22 +0800)] 
wip(vitest-migration): all tests passing

2 years agowip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs
Evan You [Thu, 26 Jan 2023 13:35:50 +0000 (21:35 +0800)] 
wip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs

2 years agochore: only wrap during tests
Evan You [Thu, 26 Jan 2023 12:59:30 +0000 (20:59 +0800)] 
chore: only wrap during tests

2 years agowip(vitest-migration): runtime-core tests passing
Evan You [Thu, 26 Jan 2023 12:46:46 +0000 (20:46 +0800)] 
wip(vitest-migration): runtime-core tests passing

2 years agowip(vitest-migration): compat tests passing
Evan You [Thu, 26 Jan 2023 12:24:54 +0000 (20:24 +0800)] 
wip(vitest-migration): compat tests passing

2 years agowip(vitest-migration): compiler-ssr tests passing
Evan You [Thu, 26 Jan 2023 08:50:19 +0000 (16:50 +0800)] 
wip(vitest-migration): compiler-ssr tests passing

2 years agowip(vitest-migration): compiler-sfc tests passing
Evan You [Thu, 26 Jan 2023 08:49:10 +0000 (16:49 +0800)] 
wip(vitest-migration): compiler-sfc tests passing

2 years agowip(vitest-migration): compiler-dom tests passing
Evan You [Thu, 26 Jan 2023 08:48:19 +0000 (16:48 +0800)] 
wip(vitest-migration): compiler-dom tests passing

2 years agowip(vitest-migration): compiler-core tests passing
Evan You [Thu, 26 Jan 2023 08:20:59 +0000 (16:20 +0800)] 
wip(vitest-migration): compiler-core tests passing

2 years agowip(vitest-migration): ssr tests passing
Evan You [Thu, 26 Jan 2023 08:12:08 +0000 (16:12 +0800)] 
wip(vitest-migration): ssr tests passing

2 years agobuild: fix build script
Evan You [Thu, 26 Jan 2023 08:11:24 +0000 (16:11 +0800)] 
build: fix build script

2 years agowip(vitest-migration): shared tests passing
Evan You [Thu, 26 Jan 2023 07:31:52 +0000 (15:31 +0800)] 
wip(vitest-migration): shared tests passing

2 years agowip(vitest-migration): reactivity tests passing
Evan You [Thu, 26 Jan 2023 07:25:55 +0000 (15:25 +0800)] 
wip(vitest-migration): reactivity tests passing

2 years agobuild: update build scripts to esm
Evan You [Thu, 26 Jan 2023 06:24:49 +0000 (14:24 +0800)] 
build: update build scripts to esm

2 years agochore: bump vite and esbuild
Evan You [Thu, 26 Jan 2023 05:33:28 +0000 (13:33 +0800)] 
chore: bump vite and esbuild

2 years agofix(build): fix cjs re-exports check for compat build
Evan You [Sat, 21 Jan 2023 02:43:51 +0000 (10:43 +0800)] 
fix(build): fix cjs re-exports check for compat build

2 years agofix(build): ensure cjs re-exports can be properly detected when imported from esm
Evan You [Fri, 20 Jan 2023 10:23:57 +0000 (18:23 +0800)] 
fix(build): ensure cjs re-exports can be properly detected when imported from esm

2 years agofix(shared): `feDistanceLight` changed to `feDistantLight` (#7540)
白雾三语 [Mon, 16 Jan 2023 08:46:56 +0000 (16:46 +0800)] 
fix(shared): `feDistanceLight` changed to `feDistantLight` (#7540)

close https://github.com/vuejs/core/issues/7535

2 years agochore: apply format
Anthony Fu [Thu, 12 Jan 2023 12:02:33 +0000 (13:02 +0100)] 
chore: apply format

2 years agochore: run format
Anthony Fu [Thu, 12 Jan 2023 11:58:11 +0000 (12:58 +0100)] 
chore: run format

2 years agodx(runtime-core): warn when expose() is misused (#7221) 7491/head
skirtle [Mon, 9 Jan 2023 14:23:10 +0000 (14:23 +0000)] 
dx(runtime-core): warn when expose() is misused (#7221)

2 years agorefactor(reactivity): hasOwnProperty add this parameter (#7233)
[Mon, 9 Jan 2023 14:21:32 +0000 (22:21 +0800)] 
refactor(reactivity): hasOwnProperty add this parameter (#7233)

hasOwnProperty adds this parameter and delete @ts-ignore

2 years agofix(reactivity): ensure watch(Effect) can run independent of unmounted instance if...
Thorsten Lünborg [Mon, 9 Jan 2023 14:20:21 +0000 (15:20 +0100)] 
fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope (fix #7319) (#7330)

* fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope

* test: use separate counters for each watcher to make test more robust

2 years agotest(reactivity): Using toRaw on a raw Array (#7354)
[Mon, 9 Jan 2023 14:19:19 +0000 (22:19 +0800)] 
test(reactivity): Using toRaw on a raw Array (#7354)

2 years agofix(runtime-dom): style update error when component use shorthand properties (#7425)
yurj26 [Mon, 9 Jan 2023 14:16:08 +0000 (22:16 +0800)] 
fix(runtime-dom): style update error when component use shorthand properties (#7425)

* fix(runtime-dom): style update error when component use shorthand properties

* test(runtime-dom): style update with shorthand properties

2 years agofix(compiler-sfc): allow declaring variables after defineProps (#7461)
Julien Huang [Mon, 9 Jan 2023 14:13:58 +0000 (15:13 +0100)] 
fix(compiler-sfc): allow declaring variables after defineProps (#7461)

* fix(compiler-sfc): allow declaring variables after defineProps

* test(compiler-sfc): test defineProps in multiple variable declaration

2 years agofix(types): add or update referrerpolicy (#7199)
Yue Yang [Sun, 1 Jan 2023 10:44:20 +0000 (18:44 +0800)] 
fix(types): add or update referrerpolicy (#7199)

2 years agofix(customElement): customElement can emit event (#7296)
白雾三语 [Fri, 23 Dec 2022 21:32:21 +0000 (05:32 +0800)] 
fix(customElement): customElement can emit event (#7296)

close https://github.com/vuejs/core/issues/7293

2 years agochore: update BACKERS.md (#7140) [ci skip]
Brian Nduhiu [Thu, 1 Dec 2022 00:06:19 +0000 (03:06 +0300)] 
chore: update BACKERS.md (#7140) [ci skip]

2 years agochore: update README.md (#7139) [ci skip]
Brian Nduhiu [Thu, 1 Dec 2022 00:05:51 +0000 (03:05 +0300)] 
chore: update README.md (#7139) [ci skip]

2 years agofix(runtime-core): ensure prop type validation warning shows custom class names ...
白雾三语 [Fri, 25 Nov 2022 19:52:39 +0000 (03:52 +0800)] 
fix(runtime-core): ensure prop type validation warning shows custom class names  (#7198)

* fix(runtime-core):

* fix(runtime-core): update

* fix(runtime-core): update reg

* test(runtime-core): add test case for warnings about prop type mismatches

Co-authored-by: Thorsten Luenborg <t.luenborg@googlemail.com>
2 years agoci: move chrome cache restore to before pnpm install
Evan You [Mon, 14 Nov 2022 11:23:51 +0000 (19:23 +0800)] 
ci: move chrome cache restore to before pnpm install

2 years agoci: skip chromium download in jobs that do not need it
Evan You [Mon, 14 Nov 2022 11:21:58 +0000 (19:21 +0800)] 
ci: skip chromium download in jobs that do not need it

2 years agochore: add script notes for SFC playgound [ci skip]
Evan You [Mon, 14 Nov 2022 11:14:15 +0000 (19:14 +0800)] 
chore: add script notes for SFC playgound [ci skip]

2 years agochore(sfc-playground): add README to link to its website (#6346) [ci skip]
CHOYSEN [Mon, 14 Nov 2022 11:12:05 +0000 (19:12 +0800)] 
chore(sfc-playground): add README to link to its website (#6346) [ci skip]

2 years agochore: remove yarn reference
Evan You [Mon, 14 Nov 2022 11:03:51 +0000 (19:03 +0800)] 
chore: remove yarn reference

close #6709

2 years agochore: bump esbuild
Evan You [Mon, 14 Nov 2022 10:57:56 +0000 (18:57 +0800)] 
chore: bump esbuild

2 years agoci: cache chromium binary
Evan You [Mon, 14 Nov 2022 10:47:08 +0000 (18:47 +0800)] 
ci: cache chromium binary

2 years agobuild: suppress rollup external warnings
Evan You [Mon, 14 Nov 2022 10:35:09 +0000 (18:35 +0800)] 
build: suppress rollup external warnings

2 years agobuild: bump jest, puppeteer and use official rollup terser plugin
Evan You [Mon, 14 Nov 2022 10:21:58 +0000 (18:21 +0800)] 
build: bump jest, puppeteer and use official rollup terser plugin

2 years agofix(shared): toNumber should only coerce strings
Evan You [Mon, 14 Nov 2022 09:50:56 +0000 (17:50 +0800)] 
fix(shared): toNumber should only coerce strings

2 years agofix(types): allow assigning wider SetupContext type (#2818)
翠 / green [Mon, 14 Nov 2022 09:33:29 +0000 (18:33 +0900)] 
fix(types): allow assigning wider SetupContext type (#2818)

fix #2362

2 years agofix(reactivity): track hasOwnProperty
Evan You [Mon, 14 Nov 2022 09:17:35 +0000 (17:17 +0800)] 
fix(reactivity): track hasOwnProperty

fix #2619
close #2621

2 years agochore: fix assertNumber for undefined value
Evan You [Mon, 14 Nov 2022 08:57:44 +0000 (16:57 +0800)] 
chore: fix assertNumber for undefined value

2 years agofix(custom-elements): use strict number casting
Evan You [Mon, 14 Nov 2022 08:20:12 +0000 (16:20 +0800)] 
fix(custom-elements): use strict number casting

close #4946
close #2598
close #2604

This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.

2 years agorefactor: use Number constructor when coercing array length
Evan You [Mon, 14 Nov 2022 08:10:05 +0000 (16:10 +0800)] 
refactor: use Number constructor when coercing array length

2 years agofix(reactivity-transform): prohibit const assignment at compile time (#6993)
三咲智子 Kevin Deng [Mon, 14 Nov 2022 07:54:41 +0000 (15:54 +0800)] 
fix(reactivity-transform): prohibit const assignment at compile time (#6993)

close #6992

2 years agofix(v-model): ensure v-model listener casing is consistent with manual v-on listener...
三咲智子 Kevin Deng [Mon, 14 Nov 2022 07:21:29 +0000 (15:21 +0800)] 
fix(v-model): ensure v-model listener casing is consistent with manual v-on listener (#7067)

fix #7066

2 years agochore(compiler-core): missing space in v-slot mixed usage error message (#7076)
Cédric Exbrayat [Mon, 14 Nov 2022 07:06:24 +0000 (08:06 +0100)] 
chore(compiler-core): missing space in v-slot mixed usage error message (#7076)

2 years agofix(compiler-core): typeof should be allowed in browser expression validation (#7037)
Samuel Rigaud [Mon, 14 Nov 2022 06:50:35 +0000 (07:50 +0100)] 
fix(compiler-core): typeof should be allowed in browser expression validation (#7037)

2 years agochore(types): remove unnecessary type assertions (#7032)
webfansplz [Mon, 14 Nov 2022 06:44:06 +0000 (14:44 +0800)] 
chore(types): remove unnecessary type assertions (#7032)

2 years agofix(runtime-core): set scope id before props (#6948)
Zollero [Mon, 14 Nov 2022 03:53:46 +0000 (11:53 +0800)] 
fix(runtime-core): set scope id before props (#6948)

close #6923
Also ensure consistency with Vue 2

2 years agobuild(deps): upgrade rollup@2 to rollup@3 (#6990)
JayFate [Mon, 14 Nov 2022 03:48:52 +0000 (11:48 +0800)] 
build(deps): upgrade rollup@2 to rollup@3 (#6990)

* build(deps): upgrade rollup@2 to rollup@3

Signed-off-by: JayFate <37610029@qq.com>
* build(rollup): move rollup.config.js to rollup.config.mjs

Signed-off-by: JayFate <37610029@qq.com>
Signed-off-by: JayFate <37610029@qq.com>
2 years agochore: snapshot
Evan You [Mon, 14 Nov 2022 03:41:44 +0000 (11:41 +0800)] 
chore: snapshot

2 years agofix(reactivity-transform): fix $$ escape edge cases
Evan You [Mon, 14 Nov 2022 03:36:24 +0000 (11:36 +0800)] 
fix(reactivity-transform): fix $$ escape edge cases

fix #6312
close #6944

2 years agodocs: add notes on more scripts in contribution guide
Evan You [Mon, 14 Nov 2022 02:22:43 +0000 (10:22 +0800)] 
docs: add notes on more scripts in contribution guide

2 years agoworkflow: adjust scripts to avoid reliance on implicit pre-scripts
Evan You [Mon, 14 Nov 2022 02:22:20 +0000 (10:22 +0800)] 
workflow: adjust scripts to avoid reliance on implicit pre-scripts

pnpm does not support implicit pre/post scripts without config