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
1d9f8fc979
release: v3.0.0-alpha.12
2020-04-08 18:59:49 -04:00
Evan You
7402951d94
release: v3.0.0-alpha.11
2020-04-03 21:45:50 -04:00
Evan You
eee5095692
refactor: rename <portal>
to <teleport>
...
BREAKING CHANGE: `<portal>` has been renamed to `<teleport>`.
`target` prop is also renmaed to `to`, so the new usage will be:
```html
<Teleport to="#modal-layer" :disabled="isMobile">
<div class="modal">
hello
</div>
</Teleport>
```
The primary reason for the renaming is to avoid potential naming
conflict with [native portals](https://wicg.github.io/portals/ ).
2020-04-01 21:55:19 -04:00
Cédric Exbrayat
6a65739f61
chore: readme typos ( #885 )
...
[ci skip]
2020-03-26 09:31:54 -04:00
Evan You
de81faf00a
release: v3.0.0-alpha.10
2020-03-24 18:33:40 -04:00
Evan You
9fc8ade884
chore: update dist file readme
2020-03-23 15:26:16 -04:00
Evan You
4126a9dd51
build: add runtime-global build for vue
2020-03-23 15:09:29 -04:00
Evan You
b8c1be18f3
refactor(types): use stricter settings
...
fix #847
2020-03-23 11:08:22 -04:00
Evan You
5282ff0edb
release: v3.0.0-alpha.9
2020-03-16 18:56:44 -04:00
Evan You
bb7fa3dabc
feat(runtime-core): implement RFC-0020
...
BREAKING CHANGE: data no longer supports object format (per RFC-0020)
2020-03-12 16:13:12 -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
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
9ab22c7ae6
release: v3.0.0-alpha.6
2020-02-22 08:25:32 +01:00
Evan You
99a2e18c97
feat(runtime-core): add watchEffect API
...
BREAKING CHANGE: replae `watch(fn, options?)` with `watchEffect`
The `watch(fn, options?)` signature has been replaced by the new
`watchEffect` API, which has the same usage and behavior. `watch`
now only supports the `watch(source, cb, options?)` signautre.
2020-02-22 08:19:10 +01:00
basvanmeurs
8d817bb446
build: use buildOption to determine runtime compile build ( #742 )
...
This makes it possible to create a separate package that uses runtime compilation.
2020-02-19 09:50:24 -05:00
Evan You
478b4cfb2c
release: v3.0.0-alpha.5
2020-02-18 15:00:55 -05:00
Evan You
aa09f01a1e
chore: mark main package side-effects free
2020-02-15 12:02:00 -05:00
Evan You
6df2aca070
refactor(types): move shapeFlags to shared
2020-02-14 01:36:42 -05:00
Evan You
32d6a46474
build: avoid runtime wildcard import in global build
2020-02-13 18:50:36 -05:00
Evan You
8e19424c04
refactor(security): mark potential unsafe code paths
2020-02-12 15:00:32 -05:00
Evan You
e861c6da90
test: test updates for d40c642
2020-02-11 18:40:42 -05:00
Evan You
0b90baec28
test: increase e2e tests timeout
2020-02-05 21:10:43 -05:00
Evan You
c952321fcf
wip(compiler-ssr): v-model static types + textarea
2020-02-05 14:23:03 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00
Evan You
c07751fd36
refactor: adjust createApp
related API signatures
...
BREAKING CHANGE: `createApp` API has been adjusted.
- `createApp()` now accepts the root component, and optionally a props
object to pass to the root component.
- `app.mount()` now accepts a single argument (the root container)
- `app.unmount()` no longer requires arguments.
New behavior looks like the following:
``` js
const app = createApp(RootComponent)
app.mount('#app')
app.unmount()
```
2020-01-27 16:00:17 -05:00
Evan You
b41677bf42
release: v3.0.0-alpha.3
2020-01-22 11:10:30 -05:00
Evan You
2569890e31
refactor: move mockWarn utility to @vue/shared
...
close #652
2020-01-22 09:29:45 -05:00
Evan You
4f06eebc1c
fix(dom): fix <svg> and <foreignObject> mount and updates
2020-01-21 11:32:33 -05:00
Evan You
9f65d811af
release: v3.0.0-alpha.2
2020-01-13 17:44:30 -05:00
Evan You
1bb1271b5e
release: v3.0.0-alpha.1
2020-01-02 18:25:17 -05:00
Evan You
6614f21bf4
chore: further edit formats and include it in vue package readme [ci skip]
2019-12-23 10:28:40 -05:00
CodinCat
2e3c5aaf5f
test(e2e): add test for svg example ( #551 )
2019-12-20 11:56:36 -05:00
Evan You
94d692b0cf
test: fix tests after missing end tag error location fix
2019-12-20 10:10:08 -05:00
Evan You
bdbfead1e0
chore: adjust package.json
2019-12-19 14:19:58 -05:00
CodinCat
abfea8eb45
test(e2e): add test for grid example ( #545 )
2019-12-18 09:19:31 -05:00
Evan You
5cf7523787
build: export runtime-only build for bundlers by default in main vue package
2019-12-17 18:24:01 -05:00
Evan You
b689ca6e85
test: test scopeId support
2019-12-17 12:31:38 -05:00
Evan You
2b178981bc
refactor: move isRuntimeCompiled flag into component.ts
2019-12-14 22:15:38 -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
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
CodinCat
532d3b68ab
test(e2e): add e2e test for markdown example ( #533 )
2019-12-11 09:13:47 -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
c97d83aff2
refactor(runtime-core): tweak component proxy implementation
2019-12-10 11:14:29 -05:00
CodinCat
12ec62e688
test(e2e): add e2e test for tree example ( #529 )
2019-12-09 14:20:56 -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
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
74fd6635ce
test(e2e): wip e2e test for todomvc
2019-12-02 18:18:02 -05:00
Evan You
46490ac1a5
chore: more examples
2019-12-02 15:22:04 -05:00
Evan You
e0a9cf5ace
chore: add a few 2.x examples
2019-12-01 23:54:32 -05:00
Evan You
c8895e7cb9
feat(vue): handle template querySelector
2019-12-01 23:09:34 -05:00
ztplz
bc053f05cd
chore: use const instead of let ( #437 )
2019-11-07 23:35:22 -05:00
大江东去
a75077569e
test(dom): test using innerHTML as template. ( #372 )
2019-10-25 10:18:46 -04:00
Cr
3f73b8b6cf
chore: fix composition example ( #369 )
2019-10-25 10:00:55 -04:00
Evan You
fd4845c52c
chore: include todomvc examples (need tests!)
2019-10-24 22:23:08 -04:00
Evan You
65a0207c7b
test: test runtime compilation error warning
2019-10-15 22:19:19 -04:00
月迷津渡
f71bf2f1d3
feat: add isCustomElement option ( #299 )
2019-10-15 17:30:47 -04:00
Illya Klymov
e32da9169b
fix(runtime-core): support object syntax for class ( #215 )
2019-10-11 15:09:37 -04:00
Evan You
95d7e1f471
feat: log on the fly template compilation error
2019-10-11 11:16:20 -04:00
Evan You
12b7557e8f
chore: remove no longer necessary global Vue
2019-10-06 11:39:20 -04:00
Stanislav Lashmanov
b7a9c25f14
fix: expose Vue to compiled template ( #120 )
...
This removes the reliance on `Vue` being exposed as a global.
2019-10-06 11:38:05 -04:00
Evan You
b61d9652dd
chore: shorten option name
2019-10-04 09:03:00 -04:00
Evan You
095f5edf8d
feat(compiler): hoist static trees
2019-10-03 23:30:25 -04:00
Evan You
b3b67b8c7d
feat(compiler): ensure interpolation expressions are wrapped with toString()
2019-09-23 15:36:30 -04:00
Evan You
3a177a18d2
feat(compiler): element codegen
2019-09-22 16:50:57 -04:00
Evan You
8a923f6a52
refactor: move compile into compiler-core
2019-09-20 12:16:19 -04:00
Evan You
3e1973f065
test: test on-the-fly compilation
2019-09-20 00:56:02 -04:00
Evan You
3ddd121b19
feat: on-the-fly template compilation
2019-09-20 00:24:16 -04:00
Evan You
d7aab859a3
feat: expose compiler APIs
2019-09-20 00:12:37 -04:00
Evan You
132cef9063
refactor: further tweak compiler layers
2019-09-17 11:57:37 -04:00
Evan You
1c8f5b612a
feat(compiler): scaffold compiler-dom
2019-09-16 15:06:45 -04:00
Evan You
c833db9c97
feat: production tip
2019-09-03 20:51:42 -04:00
Evan You
b2d269a651
build: use api-extractor for type rollup
2019-09-03 12:16:22 -04:00
Evan You
e05673f4d3
refactor: rename packages
2018-10-26 15:44:50 -04:00
Evan You
0857d96438
build: add vue package
2018-10-23 11:58:37 -04:00
Evan You
f57ca5e189
build: rename vue-compat
2018-10-23 11:44:56 -04:00
Evan You
7d091b5e91
refactor: createComponentInstance needs only 1 argument
2018-10-17 16:37:45 -04:00
Evan You
6e04850d71
build: adjust types build script
2018-10-16 17:41:59 -04:00
Evan You
149d82d618
refactor: option merging + extract helper functions
2018-10-16 15:47:51 -04:00
Evan You
60e803ce62
feat: support defining data in constructor/initialzers
2018-10-11 13:54:35 -04:00
Evan You
83605ef26c
refactor: remove inheritAttrs / nativeOn, enforce explicit fallthrough
2018-10-09 21:10:30 -04:00
Evan You
ba62deb5d9
types: simplify options types
2018-10-09 13:59:30 -04:00
Evan You
d22b71b27e
refactor: types refactor
2018-10-08 18:09:13 -04:00
Evan You
743a3c2567
chore: export all api from vue
2018-10-03 10:30:31 -04:00
Evan You
1ef0d03829
chore: comments
2018-09-20 02:11:05 -04:00
Evan You
a89bbc018b
build: add sideEffects: false flags
2018-09-20 00:02:48 -04:00
Evan You
232d14c0dd
test: basic 2.x compat test case
2018-09-19 23:43:27 -04:00
Evan You
b3208a5941
wip: root Vue compat
2018-09-19 23:19:25 -04:00
Evan You
360ab65117
build: add vue 2.x compat package
2018-09-19 21:52:24 -04:00