Commit Graph

500 Commits

Author SHA1 Message Date
Daniel Roe e790e1bdd7
build: add production/development export conditions (#9977) 2024-01-04 11:24:17 +08:00
Evan You f70f7ca9ae release: v3.4.4 2024-01-03 18:40:28 +08:00
Evan You 8f85b6da44 release: v3.4.3 2023-12-30 21:34:23 +08:00
Evan You b010cb9939 release: v3.4.2 2023-12-30 19:41:35 +08:00
Evan You f787337b47 release: v3.4.1 2023-12-30 09:02:48 +08:00
Evan You d702b66482 release: v3.4.0 2023-12-29 10:50:32 +08:00
Evan You d5f14ce2b0 chore: link to compile-time flag reference in docs [ci skip] 2023-12-27 13:08:44 +08:00
Evan You ef90a99208 release: v3.4.0-rc.3 2023-12-27 10:15:44 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You 947aacf5ea release: v3.4.0-rc.2 2023-12-26 15:52:53 +08:00
Evan You 9cbb27745d release: v3.4.0-rc.1 2023-12-25 16:42:12 +08:00
Evan You 048dffd7ee release: v3.4.0-beta.4 2023-12-19 18:23:57 +08:00
Evan You 317b783a53 release: v3.4.0-beta.3 2023-12-16 14:41:29 +08:00
Evan You c51ab4c765 release: v3.4.0-beta.2 2023-12-14 10:28:34 +08:00
Evan You 92b8d9cef6 feat(types): remove default jsx global registration
BREAKING CHANGE: Vue no longer registers the global `JSX` namespace by
default.
2023-12-14 10:19:17 +08:00
Evan You e00b160435 release: v3.4.0-beta.1 2023-12-13 18:52:16 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
Divyansh Singh bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550) 2023-12-08 16:41:15 +08:00
Evan You c0d396b785 release: v3.4.0-alpha.4 2023-12-04 23:24:43 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You d5a88ef9d7 release: v3.3.10 2023-12-04 21:42:18 +08:00
Carlos Rodrigues ec715854ca
fix(app): prevent template from being cached between apps with different options (#9724)
close #9618
2023-12-04 16:43:30 +08:00
edison 65f3fe2731
fix(runtime-core): Suspense get anchor properly in Transition (#9309)
close #8105
2023-12-04 16:41:55 +08:00
三咲智子 Kevin Deng 4936d2e11a
fix(compiler-sfc): throw error when failing to load TS during type resolution (#8883) 2023-11-30 18:41:21 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You 7d89887f71 release: v3.4.0-alpha.3 2023-11-28 08:26:01 +08:00
Evan You ebaeb2e0aa release: v3.4.0-alpha.2 2023-11-27 17:26:22 +08:00
Evan You a60ad9180d refactor: swap to new template parser
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
  itself so that SourceLocation.source is no longer needed
  - move v-for expression parsing into the parser itself
  - added nameLoc on AttributeNode for use in transformElement

Tests are not passing yet.
2023-11-25 16:18:29 +08:00
Evan You 65b44045ef wip: parse mode 2023-11-25 16:18:29 +08:00
Evan You 069f838691 release: v3.3.9 2023-11-25 16:11:31 +08:00
三咲智子 Kevin Deng 79b8a0905b
feat!: remove reactivity transform (#9321)
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +08:00
Evan You 1ea775633d chore: Merge branch 'main' into minor 2023-11-21 09:48:26 +08:00
Evan You 8fddb19c3a workflow: use workspace deps 2023-11-21 09:22:12 +08:00
renovate[bot] 16a6438236
chore(deps): update lint (#9627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
Evan You bc5846939c release: v3.3.8 2023-11-06 18:54:26 +08:00
Evan You 3c828f3cfb release: v3.4.0-alpha.1 2023-10-28 11:33:46 +09:00
Evan You 1789c1caac release: v3.3.7 2023-10-25 07:35:08 +08:00
Carlos Rodrigues 00de3e61ed
fix(Suspense): calling hooks before the transition finishes (#9388)
close #5844
close #5952
2023-10-21 21:24:30 +08:00
Evan You a09ed44446 release: v3.3.6 2023-10-20 21:04:11 +08:00
Evan You 5ebb459fc7 release: v3.3.5 2023-10-20 11:50:49 +08:00
renovate[bot] 4711158afe
chore(deps): update dependency marked to v9 (#9324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-10-12 07:27:36 +00:00
renovate[bot] ca00cf245e
chore(deps): update test (major) (#9148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-06 12:12:48 -05:00
丶远方 2ffe3d5b3e
refactor: use symbol for private properties (#8681) 2023-08-22 16:57:15 +08:00
Evan You d2c3d8b70b perf(compiler-sfc): lazy require typescript 2023-06-15 16:38:44 +08:00
三咲智子 Kevin Deng 6f45f76df2
fix(compiler-sfc): don't registerTS when bundling for browsers (#8582) 2023-06-15 16:35:41 +08:00
丶远方 b01fc7ea84
chore: remove unnecessary imports (#8262) 2023-05-19 07:54:12 +08:00
丶远方 5ddeb45e82
chore: remove unused imports (#8327) 2023-05-19 07:47:23 +08:00
Evan You 0e8bbe873e release: v3.3.4 2023-05-18 16:31:03 +08:00
Evan You d621d4c646 fix(build): ensure correct typing for node esm 2023-05-18 13:53:51 +08:00
Evan You fecd5c4044 release: v3.3.3 2023-05-18 13:10:52 +08:00
Evan You a374d7e6ed release: v3.3.2 2023-05-12 13:25:05 +01:00
Evan You 6e1966a92f release: v3.3.1 2023-05-11 09:00:14 +01:00
Evan You 483a4e7e3b release: v3.3.0 2023-05-11 08:44:38 +01:00
Evan You 847658b7a2 release: v3.3.0-beta.5 2023-05-08 16:40:41 +08:00
Evan You cc09cc7e28 release: v3.3.0-beta.4 2023-05-05 17:15:14 +08:00
Evan You 5d4c3c60a8 release: v3.3.0-beta.3 2023-05-01 12:28:29 +08:00
Evan You a778034a3e release: v3.3.0-beta.2 2023-04-25 16:41:04 +08:00
Evan You 1447596bf4 release: v3.3.0-beta.1 2023-04-21 16:26:10 +08:00
Evan You 7b2ff1e207 chore: remove deprecated ref sugar warning 2023-04-21 15:54:51 +08:00
Evan You 5cdaac2590 release: v3.3.0-alpha.13 2023-04-20 21:13:34 +08:00
Evan You 72be89423d release: v3.3.0-alpha.12 2023-04-18 22:18:56 +08:00
Evan You 57f0fbe76a release: v3.3.0-alpha.11 2023-04-17 21:17:17 +08:00
Evan You 33adc2a17a release: v3.3.0-alpha.10 2023-04-17 18:15:17 +08:00
Evan You 3982bef533 feat(compiler-sfc): support resolving type imports from modules 2023-04-15 22:08:39 +08:00
Evan You 681ac7c896 release: v3.3.0-alpha.9 2023-04-08 13:33:46 +08:00
Evan You 036914c10b release: v3.3.0-alpha.8 2023-04-04 18:23:06 +08:00
Evan You 9a09e47667 release: v3.3.0-alpha.7 2023-04-03 18:19:11 +08:00
Evan You 8ac0620c1b release: v3.3.0-alpha.6 2023-03-30 18:22:42 +08:00
Haoqun Jiang ffe679c490
fix(types/jsx): move JSX DOM types back to `@vue/runtime-dom` (#7979) 2023-03-29 20:22:29 +08:00
Leonardo Piccioni de Almeida ff60b933ae
fix(jsx-runtime): handle keys (#7976) 2023-03-29 16:17:34 +08:00
Haoqun Jiang 0f73f394da
fix(types/jsx): jsx-runtime types for global JSX namespace registration (#7978) 2023-03-29 16:15:08 +08:00
Evan You e224922e97 fix(types): revert jsx global removal (to be removed in 3.4) 2023-03-28 11:17:38 +08:00
Remco Haszing 5838950ecf
fix(jsx-runtime): fix automatic runtime implementation (#7959) 2023-03-28 11:06:49 +08:00
Evan You 9a8073d0ae chore: fix type 2023-03-27 18:03:02 +08:00
Evan You 28e30c819d fix(types/jsx): remove $slots children override 2023-03-26 17:44:01 +08:00
Evan You 27e1e38641 release: v3.3.0-alpha.5 2023-03-26 16:52:46 +08:00
Evan You d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- No longer implicitly register global JSX types by default
  - This avoid conflict when using Vue in the same project with React
  - Global registration must now be done by explicitly importing /
    referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
  - Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
  - Can also opt-in per-file with `/** @jsxImportSource vue */`
2023-03-26 16:40:53 +08:00
Evan You 78b86150b8 release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
Evan You 097f6beca2 release: v3.3.0-alpha.3 2023-02-06 10:27:25 +08:00
Evan You 37ec04b984 release: v3.3.0-alpha.2 2023-02-05 16:23:54 +08:00
Evan You 85f4d8ccb9 release: v3.3.0-alpha.1 2023-02-05 11:20:39 +08:00
Evan You eb0c1e7025 build: remove api-extractor 2023-02-03 15:57:00 +08:00
Evan You 53e3533b75 chore: bump deps 2023-02-03 05:47:40 +08:00
Evan You 45984d559f release: v3.2.47 2023-02-02 13:48:18 +08:00
Evan You 29f8cf8b07 release: v3.2.46 2023-02-02 11:32:04 +08:00
Evan You 957722c418 fix(build): ensure type exports is first 2023-02-01 10:49:31 +08:00
Evan You a1b3057c4d test: configure test hooks sequence order, remove workaround 2023-01-27 14:52:41 +08:00
Evan You 28b95daa70 workflow: complete migration from jest to vitest 2023-01-26 22:53:39 +08:00
Evan You 158db33611 wip(vitest-migration): all tests passing 2023-01-26 22:22:43 +08:00
Evan You 8867bb259a wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
Evan You 9d5e30d911 build: bump jest, puppeteer and use official rollup terser plugin 2022-11-14 18:21:58 +08:00
被雨水过滤的空气-Rairn d01c091967
test(Transition): events with arguments (#6823) 2022-11-13 20:45:44 -05:00
Evan You 6f663d47e5 release: v3.2.45 2022-11-11 17:35:27 +08:00
Evan You ec795bfc51 release: v3.2.44 2022-11-10 07:25:22 +08:00
Evan You 71977ec972 release: v3.2.43 2022-11-09 21:00:57 +08:00
Evan You f023d49a49 release: v3.2.42 2022-11-09 11:36:09 +08:00
三咲智子 Kevin Deng fdc5902cce
fix(types/reactivity-transform): fix type when initial value is not used (#6821)
fix #6820
2022-11-08 01:38:53 -05:00
Evan You 9617dd4b2a release: v3.2.41 2022-10-14 18:41:15 +08:00
Evan You 551f606d98 release: v3.2.40 2022-09-28 11:40:24 +08:00
Evan You f79c423621 release: v3.2.39 2022-09-08 10:12:39 +08:00
Evan You 6624ead663 release: v3.2.38 2022-08-30 16:02:01 +08:00
Evan You 0739f8909a fix(custom-element): fix event listeners with capital letter event names on custom elements
close https://github.com/vuejs/docs/issues/1708
close https://github.com/vuejs/docs/pull/1890
2022-08-30 14:07:35 +08:00
Evan You 9f8f07ed38 feat(custom-elements): automatically respect custom elements when compiling in browser 2022-08-30 11:30:52 +08:00
Evan You c1ee6caa82 fix(types): add types field for sub package exports
Add types field for vue/server-renderer and vue/compiler-sfc deep imports
which are necessary when using "moduleResolution": "nodenext"
2022-08-17 07:13:25 +08:00
Evan You bdffc143ef release: v3.2.37 2022-06-06 20:08:19 +08:00
Evan You 160d5df34a release: v3.2.36 2022-05-23 10:04:12 +08:00
Evan You a0c577692f release: v3.2.35 2022-05-21 01:16:26 +08:00
Evan You 3991609087 release: v3.2.34 2022-05-19 12:42:34 +08:00
Evan You 7fd761e577 release: v3.2.34-beta.1 2022-05-17 12:53:51 +08:00
Evan You 54753c3401 chore: update branch references 2022-05-12 08:45:06 +08:00
Evan You 425310e8b6 fix(transition/v-show): ensure transition is in persisted mode when used with v-show
fix #4845
close #4852
2022-05-11 19:22:55 +08:00
Leon Si 908ffb4fd4
chore: typo (#5732) [ci skip] 2022-05-09 22:49:14 -04:00
Evan You 0683a022ec types(reactivity-transform): improve type readability for reactive variables 2022-05-07 10:37:07 +08:00
Evan You 56879e6b23 release: v3.2.33 2022-04-14 18:14:37 +08:00
Evan You 62eba63172 fix(transition): handle transition for v-if branches with comment
fix #5675
2022-04-14 18:06:52 +08:00
edison 767d212d20
fix(transition): fix broken leave transition on dev root fragment (#5268) 2022-04-14 05:10:41 -04:00
Evan You f4f5e80a19 release: v3.2.32 2022-04-12 16:07:43 +08:00
Evan You d56dec6b4a release: v3.2.31 2022-02-12 16:41:52 +08:00
Evan You 15adf251ab release: v3.2.30 2022-02-07 14:14:53 +08:00
Evan You 6b6889852f release: v3.2.29 2022-01-23 22:02:23 +08:00
Evan You 283df0ad68 release: v3.2.28 2022-01-21 16:15:13 +08:00
Evan You ae4b0783d7 chore: update repo references 2022-01-18 16:43:59 +08:00
Evan You 0c06c748a5 chore: bump marked 2022-01-18 09:22:41 +08:00
Evan You 3adfc0fe94 release: v3.2.27 2022-01-16 22:08:18 +08:00
Evan You ccb6651b12 release: v3.2.26 2021-12-12 15:03:29 +08:00
Evan You 17f4dd833e build: include missing dts files in package 2021-12-12 14:52:12 +08:00
Evan You 756534bde0 release: v3.2.25 2021-12-12 12:21:13 +08:00
Forzen FIsh 57a09331b2
chore: fix some typos (#5050) [ci skip] 2021-12-11 20:58:46 -05:00
Evan You db729ce99e feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods 2021-12-11 18:15:44 +08:00
Evan You d955cfacd6 release: v3.2.24 2021-12-06 17:03:10 +08:00
Thorsten Lünborg f8552697fb
fix(package): ensure ref-macros export is recognized by vue-tsc (#5003) 2021-12-05 23:22:59 -05:00
Evan You b6a8a451b8 release: v3.2.23 2021-11-26 14:33:46 +08:00
Evan You 124570973d fix(types): export ref-macros.d.ts 2021-11-26 10:48:33 +08:00
Che Guevara 4e1131e251
chore: improve BaseTransition (#4811) 2021-11-25 05:42:24 -05:00
Evan You 7c11c58faf workflow: separate unit and e2e tests 2021-11-15 12:14:57 +08:00
Evan You 635d88aa9e release: v3.2.22 2021-11-15 11:45:05 +08:00
Evan You d19cfc0503 build: add types conditioanl exports for TS 4.5 nodenext mode 2021-11-12 10:34:33 +08:00
Evan You fe853a5a40 release: v3.2.21 2021-11-02 14:35:14 +08:00
Evan You 3c500e422f release: v3.2.20 2021-10-08 13:01:51 -04:00
Che Guevara d84d5ecdbd
test(vue): add config.compilerOptions.isCustomElement test (#4682) 2021-09-27 10:52:59 -04:00
Evan You c5c53846ed release: v3.2.19 2021-09-25 14:58:20 -04:00
Daniel Roe e4ae1fc3d0
chore(vue): package `index.mjs` (#4675) 2021-09-25 14:21:40 -04:00
Evan You 13bfa2edfe release: v3.2.18 2021-09-24 16:05:16 -04:00
Evan You 570c955b48 build: add exports field to support Node native ESM 2021-09-24 15:20:57 -04:00
Evan You f5076eb4b7 release: v3.2.17 2021-09-24 12:43:11 -04:00
Evan You 114b856fd1 release: v3.2.16 2021-09-23 10:17:02 -04:00
Evan You 74a84ff546 release: v3.2.15 2021-09-23 09:48:59 -04:00
Evan You df4fcd94d8 release: v3.2.14 2021-09-22 18:36:57 -04:00
Evan You b9deb6e50e release: v3.2.13 2021-09-21 14:22:53 -04:00
Evan You 471f66a1f6 build: expose compiler-sfc and server-renderer under main vue package + optimize package size 2021-09-21 10:26:08 -04:00