]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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)
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
Evan You [Fri, 27 Jan 2023 06:52:41 +0000 (14:52 +0800)]
test: configure test hooks sequence order, remove workaround
Evan You [Thu, 26 Jan 2023 15:04:18 +0000 (23:04 +0800)]
ci: fix dts tests
Evan You [Thu, 26 Jan 2023 14:58:27 +0000 (22:58 +0800)]
chore: explicitly install jsdom
Evan You [Thu, 26 Jan 2023 14:56:13 +0000 (22:56 +0800)]
chore: replace test global types with vitest types
Evan You [Thu, 26 Jan 2023 14:53:39 +0000 (22:53 +0800)]
workflow: complete migration from jest to vitest
Evan You [Thu, 26 Jan 2023 14:22:43 +0000 (22:22 +0800)]
wip(vitest-migration): all tests passing
Evan You [Thu, 26 Jan 2023 13:35:50 +0000 (21:35 +0800)]
wip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs
Evan You [Thu, 26 Jan 2023 12:59:30 +0000 (20:59 +0800)]
chore: only wrap during tests
Evan You [Thu, 26 Jan 2023 12:46:46 +0000 (20:46 +0800)]
wip(vitest-migration): runtime-core tests passing
Evan You [Thu, 26 Jan 2023 12:24:54 +0000 (20:24 +0800)]
wip(vitest-migration): compat tests passing
Evan You [Thu, 26 Jan 2023 08:50:19 +0000 (16:50 +0800)]
wip(vitest-migration): compiler-ssr tests passing
Evan You [Thu, 26 Jan 2023 08:49:10 +0000 (16:49 +0800)]
wip(vitest-migration): compiler-sfc tests passing
Evan You [Thu, 26 Jan 2023 08:48:19 +0000 (16:48 +0800)]
wip(vitest-migration): compiler-dom tests passing
Evan You [Thu, 26 Jan 2023 08:20:59 +0000 (16:20 +0800)]
wip(vitest-migration): compiler-core tests passing
Evan You [Thu, 26 Jan 2023 08:12:08 +0000 (16:12 +0800)]
wip(vitest-migration): ssr tests passing
Evan You [Thu, 26 Jan 2023 08:11:24 +0000 (16:11 +0800)]
build: fix build script
Evan You [Thu, 26 Jan 2023 07:31:52 +0000 (15:31 +0800)]
wip(vitest-migration): shared tests passing
Evan You [Thu, 26 Jan 2023 07:25:55 +0000 (15:25 +0800)]
wip(vitest-migration): reactivity tests passing
Evan You [Thu, 26 Jan 2023 06:24:49 +0000 (14:24 +0800)]
build: update build scripts to esm
Evan You [Thu, 26 Jan 2023 05:33:28 +0000 (13:33 +0800)]
chore: bump vite and esbuild
Evan You [Sat, 21 Jan 2023 02:43:51 +0000 (10:43 +0800)]
fix(build): fix cjs re-exports check for compat build
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
白雾三语 [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
Anthony Fu [Thu, 12 Jan 2023 12:02:33 +0000 (13:02 +0100)]
chore: apply format
Anthony Fu [Thu, 12 Jan 2023 11:58:11 +0000 (12:58 +0100)]
chore: run format
skirtle [Mon, 9 Jan 2023 14:23:10 +0000 (14:23 +0000)]
dx(runtime-core): warn when expose() is misused (#7221)
魏 [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
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
魏 [Mon, 9 Jan 2023 14:19:19 +0000 (22:19 +0800)]
test(reactivity): Using toRaw on a raw Array (#7354)
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
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
Yue Yang [Sun, 1 Jan 2023 10:44:20 +0000 (18:44 +0800)]
fix(types): add or update referrerpolicy (#7199)
白雾三语 [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
Brian Nduhiu [Thu, 1 Dec 2022 00:06:19 +0000 (03:06 +0300)]
chore: update BACKERS.md (#7140) [ci skip]
Brian Nduhiu [Thu, 1 Dec 2022 00:05:51 +0000 (03:05 +0300)]
chore: update README.md (#7139) [ci skip]
白雾三语 [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>
Evan You [Mon, 14 Nov 2022 11:23:51 +0000 (19:23 +0800)]
ci: move chrome cache restore to before pnpm install
Evan You [Mon, 14 Nov 2022 11:21:58 +0000 (19:21 +0800)]
ci: skip chromium download in jobs that do not need it
Evan You [Mon, 14 Nov 2022 11:14:15 +0000 (19:14 +0800)]
chore: add script notes for SFC playgound [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]
Evan You [Mon, 14 Nov 2022 11:03:51 +0000 (19:03 +0800)]
chore: remove yarn reference
close #6709
Evan You [Mon, 14 Nov 2022 10:57:56 +0000 (18:57 +0800)]
chore: bump esbuild
Evan You [Mon, 14 Nov 2022 10:47:08 +0000 (18:47 +0800)]
ci: cache chromium binary
Evan You [Mon, 14 Nov 2022 10:35:09 +0000 (18:35 +0800)]
build: suppress rollup external warnings
Evan You [Mon, 14 Nov 2022 10:21:58 +0000 (18:21 +0800)]
build: bump jest, puppeteer and use official rollup terser plugin
Evan You [Mon, 14 Nov 2022 09:50:56 +0000 (17:50 +0800)]
fix(shared): toNumber should only coerce strings
翠 / green [Mon, 14 Nov 2022 09:33:29 +0000 (18:33 +0900)]
fix(types): allow assigning wider SetupContext type (#2818)
fix #2362
Evan You [Mon, 14 Nov 2022 09:17:35 +0000 (17:17 +0800)]
fix(reactivity): track hasOwnProperty
fix #2619
close #2621
Evan You [Mon, 14 Nov 2022 08:57:44 +0000 (16:57 +0800)]
chore: fix assertNumber for undefined value
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.
Evan You [Mon, 14 Nov 2022 08:10:05 +0000 (16:10 +0800)]
refactor: use Number constructor when coercing array length
三咲智子 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
三咲智子 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
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)
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)
webfansplz [Mon, 14 Nov 2022 06:44:06 +0000 (14:44 +0800)]
chore(types): remove unnecessary type assertions (#7032)
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
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>
Evan You [Mon, 14 Nov 2022 03:41:44 +0000 (11:41 +0800)]
chore: snapshot
Evan You [Mon, 14 Nov 2022 03:36:24 +0000 (11:36 +0800)]
fix(reactivity-transform): fix $$ escape edge cases
fix #6312
close #6944
Evan You [Mon, 14 Nov 2022 02:22:43 +0000 (10:22 +0800)]
docs: add notes on more scripts in contribution guide
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
Evan You [Mon, 14 Nov 2022 02:14:12 +0000 (10:14 +0800)]
workflow: ensure dev-sfc script build necessary deps if not present
Flávio Reis [Mon, 14 Nov 2022 01:48:58 +0000 (01:48 +0000)]
docs(contributing): change dependencies graph to mermaid (#6901)
被雨水过滤的空气-Rairn [Mon, 14 Nov 2022 01:45:44 +0000 (09:45 +0800)]
test(Transition): events with arguments (#6823)
三咲智子 Kevin Deng [Mon, 14 Nov 2022 01:44:02 +0000 (09:44 +0800)]
refactor(compiler-core): make ast.helpers a Set (#6774)
Tamay Eser Uysal [Mon, 14 Nov 2022 01:28:56 +0000 (05:28 +0400)]
fix(compiler): add `hgroup` to supported `HTML_TAGS` (#6321)
close #6313
webfansplz [Mon, 14 Nov 2022 01:27:52 +0000 (09:27 +0800)]
fix(types/effectScope): re-expose `active` as readonly property (#6187)
close #6186
三咲智子 Kevin Deng [Mon, 14 Nov 2022 01:15:17 +0000 (09:15 +0800)]
refactor(compiler-sfc): drop Function prop type when no static default value (#7125)
webfansplz [Mon, 14 Nov 2022 01:14:28 +0000 (09:14 +0800)]
chore(runtime-core): add `isRegExp` to check `RegExp` (#6041)
Tony Trinh [Mon, 14 Nov 2022 01:13:32 +0000 (19:13 -0600)]
types(runtime-core): support plugin options type inference (#3969)
三咲智子 Kevin Deng [Mon, 14 Nov 2022 00:36:03 +0000 (08:36 +0800)]
fix(compiler-sfc): always generate runtime prop type for Function (#7112)
fix #7111
Scott Bedard [Fri, 11 Nov 2022 21:25:09 +0000 (15:25 -0600)]
Update migration build link (#7109)
Evan You [Fri, 11 Nov 2022 09:35:27 +0000 (17:35 +0800)]
release: v3.2.45
Evan You [Fri, 11 Nov 2022 09:06:50 +0000 (17:06 +0800)]
test: test case for #6966
ysy945 [Fri, 11 Nov 2022 09:06:21 +0000 (17:06 +0800)]
fix(custom-elements): custom element should re-instantiate when inserted again (#6966)
fix #6934
Evan You [Fri, 11 Nov 2022 08:05:07 +0000 (16:05 +0800)]
fix(custom-elements): respect slot props in custom element mode
Thorsten Lünborg [Fri, 11 Nov 2022 07:46:01 +0000 (08:46 +0100)]
fix(custom-elements): define declared properties in constructor (#5328)
Evan You [Fri, 11 Nov 2022 07:18:46 +0000 (15:18 +0800)]
fix(custom-elements): fix number type props casting check
fix #5793
adapted from #5794
Evan You [Fri, 11 Nov 2022 06:42:42 +0000 (14:42 +0800)]
fix(custom-elements): properties set pre-upgrade should not show up in $attrs
Evan You [Fri, 11 Nov 2022 06:14:55 +0000 (14:14 +0800)]
fix(custom-elements): should not reflect non-decalred properties set before upgrade
Thorsten Lünborg [Fri, 11 Nov 2022 04:33:17 +0000 (05:33 +0100)]
fix(custom-elements): fix event emitting for async custom elements (#5601)
fix #5599
Thorsten Lünborg [Fri, 11 Nov 2022 04:01:10 +0000 (05:01 +0100)]
fix(custom-elements): also dispatch hyphenated version of emitted events (#5378)
fix #5373
Thorsten Lünborg [Fri, 11 Nov 2022 02:33:17 +0000 (03:33 +0100)]
fix(custom-elements): ensure custom elements can inherit provides from ancestors (#5098)
fix #5096
花果山大圣 [Fri, 11 Nov 2022 01:15:37 +0000 (09:15 +0800)]
refactor: more concise bitwise operations for flag removal (#7092)
Daniel Khalil [Fri, 11 Nov 2022 01:12:40 +0000 (02:12 +0100)]
chore: escape html tag in change log (#7089) [ci skip]
被雨水过滤的空气(Rairn) [Thu, 10 Nov 2022 10:03:10 +0000 (18:03 +0800)]
fix(runtime-core): fix move/removal of static fragments containing text nodes (#6858)
fix #6852
被雨水过滤的空气(Rairn) [Thu, 10 Nov 2022 10:01:31 +0000 (18:01 +0800)]
fix(hmr/keep-alive): fix error in reload component (#7049)
fix #7042
Evan You [Thu, 10 Nov 2022 09:32:06 +0000 (17:32 +0800)]
fix(sfc): also generate getter for import bindings during dev
Evan You [Thu, 10 Nov 2022 09:02:45 +0000 (17:02 +0800)]
fix(sfc): ensure consistent dev/prod behavior for non-reactive variables declared in `<script setup>`
fix #5655
Evan You [Thu, 10 Nov 2022 08:02:45 +0000 (16:02 +0800)]
fix(sfc): ensure `<script setup>` binding behavior consistency on `this` between prod and dev
close #6248
Evan You [Thu, 10 Nov 2022 07:29:17 +0000 (15:29 +0800)]
fix(v-model): fix incorrect codegen for non-ref bindings
fix #6241
Evan You [Thu, 10 Nov 2022 07:10:47 +0000 (15:10 +0800)]
chore: remove reference to tsd [ci skip]
close #7077
Evan You [Thu, 10 Nov 2022 07:08:25 +0000 (15:08 +0800)]
fix(teleport/css-v-bind): fix css v-bind in teleport in child component slot
Evan You [Thu, 10 Nov 2022 06:29:51 +0000 (14:29 +0800)]
fix(teleport/css-v-bind): fix css v-bind for teleported content
fix #4605
close #4609 (used tests from this PR)
Evan You [Thu, 10 Nov 2022 06:30:50 +0000 (14:30 +0800)]
chore: fix test
Evan You [Thu, 10 Nov 2022 06:11:55 +0000 (14:11 +0800)]
chore(types): mark more internal component instance properties
Evan You [Thu, 10 Nov 2022 02:42:27 +0000 (10:42 +0800)]
fix(compiler/v-model): catch incorrect v-model usage on prop bindings
close #5584