Releases: vuejs/vue-cli
v4.5.8
This version has updated the TypeScript shim for Vue 3.
If you encounter any typing issue when using vue
v3.0.1 and @vue/test-utils
, please update your src/shims-vue.d.ts
file according to https://github.com/vuejs/vue-cli/pull/5975/files
🐛 Bug Fix
@vue/cli-plugin-typescript
- #5975 fix: update vue-shims for Vue v3.0.1 (@cexbrayat)
@vue/cli
@vue/cli-plugin-eslint
Committers: 2
- Cédric Exbrayat (@cexbrayat)
- Haoqun Jiang (@sodatea)
v4.5.7
🐛 Bug Fix
@vue/cli-plugin-babel
,@vue/cli-plugin-typescript
,@vue/cli-service
@vue/cli
@vue/cli-plugin-pwa
,@vue/cli-service
📝 Documentation
- #5835 Update Vercel deployment instructions (@timothyis)
Committers: 4
- Bodo Graumann (@bodograumann)
- Haoqun Jiang (@sodatea)
- Timothy (@timothyis)
- kzhang (@godky)
v4.5.6
v4.5.5
Highlights
If you are working on a Vue 3 project, this version of Vue CLI comes with the latest beta version of vue-loader
, which enables support for the experimental <script setup>
syntax.
<template>
<button @click="inc">{{ count }}</button>
</template>
<script setup>
import { ref } from 'vue'
export const count = ref(0)
export const inc = () => count.value++
</script>
If you encounter any bug when trying out this new feature, please raise an issue in the vue-loader repository.
Known Issues
The two new features currently do not work well with thread-loader
. In Vue CLI, you need to set parallel: false
for them to work correctly.
🐛 Bug Fix
@vue/cli-service
@vue/cli-plugin-router
,@vue/cli-service
@vue/cli-plugin-unit-jest
,@vue/cli-plugin-unit-mocha
- #5591 fix(unit-jest, unit-mocha): generate passing tests when
bare
option is used with router enabled (#3544) (@IwalkAlone)
- #5591 fix(unit-jest, unit-mocha): generate passing tests when
@vue/cli-plugin-pwa
- #5820 fix: allow turning off theme color tags (@GabrielGMartinsBr)
@vue/cli
🏠 Internal
🔨 Underlying Tools
@vue/babel-preset-app
- #5831 chore: rename jsx package scope from ant-design-vue to vue (@Amour1688)
Committers: 8
- Booker Zhao (@binggg)
- Carlos Rodrigues (@pikax)
- Haoqun Jiang (@sodatea)
- Renan Cidale Assumpcao (@rcidaleassumpo)
- Sergey Skrynnikov (@IwalkAlone)
- Spenser Black (@spenserblack)
- @GabrielGMartinsBr
- 天泽 (@Amour1688)
v4.5.4
How to Upgrade
First, reinstall the latest version of @vue/cli
globally.
yarn global add @vue/cli
# OR
npm install -g @vue/cli
Then in the existing Vue CLI projects, run
vue upgrade
🐛 Bug Fix
@vue/cli-plugin-typescript
@vue/cli-service
@vue/cli
- #5778 fix: missing proxy argument (@RobbinBaauw)
Committers: 3
- Blacate (@Blacate)
- Haoqun Jiang (@sodatea)
- Robbin Baauw (@RobbinBaauw)
v4.5.3
🐛 Bug Fix
@vue/cli-service
@vue/cli-plugin-e2e-webdriverio
,@vue/cli-plugin-typescript
@vue/cli-plugin-typescript
Committers: 1
- Haoqun Jiang (@sodatea)
v4.5.2
🐛 Bug Fix
@vue/cli-plugin-typescript
📝 Documentation, 🏠 Internal
@vue/babel-preset-app
,@vue/cli-plugin-e2e-nightwatch
,@vue/cli-plugin-eslint
,@vue/cli-plugin-typescript
,@vue/cli-service
,@vue/cli
Committers: 3
- Alexander Sokolov (@Alex-Sokolov)
- Haoqun Jiang (@sodatea)
- Necmettin Karakaya (@Necmttn)
v4.5.1
Highlights
This version comes with a new core plugin for E2E testing - @vue/cli-plugin-e2e-webdriverio
, thanks to the maintainer of WebdriverIO @christian-bromann.
Users will see WebDriverIO listed as an option for E2E test when creating a new project with vue create
.
Or, in other existing projects, you can run vue add @vue/e2e-webdriverio@next
to try it out.
🚀 New Features
@vue/cli-plugin-e2e-webdriverio
,@vue/cli-shared-utils
,@vue/cli
- #5479 feat(e2e-webdriverio): add e2e plugin for WebdriverIO (@christian-bromann)
@vue/cli-service
🐛 Bug Fix
@vue/cli-plugin-typescript
@vue/cli
@vue/cli-service
🏠 Internal
@vue/cli-service
- #5759 chore: update type definition test (@jamesgeorge007)
- #5735 refactor(cli-service): webpack
devtool
option (@jeneser)
🔨 Underlying Tools
@vue/babel-preset-app
,@vue/cli-plugin-babel
,@vue/cli-plugin-e2e-nightwatch
,@vue/cli-plugin-e2e-webdriverio
,@vue/cli-plugin-typescript
,@vue/cli-plugin-unit-jest
,@vue/cli-service
,@vue/cli-test-utils
Committers: 6
- Booker Zhao (@binggg)
- Christian Bromann (@christian-bromann)
- Haoqun Jiang (@sodatea)
- James George (@jamesgeorge007)
- Renato Vicente (@Renato66)
- Yazhe Wang (@jeneser)
v4.5.0
Highlights
This version adds first-class Vue 3 support (for preview). You no longer need vue-cli-plugin-vue-next
to serve and build Vue 3 projects. Users of the plugin can safely remove it from the projects.
🚀 New Features
@vue/babel-preset-app
,@vue/cli-plugin-babel
,@vue/cli-plugin-eslint
,@vue/cli-plugin-router
,@vue/cli-plugin-typescript
,@vue/cli-plugin-unit-jest
,@vue/cli-plugin-unit-mocha
,@vue/cli-plugin-vuex
,@vue/cli-service
,@vue/cli-test-utils
,@vue/cli-ui
,@vue/cli
@vue/cli-plugin-typescript
@vue/cli-service
,@vue/cli-test-utils
,@vue/cli
- #5356 feat(cli,cli-service,cli-test-utils): add ts declaration (@fangbinwei)
@vue/cli-plugin-typescript
,@vue/cli-service
@vue/cli-service
,@vue/cli
🐛 Bug Fix
@vue/cli-service
@vue/babel-preset-app
📝 Documentation
- #5671 docs(zh): change line to lines in plugin-dev.md (@zhouxinyong)
- #5668 docs(zh):
additionalData
example for sass-loader 9.0 (@chuzhixin) - #5408 docs: explain pwa head/manifest icons (@DRBragg)
🏠 Internal
@vue/cli-shared-utils
@vue/cli-service
,@vue/cli
Committers: 7
- Arthur (@imtaotao)
- Binwei Fang (@fangbinwei)
- Bogdan Luca (@lbogdan)
- Drew Bragg (@DRBragg)
- Haoqun Jiang (@sodatea)
- good luck (@chuzhixin)
- vimvinter (@zhouxinyong)