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
bareoption 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
devtooloption (@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):
additionalDataexample 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)
