beary
b984d47ac4
fix(types/jsx): update innerHTML property in jsx typing ( #1814 )
2020-08-12 15:50:11 -04:00
Eduardo San Martin Morote
00683fce9a
fix(runtime-dom): patch form
as an attribute ( #1788 )
...
Close #1787
2020-08-06 09:32:28 -04:00
Evan You
11ed210391
chore: fix tests
2020-08-03 18:01:07 -04:00
Evan You
8d4abc3814
chore: unset removed invokers
2020-08-03 17:56:55 -04:00
Evan You
1c967fc44b
fix(runtime-dom): fix v-on same computed handler on multiple elements
...
fix #1747
2020-08-03 17:55:22 -04:00
Evan You
0cd98c3040
fix(runtime-dom): style binding multi value support
...
fix #1759
2020-08-03 17:13:17 -04:00
Evan You
848d9ce2ea
release: v3.0.0-rc.5
2020-07-28 17:42:05 -04:00
underfin
07ece2e926
fix(style-vars): fix css vars on component with suspense as root ( #1718 )
2020-07-28 15:30:18 -04:00
Evan You
5c74243211
test: move mockWarn into setup files
2020-07-27 22:58:51 -04:00
Evan You
d63daaf9b6
release: v3.0.0-rc.4
2020-07-21 15:40:46 -04:00
Evan You
7753485baa
release: v3.0.0-rc.3
2020-07-21 15:27:26 -04:00
Evan You
a28a11ef22
chore: make app root attribute consistent with scopeId attributes
2020-07-21 14:56:28 -04:00
Evan You
c852bf18d7
fix(v-model): v-model listeners should not fallthrough to plain element root
...
fix #1643
2020-07-21 14:17:48 -04:00
learningMaster
324167d3d2
test(runtime-dom): add test for vModel composition session ( #1631 )
2020-07-21 10:34:08 -04:00
Evan You
54727f9874
feat: provide ability to overwrite feature flags in esm-bundler builds
...
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.
This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
2020-07-20 21:51:30 -04:00
Evan You
ad199e1a25
fix(build): make transition tree-shakeable again
2020-07-20 16:17:14 -04:00
Evan You
1f4045a086
release: v3.0.0-rc.2
2020-07-19 14:52:42 -04:00
motao
b8db7ab889
test(runtime-dom): improve v-on system key modifiers test ( #1597 )
2020-07-18 22:55:39 -04:00
Evan You
0ea14cade9
release: v3.0.0-rc.1
2020-07-17 15:30:17 -04:00
Evan You
5ed73cd874
release: v3.0.0-beta.24
2020-07-16 13:51:52 -04:00
Evan You
8b5d153d7f
release: v3.0.0-beta.23
2020-07-16 12:48:56 -04:00
Evan You
44e6da1402
fix(runtime-dom): unref when setting useCssVars
2020-07-15 18:31:10 -04:00
Evan You
fcbefdb769
release: v3.0.0-beta.22
2020-07-15 12:43:41 -04:00
Evan You
32a4cb804b
test: improve coverage
2020-07-15 10:38:45 -04:00
Evan You
9188e9ea74
release: v3.0.0-beta.21
2020-07-14 17:18:07 -04:00
Evan You
cb6a0915c5
fix(runtime-dom): remove attrs with nullish values
...
fix #1576
2020-07-14 16:25:21 -04:00
Evan You
00ab9e2e85
refactor: adjust event options handling to be JSX friendly
2020-07-14 13:20:59 -04:00
Evan You
380c6792d8
fix(v-on): refactor DOM event options modifer handling
...
fix #1567
Previously multiple `v-on` handlers with different event attach option
modifers (`.once`, `.capture` and `.passive`) are generated as an array
of objects in the form of `[{ handler, options }]` - however, this
makes it pretty complex for `runtime-dom` to properly handle all
possible value permutations, as each handler may need to be attached
with different options.
With this commit, they are now generated as event props with different
keys - e.g. `v-on:click.capture` is now generated as a prop named
`onClick.capture`. This allows them to be patched as separate props
which makes the runtime handling much simpler.
2020-07-14 11:48:05 -04:00
Evan You
8b320cc12f
fix(runtime-dom/v-on): only block event handlers based on attach timestamp
...
fix #1565
2020-07-13 14:50:11 -04:00
Pick
09f61b4049
types(runtime-core): adjust Renderer's type declaration ( #1566 )
2020-07-13 12:44:37 -04:00
Evan You
b9595e64cf
feat: ssr support for <style vars>
2020-07-12 18:04:09 -04:00
Evan You
5f271515cf
refactor: shorten scoped css var / animation prefix
2020-07-10 18:47:31 -04:00
Evan You
73807aeaf7
types: fix jsx type collision with generated type after concatenation
2020-07-10 18:04:44 -04:00
Evan You
6647e34ce7
refactor: adjust useCSSVars scoped usage
2020-07-10 10:19:16 -04:00
Evan You
879ea17985
test: tests for useCSSVars
2020-07-10 09:44:00 -04:00
Evan You
9f706a9f5e
feat(runtime-dom): useCssVars
2020-07-09 16:25:29 -04:00
Evan You
20df2f3817
release: v3.0.0-beta.20
2020-07-08 12:45:30 -04:00
Felix Rilling
829b35e426
chore: typo fixes ( #1546 )
...
* chore: fix typos in comments/JSDoc.
* chore: fix typo in internal function name.
* chore: fix typos in test comments/descriptions/variable names.
2020-07-08 12:32:42 +02:00
Evan You
d5ab70ba66
release: v3.0.0-beta.19
2020-07-07 10:04:31 -04:00
wonderful-panda
a5b4332c69
fix(types/tsx): add JSX.IntrinsicAttributes definition ( #1517 )
...
fix #1516
2020-07-06 21:59:26 -04:00
Evan You
9ee85a3783
chore: fix unintended import
2020-07-06 20:41:38 -04:00
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
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
7f83856f34
release: v3.0.0-beta.18
2020-07-01 21:06:25 -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
Evan You
f6da6bf999
release: v3.0.0-beta.17
2020-06-30 12:10: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
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
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
bf84ac8396
fix(transition): enter/leave hook timing consistency with v2
...
close #1145
2020-06-25 17:56:36 -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
d7beea015b
fix(v-show): fix v-show unmount with falsy value ( #1403 )
...
fix #1401
2020-06-25 10:58:31 -04:00
Evan You
cf2f278f48
release: v3.0.0-beta.15
2020-06-12 18:09:05 -04:00
Evan You
4492b88938
fix: always treat spellcheck and draggable as attributes
...
fix #1350
2020-06-12 12:40:54 -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
underfin
d4e9b19932
perf: only patch string style when value has changed ( #1310 )
...
fix #1309
2020-06-11 17:25:39 -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
Carlos Rodrigues
97dedebd80
feat(types): update to Typescript 3.9 ( #1106 )
2020-06-09 10:17:42 -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
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
underfin
83b7158017
fix(v-model): should not trigger updates during input composition ( #1183 )
2020-05-18 10:23:55 -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
Evan You
449fd05ad6
release: v3.0.0-beta.13
2020-05-16 21:53:47 -04:00
Evan You
1184118d23
wip(runtime): test for static vnode handling
2020-05-15 16:11:53 -04:00
Evan You
dbf627f136
wip(runtime): support multi-element static vnode in renderer
2020-05-15 15:12:26 -04:00
Evan You
3c88299f6a
release: v3.0.0-beta.12
2020-05-11 15:52:37 -04:00
Evan You
7887c54dfe
release: v3.0.0-beta.11
2020-05-11 14:25:36 -04:00
underfin
697de07e63
fix(transition): should reset enter class after appear ( #1152 )
2020-05-11 12:30:10 -04:00
Evan You
13acb9134e
release: v3.0.0-beta.10
2020-05-07 11:21:18 -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
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
0dc44a6a86
release: v3.0.0-beta.7
2020-05-02 17:06:16 -04:00
Evan You
b570287dfe
release: v3.0.0-beta.6
2020-05-01 18:56:53 -04:00
Evan You
98bee596bd
fix(runtime-core): should catch dom prop set TypeErrors
...
based on #1051
2020-05-01 18:47:27 -04:00
Evan You
b40fcbc4c6
fix(types): augment ref unwrap bail types in appropriate packages
...
Packages can now augment the ref unwrap bail types in their own `d.ts`.
Also updated the build script to auto concat any files in a package's
`types` directory to the final generated `d.ts`.
- `@vue/reactivity` should no longer require `libs: ["DOM"]` in tsconfig
- Properly bail on `VNode` and `ComponentPublicInstance` in runtime-core
2020-05-01 16:14:30 -04:00
Evan You
20bc7ba1c5
fix(runtime-dom): should not coerce nullish values to empty strings for non-string dom props
...
fix #1049
close #1092 , close #1093 , close #1094
2020-05-01 11:06:24 -04:00
HiiTea
22717772dd
chore: fix typos ( #1090 )
2020-05-01 09:42:58 -04:00
Evan You
c9bf7ded2e
refactor(types): mark internal API exports and exclude from d.ts
...
BREAKING CHANGE: Internal APIs are now excluded from type decalrations.
2020-04-30 17:04:35 -04:00
Evan You
a5bb1d02b7
release: v3.0.0-beta.5
2020-04-30 16:20:25 -04:00
underfin
8ed3455251
fix(transition-group): should collect raw children with Fragment ( #1046 )
...
fix #1045
2020-04-30 15:06:50 -04:00
Evan You
386b093554
fix(hmr): support hmr for static nodes
2020-04-30 14:45:25 -04:00
Evan You
d29aefcf99
release: v3.0.0-beta.4
2020-04-24 16:20:20 -04:00
Evan You
6fefeafe98
release: v3.0.0-beta.3
2020-04-20 17:00:26 -04:00
Andrew Talbot
054ccecd58
perf(core): use startsWith
instead of indexOf
( #989 )
2020-04-20 15:44:20 -04:00
Evan You
218e6e1667
build: adjust build formats
...
- Rename `esm` to `esm-browser`
- Add runtime-only build for `esm-browser`
- Add default CDN alias for jsdelivr
2020-04-19 18:43:21 -04:00
Evan You
c1a85cb124
release: v3.0.0-beta.2
2020-04-17 11:01:01 -04:00
Evan You
ca6912554c
release: v3.0.0-beta.1
2020-04-16 15:45:04 -04:00
Evan You
11654a6e50
release: v3.0.0-alpha.13
2020-04-15 12:46:26 -04:00
Evan You
1068212cb2
chore: run prettier
2020-04-15 10:51:07 -04:00
Evan You
d45e47569d
fix(runtime-dom/v-on): support event.stopImmediatePropagation on multiple listeners
...
close #916
2020-04-15 10:35:34 -04:00
Evan You
0869443d01
chore: import toRaw from @vue/reactivity
2020-04-14 09:59:02 -04:00
likui
27b5c71944
fix(runtime-dom): should patch svg innerHtml ( #956 )
2020-04-13 12:13:37 -04:00
Evan You
ab16a065a8
refactor: adjust runtime-dom test structure + tests for dom props
2020-04-10 15:37:30 -04:00
Evan You
ed235f16de
refactor: simplify runtime-dom class tests
2020-04-10 15:23:01 -04:00
Evan You
6eb3399311
fix(runtime-dom): fix patching for attributes starting with on
...
fix #949
BREAKING CHANGE: Only props starting with `on` followed by an uppercase
letter or a non-letter character are considered event listeners.
2020-04-10 11:57:07 -04:00
Evan You
1d9f8fc979
release: v3.0.0-alpha.12
2020-04-08 18:59:49 -04:00
Evan You
42278317e1
fix(transition): should ship props declarations in production
2020-04-07 17:19:37 -04:00
Evan You
f87d6b501e
test: fix runtime-dom v-on test
2020-04-07 11:41:48 -04:00
Evan You
2302dea162
fix(runtime-dom): support native onxxx handlers
...
close #927
2020-04-07 11:34:54 -04:00
Evan You
ec4a4c1e06
refactor(runtime-core): refactor props resolution
...
Improve performance in optimized mode + tests
2020-04-06 17:37:47 -04:00
Jian Zhang
da1fb7afef
fix(runtime-dom): fix getModelAssigner order in vModelCheckbox ( #926 )
2020-04-06 09:55:19 -04:00
Evan You
f42d11e8e1
fix(v-model): handle dynamic assigners and array assigners
...
close #923
2020-04-04 20:51:42 -04:00
Evan You
7402951d94
release: v3.0.0-alpha.11
2020-04-03 21:45:50 -04:00
Evan You
835789532c
test: make events test more stable
2020-04-01 21:59:42 -04:00
Evan You
8080c38323
chore: avoid v-cloak test warning
2020-04-01 21:39:47 -04:00
likui
0ed147d336
fix(runtime-dom): v-cloak should be removed after compile on the root element ( #893 )
...
fix #890
2020-03-31 18:13:59 -04:00
Evan You
b1d0b046af
fix(runtome-dom): properly support creating customized built-in element
2020-03-27 12:39:00 -04:00
Evan You
de81faf00a
release: v3.0.0-alpha.10
2020-03-24 18:33:40 -04:00
ysj16
0dba5d44e6
fix(TransitionGroup): ignore comment node when warn (fix#869) ( #875 )
2020-03-24 12:09:42 -04:00
Evan You
0dc2478569
fix(transition): fix duration prop validation
...
fix #868
2020-03-23 11:13:37 -04:00
Evan You
b8c1be18f3
refactor(types): use stricter settings
...
fix #847
2020-03-23 11:08:22 -04:00
Evan You
ba9a91c48c
refactor: remove null comparisons
2020-03-18 18:14:51 -04:00
Evan You
be91b43564
types: improve directive hook argument types
2020-03-18 12:30:26 -04:00
Evan You
5282ff0edb
release: v3.0.0-alpha.9
2020-03-16 18:56:44 -04:00
likui
d318576d74
fix(runtime-dom): patch xlink attribute ( #842 )
2020-03-16 18:46:01 -04:00
Evan You
c450ede12d
feat(ssr): support getSSRProps for vnode directives
2020-03-16 18:36:19 -04:00
Evan You
9eef37fa32
refactor(compiler): remove modelValue from generated code for native v-model
2020-03-16 17:51:56 -04:00
Evan You
206640a2d8
fix(build): remove __RUNTIME_COMPILE__ flag
...
behavior should be consistent in all builds. fix #817
2020-03-11 16:39:26 -04:00
Evan You
ca5f39ee35
refactor(runtime-core): adjust patchProp value arguments order
...
BREAKING CHANGE: `RendererOptions.patchProp` arguments order has changed
The `prevValue` and `nextValue` position has been swapped to keep it
consistent with other functions in the renderer implementation. This
only affects custom renderers using the `createRenderer` API.
2020-03-09 16:15:49 -04:00
Evan You
c75388d538
release: v3.0.0-alpha.8
2020-03-06 15:58:40 -05:00
Evan You
bcb2a9b4a6
build: make @vue/shared public
...
This avoids it being inlined multiple times in esm bundler builds
2020-02-29 22:04:42 -05:00
Evan You
312513d255
release: v3.0.0-alpha.7
2020-02-26 14:36:38 -05:00
Evan You
4a5b91bd1f
fix(runtime-core): fix slot fallback + slots typing
...
fix #773
2020-02-25 09:41:07 -05:00
Evan You
9ab22c7ae6
release: v3.0.0-alpha.6
2020-02-22 08:25:32 +01:00
Evan You
189a0a3b19
chore: use undefined for TS 3.8 compat
2020-02-21 11:38:41 +01:00
Evan You
478b4cfb2c
release: v3.0.0-alpha.5
2020-02-18 15:00:55 -05:00
Evan You
80904e92b8
types: cleanup renderer & hydration typing
2020-02-14 12:33:32 -05:00
Evan You
167f8241bd
refactor(ssr): make hydration logic tree-shakeable
2020-02-14 01:30:08 -05:00
Evan You
42d80b5888
wip(ssr): component hydration
2020-02-13 23:31:03 -05:00
Evan You
6b505dcd23
wip(ssr): basic element hydration
2020-02-13 17:47:00 -05:00
Evan You
8e19424c04
refactor(security): mark potential unsafe code paths
2020-02-12 15:00:32 -05:00
Evan You
d866d389f3
chore: fix import path + comment
2020-02-12 12:12:53 -05:00
Evan You
27913e661a
feat(compiler-dom/runtime-dom): stringify eligible static trees
2020-02-12 11:56:42 -05:00
Jonas
5495c70c4a
fix(transition-group): handle multiple move-classes ( #679 )
...
fix #678
2020-02-10 09:36:19 -05:00
Evan You
c952321fcf
wip(compiler-ssr): v-model static types + textarea
2020-02-05 14:23:03 -05:00
Jacek Karczmarczyk
1b2878d80f
chore: update runtime-dom/README example to latest signature ( #693 ) [ci skip]
2020-02-04 09:24:29 -05:00
Evan You
e6e2c58234
fix(runtime-dom/ssr): properly handle xlink and boolean attributes
2020-01-28 22:03:53 -05:00
Evan You
6f43c4b516
wip(ssr): vdom serialization
2020-01-28 18:48:27 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00