github quasarframework/quasar @quasar/app-webpack-v4.0.0

Here we go. Time to upgrade and to celebrate! 🥳 🎉🎉🎉

For all the new features & improvements & breaking changes, head to the Upgrade Guide. Make sure that the docs PWA gets updated (force it if you have to).

We recommend going through the upgrade guide even if upgrading from the betas or rc versions, to ensure nothing is missed out.

Breaking changes (from rc.4)

  • Manually install autoprefixer as devDependency. No longer supplied out of the box.
  • Set "type": "module" into your /package.json. Convert all *.config.js files to ESM format (see the Upgrade Guide if you are uncertain what to do). Might be a good idea to upgrade ESLint to v9 as well. Again, see the upgrade guide in docs.
  • After setting type=module you might encounter "File not found" errors when using imports without specifying the file extension. Example: Could not find "./routes". Should be import routes from './routes.js'. You will need to add the extension in all your imports.

Changes (from rc.4)

  • Dropped support for Vuex. Pinia has been the official store for Vue 3 for a while now. Vuex was deprecated in app-webpack v3 and it had problems with the new structure, so it's now removed. You can still use Vuex as any Vue plugin, but you will have to manage everything(installing the store, hydration, no store parameter in boot files, etc.) yourself and will not receive any support from Quasar CLI. You will likely have to patch Vuex in order to get it working with TypeScript. We recommend migrating to Pinia.
  • Support for ESLint v9 (check the Upgrade Guide for our linting recommendations)
  • feat(app-webpack): tweak ssr - server entry on importing and dealing with boot files #17658
  • fix(app-webpack): always generate Capacitor deps aliases if the mode is installed (fix: #17659)
  • feat(app-webpack): remove support for legacy "quasar.conf.js" file (use quasar.config.js instead)
  • feat(app-webpack): relax ts detection (quasar.config format should not matter)
  • perf(app-webpack): replace "fast-glob" with "tinyglobby"
  • fix(app-webpack): ssr distributables entry points in generated package.json

Donations

Quasar Framework is an open-source MIT-licensed project made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider the following:

Don't miss a new quasar release

NewReleases is sending notifications on new releases.