underfin
425335c28b
fix(v-model): consistent nullish value handling with 2.x ( #1530 )
...
fix #1528
2020-07-06 19:02:33 -04:00
Evan You
441c23602f
fix(runtime-dom): should set <input list="...">
as attribute
...
fix #1526
2020-07-06 19:01:33 -04:00
Evan You
31e37b417b
chore: warn NaN vnode key
2020-07-06 18:56:21 -04:00
Evan You
d86b01ba3a
fix(keep-alive): fix keep-alive with scopeId/fallthrough attrs
...
fix #1511
2020-07-06 18:17:40 -04:00
Evan You
6dd59ee301
fix(v-model): should ignore compiled v-model listeners in attr fallthrough
...
fix #1510
2020-07-06 17:00:34 -04:00
djy0
77538ec6d9
fix(runtime-dom/style): fix patchStyle on falsy next value ( #1504 )
...
fix #1506
2020-07-06 16:45:15 -04:00
Evan You
36b6b4f022
fix(runtime-core/template-ref): template ref used in the same template should trigger update
...
fix #1505
2020-07-06 16:40:00 -04:00
Jack Robertson
64e2f46436
fix(compiler-core): add \r
to accepted chars after end tag name ( #1515 )
...
fix #1476
2020-07-06 16:00:26 -04:00
Pick
4f6460a71f
chore(reactivity): remove unused comment ( #1485 ) [ci skip]
2020-07-06 15:57:54 -04:00
Evan You
7f83856f34
release: v3.0.0-beta.18
2020-07-01 21:06:25 -04:00
Evan You
f3e9c1b59d
fix(runtime-core): avoid accidental access of Object.prototype properties
2020-07-01 20:13:02 -04:00
Evan You
4e8e689572
fix: ensure vnode hooks are called consistently regardless of keep-alive
2020-07-01 19:50:13 -04:00
Evan You
c9629f2692
feat(runtime-core): support creating vnode from existing vnode
...
This allows passing vnode around with curried props and use it in
places where VNodeType is expected, e.g. `<component :is=""/>`
2020-07-01 19:48:01 -04:00
Evan You
2bdb5c1464
fix(runtime-core): pass unmount into inital mount patch prop
2020-07-01 16:01:46 -04:00
Evan You
7886c267f7
refactor: remove unused inheritRef option
...
This is technically a breaking change, but the option was not meant for public use
and ended up not solving the problem it was introduced for.
2020-07-01 15:40:11 -04:00
Pick
5c490f1c45
refactor(computed): deprecated computedRunners ( #1458 )
2020-07-01 15:39:13 -04:00
Evan You
f6da6bf999
release: v3.0.0-beta.17
2020-06-30 12:10:15 -04:00
Pick
c69ca88c04
refactor(types): simplify UnwrapRefSimple ( #1466 )
2020-06-30 12:02:21 -04:00
Evan You
6b23216e6d
chore: comment on slot optimization hint [ci skip]
2020-06-30 12:01:05 -04:00
Evan You
d2bf3cc4a8
chore: remove unnecessary loop
2020-06-30 11:43:15 -04:00
Evan You
b3536d87a5
fix(runtime-dom): allow force updating value bindings for controlled inputs
...
fix #1471
2020-06-30 11:23:09 -04:00
Evan You
062835d45a
fix(slots): make compiled slot marker non-enumerable
...
fix #1470
2020-06-30 09:27:06 -04:00
Jian Zhang
0017caf68b
chore: avoid unnecessary function call ( #1464 )
2020-06-29 18:52:44 -04:00
Evan You
ec3c12ee10
release: v3.0.0-beta.16
2020-06-29 18:34:50 -04:00
Evan You
86d3972855
fix(transition-group): vue 2 compatible handling of transition-group w/ multiple v-for children
...
fix #1126
2020-06-29 18:16:10 -04:00
Evan You
d32aed0906
chore: add display names for dom transition components
2020-06-29 18:16:09 -04:00
蜗牛老湿
f8c6f8c7b5
refactor(runtime-dom): insertBefore anchor null equals appendChild ( #1463 )
2020-06-29 13:19:31 -04:00
Evan You
82b28a5ecb
fix(types): should unwrap array -> object -> ref
2020-06-29 12:26:28 -04:00
Pick
028a8c20df
test(reactivity): adjust ref unwrap test inside arrays ( #1457 )
2020-06-29 12:10:29 -04:00
underfin
d4cd12887e
fix(BaseTransition): collect correct children with slot passthrough in Transition
( #1456 )
...
fix #1455
2020-06-29 12:04:28 -04:00
Evan You
afe13e0584
fix(ssr): fix ssr scopeId on component root
2020-06-27 00:27:44 -04:00
Evan You
978d9522e8
fix(runtime-core): fix scopeId inheritance for component inside slots
2020-06-26 22:28:55 -04:00
Evan You
0dd5cde861
fix(runtime-core): handle patch flag de-op from cloned vnode
...
close #1426
2020-06-26 18:05:53 -04:00
Evan You
f3f94e4deb
fix(runtime-core): component root should inherit scopeId from vnode
...
fix #1399
2020-06-26 17:54:44 -04:00
Evan You
70ea76ae0c
fix(slots): filter out compiler marker from resolved slots
...
fix #1451
2020-06-26 17:18:39 -04:00
Evan You
7777473ddd
chore: fix missed snapshots
2020-06-26 17:00:50 -04:00
Evan You
d5dbd27193
fix(ssr): handle fallthrough attrs in ssr compile output
2020-06-26 16:55:37 -04:00
Evan You
30584bcc61
perf(ssr): avoid unnecessary await ticks when unrolling sync buffers
2020-06-26 11:10:30 -04:00
Stanislav Lashmanov
6bc0e0a31a
feat(ssr): renderToStream ( #1197 )
2020-06-26 11:09:47 -04:00
Evan You
e0d19a6953
fix(runtime-core): always check props presence in public instance proxy
...
When the there are props merged from mixins or extends, the component itself
may not have a props property.
fix #1236 where merged props are not exposed in production
2020-06-26 10:19:07 -04:00
Evan You
5453e791ae
chore: fix types
2020-06-26 10:07:07 -04:00
edison
178e89305d
chore(reactivity): use consistent naming for ReactiveFlags enum ( #1428 )
2020-06-26 09:32:09 -04:00
Evan You
e765d81404
fix(runtime-core): fix component name inference in warnings
...
Should not pollute component definition name property
fix #1418
2020-06-26 09:28:15 -04:00
underfin
1c4e1b6792
fix(runtime-core): should remove no longer present camelCase props ( #1413 )
...
fix #1412
2020-06-26 09:16:06 -04:00
Evan You
056cac9185
feat(runtime-core): expose version on app instance
...
close #1449
2020-06-26 09:03:55 -04:00
Evan You
bf84ac8396
fix(transition): enter/leave hook timing consistency with v2
...
close #1145
2020-06-25 17:56:36 -04:00
Evan You
9edbc27f45
fix(transition): fix css:false with hooks with no explicit done callback
...
close #1149
2020-06-25 17:40:49 -04:00
underfin
2ff8dcab0a
fix(BaseTransition): fix BaseTransition
delayed leave with mode in-out
( #1404 )
...
fix #1400
2020-06-25 17:00:19 -04:00
underfin
299fda46a1
test(TransitionGroup): test for TransitionGroup
( #1269 )
2020-06-25 16:38:22 -04:00
Evan You
7ae70ea44c
fix(transition): fix appear hooks handling
2020-06-25 16:02:28 -04:00
Evan You
acd3156d2c
fix(transition): fix dom transition cancel hooks not being called
2020-06-25 15:03:58 -04:00
underfin
b3bdd7046f
test(Transition): more complete transition e2e tests ( #1151 )
2020-06-25 14:04:23 -04:00
Pick
f54be6a462
refactor(types): simplify UnwrapRef + specify iterable method return type ( #1444 )
2020-06-25 12:04:14 -04:00
underfin
c43a6e61a0
perf(reactivity): should not track __v_isRef
( #1392 )
2020-06-25 11:40:49 -04:00
Albert Liu
a60f3b1430
refactor(types): remove unnecessary as any ( #1411 )
2020-06-25 11:05:39 -04:00
Bener
81849d760b
chore: fix markdown example with overflowing content ( #1410 ) [ci skip]
2020-06-25 11:03:59 -04:00
underfin
d7beea015b
fix(v-show): fix v-show unmount with falsy value ( #1403 )
...
fix #1401
2020-06-25 10:58:31 -04:00
underfin
90c285c5c8
fix(compiler-sfc): transformAssetUrl should ignore inline data url ( #1431 )
2020-06-23 21:46:18 -04:00
Evan You
37a5952c09
build(deps): bump postcss-modules
2020-06-23 11:34:02 -04:00
HcySunYang
8a2cf21b71
perf(compiler-core): treat v-for with constant exp as a stable fragment ( #1394 )
2020-06-17 16:13:14 -04:00
Pick
8899a90fc4
refactor(types): simplified UnwrapRef ( #1390 )
2020-06-17 16:06:55 -04:00
57code
04751ff634
test(vue): test mount with a selector ( #1391 )
2020-06-17 16:01:35 -04:00
Joseph Xia
d57749cbf7
test(compiler-core): add v-if with comments test case ( #1389 )
2020-06-17 16:01:12 -04:00
hanmingyang
bf5aba8f19
test(compiler-sfc):test isRelativeUrl ( #1377 )
2020-06-17 15:57:26 -04:00
Evan You
e68209bfdb
test: bump jest
2020-06-16 12:11:51 -04:00
Evan You
2961e149c9
fix(types): ensure correct public props interface for defineComponent instance type
...
fix #1385
2020-06-16 12:00:18 -04:00
underfin
6c8bfa1018
fix(runtime-core): fix parent el update on nested HOC self-update ( #1360 )
...
fix #1357
2020-06-15 16:46:29 -04:00
Evan You
be69beed5e
fix(runtime-core): cloneVNode should preserve correct ctx instance when normalizing ref
...
fix #1311
2020-06-15 15:57:37 -04:00
Evan You
605953a154
refactor: only inject rest args for member expression handlers + fix tests
2020-06-15 15:24:46 -04:00
Cathrine Vaage
7e28173312
fix(compiler-core/v-on): pass noninitial arguments in cached event handlers ( #1265 )
2020-06-15 15:04:03 -04:00
underfin
35dbef268c
fix(compiler-core): should not prefix object method ( #1375 )
2020-06-15 11:20:00 -04:00
Cédric Exbrayat
68e2d6c68a
fix(types): export ComponentOptionsMixin ( #1361 )
...
The newly introduced `ComponentOptionsMixin` was not re-exported.
2020-06-15 11:13:00 -04:00
Cathrine Vaage
250eb4a5bc
fix(runtime-core): properly capitalize v-on object keys ( #1358 )
2020-06-15 11:12:08 -04:00
Evan You
e52b7cd7e7
fix(compiler-core): ignore comment nodes in transition children
...
fix #1352
2020-06-15 11:08:55 -04:00
Evan You
afb231ec5c
fix(compiler-core): skip empty expressions when validating expressions in browser mode
2020-06-15 10:59:03 -04:00
Carlos Rodrigues
6e9789cef1
test(runtime-core): test multi-root ref assignment ( #1374 )
2020-06-15 09:31:14 -04:00
蜗牛老湿
79686e90e2
test: 100% vue packages coverage ( #1371 )
2020-06-15 09:29:58 -04:00
Evan You
cf2f278f48
release: v3.0.0-beta.15
2020-06-12 18:09:05 -04:00
Evan You
51510adacb
test: fix hmr test
2020-06-12 17:17:01 -04:00
Evan You
6abac87b3d
fix(runtime-core): track access to $attrs
...
fix #1346
2020-06-12 16:59:15 -04:00
Evan You
91fa52850a
chore: lint for unused arguments
2020-06-12 16:31:31 -04:00
Evan You
825ec1500f
fix(compiler-core): support static slot names containing dots for 2.x compat
...
close #1241
2020-06-12 16:09:27 -04:00
Evan You
0d26413433
fix(compiler-core): fix parsing for directive with dynamic argument containing dots
2020-06-12 15:59:13 -04:00
Evan You
e76ed4c269
refactor(hmr): simplify hmr force update check
2020-06-12 14:53:48 -04:00
Carlos Rodrigues
8f2a7489b7
fix(hmr): force full update on nested child components ( #1312 )
2020-06-12 14:31:56 -04:00
Evan You
4492b88938
fix: always treat spellcheck and draggable as attributes
...
fix #1350
2020-06-12 12:40:54 -04:00
Evan You
8084156f4d
fix(runtime-core): mount children before setting element props
...
fix #1318 , close #1320
2020-06-12 12:14:39 -04:00
underfin
aac9b03c11
fix(runtime-core): should pass instance to patchProp on mount for event error handling ( #1337 )
...
fix #1336
2020-06-12 11:59:55 -04:00
Aneryu
90c3532946
fix(runtime-dom): compatibility for cases where event.timeStamp is 0 ( #1328 )
...
close #1325
2020-06-12 11:00:37 -04:00
Albert Liu
47c4ffbdbe
refactor(types): improve typing ( #1317 )
2020-06-12 10:46:44 -04:00
Cédric Exbrayat
cab769f174
fix(types): add RawSlots in h signature ( #1293 )
2020-06-12 10:38:56 -04:00
CodinCat
c7cd386194
test(e2e): enhance and fix test of svg example ( #560 )
2020-06-12 10:32:27 -04:00
underfin
c463a71bb3
fix(ssr): fix unintended error on Teleport
hydration mismatch ( #1271 )
...
fix #1235
2020-06-12 10:01:56 -04:00
Evan You
d863ce721f
refactor: improve base getter readability
2020-06-12 09:25:40 -04:00
Yang Mingshan
80e1693e1f
fix(reactivity): replaced ref in reactive object should be tracked ( #1058 )
2020-06-12 09:20:43 -04:00
tangjinzhou
d437a0145d
fix(runtime-core): default value for function type prop ( #1349 )
...
fix #1348
2020-06-12 09:06:28 -04:00
Carlos Rodrigues
4c4f39b6ea
types(props): fix typo on prototype ( #1334 )
2020-06-11 17:34:21 -04:00
蜗牛老湿
f3eac11058
chore(reactivity): use ReactiveFlags instead of __v_ properties ( #1313 )
2020-06-11 17:32:44 -04:00
underfin
d4e9b19932
perf: only patch string style when value has changed ( #1310 )
...
fix #1309
2020-06-11 17:25:39 -04:00
ysj16
1f2926a33c
perf: optimize LRU access in keep-alive ( #1316 )
2020-06-11 17:24:50 -04:00
underfin
0b93440146
chore: better warning when remounting a mounted app ( #1297 )
2020-06-11 17:20:38 -04:00
蜗牛老湿
426803046f
test(reactivity): 100% reactivity coverage ( #1299 )
2020-06-11 16:55:56 -04:00
Evan You
3fafc3b3ac
types(runtime-core): improve types for transition hook ( #1009 )
...
* types(runtime-core): improve types for transition hook
fix #1000
* Update packages/runtime-core/src/components/BaseTransition.ts
Co-Authored-By: Carlos Rodrigues <david-181@hotmail.com>
* fix: run ci
Co-authored-by: Carlos Rodrigues <david-181@hotmail.com>
2020-06-11 16:39:18 -04:00
underfin
419b86d190
feat(types): support typing directive value via generic argument ( #1007 )
...
close #998
2020-06-11 16:37:14 -04:00
Evan You
e29f0b3fc2
feat(compiler): better warning for invalid expressions in function/browser mode
...
fix #1266
2020-06-11 16:31:51 -04:00
Evan You
10bb34bb86
fix(reactivity): fix toRaw for objects prototype inherting reactive
...
fix #1246
2020-06-11 15:12:57 -04:00
Evan You
f3623e4d1e
fix(compiler-core): fix prod whitespace/comment removal
...
fix #1256
2020-06-11 11:45:10 -04:00
Evan You
80c868aefe
workflow: setup eslint for prohibited syntax and globals
...
fix #1285
2020-06-10 16:54:23 -04:00
Evan You
e4dc03a8b1
feat(types): adjust type exports for manual render function and tooling usage
...
- v-model and v-show directives are now exposed as public
- compiler-used runtime helpers are now exposed for TS tooling, but marked as @private
close #1329
2020-06-10 14:57:21 -04:00
Evan You
9b5d13e598
fix: bail stringification for slots
...
fix #1281 , close #1286
2020-06-10 14:31:59 -04:00
蜗牛老湿
fbaf52ae9f
fix(compiler-dom): add tfoot,caption,col element on bail stringification ( #1333 )
2020-06-10 14:24:51 -04:00
Carlos Rodrigues
958b6c80cf
fix(compiler-core): allow multiline expression on v-model and v-on ( #1234 )
2020-06-09 17:24:48 -04:00
Carlos Rodrigues
c97d1bae56
fix(reactivity): shallowReactive collection to not-readonly ( #1212 )
2020-06-09 17:20:30 -04:00
Evan You
3f80183f1f
test: test for table stringification bail
2020-06-09 17:10:07 -04:00
Evan You
a938b61edc
fix(compiler-dom): bail stringification on table elements
...
close #1230 , close #1268
2020-06-09 17:02:27 -04:00
Zardddddd60
64ec8bfb54
fix(compiler-core): bail static stringfication even threshold is met ( #1298 )
...
fix #1128
2020-06-09 16:26:03 -04:00
Evan You
215c106297
test: test for mixin/extends props merging
2020-06-09 16:20:33 -04:00
Evan You
2417a0cb30
fix(runtime-core): respect props from mixins and extends
...
fix #1236 , close #1250
2020-06-09 11:27:40 -04:00
Evan You
dc986addd9
fix(build): retain main vue package side effect for compiler registration
...
fix #1263
2020-06-09 10:38:56 -04:00
doly mood
d3c436ae2e
feat(types): mixins/extends support in TypeScript ( #626 )
2020-06-09 10:37:00 -04:00
Carlos Rodrigues
97dedebd80
feat(types): update to Typescript 3.9 ( #1106 )
2020-06-09 10:17:42 -04:00
Alexandre Bonaventure Geissmann
4a5021e763
fix(runtime-core): use array destructuring instead of object for edge compat ( #1302 )
...
fix #1294
2020-06-05 10:57:44 -04:00
Evan You
2408a65662
fix(hmr): force full update in child component on slot update
2020-05-29 10:50:01 -04:00
Evan You
5ddd9d2417
fix(compiler-sfc): asset url transform should ignore direct hash urls
2020-05-29 10:20:57 -04:00
Evan You
5f15d9aa4b
fix(compiler-ssr): should escape template string interpolation chars in generated code
2020-05-26 14:38:24 -04:00
Evan You
38f2d23a60
feat(runtime-core): add inheritRef option + make <transition> & <keep-alive> inherit refs
2020-05-22 10:26:17 -04:00
Evan You
0a7932c6b3
fix(ssr): should set ref on hydration
2020-05-21 17:37:23 -04:00
zhangzhonghe
5a3b44caf7
chore: fix typo in comment ( #1217 )
2020-05-21 09:34:05 +02:00
Evan You
32b3f78a36
release: v3.0.0-beta.14
2020-05-18 14:42:11 -04:00
Evan You
24168bbb33
chore: improve comments
2020-05-18 11:17:57 -04:00
Carlos Rodrigues
488e2bcfef
fix(reactivity): shallowReactive for collections ( #1204 )
...
close #1202
2020-05-18 11:17:37 -04:00
Yang Mingshan
ba62ccd55d
feat(watch): support directly watching reactive object in multiple sources with deep default ( #1201 )
2020-05-18 11:02:51 -04:00
underfin
83b7158017
fix(v-model): should not trigger updates during input composition ( #1183 )
2020-05-18 10:23:55 -04:00
underfin
520cad7d4d
test(runtime-core): add test case for createBlock
with disableTracking ( #1169 )
2020-05-18 10:20:05 -04:00
underfin
efa3214866
test(runtime-core): add test for renderSlot
( #1160 )
2020-05-18 10:14:09 -04:00
zhangenming
6574a5bf29
chore: merge imports ( #1182 )
2020-05-18 10:12:14 -04:00
Albert Kaaman
ab86b190ce
fix(runtime-dom): event handlers with modifiers should get all event arguments ( #1193 )
2020-05-18 10:11:39 -04:00
underfin
d73a508a73
fix(Transition): fix validate duration ( #1188 )
2020-05-18 10:09:10 -04:00
Carlos Rodrigues
8e30d0c74c
types(server-renderer): export SSRContext type ( #1199 )
2020-05-18 10:07:20 -04:00
Jian Zhang
b2dd5612ff
chore: fix typo Stringiable -> Stringifiable ( #1200 )
2020-05-18 10:06:57 -04:00
Evan You
dd2bfb5a8f
fix(compiler-dom): should bail stringification on runtime constant regardless of position
...
ref: vuejs/vite#157
2020-05-18 10:04:18 -04:00
Evan You
449fd05ad6
release: v3.0.0-beta.13
2020-05-16 21:53:47 -04:00
Evan You
d965bb6227
feat: improve static content stringiciation
...
Now a single static vnode can contain stringified content
for multiple consecutive nodes, which greatly improves the
coverage of this optimization.
2020-05-16 21:30:16 -04:00
Evan You
59d50dad9c
wip: account for text call nodes in stringify chunks
2020-05-15 17:55:24 -04:00
Evan You
b26976b6d8
wip: fix tests
2020-05-15 17:05:26 -04:00
Evan You
dc229bcda4
wip(hydration): hydrate multi-element static nodes
2020-05-15 16:30:20 -04:00
Evan You
1184118d23
wip(runtime): test for static vnode handling
2020-05-15 16:11:53 -04:00
Evan You
baa6973b13
wip(compiler): tests for new stringification
2020-05-15 15:50:42 -04:00
Evan You
dbf627f136
wip(runtime): support multi-element static vnode in renderer
2020-05-15 15:12:26 -04:00
Evan You
cb9444807e
wip(compiler): improve node stringification to support adjacent nodes
2020-05-15 12:58:44 -04:00
Evan You
c2f3ee4dc0
chore: use jsdoc comments in ast
2020-05-15 11:00:07 -04:00
Evan You
3c88299f6a
release: v3.0.0-beta.12
2020-05-11 15:52:37 -04:00
Evan You
2bc6a8c1cf
fix(hmr): static child traversal should only affect elements
2020-05-11 15:46:30 -04:00
Evan You
aa1672a8bd
test: fix hmr test id
2020-05-11 15:44:13 -04:00
Evan You
7887c54dfe
release: v3.0.0-beta.11
2020-05-11 14:25:36 -04:00
Evan You
1b946c85df
fix(hmr): always force full child component props update in HMR mode
2020-05-11 14:17:35 -04:00
Evan You
5b8883a846
fix(runtime-core): should not take unmount children fast path for v-for fragments
...
fix #1153
2020-05-11 13:53:28 -04:00
underfin
697de07e63
fix(transition): should reset enter class after appear ( #1152 )
2020-05-11 12:30:10 -04:00
Evan You
9d111f534a
test(transition): refactor DOM transition test
2020-05-11 11:52:08 -04:00
Evan You
66c5a556dc
fix(hmr): ensure static nodes inherit DOM element in hmr mode
...
fix #1156
2020-05-11 11:34:42 -04:00
Evan You
a165d8293d
feat(runtime-core): expose isVNode
2020-05-11 11:09:36 -04:00
Evan You
13acb9134e
release: v3.0.0-beta.10
2020-05-07 11:21:18 -04:00
underfin
66dd1aaecd
test(Transition): test transition ( #1140 )
2020-05-07 11:10:28 -04:00
Evan You
d10835aee7
fix(compiler-sfc): template with alt lang should be parsed as raw text
...
fix #1120
2020-05-07 11:08:17 -04:00
Evan You
e58beecc97
refactor(compiler/types): convert compiler options documentation to jsdoc
...
BREAKING CHANGE: `getTextMode` compiler option signature has changed from
```ts
(tag: string, ns: string, parent: ElementNode | undefined) => TextModes
```
to
```ts
(node: ElementNode, parent: ElementNode | undefined) => TextModes
```
2020-05-07 11:01:36 -04:00
Evan You
304ab8c99b
fix(compiler-dom): bail static stringfication on non-attr bindings
...
fix #1128
2020-05-07 10:32:54 -04:00
Evan You
2f69167e88
perf(compiler-sfc): only add character mapping if not whitespace
2020-05-07 10:32:54 -04:00
Evan You
675330ba54
fix(compiler): warn against v-bind with empty attribute value
...
ref: https://github.com/vuejs/vue-next/issues/1128#issuecomment-624647434
2020-05-07 10:32:54 -04:00
Evan You
698c8d35d5
feat(compiler-sfc): improve sfc source map generation
2020-05-07 01:37:34 -04:00
龙腾道
e08f6f0ede
fix(reactivity): use correct thisArg for collection method callbacks ( #1132 )
2020-05-06 13:41:34 -04:00
Evan You
8df6bc0132
refactor: reuse parseStringStyle across compiler and runtime
2020-05-06 11:22:49 -04:00
t-zzzzzzzzz
2d9f136077
fix(runtime-dom/style): normalize string when merging styles ( #1127 )
2020-05-06 11:14:07 -04:00
susiwen8
df4150dc4c
chore: LegacyOptions doesn't need to be exported ( #1134 )
2020-05-06 11:07:11 -04:00
Evan You
d66211849c
fix(compiler-sfc): should not transform external asset url with
...
includeAbsolute: true
2020-05-06 09:41:31 -04:00
龙腾道
037fa07113
fix(reactivity): fix __proto__ access on proxy objects ( #1133 )
2020-05-06 09:08:44 -04:00
Evan You
c5dcfe16f6
perf(compiler-sfc): improve asset url trasnform efficiency
2020-05-05 16:07:15 -04:00
Evan You
40166a8637
feat(types): re-expose trasnformVNodeArgs
2020-05-05 10:45:33 -04:00
Evan You
c32ed52b97
release: v3.0.0-beta.9
2020-05-04 17:14:42 -04:00
Evan You
f05aeea7ae
fix(transitionGroup): fix transition children resolving condition
2020-05-04 17:09:19 -04:00
Evan You
6a0be882d4
feat(compiler-sfc): support transforming absolute asset urls
...
BREAKING CHANGE: `@vue/compiler-sfc`'s `transformAssetUrlsBase` option
has been removed. It is merged into `trasnformAssetUrls` which now also
accepts the format of
```ts
{
base?: string
includeAbsolute?: string
tags?: { [name: string]: string[] }
}
```
2020-05-04 16:45:19 -04:00
Evan You
f9a3766fd6
fix(compiler): bail strigification on runtime constant expressions
2020-05-04 15:15:26 -04:00
Evan You
3c3fe88c64
release: v3.0.0-beta.8
2020-05-04 10:49:23 -04:00
underfin
26a50ce67f
fix(transitionGroup): inner children should skip comment node ( #1105 )
2020-05-04 10:41:48 -04:00
Evan You
3c60d40827
feat(shared): support Map and Set in toDisplayString
...
close #1067 , close #1100
2020-05-04 10:38:03 -04:00
Evan You
ff97be15c3
chore: ensure warn is dev only
2020-05-04 10:17:40 -04:00
Evan You
c6217b4d46
refactor(types): use pure type symbol
2020-05-04 09:38:32 -04:00
Evan You
6b33cc4229
feat(watch): support directly watching reactive object with deep default
...
Also warn invalid watch sources
close #1110
2020-05-04 09:27:28 -04:00
Evan You
64ef7c76bf
feat(types): re-expose resolve asset utitlies and registerRuntimeCompiler in type definitions
...
close #1109
2020-05-04 08:52:59 -04:00
Evan You
bc1f097e29
fix(types/reactivity): fix ref type inference on nested reactive properties with .value
...
fix #1111
2020-05-04 08:51:17 -04:00
Evan You
f40f3a0e95
fix(reactivity): avoid polluting Object prototype
2020-05-04 08:51:17 -04:00
Jackliu
42a99d28ae
chore: typo ( #1113 )
2020-05-04 10:30:24 +02:00
Evan You
6be2b73f8a
fix(reactivity): check own property for existing proxy of target
...
fix #1107
2020-05-03 15:36:19 -04:00
XinPing Wang
8bab78b648
test: reactive proto
2020-05-03 15:36:19 -04:00
Evan You
01b7e90eac
fix(hmr): handle cases where instances with same id having different definitions
2020-05-03 13:52:09 -04:00
Evan You
0c48558f4c
chore: remove commented stale code [ci skip]
2020-05-02 17:08:54 -04:00
Evan You
0dc44a6a86
release: v3.0.0-beta.7
2020-05-02 17:06:16 -04:00
Evan You
d901b6bea8
refactor(reactivity): use more efficient reactive checks
...
WeakSets and WeakMaps shows degrading performance as the amount of
observed objects increases. Using hidden keys result in better
performance especially when repeatedly creating large amounts of
reactive proxies.
This also makes it possible to more efficiently declare non-reactive
objects in userland.
2020-05-02 16:58:17 -04:00
Evan You
36972c20b5
feat(compiler-sfc): add transformAssetUrlsBase option
2020-05-02 16:58:17 -04:00
Eduardo San Martin Morote
71a942b25a
fix(warn): cast symbols to strings ( #1103 )
2020-05-02 10:26:32 -04:00
Evan You
583ba0c172
feat(types): re-expose withDirectives
as public type
2020-05-02 10:19:40 -04:00