]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
17 months agofix(reactivity): keep previous effect scope
三咲智子 Kevin Deng [Fri, 2 Feb 2024 22:15:46 +0000 (06:15 +0800)] 
fix(reactivity): keep previous effect scope

17 months agorefactor: remove update function from compiler
三咲智子 Kevin Deng [Fri, 2 Feb 2024 21:02:07 +0000 (05:02 +0800)] 
refactor: remove update function from compiler

17 months agochore: update readme
三咲智子 Kevin Deng [Fri, 2 Feb 2024 20:40:50 +0000 (04:40 +0800)] 
chore: update readme

17 months agochore(template-explorer): update title
三咲智子 Kevin Deng [Fri, 2 Feb 2024 20:27:16 +0000 (04:27 +0800)] 
chore(template-explorer): update title

17 months agorevert: "refactor: id rewrite of vapor v-for"
三咲智子 Kevin Deng [Thu, 1 Feb 2024 11:12:29 +0000 (19:12 +0800)] 
revert: "refactor: id rewrite of vapor v-for"

This reverts commit 31f497b1d15a1d24a93d7fe91249f00319b5051f.

17 months agorefactor: id rewrite of vapor v-for
三咲智子 Kevin Deng [Thu, 1 Feb 2024 09:42:46 +0000 (17:42 +0800)] 
refactor: id rewrite of vapor v-for

17 months agotest(runtime-vapor): `dom/patchProp.ts` (#102)
Rizumu Ayaka [Thu, 1 Feb 2024 06:35:52 +0000 (14:35 +0800)] 
test(runtime-vapor): `dom/patchProp.ts` (#102)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agochore: update todo
三咲智子 Kevin Deng [Wed, 31 Jan 2024 10:59:00 +0000 (18:59 +0800)] 
chore: update todo

17 months agofeat(runtime-vapor): add defineComponent
三咲智子 Kevin Deng [Wed, 31 Jan 2024 10:06:16 +0000 (18:06 +0800)] 
feat(runtime-vapor): add defineComponent

17 months agorefactor(sfc-playground): enable vapor by default
三咲智子 Kevin Deng [Wed, 31 Jan 2024 10:04:28 +0000 (18:04 +0800)] 
refactor(sfc-playground): enable vapor by default

17 months agorefactor(compiler-vapor): extract imports & unify context name
三咲智子 Kevin Deng [Wed, 31 Jan 2024 10:00:16 +0000 (18:00 +0800)] 
refactor(compiler-vapor): extract imports & unify context name

17 months agorefactor(compiler-vapor): remove loc in IR
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:37:54 +0000 (17:37 +0800)] 
refactor(compiler-vapor): remove loc in IR

17 months agorefactor(compiler-vapor): missing check in genOperation
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:32:01 +0000 (17:32 +0800)] 
refactor(compiler-vapor): missing check in genOperation

17 months agorefactor(compiler-vapor): remove source in codegen context
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:28:19 +0000 (17:28 +0800)] 
refactor(compiler-vapor): remove source in codegen context

17 months agorefactor(compiler-vapor): symbol for newline (#104)
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:26:07 +0000 (17:26 +0800)] 
refactor(compiler-vapor): symbol for newline (#104)

17 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:01:56 +0000 (17:01 +0800)] 
Merge remote-tracking branch 'upstream/main'

17 months agofeat(compiler-vapor): v-for (#101)
三咲智子 Kevin Deng [Wed, 31 Jan 2024 09:00:19 +0000 (17:00 +0800)] 
feat(compiler-vapor): v-for (#101)

17 months agofix(compiler-vapor): source map position
三咲智子 Kevin Deng [Wed, 31 Jan 2024 07:43:37 +0000 (15:43 +0800)] 
fix(compiler-vapor): source map position

17 months agorefactor(compiler-vapor): remove createTextNode argument
三咲智子 Kevin Deng [Wed, 31 Jan 2024 05:16:03 +0000 (13:16 +0800)] 
refactor(compiler-vapor): remove createTextNode argument

17 months agorefactor(compiler-vapor): re-organize
三咲智子 Kevin Deng [Tue, 30 Jan 2024 15:02:16 +0000 (23:02 +0800)] 
refactor(compiler-vapor): re-organize

17 months agorefactor(compiler-vapor): rename dynamicFlags to flags
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:52:42 +0000 (22:52 +0800)] 
refactor(compiler-vapor): rename dynamicFlags to flags

17 months agorefactor(compiler-vapor): class-based CodegenContext
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:46:56 +0000 (22:46 +0800)] 
refactor(compiler-vapor): class-based CodegenContext

17 months agofix(compiler-vapor): import helper with type check
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:21:59 +0000 (22:21 +0800)] 
fix(compiler-vapor): import helper with type check

17 months agorefactor(compiler-vapor): fast path for string
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:17:34 +0000 (22:17 +0800)] 
refactor(compiler-vapor): fast path for string

17 months agorefactor(compiler-vapor): CodeFragment for codegen
三咲智子 Kevin Deng [Tue, 30 Jan 2024 14:08:28 +0000 (22:08 +0800)] 
refactor(compiler-vapor): CodeFragment for codegen

17 months agorefactor(compiler-vapor): simplify codegen context
三咲智子 Kevin Deng [Tue, 30 Jan 2024 11:35:29 +0000 (19:35 +0800)] 
refactor(compiler-vapor): simplify codegen context

17 months agorefactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT
三咲智子 Kevin Deng [Mon, 29 Jan 2024 22:12:01 +0000 (06:12 +0800)] 
refactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT

17 months agorefactor(runtime-vapor): throw errors when node is not found
三咲智子 Kevin Deng [Mon, 29 Jan 2024 21:35:28 +0000 (05:35 +0800)] 
refactor(runtime-vapor): throw errors when node is not found

17 months agotest: add normalizeBlock
三咲智子 Kevin Deng [Mon, 29 Jan 2024 21:34:54 +0000 (05:34 +0800)] 
test: add normalizeBlock

17 months agorefactor(runtime-vapor): template fragment (#100)
Rizumu Ayaka [Mon, 29 Jan 2024 20:15:52 +0000 (04:15 +0800)] 
refactor(runtime-vapor): template fragment (#100)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agotest: simplify
三咲智子 Kevin Deng [Mon, 29 Jan 2024 19:16:33 +0000 (03:16 +0800)] 
test: simplify

17 months agofix(compiler-vapor): handle no template
三咲智子 Kevin Deng [Mon, 29 Jan 2024 15:06:21 +0000 (23:06 +0800)] 
fix(compiler-vapor): handle no template

17 months agorefactor(compiler-vapor): make dynamic.children an array
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:28:40 +0000 (22:28 +0800)] 
refactor(compiler-vapor): make dynamic.children an array

17 months agorefactor(compiler-vapor): decoupe insert and non-template
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:15:34 +0000 (22:15 +0800)] 
refactor(compiler-vapor): decoupe insert and non-template

17 months agorefactor(compiler-vapor): dynamicFlag
三咲智子 Kevin Deng [Mon, 29 Jan 2024 14:08:57 +0000 (22:08 +0800)] 
refactor(compiler-vapor): dynamicFlag

17 months agochore(deps): update test (#10229)
renovate[bot] [Mon, 29 Jan 2024 01:44:12 +0000 (09:44 +0800)] 
chore(deps): update test (#10229)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agochore(deps): update all non-major dependencies (#10175)
renovate[bot] [Mon, 29 Jan 2024 01:41:48 +0000 (09:41 +0800)] 
chore(deps): update all non-major dependencies (#10175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agochore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#10228)
renovate[bot] [Mon, 29 Jan 2024 01:36:14 +0000 (09:36 +0800)] 
chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#10228)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agobuild(deps-dev): bump vite from 5.0.7 to 5.0.12 (#10162)
dependabot[bot] [Mon, 29 Jan 2024 01:35:50 +0000 (09:35 +0800)] 
build(deps-dev): bump vite from 5.0.7 to 5.0.12 (#10162)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.7 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
17 months agoworkflow: minor tweaks for release script (#10220)
Neo [Mon, 29 Jan 2024 01:32:56 +0000 (09:32 +0800)] 
workflow: minor tweaks for release script (#10220)

- `pnpm run test` instead of `pnpm test run`
- also need `--no-git-checks` when drying run
- fix spelling of `remote`

17 months agofeat(compiler-vapor): `v-else` / `v-else-if` (#98)
Rizumu Ayaka [Sun, 28 Jan 2024 19:42:56 +0000 (03:42 +0800)] 
feat(compiler-vapor): `v-else` / `v-else-if` (#98)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agostyle: respect root prettier config
三咲智子 Kevin Deng [Sun, 28 Jan 2024 19:11:30 +0000 (03:11 +0800)] 
style: respect root prettier config

17 months agofeat(runtime-vapor): createFor
三咲智子 Kevin Deng [Sun, 28 Jan 2024 12:15:41 +0000 (20:15 +0800)] 
feat(runtime-vapor): createFor

17 months agoci: show size report for push job
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:41:01 +0000 (03:41 +0800)] 
ci: show size report for push job

17 months agochore: add compiler-vapor & dom for size report
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:37:36 +0000 (03:37 +0800)] 
chore: add compiler-vapor & dom for size report

17 months agoperf(compiler-vapor): use array instead of regex
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:35:04 +0000 (03:35 +0800)] 
perf(compiler-vapor): use array instead of regex

17 months agofix(compiler-vapor): don't mutate ast
三咲智子 Kevin Deng [Sat, 27 Jan 2024 19:28:27 +0000 (03:28 +0800)] 
fix(compiler-vapor): don't mutate ast

17 months agofeat(compiler-vapor): add error check and simplify for v-if
三咲智子 Kevin Deng [Sat, 27 Jan 2024 18:11:05 +0000 (02:11 +0800)] 
feat(compiler-vapor): add error check and simplify for v-if

17 months agorefactor(playground): replace v-show with v-if
三咲智子 Kevin Deng [Sat, 27 Jan 2024 17:54:26 +0000 (01:54 +0800)] 
refactor(playground): replace v-show with v-if

17 months agorefactor(compiler-vapor): dedpue fragment
三咲智子 Kevin Deng [Sat, 27 Jan 2024 17:39:16 +0000 (01:39 +0800)] 
refactor(compiler-vapor): dedpue fragment

17 months agofeat(compiler-vapor): `v-if` (#96)
Rizumu Ayaka [Sat, 27 Jan 2024 17:31:20 +0000 (01:31 +0800)] 
feat(compiler-vapor): `v-if` (#96)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agotest(compiler-vapor): refactor compile
三咲智子 Kevin Deng [Sat, 27 Jan 2024 14:13:34 +0000 (22:13 +0800)] 
test(compiler-vapor): refactor compile

17 months agorefactor(compiler-vapor): codegen result
三咲智子 Kevin Deng [Sat, 27 Jan 2024 13:42:52 +0000 (21:42 +0800)] 
refactor(compiler-vapor): codegen result

17 months agorefactor(compiler-vapor): group directives by same element
三咲智子 Kevin Deng [Sat, 27 Jan 2024 12:49:43 +0000 (20:49 +0800)] 
refactor(compiler-vapor): group directives by same element

17 months agofeat(playground): todo mvc
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:49:34 +0000 (16:49 +0800)] 
feat(playground): todo mvc

17 months agorefactor: get oldVal from metadata
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:38:56 +0000 (16:38 +0800)] 
refactor: get oldVal from metadata

17 months agofix(compiler-vapor): omit prop key for set class&style
三咲智子 Kevin Deng [Thu, 25 Jan 2024 08:24:42 +0000 (16:24 +0800)] 
fix(compiler-vapor): omit prop key for set class&style

17 months agofeat(sfc-playground): display vapor status
三咲智子 Kevin Deng [Wed, 24 Jan 2024 14:14:12 +0000 (22:14 +0800)] 
feat(sfc-playground): display vapor status

17 months agofeat(runtime-vapor): expose vapor mode flag
三咲智子 Kevin Deng [Wed, 24 Jan 2024 14:11:40 +0000 (22:11 +0800)] 
feat(runtime-vapor): expose vapor mode flag

17 months agofeat: generate specific function when the prop key is static (#97)
ygj6 [Mon, 22 Jan 2024 15:03:39 +0000 (23:03 +0800)] 
feat: generate specific function when the prop key is static (#97)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agochore(deps): update test to ^1.2.1 (#10176)
renovate[bot] [Mon, 22 Jan 2024 05:40:25 +0000 (13:40 +0800)] 
chore(deps): update test to ^1.2.1 (#10176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agofeat: repl (#94)
三咲智子 Kevin Deng [Sun, 21 Jan 2024 08:51:28 +0000 (16:51 +0800)] 
feat: repl (#94)

17 months agorefactor(runtime-vapor): template refs
三咲智子 Kevin Deng [Sun, 21 Jan 2024 05:59:56 +0000 (13:59 +0800)] 
refactor(runtime-vapor): template refs

17 months agorefactor(compiler-vapor): extract gen operation
三咲智子 Kevin Deng [Sun, 21 Jan 2024 05:43:23 +0000 (13:43 +0800)] 
refactor(compiler-vapor): extract gen operation

17 months agofeat: v-model for input & textarea
三咲智子 Kevin Deng [Sat, 20 Jan 2024 18:16:30 +0000 (02:16 +0800)] 
feat: v-model for input & textarea

17 months agofeat: basic template ref
三咲智子 Kevin Deng [Sat, 20 Jan 2024 15:48:10 +0000 (23:48 +0800)] 
feat: basic template ref

17 months agorefactor(runtime-vapor): remove ref wrapper for mounted state
三咲智子 Kevin Deng [Sat, 20 Jan 2024 12:46:41 +0000 (20:46 +0800)] 
refactor(runtime-vapor): remove ref wrapper for mounted state

17 months agofix(runtime-vapor): set setupState
三咲智子 Kevin Deng [Sat, 20 Jan 2024 12:22:06 +0000 (20:22 +0800)] 
fix(runtime-vapor): set setupState

17 months agofix(runtime-vapor): patch prop
三咲智子 Kevin Deng [Sat, 20 Jan 2024 05:38:20 +0000 (13:38 +0800)] 
fix(runtime-vapor): patch prop

17 months agofeat: prop and attr modifiers for v-bind (#79)
ygj6 [Sat, 20 Jan 2024 05:31:16 +0000 (13:31 +0800)] 
feat: prop and attr modifiers for v-bind (#79)

17 months agotest: update snapshot
三咲智子 Kevin Deng [Sat, 20 Jan 2024 05:29:55 +0000 (13:29 +0800)] 
test: update snapshot

17 months agofix(compiler-vapor): don't setText for root element
三咲智子 Kevin Deng [Fri, 19 Jan 2024 14:50:07 +0000 (22:50 +0800)] 
fix(compiler-vapor): don't setText for root element

17 months agofix(runtime-vapor): normalize state&block
三咲智子 Kevin Deng [Fri, 19 Jan 2024 14:43:43 +0000 (22:43 +0800)] 
fix(runtime-vapor): normalize state&block

17 months agochore: update comment
三咲智子 Kevin Deng [Fri, 19 Jan 2024 09:09:57 +0000 (17:09 +0800)] 
chore: update comment

17 months agorefactor: simplify code
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:59:03 +0000 (16:59 +0800)] 
refactor: simplify code

17 months agochore: update todo
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:41:03 +0000 (16:41 +0800)] 
chore: update todo

17 months agofeat(runtime-vapor): createIf (#95)
Rizumu Ayaka [Fri, 19 Jan 2024 08:38:41 +0000 (16:38 +0800)] 
feat(runtime-vapor): createIf (#95)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 months agostyle: format tsconfig
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:38:00 +0000 (16:38 +0800)] 
style: format tsconfig

17 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Fri, 19 Jan 2024 08:29:21 +0000 (16:29 +0800)] 
Merge remote-tracking branch 'upstream/main'

17 months agorelease: v3.4.15 v3.4.15
Evan You [Thu, 18 Jan 2024 13:34:34 +0000 (21:34 +0800)] 
release: v3.4.15

17 months agoperf(templateRef): avoid double render when using template ref on v-for
Evan You [Thu, 18 Jan 2024 13:25:10 +0000 (21:25 +0800)] 
perf(templateRef): avoid double render when using template ref on v-for

close #9908

17 months agofix: correct url for production error reference links
Evan You [Thu, 18 Jan 2024 12:00:01 +0000 (20:00 +0800)] 
fix: correct url for production error reference links

17 months agoperf(v-model): optimize v-model multiple select w/ large lists
Evan You [Thu, 18 Jan 2024 11:55:15 +0000 (19:55 +0800)] 
perf(v-model): optimize v-model multiple select w/ large lists

close #10014

17 months agofix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
Evan You [Thu, 18 Jan 2024 05:52:42 +0000 (13:52 +0800)] 
fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm

close #10121

17 months agofix(runtime-core): should not warn out-of-render slot fn usage when mounting another...
inottn [Thu, 18 Jan 2024 03:45:11 +0000 (11:45 +0800)] 
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup (#10125)

close #10124

17 months agorefactor: use shared isAttrRenderable logic between ssr and hydration
Evan You [Thu, 18 Jan 2024 03:23:59 +0000 (11:23 +0800)] 
refactor: use shared isAttrRenderable logic between ssr and hydration

17 months agochore: remove unused import
Evan You [Thu, 18 Jan 2024 03:23:50 +0000 (11:23 +0800)] 
chore: remove unused import

17 months agofix(hydration): fix incorect mismatch warning for option with non-string value and...
Evan You [Thu, 18 Jan 2024 03:19:04 +0000 (11:19 +0800)] 
fix(hydration): fix incorect mismatch warning for option with non-string value and inner text

close 10140

17 months agochore: replace -1 to PatchFlags.HOISTED (#10146)
pengbo [Thu, 18 Jan 2024 02:48:27 +0000 (10:48 +0800)] 
chore: replace -1 to PatchFlags.HOISTED (#10146)

17 months agofix(reactivity): re-fix #10114 (#10123)
Johnson Chu [Thu, 18 Jan 2024 02:46:57 +0000 (10:46 +0800)] 
fix(reactivity): re-fix #10114 (#10123)

17 months agochore: dev build for multi-packages (#10126)
Bou Harusame [Thu, 18 Jan 2024 02:38:36 +0000 (10:38 +0800)] 
chore: dev build for multi-packages (#10126)

Co-authored-by: baoqiang <qiang.bao@stanlogy.com>
17 months agorelease: v3.4.14 v3.4.14
Evan You [Mon, 15 Jan 2024 15:41:12 +0000 (23:41 +0800)] 
release: v3.4.14

17 months agofix(reactivity): fix regression for computed with mutation (#10119)
Doctor Wu [Mon, 15 Jan 2024 15:38:57 +0000 (23:38 +0800)] 
fix(reactivity): fix regression for computed with mutation (#10119)

close #10114

17 months agochore(deps): update test to ^1.2.0 (#10113)
renovate[bot] [Mon, 15 Jan 2024 12:08:45 +0000 (20:08 +0800)] 
chore(deps): update test to ^1.2.0 (#10113)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agochore(deps): update lint (#10112)
renovate[bot] [Mon, 15 Jan 2024 10:15:47 +0000 (18:15 +0800)] 
chore(deps): update lint (#10112)

* chore(deps): update lint

* [autofix.ci] apply automated fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
17 months agochore(deps): update all non-major dependencies (#10111)
renovate[bot] [Mon, 15 Jan 2024 10:15:36 +0000 (18:15 +0800)] 
chore(deps): update all non-major dependencies (#10111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agofix(deps): update dependency postcss to ^8.4.33 (#10110)
renovate[bot] [Mon, 15 Jan 2024 10:15:24 +0000 (18:15 +0800)] 
fix(deps): update dependency postcss to ^8.4.33 (#10110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
17 months agochore: dev build for multi-packages (#10108)
三咲智子 Kevin Deng [Mon, 15 Jan 2024 10:14:32 +0000 (18:14 +0800)] 
chore: dev build for multi-packages (#10108)

17 months agoMerge remote-tracking branch 'upstream/main'
三咲智子 Kevin Deng [Sun, 14 Jan 2024 15:33:08 +0000 (23:33 +0800)] 
Merge remote-tracking branch 'upstream/main'

17 months agofix(compiler-sfc): enable prefixIdentifiers by default when reparsing on consumed...
三咲智子 Kevin Deng [Sun, 14 Jan 2024 01:36:04 +0000 (09:36 +0800)] 
fix(compiler-sfc): enable prefixIdentifiers by default when reparsing on consumed AST (#10105)