]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Tue, 1 Oct 2019 21:53:57 +0000 (17:53 -0400)]
feat(compiler): annotate patchFlags in generated code
Evan You [Tue, 1 Oct 2019 20:55:04 +0000 (16:55 -0400)]
build: use brotli for checking compressed file sizes
Evan You [Tue, 1 Oct 2019 20:48:20 +0000 (16:48 -0400)]
wip(compiler): codegen node w/ block optimization for v-for
Evan You [Tue, 1 Oct 2019 19:43:59 +0000 (15:43 -0400)]
test(compiler): codegen tests for Sequence & Conditional expressions
Evan You [Tue, 1 Oct 2019 19:04:58 +0000 (15:04 -0400)]
test(compiler): tests for vIf codegen w/ blocks optimization
Evan You [Tue, 1 Oct 2019 16:25:13 +0000 (12:25 -0400)]
wip(compiler): generate blocks for v-if
Evan You [Tue, 1 Oct 2019 13:27:34 +0000 (09:27 -0400)]
wip: Sequence & Conditional expressions for AST
dependabot-preview[bot] [Tue, 1 Oct 2019 11:14:13 +0000 (11:14 +0000)]
build(deps-dev): bump lint-staged from 9.4.0 to 9.4.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.0 to 9.4.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.0...v9.4.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Tue, 1 Oct 2019 01:17:12 +0000 (21:17 -0400)]
feat(compiler): generate patchFlags for runtime
Evan You [Mon, 30 Sep 2019 18:58:20 +0000 (14:58 -0400)]
test: record snapshots for text optimization
Evan You [Mon, 30 Sep 2019 18:51:55 +0000 (14:51 -0400)]
feat(compiler): optimize text by merging adjacent nodes
Evan You [Mon, 30 Sep 2019 17:13:32 +0000 (13:13 -0400)]
wip: drop class opt for now + move lazy requires to utils
Evan You [Mon, 30 Sep 2019 14:52:50 +0000 (10:52 -0400)]
perf: avoid using WeakSet for isRef check
Evan You [Mon, 30 Sep 2019 14:45:50 +0000 (10:45 -0400)]
perf: using a _isVNode field is faster than a weakset
dependabot-preview[bot] [Mon, 30 Sep 2019 07:42:20 +0000 (07:42 +0000)]
build(deps-dev): bump rollup from 1.21.4 to 1.22.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.21.4 to 1.22.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.21.4...v1.22.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Sep 2019 07:39:12 +0000 (07:39 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.4.5 to 7.4.6
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/gulp-core-build-typescript_v7.4.5...@microsoft/gulp-core-build-typescript_v7.4.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Sep 2019 07:38:50 +0000 (07:38 +0000)]
build(deps-dev): bump rollup-plugin-alias from 2.0.0 to 2.0.1
Bumps [rollup-plugin-alias](https://github.com/frostney/rollup-plugin-alias) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/frostney/rollup-plugin-alias/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-alias/blob/master/CHANGELOG.md)
- [Commits](https://github.com/frostney/rollup-plugin-alias/compare/v2.0.0...v2.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Sat, 28 Sep 2019 20:02:08 +0000 (16:02 -0400)]
feat(compiler): handle complex destructure expressions in v-for
Evan You [Sat, 28 Sep 2019 18:15:10 +0000 (14:15 -0400)]
test: improve coverage
Evan You [Sat, 28 Sep 2019 18:05:10 +0000 (14:05 -0400)]
test(compiler): test v-slot transform
Evan You [Sat, 28 Sep 2019 17:12:41 +0000 (13:12 -0400)]
test: test slotFunction codegen
Evan You [Sat, 28 Sep 2019 05:35:49 +0000 (01:35 -0400)]
refactor: simplify slot extraneous child check
Evan You [Sat, 28 Sep 2019 04:19:24 +0000 (00:19 -0400)]
refactor(compiler): split slot / slot outlet / slot scope handling into separate transforms
Evan You [Sat, 28 Sep 2019 03:20:26 +0000 (23:20 -0400)]
fix(compiler): improve auto prefixing cases
Evan You [Sat, 28 Sep 2019 02:49:20 +0000 (22:49 -0400)]
wip(compiler): tweak codegen, avoid duplicated asset resolution, improve formatting
Evan You [Sat, 28 Sep 2019 02:25:32 +0000 (22:25 -0400)]
feat(compiler): transform component slots
Evan You [Sat, 28 Sep 2019 00:29:20 +0000 (20:29 -0400)]
feat(compiler): transform slot outlets
Evan You [Fri, 27 Sep 2019 15:42:02 +0000 (11:42 -0400)]
refactor(compiler): separate Interpolation, SimpleExpression & CompoundExpression types
Evan You [Fri, 27 Sep 2019 13:25:52 +0000 (09:25 -0400)]
refactor(compiler): provide context.resetMapping()
Rahul Kadyan [Fri, 27 Sep 2019 13:19:03 +0000 (18:49 +0530)]
fix(compiler): generate correct mappings for v-for and object properties (#69)
dependabot-preview[bot] [Fri, 27 Sep 2019 06:52:14 +0000 (06:52 +0000)]
build(deps-dev): bump rollup-plugin-typescript2 from 0.24.2 to 0.24.3
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.24.2...0.24.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Fri, 27 Sep 2019 06:51:40 +0000 (06:51 +0000)]
build(deps-dev): bump lint-staged from 9.3.0 to 9.4.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.3.0 to 9.4.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.3.0...v9.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Thu, 26 Sep 2019 18:55:53 +0000 (14:55 -0400)]
feat(compiler): correct source map generation
Evan You [Thu, 26 Sep 2019 16:22:31 +0000 (12:22 -0400)]
fix: do not use lookbehind regex yet
Evan You [Thu, 26 Sep 2019 15:51:04 +0000 (11:51 -0400)]
build: adjust compiler-core export to avoid collision
Evan You [Thu, 26 Sep 2019 14:13:46 +0000 (10:13 -0400)]
feat(compiler): include names in source map
dependabot-preview[bot] [Thu, 26 Sep 2019 06:42:22 +0000 (06:42 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.4.4 to 7.4.5
Bumps [@microsoft/api-extractor](https://github.com/Microsoft/web-build-tools) from 7.4.4 to 7.4.5.
- [Release notes](https://github.com/Microsoft/web-build-tools/releases)
- [Commits](https://github.com/Microsoft/web-build-tools/compare/@microsoft/gulp-core-build-typescript_v7.4.4...@microsoft/gulp-core-build-typescript_v7.4.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Thu, 26 Sep 2019 02:29:37 +0000 (22:29 -0400)]
test: compiler integration tests
Evan You [Thu, 26 Sep 2019 01:02:46 +0000 (21:02 -0400)]
test: test for transformStyle
Evan You [Wed, 25 Sep 2019 23:17:45 +0000 (19:17 -0400)]
fix: fix source map by fixing advancePositionWithMutation
Evan You [Wed, 25 Sep 2019 19:09:58 +0000 (15:09 -0400)]
wip(compiler): adjust statement positions
Evan You [Wed, 25 Sep 2019 18:13:33 +0000 (14:13 -0400)]
feat(compiler): transformStyle + context.hoist
Evan You [Wed, 25 Sep 2019 16:39:46 +0000 (12:39 -0400)]
wip(compiler): property deduping
Evan You [Wed, 25 Sep 2019 13:23:34 +0000 (09:23 -0400)]
feat(compiler): include ast in compile result
Evan You [Wed, 25 Sep 2019 11:30:14 +0000 (07:30 -0400)]
chore: fix comment
Evan You [Wed, 25 Sep 2019 03:01:57 +0000 (23:01 -0400)]
test: move source map test to compile.spec.ts
Evan You [Wed, 25 Sep 2019 02:56:57 +0000 (22:56 -0400)]
test: test the right branches of code
Evan You [Wed, 25 Sep 2019 02:50:00 +0000 (22:50 -0400)]
chore: fix browser build treeshaking for transformExpression
Evan You [Wed, 25 Sep 2019 02:39:20 +0000 (22:39 -0400)]
test: tests for v-on transform
Evan You [Wed, 25 Sep 2019 02:03:28 +0000 (22:03 -0400)]
test: tests for v-bind transform
Evan You [Wed, 25 Sep 2019 01:32:29 +0000 (21:32 -0400)]
feat: renderList helper for v-for
Evan You [Wed, 25 Sep 2019 00:51:48 +0000 (20:51 -0400)]
feat: v-on with no argument
Evan You [Tue, 24 Sep 2019 20:40:32 +0000 (16:40 -0400)]
test: more coverage
Evan You [Tue, 24 Sep 2019 20:35:01 +0000 (16:35 -0400)]
test: improve coverage
Evan You [Tue, 24 Sep 2019 19:51:52 +0000 (15:51 -0400)]
chore: test todos
Evan You [Tue, 24 Sep 2019 19:49:02 +0000 (15:49 -0400)]
test: tests for codegen
Evan You [Tue, 24 Sep 2019 18:37:14 +0000 (14:37 -0400)]
feat(runtime): support rendering comment nodes
Evan You [Tue, 24 Sep 2019 16:12:57 +0000 (12:12 -0400)]
test: finish tests for transformExpression
Evan You [Tue, 24 Sep 2019 01:22:52 +0000 (21:22 -0400)]
wip: test for transformExpression
dependabot-preview[bot] [Tue, 24 Sep 2019 06:47:49 +0000 (06:47 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.4.2 to 7.4.4
Bumps [@microsoft/api-extractor](https://github.com/Microsoft/web-build-tools) from 7.4.2 to 7.4.4.
- [Release notes](https://github.com/Microsoft/web-build-tools/releases)
- [Commits](https://github.com/Microsoft/web-build-tools/compare/@microsoft/api-extractor_v7.4.2...@microsoft/gulp-core-build-typescript_v7.4.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Tue, 24 Sep 2019 00:45:40 +0000 (20:45 -0400)]
test: test transformElements
Evan You [Mon, 23 Sep 2019 21:31:11 +0000 (17:31 -0400)]
test: refactor vIf tests
Evan You [Mon, 23 Sep 2019 21:16:07 +0000 (17:16 -0400)]
test: refactor vFor tests
Evan You [Mon, 23 Sep 2019 19:36:30 +0000 (15:36 -0400)]
feat(compiler): ensure interpolation expressions are wrapped with toString()
Evan You [Mon, 23 Sep 2019 17:56:56 +0000 (13:56 -0400)]
fix: handle nested scope identifiers
Evan You [Mon, 23 Sep 2019 17:29:41 +0000 (13:29 -0400)]
refactor: useWith -> prefixIdentifiers
Evan You [Mon, 23 Sep 2019 17:25:18 +0000 (13:25 -0400)]
feat(compiler): expression prefixing + v-for scope analysis
Evan You [Mon, 23 Sep 2019 11:57:56 +0000 (07:57 -0400)]
wip: fix transform order
Evan You [Mon, 23 Sep 2019 06:52:54 +0000 (02:52 -0400)]
wip: expression rewrite
Evan You [Mon, 23 Sep 2019 03:31:35 +0000 (23:31 -0400)]
chore: fix todo
dependabot-preview[bot] [Mon, 23 Sep 2019 07:03:14 +0000 (07:03 +0000)]
build(deps-dev): bump lint-staged from 9.2.5 to 9.3.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.2.5 to 9.3.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.2.5...v9.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Mon, 23 Sep 2019 03:07:36 +0000 (23:07 -0400)]
feat(compiler): handle runtime helper injection
Evan You [Mon, 23 Sep 2019 02:19:42 +0000 (22:19 -0400)]
feat(compiler): basic v-bind & v-on transforms
Evan You [Mon, 23 Sep 2019 01:10:22 +0000 (21:10 -0400)]
wip: improve v-if & v-for codegen output formatting
Evan You [Mon, 23 Sep 2019 00:56:24 +0000 (20:56 -0400)]
chore: rename test dir
Evan You [Mon, 23 Sep 2019 00:55:18 +0000 (20:55 -0400)]
fix: make sure v-if and v-for work together
Evan You [Sun, 22 Sep 2019 21:06:46 +0000 (17:06 -0400)]
wip: improve v-if codegen output formatting
Evan You [Sun, 22 Sep 2019 21:02:32 +0000 (17:02 -0400)]
fix(transform): transform should still apply even when node is removed
Evan You [Sun, 22 Sep 2019 20:50:57 +0000 (16:50 -0400)]
feat(compiler): element codegen
Evan You [Sun, 22 Sep 2019 17:05:19 +0000 (13:05 -0400)]
chore: fix parserOptions usage of props
Evan You [Sat, 21 Sep 2019 21:48:17 +0000 (17:48 -0400)]
test: fix tests
Evan You [Sat, 21 Sep 2019 21:42:12 +0000 (17:42 -0400)]
feat(compiler): element transform
Evan You [Sat, 21 Sep 2019 19:47:26 +0000 (15:47 -0400)]
wip: element transforms
Haoqun Jiang [Fri, 20 Sep 2019 22:17:35 +0000 (06:17 +0800)]
test: add tests for rendererChildren (#52)
* test: [wip] add tests for rendererChildren
* chore: use serializeInner for clearer output
* fix: should remove the text node if content is empty
* test: also test for appended content
* test: inserting & removing
* test: moving children
* refactor: use a helper function
* test: finish tests
* test: duplicate keys tests belong to keyed children block
* fix(runtime-test): fix insert when moving node in the same parent
* fix: fix failing test cases for rendererChildren
* test: handle rendererChildren edge case
Evan You [Fri, 20 Sep 2019 16:19:52 +0000 (12:19 -0400)]
feat(compiler): set sourcesContent for source map
Evan You [Fri, 20 Sep 2019 16:16:19 +0000 (12:16 -0400)]
refactor: move compile into compiler-core
Evan You [Fri, 20 Sep 2019 04:56:02 +0000 (00:56 -0400)]
test: test on-the-fly compilation
Evan You [Fri, 20 Sep 2019 04:31:14 +0000 (00:31 -0400)]
chore: tweak size script
Evan You [Fri, 20 Sep 2019 04:24:16 +0000 (00:24 -0400)]
feat: on-the-fly template compilation
Evan You [Fri, 20 Sep 2019 04:12:37 +0000 (00:12 -0400)]
feat: expose compiler APIs
Evan You [Fri, 20 Sep 2019 03:19:48 +0000 (23:19 -0400)]
build: move named char references to json file to speed up build
Evan You [Fri, 20 Sep 2019 03:05:51 +0000 (23:05 -0400)]
feat(compiler): basic codegen with source map support
Evan You [Fri, 20 Sep 2019 01:18:18 +0000 (21:18 -0400)]
perf(compiler): further improve advanceBy perf
Evan You [Thu, 19 Sep 2019 19:41:17 +0000 (15:41 -0400)]
test(compiler): transformIf
Evan You [Thu, 19 Sep 2019 17:59:24 +0000 (13:59 -0400)]
perf: avoid cloning in parser advanceBy
Evan You [Thu, 19 Sep 2019 17:48:32 +0000 (13:48 -0400)]
refactor: cleanup unused variables in vFor
Evan You [Thu, 19 Sep 2019 17:40:08 +0000 (13:40 -0400)]
test: update snapshots
Evan You [Thu, 19 Sep 2019 17:36:27 +0000 (13:36 -0400)]
chore: nest v-for tests
Evan You [Thu, 19 Sep 2019 16:20:59 +0000 (12:20 -0400)]
test(compiler): tests for ast transform
Rahul Kadyan [Thu, 19 Sep 2019 17:23:49 +0000 (22:53 +0530)]
feat(compiler-core): add parser transform for v-for directive (#65)
* feat(compiler-core): add parser transform for v-for directive
* fix: Include source location for expressions
* chore: remove comment
* refactor(compiler-core): extract hepler functions to utils