@nuxt/config
2.18.1 · 28 Jun 2024MIT166k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxt/config From 2.5.1 to 2.18.1
55 releases in betweennotes for 17
- 10+
- changes to make
- 0
- advisories fixed
- 74+
- new
- 75+
- fixes
Counted from 17 of 55 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking2.16.0
- Breaking2.16.0
- Breaking2.16.0
- Breaking2.16.0
- Breaking2.16.0
- Breaking2.15.0
- Breaking2.15.0
- Deprecated2.12.0
- Deprecated2.7.0
- Deprecated2.6.0
Security
- 2.18.0
Add non-applicable advisory GHSA-3h5v-q93c-6h6q
- 2.17.4
Mark github.com/advisories/GHSA-2p57-rm9w-gvfp as not applicable
- 2.17.4
Mark GHSA-grv7-fg5c-xmjg as not applicable
- 2.17.0
Exclude yaml exception vulnerability (build-time dep)
Release by release
- Fixed
webpack: Depend on earlier version of
mkdirp
- Fixed
- Security
Add non-applicable advisory GHSA-3h5v-q93c-6h6q
- New
webpack: Migrate to
memfs - New
config: Add back md4 monkey-patch for wider ecosystem
- Fixed
vue-app: Don't throw if we can't read
sessionStorage
- Security
- Security
Mark github.com/advisories/GHSA-2p57-rm9w-gvfp as not applicable
- Security
Mark GHSA-grv7-fg5c-xmjg as not applicable
- Fixed
types: Bump
serve-statictypes to v1.15.7 - Fixed
generator: Use maintained
html-minifier-terser - Fixed
vue-app: Prevent double page mount
- Fixed
core: Don't skip loading runtime modules if one is improperly resolved
- Fixed
vue-app: Prevent error page mounting twice
- Security
2.17.3nothing new or fixed in the note
- Fixed
types: Prevent overwriting vue types in template
- Fixed
types: Don't pin webpack types to exact version
- Fixed
Remove md4 patch now that
webpackhas it in core
- Fixed
- Fixed
webpack: Downgrade dev-middleware to fix peer dep issue
- Fixed
webpack: Pin webpack-dev-middleware to 5.0.0
- Fixed
- Security
Exclude yaml exception vulnerability (build-time dep)
- New
types: Support nuxt types for defineComponent
- New
csp: Support generating nonce for scripts and links in ssr
- New
webpack: Support passing function as postcssOptions
- Security
- New
types: Add return type for
error() - New
webpack: Add
node-fetch-nativeto externals list - Fixed
types: Bring types from
lessinto namespace - Fixed
types: Sync vue type augmentations with Vue 2.7
- Fixed
config: Move
presetto innerpostcssOptions
- New
9 other lines we could not sort, mostly version bumps
- 2.15.0
vue.configtypes should be optional - 2.13.0
Move
@nuxt/typesto nuxt mono-repo - 2.12.0
general: #6881, #6896 HMR support for server middleware
- 2.12.0
core: Better module not found handling
- 2.6.0
Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
- 2.6.0
Before upgrade ensure to remove
yarn.lock,package-lock.jsonandnode_modules - 2.6.0
After full install and testing, also consider upgrading other dependencies. The
yarn outdatedcommand can be used. - 2.6.0
Remove
nuxt-tsdependency (2.4 users only) - 2.6.0
Create an empty
tsconfig.jsonfile. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs
120 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.