Comments (9)
After pinning to 4.1.0 your tests are passing again. Downgrade this dependency 📌.
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.1.1
to4.1.2
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.1.2
4.1.2 (2019-12-28)
🐛 Bug Fix
@vue/cli-plugin-pwa
@vue/cli
@vue/cli-plugin-babel
📝 Documentation
@vue/cli-service-global
@vue/cli-plugin-unit-jest
- Other
- #4976 docs: his -> their (@sodatea)
- #4973 docs: mention navigateFallback option for PWA App Shell caching (@clementmas)
- #4917 docs: [RU] Translation update (@Alex-Sokolov)
🏠 Internal
@vue/cli
- #4904 refactor: use inline approach (@jamesgeorge007)
@vue/cli-service
- #4909 changed var-name
async
toisAsync
(@ikumargaurav)
- #4909 changed var-name
Committers: 9
- Alexander Sokolov (@Alex-Sokolov)
- Haoqun Jiang (@sodatea)
- Ivan Demidov (@Scrum)
- James George (@jamesgeorge007)
- Jorge Moliner (@whoisjorge)
- Jun-Kyu Kim (@x6ax6b)
- Kumar Gaurav (@ikumargaurav)
- clem (@clementmas)
- ziga (@zigomir)
Commits
The new version differs by 20 commits.
3b7227d
v4.1.2
95ae2a1
chore: merge branch 'master' into dev
0cba512
fix: fix several bugs in the PWA plugin UI, make it usable again (#4974)
1594327
chore: fix link to himepage (#5004)
9e73907
docs: update example code (#4987)
ef548a7
Update debugging instructions (#4754)
7bc3cd7
docs: his -> their (#4976)
3f15b4c
mention navigateFallback in the pwa docs (#4973)
00acca5
refactor: use inline approach (#4904)
26bdb51
fix: typo errors (#4938)
f7b95ac
fix: should download to different directories for different pre… (#4922)
02f2436
docs: [RU] Translation update (#4917)
c7961cd
fix: do not throw when babel config contains ignore/include/exclude (#4924)
aeddc6f
refactor: changed var
async
toisAsync
(#4909)6c24964
chore: remove unused dependency "slash"
There are 20 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.1.2
to4.2.0
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.2.0
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 projects, run
vue upgrade
Notable Changes
Vue CLI UI CORS Issue
A critically CORS vulnerability is fixed in this version.
We recommend all users of vue ui
to upgrade to this version as soon as possible.
Lock Minor Version By Default
From this version on, newly-created projects and newly-added CLI plugins will lock the plugin version ranges to their minor versions.
The core functionalities of Vue CLI is quite stable at the moment. So we decided to make this change to improve project stability even more.
Users can run vue upgrade
periodically to bump the minor versions in the projects.
We also expect this change to make the adoption of new features smoother.
See more detailed explanation at #5012
ESLint 6
With the recent updates in the ecosystem (eslint-plugin-vue, @vue/eslint-config-airbnb, @vue/eslint-config-standard, @vue/eslint-config-prettier, @vue/eslint-config-typescript), Vue CLI now supports ESLint 6. It will scaffold all new projects will ESLint 6.
For users from older versions, ESLint 5 is still supported. If you want to adopt ESLint 6 in the project, it's recommended to migrate through the vue upgrade
command; otherwise, there will be much manual work to do.
Optional Chaining & Nullish Coalescing
We now support the optional chaining and nullish coalescing operators!
// Note: scripts only, support in template expressions only available in Vue 3// Optional chaining
a?.(); // undefined ifa
is null/undefined
b?.c; // undefined ifb
is null/undefined// Nullish coalescing
undefined ?? 'some other default'; // result: 'some other default'
null ?? 'some other default'; // result: 'some other default'
'' ?? 'some other default'; // result: ''
0 ?? 300; // result: 0
false ?? true; // result: false
If you're using Babel, these syntaxes supported by default since this version, so no actions to take.
If you're using TypeScript, the vue upgrade
command will automatically do the necessary
configurations for you, or you can manually upgrade your typescript dependency to 3.7.0 or later.
vue upgrade
and vue migrate
See the Pull Request at #5091
You may have encountered the TypeError: Invalid Version: N/A
error if you ran vue upgrade
in a monorepo or forgot to run npm install
first.
It is because, to run corresponding migration scripts, Vue CLI needs to know which versions of plugins the project previously depended on.
Monorepo support has been added since v4.2.
But in case of missing dependencies or any other edge cases, you can pass a --from
option to the command to skip the local version detection step. For example: vue upgrade eslint --from 4.1.2
.
A vue migrate --from
command is available for those already bumped to the latest versions but didn't run the migration scripts.
Project Template Changes
- The default ESLint version is bumped to v6. Users can upgrade through
vue upgrade
. - The default TypeScript version is bumped from
~3.5.3
to~3.7.5
. Users can upgrade throughvue upgrade
, or manually change the dependency version inpackage.json
- For ESLint + TypeScript + Nightwatch users, due to the ESLint rule change, an additional rule needs to be added to
tests/e2e/.eslintrc
. We haven't implemented an automatic migration script for it. Please add it manually. See https://github.com/vuejs/vue-cli/blob/v4.2.0/packages/%40vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js#L5 - The default
@vue/test-utils
version used for unit tests is bumped from1.0.0-beta.29
to1.0.0-beta.31
. Due to the breaking changes, we didn't migrate it automatically for old projects. Please read the release notes and upgrade at your own will.
Detailed Changelog
🚀 New Features
@vue/cli-plugin-babel
,@vue/cli-plugin-eslint
,@vue/cli-plugin-typescript
,@vue/cli
@vue/cli-plugin-unit-jest
,@vue/cli-plugin-unit-mocha
@vue/cli-ui
,@vue/cli
@vue/cli-plugin-typescript
,@vue/cli-ui
@vue/cli
@vue/cli-service
- #4953 feat: adds transparent PnP support to Webpack (@arcanis)
- #2411 feat(cli): add
--stdin
flag to serve (@nullpilot)
@vue/babel-preset-app
,@vue/cli-plugin-e2e-nightwatch
,@vue/cli-plugin-eslint
,@vue/cli-plugin-pwa
,@vue/cli-ui-addon-webpack
,@vue/cli-ui-addon-widgets
,@vue/cli-ui
,@vue/cli
@vue/cli-service
,@vue/cli-shared-utils
,@vue/cli
@vue/babel-preset-app
@vue/cli-service-global
🐛 Bug Fix
@vue/cli-shared-utils
,@vue/cli
@vue/cli
- #5062 fix
afterInvoke
/onCreateComplete
callbacks in Migrator (@sodatea) - #5038 fix:
extendPackage
dependency versions should be string (@pksunkara)
- #5062 fix
@vue/cli-ui
,@vue/cli
@vue/cli-plugin-e2e-cypress
- #5108 fix(e2e-cypress): make
--headless
work with--browser chrome
(@LinusBorg) - #4910 fix: comment eslint disable in cypress config (@cexbrayat)
- #5108 fix(e2e-cypress): make
@vue/cli-service
@vue/cli-plugin-pwa
@vue/cli-plugin-unit-jest
,@vue/cli-plugin-unit-mocha
@vue/cli-service
,@vue/cli-test-utils
@vue/cli-plugin-e2e-nightwatch
- #5016 fix(e2e-nightwatch): check for correct flag name (@LinusBorg)
📝 Documentation
- #5019 Updated zh-cn translation in cli section (@mactanxin)
🏠 Internal
@vue/babel-preset-app
,@vue/cli-plugin-babel
@vue/cli-service
@vue/cli
@vue/cli-shared-utils
@vue/cli-plugin-router
,@vue/cli-plugin-typescript
,@vue/cli-service
Committers: 17
- Alexander Sokolov (@Alex-Sokolov)
- Bogdan Luca (@lbogdan)
- Cédric Exbrayat (@cexbrayat)
- Dan Hogan (@danhogan)
- Daniel Bächtold (@danbaechtold)
- Eduardo San Martin Morote (@posva)
- Guillaume Chau (@Akryum)
- Haoqun Jiang (@sodatea)
- Marcel Lindig (@nullpilot)
- Maël Nison (@arcanis)
- Pavan Kumar Sunkara (@pksunkara)
- Tao Wei (@taoweicn)
- Thomas Kint (@tkint)
- Thorsten Lünborg (@LinusBorg)
- Xin Tan (@mactanxin)
- Yingya Zhang (@zyy7259)
- plantainX (@cheqianxiao)
Commits
The new version differs by 69 commits.
079a451
v4.2.0
d493491
chore: pre release sync
6d680bc
fix(migrator): correctly extract config fields to files
246c197
fix: clear require cache after
upgrade
, beforemigrate
ef15316
fix: preserve the tilde version range after
vue upgrade
51a4da7
fix: should infer package manager from config if there's no lockfile in the project (#5150)
f5f4de0
feat(GeneratorAPI): allow passing options to
api.extendPackage
(#5149)9a1d52e
feat: create projects with @vue/test-utils beta 31 (#5147)
adef4c9
fix(e2e-nightwatch): fix eslint config generation (#5148)
c5bf5b1
chore: update chromedriver version to 80
e6d7bbd
feat: implement a migrator that updates the project's ts version
82bd074
refactor: use dep versions from plugin package.json
1b64ff8
fix: fix eslint errors for typescript + e2e-nightwatch setup
e4410b8
fixup! fix: fix duplicate slash in metadata url
813680e
fix: should use the local version number if the cache falls behind
There are 69 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.2.0
to4.2.1
.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Release Notes for v4.2.1
🐛 Bug Fix
Commits
The new version differs by 17 commits.
8b951f8
v4.2.1
776275d
fix: add graphql-server.js to npm files
d7acff5
chore: merge branch 'dev' into
master
807382c
chore: refine changelog [ci skip]
7f2140a
docs(en): update polyfill import according to core-js 3 docs (#5130)
9f0b1f6
fix(docs): new travis CLI interface (#5126)
9e18f3c
Add a demo for multiple loader (#5122)
771182e
docs(zh): update polyfill import according to core-js 3 docs
ff8f035
docs: [RU] Translation update (#5094)
5edafc0
line 477 according to english version (#5081)
b5dedc1
Add a demo for multiple loaders (#5076)
cf5f009
Mention that Vue CLI should be installed in Prototyping guide (#5079)
1790205
fix: fix a typo (#5078)
49f70ba
docs: mention the precedence of
.vue
&.ts(x)
extensions (#5055)e8fb3d9
docs(zh): Sync Chinese translation (#5051) [ci skip]
There are 17 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.2.1
to4.2.2
.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Release Notes for v4.2.2
🐛 Bug Fix
Commits
The new version differs by 20 commits.
94da524
v4.2.2
0d0168b
fix(ui): fix the incorrect RegExp used for CORS check
70fbd74
chore: refine changelog [ci skip]
8b951f8
v4.2.1
776275d
fix: add graphql-server.js to npm files
d7acff5
chore: merge branch 'dev' into
master
807382c
chore: refine changelog [ci skip]
7f2140a
docs(en): update polyfill import according to core-js 3 docs (#5130)
9f0b1f6
fix(docs): new travis CLI interface (#5126)
9e18f3c
Add a demo for multiple loader (#5122)
771182e
docs(zh): update polyfill import according to core-js 3 docs
ff8f035
docs: [RU] Translation update (#5094)
5edafc0
line 477 according to english version (#5081)
b5dedc1
Add a demo for multiple loaders (#5076)
cf5f009
Mention that Vue CLI should be installed in Prototyping guide (#5079)
There are 20 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.2.2
to4.2.3
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.2.3
🐛 Bug Fix
@vue/cli
- #5163 fix "Vue packages version mismatch" error caused by other global packages (@sodatea)
- #5202 fix(GeneratorAPI): remove warning when using extendPackage with prune (@cexbrayat)
@vue/cli-service-global
📝 Documentation
- #5224 Update mode-and-env.md (@derline)
- #5184 Remove unnecessary hyphen (@dehero)
- #5209 docs(zh): update example format (@defead)
- #5141 docs(zh): Update now 404 url (@xiaohp)
- #5176 Added basic upgrading instructions (@Uninen)
- #5157 docs(zh): fix typos (@maomao1996)
🏠 Internal
@vue/cli
- #5166 chore: switch over to leven for command suggestion (@jamesgeorge007)
Committers: 9
- Cédric Exbrayat (@cexbrayat)
- Haoqun Jiang (@sodatea)
- James George (@jamesgeorge007)
- Ville Säävuori (@Uninen)
- Xiao Haiping (@xiaohp)
- @defead
- @dehero
- @derline
- 茂茂 (@maomao1996)
Commits
The new version differs by 38 commits.
0380f22
v4.2.3
a6c35cd
chore: merge branch 'dev'
da84840
docs: add page title & fix link [ci skip]
d8db292
fix: fix "Vue packages version mismatch" error caused by other global packages (#5163)
5cb988c
fix(GeneratorAPI): remove warning when using extendPackage with prune (#5202)
69f6805
fix(cli-service-global): fix no-debugger rule config (#5196)
7225649
docs: vue-cli -> Vue CLI
33487a8
workflow: allow manually specifying dist-tag when releasing
c39eb72
docs(zh): fix typo in mode-and-env.md (#5224)
bd12771
Remove unnecessary hyphen (#5184)
480ac7f
chore: minor typographical fix (#5215)
b08c10f
docs(zh): update example format (#5209)
efbc20c
docs(zh): Update now 404 url (#5141)
1423553
chore: Minor typographical fix (#5189)
677e4c5
Added basic upgrading instructions (#5176)
There are 38 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.2.3
to4.3.0
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.3.0
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 projects, run
vue upgrade
🚀 New Features
@vue/cli-plugin-unit-mocha
- #5294 feat(service): Allow mocha unit tests debugger to be bound to a specified IP and port (@darrylkuhn)
@vue/babel-preset-app
@vue/cli-service
- #5293 support vue.config.cjs in ESM projects(@simon300000)
- #3886 feat: wc entry accepts multiple file patterns splited by ',' (@manico)
@vue/cli
@vue/cli-plugin-typescript
- #5170 feat: use @vue/compiler-sfc as a compiler for TS if available (@cexbrayat)
@vue/cli-plugin-eslint
,@vue/cli-service-global
,@vue/cli-ui-addon-widgets
@vue/cli-service
,@vue/cli-ui-addon-webpack
,@vue/cli-ui-addon-widgets
,@vue/cli-ui
@vue/cli-plugin-router
- #4805 types(router): added router array type for Array RouteConfig (@manuelojeda)
🐛 Bug Fix
@vue/cli-shared-utils
@vue/cli-ui
- #5290 fix(cli-ui): build task defaults should respect outputDir option from config file (Closes #2639) (@LinusBorg)
@vue/cli-service
@vue/cli-plugin-pwa
- #5087 fix(pwa): Check for null or undefined in iconPaths (@janispritzkau)
@vue/cli-plugin-eslint
@vue/babel-preset-app
- #5236 fix(babel-preset-app): avoid corejs warning when useBuiltIns is false (@LeBenLeBen)
📝 Documentation
- #5243 docs: add warning on client side environment variables (@sodatea)
- #5231 Update plugin-dev.md (@yeyan1996)
🏠 Internal
@vue/cli-service-global
@vue/cli-service
@vue/cli
- #5228 test: e2e test case for command suggestion logic (@jamesgeorge007)
- #5238 Improve package.json not found error (@barbeque)
🔨 Underlying Tools
@vue/cli-plugin-eslint
Committers: 15
- Benoît Burgener (@LeBenLeBen)
- Cédric Exbrayat (@cexbrayat)
- Darryl Kuhn (@darrylkuhn)
- George Tsiolis (@gtsiolis)
- Haoqun Jiang (@sodatea)
- Jadranko Dragoje (@manico)
- Jair Reina (@jaireina)
- James George (@jamesgeorge007)
- Janis Pritzkau (@janispritzkau)
- Manuel Ojeda (@manuelojeda)
- Mike (@barbeque)
- Thorsten Lünborg (@LinusBorg)
- megos (@megos)
- simon3000 (@simon300000)
- 夜宴 (@yeyan1996)
Commits
The new version differs by 34 commits.
4659869
v4.3.0
4b31d8a
chore: pre release sync
016bb32
chore: bump typescript version to 3.8
5c8c614
chore: update download-git-repo to the latest major
ee05918
chore: dependency maintenance
960400b
chore: merge branch 'master' into dev
0051017
feat(service): Allow mocha unit tests debugger to be bound to a specified IP and port (#5294)
3d200ce
fix(ui): change git initialization commit message placeholder text (#5329)
55d3375
feat: enable
bugfixes
option for babel by default (#5322)a1041a8
fix: avoid process hanging when trying to get Chrome version (#5315)
4225c30
feat: support vue.config.cjs (#5293)
d8afaa0
fix(ui): build task defaults should respect outputDir option from config file (#5290)
ef9f7bf
chore(cli-service-global): remove direct dependency on @vue/babel-preset-app (#5319)
ebcee9a
fix: spawn scripts with node, fix modern mode with Yarn 2 (Berry) (#5320)
f1bdf73
refactor: simplify config loading by skip
fs.existsSync
check (#5305)
There are 34 commits in total.
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.3.0
to4.3.1
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.3.1
🐛 Bug Fix
@vue/cli-plugin-eslint
@vue/cli
Committers: 1
- Haoqun Jiang (@sodatea)
Commits
The new version differs by 3 commits.
2ec479a
v4.3.1
30b6873
fix(eslint-migrator): fix local eslint major version detection (#5363)
9855c52
fix: run migrator in a separator process, fix require cache issues during upgrade (#5360)
See the full diff
from basic-vue-sibling.
- The
devDependency
@vue/cli-service was updated from4.4.0
to4.4.1
.
Your tests are still failing with this version. Compare changes
Release Notes for v4.4.1
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 projects, run
vue upgrade
Notable Changes
The polyfill logic for modern mode and web components target has been refactored.
The final browser target is now calculated from the intersection of the user-specified browser target and the minimum browser versions that support modern mode / web component.
This means we can now drop many polyfills that are only used for some obsolete evergreen browsers if you are using the default browserslist target (["> 1%", "last 2 versions", "not dead"]
), which will greatly reduce the bundle size of modern mode / web component target.
🐛 Bug Fix
@vue/babel-preset-app
@vue/cli
📝 Documentation
🏠 Internal
@vue/babel-preset-app
Committers: 3
- Alexander Sokolov (@Alex-Sokolov)
- Drew Bragg (@DRBragg)
- Haoqun Jiang (@sodatea)
Commits
The new version differs by 43 commits.
34f303b
v4.4.1
36b475c
chore: depedency maintenance
91ca0b1
refactor: improve the polyfill importing logic of modern mode (#5513)
538a028
fix(cli): fix the creation log (#5502)
f425fff
chore: Merge branch 'master' into dev
057201c
docs: explain pwa head/manifest icons (#5408)
6323b73
v4.4.0
d03ccc3
chore: pre release sync
01d4bea
fix: should throw errors if there is bad require() in vue.config.js (#5500)
02a365d
feat(plugin-api): expose
inquirer
to prompts.js, allowing custom prompt types (#5498)0295ff6
fix(unit-jest): fix .vue coverage report when babel plugin is not enabled (#5499)
aee9e17
fix: allow specifying plugin version when calling
vue add
(#5497)8b01c9e
chore: dependency maintenance (#5496)
90f1146
fix(ui): the logs from creator should be displayed in the UI (#5493)
16d2701
fix(mocha): avoid
--inspect-brk
flag clobbering other values (#5473)
There are 43 commits in total.
See the full diff
from basic-vue-sibling.
Related Issues (20)
- CVE-2021-44907 (High) detected in qs-6.5.2.tgz, qs-6.7.0.tgz - autoclosed HOT 1
- CVE-2021-44906 (High) detected in minimist-1.2.5.tgz
- CVE-2021-3803 (High) detected in nth-check-2.0.0.tgz, nth-check-1.0.2.tgz
- CVE-2021-43138 (High) detected in async-2.6.3.tgz
- CVE-2022-1650 (High) detected in eventsource-1.1.0.tgz
- CVE-2022-29078 (High) detected in ejs-2.7.4.tgz
- CVE-2021-42740 (High) detected in shell-quote-1.7.2.tgz
- CVE-2022-25858 (High) detected in terser-4.8.0.tgz
- CVE-2021-35065 (High) detected in glob-parent-5.1.2.tgz - autoclosed HOT 1
- CVE-2022-37599 (High) detected in loader-utils-2.0.0.tgz
- CVE-2022-37601 (High) detected in multiple libraries
- CVE-2022-3517 (High) detected in minimatch-3.0.4.tgz
- CVE-2022-37603 (High) detected in loader-utils-1.4.0.tgz, loader-utils-2.0.0.tgz
- CVE-2022-37598 (High) detected in uglify-js-3.4.10.tgz
- CVE-2022-37620 (High) detected in html-minifier-3.5.21.tgz
- CVE-2022-38900 (High) detected in decode-uri-component-0.2.0.tgz
- CVE-2022-46175 (High) detected in multiple libraries
- CVE-2021-23440 (High) detected in set-value-2.0.1.tgz - autoclosed HOT 1
- CVE-2023-28155 (Medium) detected in request-2.88.2.tgz
- CVE-2023-29827 (Medium) detected in ejs-2.7.4.tgz
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basic-vue-sibling.