Evan You
c32ed52b97
release: v3.0.0-beta.9
2020-05-04 17:14:42 -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
Evan You
0dc44a6a86
release: v3.0.0-beta.7
2020-05-02 17:06:16 -04:00
Evan You
36972c20b5
feat(compiler-sfc): add transformAssetUrlsBase option
2020-05-02 16:58:17 -04:00
Evan You
b570287dfe
release: v3.0.0-beta.6
2020-05-01 18:56:53 -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
Evan You
bd0f7da2c6
build: add browser builds for @vue/compiler-sfc
2020-04-26 01:24:25 -04:00
Evan You
0bb1f67d12
types(compiler-sfc): expose SFCAsyncStyleCompileOptions
2020-04-24 17:11:41 -04:00
Evan You
d29aefcf99
release: v3.0.0-beta.4
2020-04-24 16:20:20 -04:00
Evan You
fa216a0c3a
feat(compiler-sfc): built-in support for css modules
2020-04-24 09:59:52 -04:00
Evan You
20d425fb19
feat(compiler-sfc): add preprocessCustomRequire option
2020-04-24 09:28:03 -04:00
Evan You
6fefeafe98
release: v3.0.0-beta.3
2020-04-20 17:00:26 -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
Cédric Exbrayat
4d014dc3d3
fix(reactivity): remove Symbol.observable ( #968 )
...
* chore: add @types/node as an explicit dependency
As `tsconfig.json` references it, it should be listed in the dependencies.
It currently uses an older version: this commit also bumps to the latest v12 version, and fixes a typing issue.
* fix(reactivity): remove Symbol.observable
`Symbol.observable` is brought by `@types/node@12` and is not a "well-known" typescript symbol https://www.typescriptlang.org/docs/handbook/symbols.html that can be find in lib.es20xx like the others. It has been removed in `@types/node@v13`.
It means that an application using vue@3.0.0-alpha.13 does not compile unless it explicitely adds `@types/node@v12` as a dependency and `node` in its own tsconfig types.
2020-04-16 09:33:30 -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
5bf72517ce
refactor(compiler-sfc): make more explicit regarding template pad behavior
2020-04-03 21:11:26 -04:00
Rahul Kadyan
db50009353
fix(compiler-sfc): always use offset for template block sourcemaps ( #911 )
2020-04-03 21:10:22 -04:00
Evan You
de81faf00a
release: v3.0.0-alpha.10
2020-03-24 18:33:40 -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
3b2d236714
feat(compiler-sfc): add ssr option
2020-03-16 16:24: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
33ab0f8e0f
chore: fix snapshot
2020-02-27 17:15:51 -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
478b4cfb2c
release: v3.0.0-alpha.5
2020-02-18 15:00:55 -05:00
Evan You
e861c6da90
test: test updates for d40c642
2020-02-11 18:40:42 -05:00
Evan You
47e984d31f
refactor(compiler): provide _ctx and _cache via arguments
2020-02-10 17:29:12 -05:00
Dmitry Sharshakov
430d4e10bb
test(compiler-sfc): add real tests for source maps ( #704 )
2020-02-10 09:34:13 -05:00
Evan You
8b2d6a35d0
test: update tests and snapshots for helper prefixing
2020-02-07 19:04:55 -05:00
Jason
2d56dfdc4f
fix(compiler-sfc): handle empty nodes with src attribute ( #695 )
2020-02-04 10:03:32 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00
Evan You
cc47ae0118
test: update snapshots for toDisplayString
2020-01-27 16:00:18 -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
Sören Schwert
c71ca354b9
fix(compiler-sfc): only transform relative asset URLs ( #628 )
2020-01-20 09:57:17 -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
59c595c1e8
refactor: use named export for compiled render function
2019-12-24 11:04:44 -05:00
Evan You
d6275a3c31
fix(sfc): treat custom block content as raw text
2019-12-22 21:09:39 -05:00
Evan You
90ddb7c260
refactor: expose parse in compiler-dom, improve sfc parse error handling
2019-12-22 19:44:21 -05:00
Evan You
362831d8ab
fix(sfc): fix v-slotted attribute injection
2019-12-19 17:54:52 -05:00
Evan You
3a3a24d621
feat(sfc): accept inMap in compileTemplate()
2019-12-19 16:25:05 -05:00
Evan You
c73d889235
test(sfc): test @media and @supports query for scoped css
2019-12-19 14:19:58 -05:00
Evan You
bdbfead1e0
chore: adjust package.json
2019-12-19 14:19:58 -05:00
Evan You
c1959fa64d
build: set compiler-sfc peerDep on vue
2019-12-18 10:00:49 -05:00
Evan You
a894a350cd
test(sfc): test scoped css compilation
2019-12-17 15:20:30 -05:00
Evan You
31ca7858bb
feat(sfc): ::v-global() pseudo selector support
2019-12-17 12:31:38 -05:00
Evan You
f194aa0eea
feat(sfc): ::slotted selector support
2019-12-17 12:31:38 -05:00
Evan You
75113c8d3e
test: fix tests
2019-12-14 22:28:54 -05:00
Evan You
865c1ce9ee
feat(compiler-sfc): generate source map for template block
2019-12-13 13:22:30 -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
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
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
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
Evan You
818bf17cb7
feat(compiler-sfc): use @vue/compiler-dom by default
2019-12-10 22:23:55 -05:00
Evan You
8ed04ed503
build: release script
2019-12-10 21:29:52 -05:00
Evan You
3e3188fa9f
refactor: adjust sfc compiler options
2019-12-10 17:41:56 -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
Pocho
55e234816e
types(compiler-sfc): use specific preprocessLang instead of string ( #528 )
2019-12-09 14:19:39 -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
likui
ef2786151e
feat(compiler-sfc): handle pad option ( #509 )
2019-12-02 10:43:30 -05:00
likui
810b3a3e2a
feat(compiler-sfc): transform asset url ( #500 )
2019-12-01 12:02:53 -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
Gabriel Loiácono
812a0626ce
style(compiler): changed object-assign to spread ( #507 )
2019-11-28 10:49:39 -05:00
likui
1efb35e324
fix(compiler-sfc): should ignore nodes with no children ( #464 )
2019-11-19 09:10:59 -05:00
QuincyChen
4e538ac465
feat(compiler-sfc): add cache for parsing sfc ( #453 )
2019-11-18 13:29:04 -05:00
likui
7f6abda6dd
feat(compiler-sfc): warn duplicate block ( #451 )
2019-11-14 11:50:13 -05:00
ztplz
f9fb43f2e2
chore: fix typo ( #432 )
2019-11-07 09:53:32 +01:00
Evan You
afdca88bf3
chore: remove useless type [ci skip]
2019-11-06 22:35:56 -05:00
Evan You
68f28c2667
refactor: rename files
2019-11-06 22:27:19 -05:00
Evan You
7031e6a07a
feat: (wip) setup compiler-sfc
2019-11-06 21:58:15 -05:00