Evan You
75113c8d3e
test: fix tests
2019-12-14 22:28:54 -05:00
Evan You
2b178981bc
refactor: move isRuntimeCompiled flag into component.ts
2019-12-14 22:15:38 -05:00
Evan You
46c5393224
perf(reactivity): optimize effect stack
2019-12-13 23:06:55 -05:00
Evan You
49a50d3c9c
feat(compiler): accept line offset in codeframe
2019-12-13 18:01:04 -05:00
Evan You
d6acb9c073
fix(hmr): force full diff on HMR
2019-12-13 17:57:21 -05:00
Evan You
b15951e190
chore: remove line numbers from default errors
2019-12-13 17:28:12 -05:00
Evan You
865c1ce9ee
feat(compiler-sfc): generate source map for template block
2019-12-13 13:22:30 -05:00
Evan You
9e757b5cc5
refactor(compiler-core): move compile into separate file
2019-12-13 13:22:15 -05:00
Evan You
8277d131c4
refactor(compiler): downgrade to source-map v6 for sync API
2019-12-13 12:56:31 -05:00
Evan You
a0ee4fbc36
types: use more specific type names
2019-12-13 11:24:09 -05:00
Evan You
fa5390fb6f
fix(fragment): properly remove compiler generated fragments
2019-12-13 10:31:40 -05:00
Cr
6797e35703
chore: fix typos ( #541 )
2019-12-13 11:49:01 +01:00
Evan You
7431c2e46e
fix(runtime-core): ensure $forceUpdate behavior consistency with 2.x
2019-12-12 22:12:45 -05:00
Evan You
2c3c65772b
perf: optimize props resolution
...
Store the keys for props that need default or boolean casting
during normalization, so that later we only need to iterate
through this array instead of the entire props object.
2019-12-12 22:07:48 -05:00
Evan You
c36941c498
fix(compiler-core): should apply text transform to <template v-for> children
2019-12-12 21:09:47 -05:00
Evan You
8ffd79c754
fix(compiler-core): handle template root and template v-if as stable fragments
2019-12-12 21:09:47 -05:00
Evan You
f77ae132e5
feat(hmr): reload and force slot update on re-render
2019-12-12 21:09:47 -05:00
Evan You
ef50c333ce
fix(core): generate fragment root with patchFlag + optimize fragment w/ patchFlag
2019-12-12 21:09:47 -05:00
Evan You
efe39db023
feat(runtime-core): hot module replacement
2019-12-12 21:09:47 -05:00
Evan You
3116b5d6c3
fix(runtime-core): initialize renderCache if not present
2019-12-12 21:09:47 -05:00
Evan You
5658f8b678
feat(compiler): expose generateCodeFrame
2019-12-12 21:09:47 -05:00
Evan You
3de7315b7a
types: use RawSourceMap types
2019-12-12 21:09:46 -05:00
Evan You
5ecc77df5a
chore: fix missed save
2019-12-11 10:39:29 -05:00
Evan You
b983c68575
test(e2e): avoid relying on CDN + reduce debounce delay
2019-12-11 10:37:03 -05:00
Evan You
4d730f464d
refactor: move runtime compile error handling to vue
2019-12-11 10:25:34 -05:00
Evan You
c202bd6ac0
test(e2e): use better mocking strategy for commits example
2019-12-11 10:15:52 -05:00
CodinCat
f48a4f71a7
test(e2e): add e2e test for commits example ( #526 )
...
* test(e2e): add e2e test for commits example
* test(e2e): add waitForResponse to enhance the test
* test(e2e): use mocks for commits test
2019-12-11 09:51:15 -05:00
Evan You
d3d4fe84cd
fix(vue): properly cache runtime compilation
2019-12-11 09:46:42 -05:00
宋铄运
559fa27185
test(compiler-sfc): more tests ( #536 )
2019-12-11 09:26:14 -05:00
CodinCat
532d3b68ab
test(e2e): add e2e test for markdown example ( #533 )
2019-12-11 09:13:47 -05:00
Evan You
818bf17cb7
feat(compiler-sfc): use @vue/compiler-dom by default
2019-12-10 22:23:55 -05:00
Evan You
136ab753b3
build: adjust esm formats
2019-12-10 22:14:02 -05:00
Evan You
8ed04ed503
build: release script
2019-12-10 21:29:52 -05:00
Evan You
cd5ba7cfcc
build: remove lerna
2019-12-10 18:24:59 -05:00
Evan You
3e3188fa9f
refactor: adjust sfc compiler options
2019-12-10 17:41:56 -05:00
Evan You
95b2cb6fd2
fix(compiler-core): should only parse interpolations in DATA text mode
2019-12-10 15:30:17 -05:00
Evan You
5cd1495767
refactor(compiler-core): centralize compiler options
2019-12-10 12:53:26 -05:00
Evan You
03301b264e
workflow(template-explorer): fix cacheHandlers disabled state
2019-12-10 12:46:38 -05:00
Evan You
c8c5b16ef7
feat(compiler-sfc): properly pass on options
2019-12-10 12:22:23 -05:00
宋铄运
0a14c04c81
feat(compiler-sfc): compile template WIP ( #534 )
2019-12-10 12:01:56 -05:00
Evan You
b198a665cf
workflow: add size-check package
2019-12-10 11:31:57 -05:00
Evan You
c97d83aff2
refactor(runtime-core): tweak component proxy implementation
2019-12-10 11:14:29 -05:00
Haoqun Jiang
d1527fbee4
test: add test for runtime-dom/modules/class ( #75 )
2019-12-09 14:52:20 -05:00
GCA
2383b45e32
chore: fix typo ( #530 ) [ci skip]
2019-12-09 14:23:57 -05:00
Evan You
e7e1314ccc
test: fix warning
2019-12-09 14:23:01 -05:00
CodinCat
12ec62e688
test(e2e): add e2e test for tree example ( #529 )
2019-12-09 14:20:56 -05:00
Pocho
55e234816e
types(compiler-sfc): use specific preprocessLang instead of string ( #528 )
2019-12-09 14:19:39 -05:00
CodinCat
9b5c4a2ec1
chore: fix debounce of markdown example ( #525 ) [ci skip]
2019-12-09 14:16:44 -05:00
Cédric Exbrayat
65bfe0130c
chore: fix grid composition example ( #519 ) [ci skip]
...
Commit 27a72bd8f1
fixed the example but introduced a useless import.
2019-12-09 14:16:21 -05:00
Evan You
c53fae987d
feat(runtime-core): warn incorrect root props value ( close #375 )
2019-12-09 14:06:31 -05:00
Evan You
83428fb844
chore: update readme
2019-12-09 14:06:31 -05:00
ztplz
02478b48eb
chore: use const instead of let ( #524 )
2019-12-06 00:10:06 +01:00
meteorlxy
f3007a6b4f
fix(core): use String to convert primitive types ( #518 )
2019-12-04 18:28:52 +01:00
Evan You
42cdf8c409
test(e2e): extract e2eUtils + test both api styles of todomvc
2019-12-04 12:13:00 +01:00
Evan You
27a72bd8f1
chore: fix example
2019-12-04 11:54:24 +01:00
CodinCat
8ebb503f73
test(e2e): complete e2e test for todomvc ( #517 )
2019-12-04 05:53:51 -05:00
Evan You
89a187b895
refactor(reactivity): separate track and trigger operation types
2019-12-03 11:30:24 -05:00
hujiulong
7522d4d61a
types(transition): props should be declared by generic ( #514 )
2019-12-03 10:12:54 -05:00
Gabriel Loiácono
1f3e4f8bcc
refactor(compiler-sfc): changed string typeof to isString util ( #513 )
2019-12-02 23:08:52 -05:00
likui
cf2a0b281f
feat(compiler-sfc): transform srcset ( #501 )
2019-12-02 23:06:14 -05:00
Evan You
74fd6635ce
test(e2e): wip e2e test for todomvc
2019-12-02 18:18:02 -05:00
Evan You
a984d3a531
test: skip optimizing single text root
2019-12-02 15:49:59 -05:00
Evan You
46490ac1a5
chore: more examples
2019-12-02 15:22:04 -05:00
Evan You
a58da63f16
fix(core): should not warn extraneous props when root is toggled
2019-12-02 15:17:30 -05:00
Evan You
42f3f9e832
fix(compiler-core): should pre-convert text nodes in all non-element cases
2019-12-02 15:17:00 -05:00
Evan You
57bbbb227c
fix(core): propsProxy should not convert non-reactive nested values
2019-12-02 14:11:12 -05:00
likui
ef2786151e
feat(compiler-sfc): handle pad option ( #509 )
2019-12-02 10:43:30 -05:00
hujiulong
08a1de5e29
chore: remove jsx.d.ts from package.files ( #512 )
2019-12-02 09:40:42 -05:00
Evan You
e0a9cf5ace
chore: add a few 2.x examples
2019-12-01 23:54:32 -05:00
Evan You
24f6d63c6a
fix(core): use correct parent for v-if toggle
2019-12-01 23:42:14 -05:00
Evan You
f5f2dca132
feat(core): support recursively resolving self component by name
2019-12-01 23:17:00 -05:00
Evan You
c8895e7cb9
feat(vue): handle template querySelector
2019-12-01 23:09:34 -05:00
JiZhi
ec2feeafad
chore: typo ( #488 ) [ci skip]
2019-12-01 12:03:26 -05:00
likui
810b3a3e2a
feat(compiler-sfc): transform asset url ( #500 )
2019-12-01 12:02:53 -05:00
Evan You
22957436e8
chore: default transition css prop to true
2019-11-29 17:38:29 -05:00
Evan You
6d254da532
feat(transition): add runtime props validation for TransitionGroup
2019-11-29 16:47:41 -05:00
Evan You
0e3e07079a
feat(transition): properly handle transition & transition-group in compiler
2019-11-29 12:42:04 -05:00
Evan You
4e8d57bdfb
feat(compiler-core): options.isBuiltInComponent
2019-11-29 12:13:49 -05:00
Evan You
52134a88d0
fix(compiler-core): handle base-transition
2019-11-29 12:02:31 -05:00
Evan You
52239d137c
types: fix class module transition class typing
2019-11-29 11:53:54 -05:00
Evan You
800b0f0e7a
feat(transition): TransitionGroup
2019-11-28 18:41:01 -05:00
Evan You
020e109abd
chore: todos
2019-11-28 15:22:30 -05:00
likui
65118327ff
feat(compiler-sfc): gen source map for style and script block ( #497 )
2019-11-28 15:21:02 -05:00
Evan You
dcfac07431
chore: update readme for runtime-test
2019-11-28 14:43:12 -05:00
Evan You
a758540b6a
test(transition): test usage with KeepAlive
2019-11-28 12:16:42 -05:00
Gabriel Loiácono
812a0626ce
style(compiler): changed object-assign to spread ( #507 )
2019-11-28 10:49:39 -05:00
fisker Cheung
b87c05159b
style(runtime-core): remove a unnecessary continue ( #505 )
2019-11-28 10:45:48 -05:00
fisker Cheung
92b02dc48f
chore: comment typo ( #506 )
2019-11-28 10:01:53 +01:00
Evan You
32602ccee1
test(transition): in-out, appear & persisted
2019-11-27 17:54:41 -05:00
Evan You
7aac3418c0
test(transition): test for mode: out-in
2019-11-27 15:25:18 -05:00
Evan You
7209fb66c2
test: wip more tests for BaseTransition
2019-11-27 12:17:16 -05:00
Gabriel Loiácono
fbcc47841b
fix(runtime-core): fix error when passed plugin is undefined ( #502 )
2019-11-27 09:18:03 -05:00
Gabriel Loiácono
d4f4c7c4d4
fix(runtime-core): renderList with default value when source is undefined ( #498 )
2019-11-26 21:00:32 -05:00
Evan You
bb39910e8e
test: wip tests for BaseTransition
2019-11-26 18:07:05 -05:00
Evan You
460b053f74
test: improve events module test stability
2019-11-26 18:06:55 -05:00
Evan You
43097987cf
feat(core): respect $stable slots flag per RFC
2019-11-26 10:03:36 -05:00
Gabriel Loiácono
009dc80674
perf(compiler-core): set simple expression outside map ( #485 )
2019-11-26 09:02:22 -05:00
JiZhi
fc28a677bc
chore: fix warn typo ( #496 )
2019-11-26 09:27:51 +01:00
Rustin
d5f4cc9c42
chore: fix comment typo ( #499 )
...
* chore(typo): fix comment typo
* chore(typo): fix comment typo of KeepAlive
2019-11-26 09:26:03 +01:00
Evan You
c6fb506fc0
feat(transition): compat with keep-alive
2019-11-25 17:35:15 -05:00