Commit Graph

5661 Commits

Author SHA1 Message Date
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
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
孟世博 3199189901
chore: standardize the spelling of TypeScript (#10186) [ci skip] 2024-02-20 21:43:45 +08:00
renovate[bot] ca9920c7d7
chore(deps): update dependency @vue/consolidate to v1 (#10359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 16:41:21 +08:00
Evan You 272ab9fbdc release: v3.4.19 2024-02-13 18:08:22 +08:00
Evan You 18f1f45807 chore: fix renovate.json formatting 2024-02-13 18:02:58 +08:00
Evan You 995d2fdcca fix(hydration): fix css vars hydration mismatch false positive on non-root nodes
close #10317
test case from #10325
2024-02-13 18:00:23 +08:00
Evan You df4a6e1dd8 chore(deps): bump @vue/consolidate 2024-02-13 17:42:31 +08:00
Doctor Wu f7ba97f975
feat(dx): warn users when computed is self-triggering (#10299) 2024-02-13 17:38:26 +08:00
Evan You b99ac931a8 chore: ignore lru-cache in renovate.json 2024-02-13 17:26:17 +08:00
renovate[bot] 0ce536ccf8
chore(deps): update dependency npm-run-all2 to v6 (#10309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 17:15:47 +08:00