Commit Graph

50 Commits

Author SHA1 Message Date
Evan You
47f488350c chore: run updated prettier 2021-07-19 18:24:18 -04:00
Evan You
810fe4d583 wip: default mode for compat build 2021-04-17 16:05:27 -04:00
Evan You
79cbf21c3e wip: generate codeframe for compiler deprecations 2021-04-16 11:51:47 -04:00
Evan You
d0ea74556f fix: init devtools after feature flag checks 2021-02-24 15:59:38 -05:00
underfin
4d9bcb768d
fix(devtools): init devtools in production (#2906) 2021-01-05 12:54:43 -05:00
Evan You
7a3b964a1b chore: only log prod tip in non-bundler builds 2020-11-06 15:07:35 -05:00
Evan You
6ba7ba47d5 feat: custom formatters 2020-10-13 11:50:24 -04:00
Evan You
b3b65b4058 fix: runtime compilation marker should be applied in exposed compile function 2020-07-28 11:11:26 -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
Guillaume Chau
568b6db12b
feat: Initial devtools support (#1125) 2020-07-16 18:18:52 -04:00
蜗牛老湿
79686e90e2
test: 100% vue packages coverage (#1371) 2020-06-15 09:29:58 -04:00
Evan You
80c868aefe workflow: setup eslint for prohibited syntax and globals
fix #1285
2020-06-10 16:54:23 -04:00
Carlos Rodrigues
97dedebd80
feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
Evan You
e954ba21f0 feat(build): provide more specific warnings for runtime compilation
close #1004
2020-04-20 15:23:26 -04: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
c952321fcf wip(compiler-ssr): v-model static types + textarea 2020-02-05 14:23:03 -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
4d730f464d refactor: move runtime compile error handling to vue 2019-12-11 10:25:34 -05:00
Evan You
d3d4fe84cd fix(vue): properly cache runtime compilation 2019-12-11 09:46:42 -05:00
Evan You
c97d83aff2 refactor(runtime-core): tweak component proxy implementation 2019-12-10 11:14:29 -05:00
Evan You
c8895e7cb9 feat(vue): handle template querySelector 2019-12-01 23:09:34 -05:00
Evan You
95d7e1f471 feat: log on the fly template compilation error 2019-10-11 11:16: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
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
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
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
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