]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
19 months agotypes(runtime-vapor): add modifiers & argument type
三咲智子 Kevin Deng [Thu, 7 Dec 2023 02:46:34 +0000 (10:46 +0800)] 
types(runtime-vapor): add modifiers & argument type

19 months agorefactor: extract Data
三咲智子 Kevin Deng [Wed, 6 Dec 2023 17:51:57 +0000 (01:51 +0800)] 
refactor: extract Data

19 months agofeat(compiler-vapor): support custom directives argument & modifiers (#34)
白雾三语 [Wed, 6 Dec 2023 17:41:17 +0000 (01:41 +0800)] 
feat(compiler-vapor): support custom directives argument & modifiers (#34)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
19 months agochore: update todo
三咲智子 Kevin Deng [Wed, 6 Dec 2023 11:08:46 +0000 (19:08 +0800)] 
chore: update todo

19 months agotest: remove fixtures
三咲智子 Kevin Deng [Wed, 6 Dec 2023 17:12:27 +0000 (01:12 +0800)] 
test: remove fixtures

19 months agoperf(compiler-vapor): combine effect
三咲智子 Kevin Deng [Wed, 6 Dec 2023 17:09:03 +0000 (01:09 +0800)] 
perf(compiler-vapor): combine effect

19 months agorefactor(compiler-vapor): extract v-on
三咲智子 Kevin Deng [Wed, 6 Dec 2023 16:39:31 +0000 (00:39 +0800)] 
refactor(compiler-vapor): extract v-on

19 months agofeat(compiler-vapor): shorthand & no expression
三咲智子 Kevin Deng [Wed, 6 Dec 2023 16:36:42 +0000 (00:36 +0800)] 
feat(compiler-vapor): shorthand & no expression

19 months agotest: compound expression for `v-bind` (#36)
Rizumu Ayaka [Wed, 6 Dec 2023 16:22:36 +0000 (00:22 +0800)] 
test: compound expression for `v-bind` (#36)

19 months agotest: update snapshot
三咲智子 Kevin Deng [Wed, 6 Dec 2023 10:52:14 +0000 (18:52 +0800)] 
test: update snapshot

19 months agoMerge remote-tracking branch 'upstream/minor'
三咲智子 Kevin Deng [Wed, 6 Dec 2023 10:50:31 +0000 (18:50 +0800)] 
Merge remote-tracking branch 'upstream/minor'

19 months agofix(compiler-vapor): event handler
三咲智子 Kevin Deng [Wed, 6 Dec 2023 10:43:01 +0000 (18:43 +0800)] 
fix(compiler-vapor): event handler

19 months agofeat(runtime-vapor): render component
三咲智子 Kevin Deng [Wed, 6 Dec 2023 06:59:11 +0000 (14:59 +0800)] 
feat(runtime-vapor): render component

19 months agofix: resolve options for parser
三咲智子 Kevin Deng [Wed, 6 Dec 2023 06:37:40 +0000 (14:37 +0800)] 
fix: resolve options for parser

ref: https://github.com/vuejs/core/pull/9760

19 months agofix(compiler-core): use the same resolved options for all compile stages (#9760)
三咲智子 Kevin Deng [Wed, 6 Dec 2023 06:41:21 +0000 (14:41 +0800)] 
fix(compiler-core): use the same resolved options for all compile stages (#9760)

19 months agofix: genExpression
三咲智子 Kevin Deng [Wed, 6 Dec 2023 06:25:15 +0000 (14:25 +0800)] 
fix: genExpression

19 months agofeat: compound expression for v-bind
三咲智子 Kevin Deng [Tue, 5 Dec 2023 16:15:57 +0000 (00:15 +0800)] 
feat: compound expression for v-bind

19 months agofix: exclude compund expression type
三咲智子 Kevin Deng [Tue, 5 Dec 2023 09:13:25 +0000 (17:13 +0800)] 
fix: exclude compund expression type

19 months agotest: `v-cloak` (#32)
Rizumu Ayaka [Tue, 5 Dec 2023 14:36:46 +0000 (22:36 +0800)] 
test: `v-cloak` (#32)

19 months agofeat(runtime-core): provide full props to props validator functions (#3258)
nandi95 [Tue, 5 Dec 2023 09:14:17 +0000 (09:14 +0000)] 
feat(runtime-core): provide full props to props validator functions (#3258)

19 months agochore: Merge branch 'main' into minor
Evan You [Tue, 5 Dec 2023 02:54:20 +0000 (10:54 +0800)] 
chore: Merge branch 'main' into minor

19 months agochore(deps): bump vitest to 1.0
Evan You [Tue, 5 Dec 2023 02:47:38 +0000 (10:47 +0800)] 
chore(deps): bump vitest to 1.0

19 months agochore(playground): expose esm-browser files (#9725)
Carlos Rodrigues [Mon, 4 Dec 2023 19:08:21 +0000 (19:08 +0000)] 
chore(playground): expose esm-browser files (#9725)

19 months agochore: remove commit message lint
三咲智子 Kevin Deng [Mon, 4 Dec 2023 16:12:51 +0000 (00:12 +0800)] 
chore: remove commit message lint

19 months agochore: remove v-is deprecation enum
Evan You [Fri, 1 Dec 2023 03:57:22 +0000 (11:57 +0800)] 
chore: remove v-is deprecation enum

support is already removed during parser rewrite

19 months agofeat(compiler): lift vnode hooks deprecation warning to error
Evan You [Fri, 1 Dec 2023 03:56:29 +0000 (11:56 +0800)] 
feat(compiler): lift vnode hooks deprecation warning to error

19 months agochore: remove deprecated AppConfig.unwrapInjectedRef option
Evan You [Fri, 1 Dec 2023 03:32:05 +0000 (11:32 +0800)] 
chore: remove deprecated AppConfig.unwrapInjectedRef option

19 months agofeat(compiler-sfc): analyze import usage in template via AST (#9729)
Evan You [Fri, 1 Dec 2023 03:14:48 +0000 (11:14 +0800)] 
feat(compiler-sfc): analyze import usage in template via AST (#9729)

close #8897
close nuxt/nuxt#22416

19 months agorelease: v3.4.0-alpha.4 v3.4.0-alpha.4
Evan You [Mon, 4 Dec 2023 15:24:43 +0000 (23:24 +0800)] 
release: v3.4.0-alpha.4

19 months agochore: Merge branch 'main' into minor
Evan You [Mon, 4 Dec 2023 15:17:41 +0000 (23:17 +0800)] 
chore: Merge branch 'main' into minor

19 months agofix(parser): fix interpolation parsing in v-pre
Evan You [Mon, 4 Dec 2023 15:06:56 +0000 (23:06 +0800)] 
fix(parser): fix interpolation parsing in v-pre

ref: https://github.com/vuejs/docs/issues/2586

19 months agorelease: v3.3.10 v3.3.10
Evan You [Mon, 4 Dec 2023 13:42:18 +0000 (21:42 +0800)] 
release: v3.3.10

19 months agofix(compiler-sfc): fix :where and :is selector in scoped mode with multiple selectors...
yangxiuxiu [Mon, 4 Dec 2023 08:53:21 +0000 (16:53 +0800)] 
fix(compiler-sfc): fix :where and :is selector in scoped mode with multiple selectors (#9735)

close #9707

19 months agochore: fix lint
三咲智子 Kevin Deng [Mon, 4 Dec 2023 08:45:26 +0000 (16:45 +0800)] 
chore: fix lint

19 months agochore(deps): update compiler (#9745)
renovate[bot] [Mon, 4 Dec 2023 08:43:47 +0000 (16:43 +0800)] 
chore(deps): update compiler (#9745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agofix(app): prevent template from being cached between apps with different options...
Carlos Rodrigues [Mon, 4 Dec 2023 08:43:30 +0000 (08:43 +0000)] 
fix(app): prevent template from being cached between apps with different options (#9724)

close #9618

19 months agochore(deps): update all non-major dependencies (#9744)
renovate[bot] [Mon, 4 Dec 2023 08:42:40 +0000 (16:42 +0800)] 
chore(deps): update all non-major dependencies (#9744)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore: fix typos in CHANGELOG.md (#9746) [ci skip]
xiaoming young [Mon, 4 Dec 2023 08:42:24 +0000 (16:42 +0800)] 
chore: fix typos in CHANGELOG.md (#9746) [ci skip]

19 months agofix(runtime-core): Suspense get anchor properly in Transition (#9309)
edison [Mon, 4 Dec 2023 08:41:55 +0000 (16:41 +0800)] 
fix(runtime-core): Suspense get anchor properly in Transition (#9309)

close #8105

19 months agofeat: support more directive hook
三咲智子 Kevin Deng [Mon, 4 Dec 2023 08:08:15 +0000 (16:08 +0800)] 
feat: support more directive hook

19 months agofix(compiler-sfc): avoid passing forEach index to genMap
Evan You [Mon, 4 Dec 2023 07:43:29 +0000 (15:43 +0800)] 
fix(compiler-sfc): avoid passing forEach index to genMap

19 months agofix(types): improve return type withKeys and withModifiers (#9734)
Carlos Rodrigues [Sun, 3 Dec 2023 23:59:01 +0000 (23:59 +0000)] 
fix(types): improve return type withKeys and withModifiers (#9734)

19 months agofeat: custom directlve
三咲智子 Kevin Deng [Sun, 3 Dec 2023 10:36:01 +0000 (18:36 +0800)] 
feat: custom directlve

closes #19

19 months agorefactor: extract transformInterpolation
三咲智子 Kevin Deng [Sun, 3 Dec 2023 06:52:11 +0000 (14:52 +0800)] 
refactor: extract transformInterpolation

19 months agorefactor: DirectiveTransform for v-on
三咲智子 Kevin Deng [Sat, 2 Dec 2023 19:56:54 +0000 (03:56 +0800)] 
refactor: DirectiveTransform for v-on

19 months agochore: update todo
三咲智子 Kevin Deng [Sat, 2 Dec 2023 19:52:16 +0000 (03:52 +0800)] 
chore: update todo

19 months agofeat: v-on modifiers support native options and keyboards (#28)
白雾三语 [Sat, 2 Dec 2023 19:49:44 +0000 (03:49 +0800)] 
feat: v-on modifiers support native options and keyboards (#28)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
19 months agofix: do not wrap registering event listeners under effect (#27)
Jeff Yang [Sat, 2 Dec 2023 17:46:07 +0000 (01:46 +0800)] 
fix: do not wrap registering event listeners under effect (#27)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
19 months agoci: remove autofix
三咲智子 Kevin Deng [Sat, 2 Dec 2023 17:41:08 +0000 (01:41 +0800)] 
ci: remove autofix

19 months agofeat: DirectiveTransform
三咲智子 Kevin Deng [Sat, 2 Dec 2023 17:40:26 +0000 (01:40 +0800)] 
feat: DirectiveTransform

19 months agorefactor: transformElement
三咲智子 Kevin Deng [Sat, 2 Dec 2023 08:59:43 +0000 (16:59 +0800)] 
refactor: transformElement

19 months agofeat: implement error handling for v-html (#30)
Rizumu Ayaka [Sat, 2 Dec 2023 07:59:09 +0000 (15:59 +0800)] 
feat: implement error handling for v-html (#30)

19 months agofix: identifier source map
三咲智子 Kevin Deng [Fri, 1 Dec 2023 16:49:13 +0000 (00:49 +0800)] 
fix: identifier source map

19 months agofix: preamble in inline mode
三咲智子 Kevin Deng [Fri, 1 Dec 2023 16:35:30 +0000 (00:35 +0800)] 
fix: preamble in inline mode

19 months agorefactor: error
三咲智子 Kevin Deng [Fri, 1 Dec 2023 16:18:27 +0000 (00:18 +0800)] 
refactor: error

19 months agofeat: source map for expressions
三咲智子 Kevin Deng [Fri, 1 Dec 2023 16:07:24 +0000 (00:07 +0800)] 
feat: source map for expressions

19 months agorefactor: process expression
三咲智子 Kevin Deng [Fri, 1 Dec 2023 15:30:21 +0000 (23:30 +0800)] 
refactor: process expression

19 months agorefactor: codegen indent
三咲智子 Kevin Deng [Fri, 1 Dec 2023 14:45:08 +0000 (22:45 +0800)] 
refactor: codegen indent

19 months agofeat: push codegen
三咲智子 Kevin Deng [Fri, 1 Dec 2023 14:12:19 +0000 (22:12 +0800)] 
feat: push codegen

19 months agochore(template-explorer): fix overflow screen problem (#7282) [ci skip]
Reii [Fri, 1 Dec 2023 13:28:48 +0000 (21:28 +0800)] 
chore(template-explorer): fix overflow screen problem (#7282) [ci skip]

19 months agofix(compiler-sfc): support inferring generic types (#8511)
edison [Fri, 1 Dec 2023 13:21:12 +0000 (21:21 +0800)] 
fix(compiler-sfc): support inferring generic types (#8511)

close #8482

19 months agofix(compiler-sfc): deindent pug/jade templates
Evan You [Fri, 1 Dec 2023 08:45:53 +0000 (16:45 +0800)] 
fix(compiler-sfc): deindent pug/jade templates

close #3231
close #3842
close #7723

19 months agofix(ssr): avoid computed being accidentally cached before server render (#9688)
edison [Fri, 1 Dec 2023 07:54:40 +0000 (15:54 +0800)] 
fix(ssr): avoid computed being accidentally cached before server render (#9688)

close #5300

19 months agochore: remove v-is deprecation enum
Evan You [Fri, 1 Dec 2023 03:57:22 +0000 (11:57 +0800)] 
chore: remove v-is deprecation enum

support is already removed during parser rewrite

19 months agofeat(compiler): lift vnode hooks deprecation warning to error
Evan You [Fri, 1 Dec 2023 03:56:29 +0000 (11:56 +0800)] 
feat(compiler): lift vnode hooks deprecation warning to error

19 months agochore: remove deprecated AppConfig.unwrapInjectedRef option
Evan You [Fri, 1 Dec 2023 03:32:05 +0000 (11:32 +0800)] 
chore: remove deprecated AppConfig.unwrapInjectedRef option

19 months agofeat(compiler-sfc): analyze import usage in template via AST (#9729)
Evan You [Fri, 1 Dec 2023 03:14:48 +0000 (11:14 +0800)] 
feat(compiler-sfc): analyze import usage in template via AST (#9729)

close #8897
close nuxt/nuxt#22416

19 months agorefactor(compiler-vapor): import alias
三咲智子 Kevin Deng [Fri, 1 Dec 2023 00:26:01 +0000 (08:26 +0800)] 
refactor(compiler-vapor): import alias

19 months agoMerge remote-tracking branch 'upstream/minor'
三咲智子 Kevin Deng [Fri, 1 Dec 2023 00:16:50 +0000 (08:16 +0800)] 
Merge remote-tracking branch 'upstream/minor'

19 months agorefactor(compiler-vapor): errors
三咲智子 Kevin Deng [Fri, 1 Dec 2023 00:05:43 +0000 (08:05 +0800)] 
refactor(compiler-vapor): errors

19 months agofeat(compiler-vapor): node transform
三咲智子 Kevin Deng [Thu, 30 Nov 2023 23:34:18 +0000 (07:34 +0800)] 
feat(compiler-vapor): node transform

19 months agofeat: codegen context
三咲智子 Kevin Deng [Thu, 30 Nov 2023 21:18:20 +0000 (05:18 +0800)] 
feat: codegen context

19 months agofix(compiler-vapor): prefix identifiers
三咲智子 Kevin Deng [Thu, 30 Nov 2023 21:17:19 +0000 (05:17 +0800)] 
fix(compiler-vapor): prefix identifiers

19 months agofix(compiler-sfc): generate more treeshaking friendly code (#9507)
edison [Thu, 30 Nov 2023 18:52:26 +0000 (02:52 +0800)] 
fix(compiler-sfc): generate more treeshaking friendly code (#9507)

close #9500

19 months agochore(dx): improve color contrast in dark mode for custom formatter (#8704)
花果山大圣 [Thu, 30 Nov 2023 18:45:03 +0000 (02:45 +0800)] 
chore(dx): improve color contrast in dark mode for custom formatter (#8704)

19 months agochore: improve comment readability (#8598) [ci skip]
Abhay Chauhan [Thu, 30 Nov 2023 18:43:56 +0000 (00:13 +0530)] 
chore: improve comment readability (#8598) [ci skip]

19 months agofix(types): expose emits as props in functional components (#9234)
Blake Newman [Thu, 30 Nov 2023 18:37:51 +0000 (18:37 +0000)] 
fix(types): expose emits as props in functional components (#9234)

19 months agofix(types): fix reactive collection types (#8960)
三咲智子 Kevin Deng [Thu, 30 Nov 2023 18:33:09 +0000 (02:33 +0800)] 
fix(types): fix reactive collection types (#8960)

close #8904

19 months agostyle: format
三咲智子 Kevin Deng [Thu, 30 Nov 2023 17:28:16 +0000 (01:28 +0800)] 
style: format

19 months agochore: group parser edge case tests
Evan You [Thu, 30 Nov 2023 14:39:55 +0000 (22:39 +0800)] 
chore: group parser edge case tests

19 months agochore(playground): use CodeMirror during local dev
Evan You [Thu, 30 Nov 2023 13:44:28 +0000 (21:44 +0800)] 
chore(playground): use CodeMirror during local dev

19 months agoperf(v-on): constant handlers with modifiers should not be treated as dynamic
Evan You [Thu, 30 Nov 2023 11:26:36 +0000 (19:26 +0800)] 
perf(v-on): constant handlers with modifiers should not be treated as dynamic

19 months agoperf(runtime-dom): cache modifier wrapper functions
Evan You [Thu, 30 Nov 2023 11:00:00 +0000 (19:00 +0800)] 
perf(runtime-dom): cache modifier wrapper functions

close #8882

19 months agofix(compiler-sfc): throw error when failing to load TS during type resolution (#8883)
三咲智子 Kevin Deng [Thu, 30 Nov 2023 10:41:21 +0000 (18:41 +0800)] 
fix(compiler-sfc): throw error when failing to load TS during type resolution (#8883)

19 months agofix(cssVars): cssVar names should be double-escaped when generating code for ssr...
edison [Thu, 30 Nov 2023 10:35:20 +0000 (18:35 +0800)] 
fix(cssVars): cssVar names should be double-escaped when generating code for ssr (#8824)

close #7823

19 months agochore: fix width/height check condition
Evan You [Thu, 30 Nov 2023 10:33:53 +0000 (18:33 +0800)] 
chore: fix width/height check condition

19 months agofix(compiler-sfc): support resolving components from props (#8785)
edison [Thu, 30 Nov 2023 10:03:23 +0000 (18:03 +0800)] 
fix(compiler-sfc): support resolving components from props (#8785)

19 months agochore: optimize widht/height element check
Evan You [Thu, 30 Nov 2023 09:59:27 +0000 (17:59 +0800)] 
chore: optimize widht/height element check

19 months agoperf: optimize on* prop check
Evan You [Thu, 30 Nov 2023 09:51:58 +0000 (17:51 +0800)] 
perf: optimize on* prop check

19 months agofix(runtime-dom): set width/height with units as attribute (#8781)
zhoulixiang [Thu, 30 Nov 2023 09:27:23 +0000 (17:27 +0800)] 
fix(runtime-dom): set width/height with units as attribute (#8781)

Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.

19 months agofeat(compiler-core): support accessing Error as global in template expressions (...
Eduardo San Martin Morote [Thu, 30 Nov 2023 08:39:40 +0000 (09:39 +0100)] 
feat(compiler-core): support accessing Error as global in template expressions (#7018)

19 months agochore(deps): update dependency puppeteer to ~21.5.2 (#9637)
renovate[bot] [Thu, 30 Nov 2023 08:38:33 +0000 (16:38 +0800)] 
chore(deps): update dependency puppeteer to ~21.5.2 (#9637)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agofeat(compiler-sfc): bump postcss-modules to v6
Evan You [Thu, 30 Nov 2023 08:37:17 +0000 (16:37 +0800)] 
feat(compiler-sfc): bump postcss-modules to v6

19 months agochore: improve typing for scripts (#9709)
ZHAO Jin-Xiang [Thu, 30 Nov 2023 06:17:51 +0000 (14:17 +0800)] 
chore: improve typing for scripts (#9709)

19 months agochore: bump @vue/repl
Evan You [Thu, 30 Nov 2023 05:11:27 +0000 (13:11 +0800)] 
chore: bump @vue/repl

19 months agorefactor(playground): extract vite-hyper-config
三咲智子 Kevin Deng [Thu, 30 Nov 2023 00:09:44 +0000 (08:09 +0800)] 
refactor(playground): extract vite-hyper-config

19 months agorefactor(playground): extract logic
三咲智子 Kevin Deng [Wed, 29 Nov 2023 21:54:27 +0000 (05:54 +0800)] 
refactor(playground): extract logic

19 months agochore: update todo
三咲智子 Kevin Deng [Wed, 29 Nov 2023 21:40:28 +0000 (05:40 +0800)] 
chore: update todo

19 months agotest: v-pre (#14)
Rizumu Ayaka [Wed, 29 Nov 2023 21:31:26 +0000 (05:31 +0800)] 
test: v-pre (#14)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
19 months agofeat(compiler): v-on event modifier (#8)
ubugeeei [Wed, 29 Nov 2023 21:11:59 +0000 (06:11 +0900)] 
feat(compiler): v-on  event modifier (#8)