]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
Evan You [Wed, 9 Nov 2022 23:25:22 +0000 (07:25 +0800)]
release: v3.2.44
Thorsten Lünborg [Wed, 9 Nov 2022 23:19:35 +0000 (00:19 +0100)]
fix(watch): for immediate watch with single source, ensure cb is called with undefined as oldValue (#7075)
fix: #7074
skirtle [Wed, 9 Nov 2022 13:16:34 +0000 (13:16 +0000)]
dx(runtime-dom): warn when a style value ends in a semicolon (#7062)
skirtle [Wed, 9 Nov 2022 13:15:41 +0000 (13:15 +0000)]
chore(compat): change 'vnode-' to 'vue:' in event hooks warning (#7063)
三咲智子 Kevin Deng [Wed, 9 Nov 2022 13:14:59 +0000 (21:14 +0800)]
workflow: switch to simple-git-hooks (#7069)
Evan You [Wed, 9 Nov 2022 13:00:57 +0000 (21:00 +0800)]
release: v3.2.43
Evan You [Wed, 9 Nov 2022 12:50:02 +0000 (20:50 +0800)]
fix(watch): ensure oldValue in multi-source watcher is always an array
fix #7070
Evan You [Wed, 9 Nov 2022 03:48:35 +0000 (11:48 +0800)]
chore: return early in warn() in prod
Evan You [Wed, 9 Nov 2022 03:43:31 +0000 (11:43 +0800)]
chore: include terser in workspace deps [ci skip]
Evan You [Wed, 9 Nov 2022 03:41:26 +0000 (11:41 +0800)]
build: put ssrContext warning behind __DEV__ flag
Evan You [Wed, 9 Nov 2022 03:36:09 +0000 (11:36 +0800)]
release: v3.2.42
三咲智子 Kevin Deng [Wed, 9 Nov 2022 03:30:05 +0000 (11:30 +0800)]
fix(compiler-sfc): only escape parsing-breaking characters in v-bind css var names (#6816)
close #6803
白雾三语 [Wed, 9 Nov 2022 03:22:29 +0000 (11:22 +0800)]
fix(compiler): avoid namespace collisions when transforming template refs in inline mode (#6975)
fix #6964
三咲智子 Kevin Deng [Wed, 9 Nov 2022 03:12:54 +0000 (11:12 +0800)]
fix(compiler-sfc): handle method shorthand syntax in withDefaults (#6972)
fix #6971
白雾三语 [Wed, 9 Nov 2022 02:58:22 +0000 (10:58 +0800)]
fix(compiler-core/v-on): only apply case preservation on native elements (#6902)
fix #6900
三咲智子 Kevin Deng [Wed, 9 Nov 2022 02:57:40 +0000 (10:57 +0800)]
fix(compiler-sfc): resolve computed object key (#6963)
三咲智子 Kevin Deng [Wed, 9 Nov 2022 01:26:43 +0000 (09:26 +0800)]
fix(reactivity-transform): respect user defined symbols that conflict with macros (#6840)
closes #6838
Johnson Chu [Tue, 8 Nov 2022 15:37:37 +0000 (23:37 +0800)]
fix(types): stricter type condition for `EventHandlers` (#6855)
fix #6899
Evan You [Tue, 8 Nov 2022 15:35:35 +0000 (23:35 +0800)]
fix(compiler-core): fix parsing error on comments between v-if in prod
close #6843
被雨水过滤的空气(Rairn) [Tue, 8 Nov 2022 15:01:43 +0000 (23:01 +0800)]
fix(transition/keep-alive): fix unmount bug for component with out-in transition (#6839)
fix #6835
Rudy [Tue, 8 Nov 2022 14:50:43 +0000 (22:50 +0800)]
fix(compiler-core): keep whitespaces between interpolation and comment (#6828)
fix #6352
三咲智子 Kevin Deng [Tue, 8 Nov 2022 14:13:45 +0000 (22:13 +0800)]
ci: upgrade node to 18 (#6983)
Evan You [Tue, 8 Nov 2022 09:47:47 +0000 (17:47 +0800)]
refactor(compiler-sfc): optimize import alias check for binding analysis
Evan You [Tue, 8 Nov 2022 09:19:45 +0000 (17:19 +0800)]
fix(compiler-sfc): fix binding analysis for aliased late import
三咲智子 Kevin Deng [Tue, 8 Nov 2022 09:07:28 +0000 (17:07 +0800)]
fix(compiler-sfc): check import source during binding analysation (#6826)
fix #6825
三咲智子 Kevin Deng [Tue, 8 Nov 2022 06:38:53 +0000 (14:38 +0800)]
fix(types/reactivity-transform): fix type when initial value is not used (#6821)
fix #6820
Evan You [Tue, 8 Nov 2022 06:31:45 +0000 (14:31 +0800)]
ci: disable format-check on ci
this causes too many unintended fails on PR merges
the task should just be manually run periodically
Evan You [Tue, 8 Nov 2022 06:29:13 +0000 (14:29 +0800)]
chore: remove blank line [ci skip]
花果山大圣 [Tue, 8 Nov 2022 06:26:56 +0000 (14:26 +0800)]
fix(hmr): fix hmr for components managed by keep-alive (#6809)
fix #6222
Evan You [Tue, 8 Nov 2022 06:25:48 +0000 (14:25 +0800)]
chore: run prettier
三咲智子 Kevin Deng [Tue, 8 Nov 2022 06:10:56 +0000 (14:10 +0800)]
workflow(sfc-playground): set all scopes to production mode (#6815)
Rudy [Tue, 8 Nov 2022 06:09:53 +0000 (14:09 +0800)]
fix(types): support inferring injected properties in options api (#6804)
close #3031
close #5931
Rudy [Tue, 8 Nov 2022 03:42:32 +0000 (11:42 +0800)]
fix(compiler/runtime-dom): ignore comments in inline styles (#6808)
fix #6807
Evan You [Tue, 8 Nov 2022 03:36:16 +0000 (11:36 +0800)]
chore: fix snapshot
花果山大圣 [Tue, 8 Nov 2022 03:34:39 +0000 (11:34 +0800)]
fix(compiler-sfc): require <template> or <script> in SFC (#6781)
fix #6676
三咲智子 Kevin Deng [Tue, 8 Nov 2022 03:17:50 +0000 (11:17 +0800)]
fix(shared): fix parsing of multi-line inline style (#6777)
花果山大圣 [Tue, 8 Nov 2022 03:16:21 +0000 (11:16 +0800)]
fix(compiler-sfc): fix macro usage in multi-variable declaration (#6778)
fix #6757
Travis [Tue, 8 Nov 2022 03:09:15 +0000 (11:09 +0800)]
fix(compiler-core/v-on): support inline handler with return type annotation (#6769)
fix #6378
被雨水过滤的空气(Rairn) [Tue, 8 Nov 2022 03:04:31 +0000 (11:04 +0800)]
fix(compiler-core): avoid duplicate keys in codegen with `v-if` (#6689)
fix #6641
Evan You [Tue, 8 Nov 2022 03:03:51 +0000 (11:03 +0800)]
chore: pretty ignore dist files
Evan You [Tue, 8 Nov 2022 03:03:27 +0000 (11:03 +0800)]
chore: prettier
littleboarx [Tue, 8 Nov 2022 02:59:31 +0000 (10:59 +0800)]
fix(sfc/types): improve the type inference using withDefaults (#6764)
fix #6552
btea [Tue, 8 Nov 2022 02:53:44 +0000 (10:53 +0800)]
fix(ssr): remove css number value check (#6636)
Previously this prevented custom properties and vendor-prefixed properties to be rendered correctly.
fix #6625
Cédric Exbrayat [Tue, 8 Nov 2022 02:49:49 +0000 (03:49 +0100)]
fix(runtime-core): do not throw on unknown directives (#6671)
fix #6340
This commit improves the case when a directive is not found in a template.
As `resolveDirective` returns `undefined`, some code was failing with the following error:
```
TypeError: Cannot read properties of undefined (reading 'deep')
```
三咲智子 Kevin Deng [Tue, 8 Nov 2022 02:17:48 +0000 (10:17 +0800)]
fix(compiler-sfc): add semicolon after `defineProps` statement (#6461)
fix #6428
三咲智子 Kevin Deng [Tue, 8 Nov 2022 02:14:10 +0000 (10:14 +0800)]
types: use actual type for script block ASTs (#6457)
三咲智子 Kevin Deng [Tue, 8 Nov 2022 02:03:49 +0000 (10:03 +0800)]
fix(types): export `Raw` type (#6380)
fix #7048
三咲智子 Kevin Deng [Tue, 8 Nov 2022 01:38:47 +0000 (09:38 +0800)]
fix(reactivity-transform): add semicolon after statements (#6303)
Thorsten Lünborg [Tue, 1 Nov 2022 08:49:06 +0000 (09:49 +0100)]
fix(runtime-dom): ensure customElement handles empty props correctly. (#6182)
fix Scoped attribute in Vue file affects the use of web component #6163,#6895
HakimLu [Fri, 28 Oct 2022 07:29:30 +0000 (15:29 +0800)]
fix:spell checker (#6982)
Co-authored-by: hakim <hakim.lu@yunlsp.com>
三咲智子 (Kevin) [Fri, 28 Oct 2022 01:39:34 +0000 (09:39 +0800)]
ci: check prettier format (#6830)
Evan You [Thu, 27 Oct 2022 00:58:38 +0000 (08:58 +0800)]
ci: fix pnpm action version
Evan You [Wed, 26 Oct 2022 10:32:34 +0000 (18:32 +0800)]
ci: bump actions versions
webfansplz [Wed, 26 Oct 2022 10:30:15 +0000 (18:30 +0800)]
fix(ssr/watch) flush: sync watchers should work in ssr (#6139)
fix #6013
Julian Meinking [Wed, 26 Oct 2022 09:54:10 +0000 (11:54 +0200)]
fix(runtime-core): `in` operator returning `false` for built-in instance properties in `exposeProxy` (#6138)
fix #6137
shadowings-zy [Wed, 26 Oct 2022 09:47:05 +0000 (17:47 +0800)]
fix(v-model): fix trim modifier on events with non-string args ( (#5770)
fix #5765
Evan You [Wed, 26 Oct 2022 09:46:17 +0000 (17:46 +0800)]
chore: fix snapshot
webfansplz [Wed, 26 Oct 2022 09:43:42 +0000 (17:43 +0800)]
fix(types): `$watch` callback parameters type (#6136)
fix #6135
ygj6 [Wed, 26 Oct 2022 09:12:55 +0000 (17:12 +0800)]
fix(compiler-sfc): allow type annotation for defineEmits variable (#5394)
fix #5393
nandi95 [Wed, 26 Oct 2022 09:00:47 +0000 (10:00 +0100)]
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` (#5389)
edison [Wed, 26 Oct 2022 08:44:30 +0000 (16:44 +0800)]
fix(compiler-sfc): support using extends interface with defineProps() (#4512)
fix #4498
webfansplz [Wed, 26 Oct 2022 08:31:09 +0000 (16:31 +0800)]
refactor(types): use template literal types insteads of any (#4166)
HeYunfei [Wed, 26 Oct 2022 08:27:42 +0000 (16:27 +0800)]
fix(types): should unwrap tuple correctly (#3820)
fix #3819
Evan You [Wed, 26 Oct 2022 08:18:19 +0000 (16:18 +0800)]
fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr (#3326)
squashed from fix by @tjk
Evan You [Wed, 26 Oct 2022 07:17:25 +0000 (15:17 +0800)]
refactor: move toNumber call out of loop
Carlos Rodrigues [Wed, 26 Oct 2022 07:07:44 +0000 (08:07 +0100)]
types(h): Support passing `props` to `Component` when using `h` (#3219)
引证 [Wed, 26 Oct 2022 07:01:37 +0000 (15:01 +0800)]
types(shared): Improve LooseRequired<T> (#6244)
Thorsten Lünborg [Sat, 22 Oct 2022 09:20:46 +0000 (11:20 +0200)]
fix(runtime-core): custom-element: ensure number casting of camelCase props. (fix: #5374) (#5377)
Thorsten Lünborg [Sat, 22 Oct 2022 09:20:02 +0000 (11:20 +0200)]
fix(runtime-core): ensure props definition objects are not mutated during props normalization (close: #6915) (#6916)
bcq028 [Fri, 21 Oct 2022 07:25:06 +0000 (15:25 +0800)]
fix(reactivity): enable trigger when use str to set length of arr (#6810)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Thorsten Lünborg [Thu, 20 Oct 2022 19:45:51 +0000 (21:45 +0200)]
fix(types): ensure createBlock() helper accepts Teleport and Supsense types (fix: #2855) (#5458)
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Thorsten Lünborg [Thu, 20 Oct 2022 19:45:05 +0000 (21:45 +0200)]
fix(runtime-core): watching multiple values - handle `undefined` as initial values (fix: #5032) (#5033)
Evan You [Fri, 14 Oct 2022 10:41:15 +0000 (18:41 +0800)]
release: v3.2.41
白雾三语 [Fri, 14 Oct 2022 09:23:01 +0000 (17:23 +0800)]
fix(runtime-core): fix v-for ref reactivity behavior difference between prod and dev (#6714)
fix #6697
似水微寒 [Fri, 14 Oct 2022 08:08:32 +0000 (16:08 +0800)]
fix(runtime-core): ensure that errors in slot function execution do not affect block tracking (#5670)
fix #5657
Evan You [Fri, 14 Oct 2022 08:00:03 +0000 (16:00 +0800)]
fix(runtime-dom): fix event timestamp check in iframes
fix #2513
fix #3933
close #5474
Evan You [Fri, 14 Oct 2022 02:53:23 +0000 (10:53 +0800)]
fix(effectScope): calling off() of a detached scope should not break currentScope
Evan You [Tue, 11 Oct 2022 09:54:22 +0000 (17:54 +0800)]
build: enforce LF line break for built files
世新 [Wed, 5 Oct 2022 21:26:16 +0000 (05:26 +0800)]
chore: symbols as helperNameMap index type (#6622)
Evan You [Wed, 5 Oct 2022 07:48:37 +0000 (15:48 +0800)]
chore: more pr tips in contribution guide [ci skip]