Commit Graph

6220 Commits

Author SHA1 Message Date
Evan You ef2eaef3aa refactor: inline recordEffectScope 2024-03-07 17:53:10 +08:00
三咲智子 Kevin Deng fef2acb204
ci: upgrade setup pnpm 2024-03-06 23:26:14 +08:00
chirokas dec8a5294b
types: fix `scroll` event type; add support for `scrollend` (#10443) 2024-03-06 17:23:50 +08:00
Doctor Wu e76d7430aa
fix(compiler-sfc): use options module name if options provide runtimeModuleName options (#10457)
close #10454
2024-03-06 10:45:42 +08:00
Evan You 2cc5615590 feat(reactivity): `onEffectCleanup` API
ref #10173

Instead of exposing `getCurrentEffect`, this version accepts a second
argument to suppress the no-active-effect warning.
2024-03-05 22:53:20 +08:00
Evan You f66a75ea75 release: v3.4.21 2024-02-28 12:12:15 +01:00
Doctor Wu b3f8b5a4e7
fix(runtime-dom): avoid unset option's value (#10416)
close #10412
re-fix #10396
2024-02-28 19:07:12 +08:00
edison bc37258caa
fix(warning): stringify args in warn handler (#10414)
close #10409
2024-02-28 19:06:18 +08:00
edison 7c97778aec
fix(suspense): ensure nested suspense patching if in fallback state (#10417)
close #10415
2024-02-28 19:05:22 +08:00
三咲智子 Kevin Deng 1f6a1102aa
test: clean snapshot 2024-02-28 15:19:24 +08:00
jods 70196a40cc
perf(reactivity): optimize array tracking (#9511)
close #4318
2024-02-26 18:25:52 +08:00
Evan You 72bde94e66 types: fix ComputedRefImpl type build 2024-02-26 17:46:28 +08:00
Evan You 5d303660b1 chore(types): fix ComputedRefImpl type build 2024-02-26 10:25:44 +08:00
Evan You 55660b0cfc
refactor(scheduler): use bitwise flags for scheduler jobs + optimize queueJob (#10407)
related: https://github.com/vuejs/core-vapor/pull/138
2024-02-26 10:22:12 +08:00
Evan You 58d827cb71 chore: Merge branch 'main' into minor 2024-02-26 10:13:44 +08:00
Evan You 89de26cdcd release: v3.4.20 2024-02-26 10:07:13 +08:00
Evan You b97ad0ee9a chore: update e2eUtils puppeteer options 2024-02-26 09:54:12 +08:00
Evan You b3bd3a210a build: disable reexportProtoFromExternal in rollup config 2024-02-26 09:53:59 +08:00
三咲智子 Kevin Deng a24809fbd2
chore: limit typescript lib to es2016 (#10164)
* chore: limit typescript lib to es2015

* chore: set target to es2015

* chore: update
2024-02-26 09:37:05 +08:00
renovate[bot] 822cb72e01
chore(deps): update test to ^1.3.1 (#10355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:36:32 +08:00
renovate[bot] 77e872eac7
chore(deps): update lint (#10323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:34:29 +08:00
renovate[bot] b92e6ce1ca
chore(deps): update build (#10321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:34:09 +08:00
Evan You 9192a9043d chore: format renovate.json 2024-02-26 09:31:50 +08:00
renovate[bot] 4e44d3d109
chore(deps): update dependency marked to v12 (#10404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:29:55 +08:00
renovate[bot] 617258f930
chore(deps): update test (#10406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:29:21 +08:00
renovate[bot] 07a5d5454e
chore(deps): update lint (#10405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:27:45 +08:00
Evan You 09d6eaf9d6 chore(deps): unpin rollup
original issue resolved by https://github.com/rollup/rollup/pull/5380
2024-02-26 09:25:53 +08:00
Evan You 09a64ed3fe chore(deps): pin @rollup/plugin-replace in renovate.json 2024-02-26 09:24:38 +08:00
renovate[bot] bcf16659c8
chore(deps): update compiler (#10322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:16:38 +08:00
renovate[bot] 2529b97ebd
chore(deps): update all non-major dependencies (#10320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:15:57 +08:00
Evan You 364f8902c8 fix(runtime-dom): fix nested v-show priority regression
close #10338
2024-02-26 09:11:05 +08:00
Evan You 6c74fb07a7 chore: rename and export DefineSetupFnComponent 2024-02-25 23:38:39 +08:00
Evan You e0e02535cd fix(parser): should not treat uppercase components as special tags
close #10395
2024-02-25 23:05:15 +08:00
Evan You 9a365fe00d refactor: use more descriptive name for v-show original display key 2024-02-25 21:50:47 +08:00
Evan You c6defc8df1 chore: remove unused ts-expect-error 2024-02-25 21:50:35 +08:00
Elodie Hill edbbb6da12
refactor(transition): remove unused getTransitionKey logic (#10283) 2024-02-25 21:14:46 +08:00
Wick ede2e3f030
test: remove unnecessary code in apiCreateApp tests (#10388) 2024-02-25 21:11:04 +08:00
Shean de Montigny-Desautels eadce5b753
fix(types): better typing for direct setup signature of defineComponent (#10357)
close #8604
close #8855
2024-02-25 21:10:08 +08:00
Wick a4098d587b
chore(reactivity): consistent variable naming (#10350) 2024-02-25 21:08:06 +08:00
zhoulixiang e2d323538e
fix(runtime-dom): v-bind style should clear previous css string value (#10373)
close #10352
2024-02-25 20:53:00 +08:00
Wick 76c9c742e9
chore(runtime-core): optimize validateComponentName (#10378) 2024-02-25 20:41:08 +08:00
renovate[bot] c131ebae45
chore(deps): update playground (#10356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 20:40:09 +08:00
Evan You b31dd7468b dx(reactivity): disable recursive computed warning by default
Now can be enabled with app.config.warnRecursiveComputed option.

close #10341
2024-02-25 20:38:33 +08:00
Doctor Wu 21e0d6b145
dx(reactivity): add getter into computed side effect warning (#10386) 2024-02-25 20:27:33 +08:00
edison 0f3da05ea2
fix(suspense): handle suspense switching with nested suspense (#10184)
close #10098
2024-02-25 20:22:12 +08:00
Wick 411596c07b
chore(reactivity): replace console.warn() to warn function (#10394) 2024-02-25 20:17:30 +08:00
Evan You ff130c4702 fix(runtime-dom): avoid always resetting nullish option value
close #10396
2024-02-25 17:35:19 +08:00
Evan You 6bef15f094 chore: remove unused argument 2024-02-25 17:30:20 +08:00
Evan You 05eb4e0fef
Refactor reactivity system to use version counting and doubly-linked list tracking (#10397)
Bug fixes
close #10236
close #10069

PRs made stale by this one
close #10290
close #10354
close #10189
close #9480
2024-02-25 16:51:49 +08:00
三咲智子 Kevin Deng fe5d919b0f
refactor(sfc-playground): upgrade `@vue/repl` (#10310) 2024-02-20 21:47:09 +08:00