Skip to content

chore(deps-dev): bump @nuxt/types from 2.15.8 to 2.16.0 in /frontend

24-bot requested to merge dependabot/npm_and_yarn/frontend/nuxt/types-2.16.0 into main

Bumps @nuxt/types from 2.15.8 to 2.16.0.

Release notes

Sourced from @nuxt/types's releases.

v2.16.0

Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in nuxt-edge for some time.

Highlights

️ Breaking changes

  • In this PR we only support Node 14+. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until its own EOL, Nuxt 2 will only officially support Node versions that have not reached their EOL.

  • New postcss options format. See https://github.com/nuxt/nuxt/pull/9671 for full details.

  • Dependency upgrades. A number of dependencies have dropped support for earlier node versions. dotenv has changed how it parses .env files in a number of edge cases. glob now requires / instead of \ on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.

  • Vue 2.7 upgrade. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.

    This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than @nuxtjs/composition-api. (You can opt-in to just these utilities by disabling the other bridge modules individually.)

Changelog

compare changes

🚀 Enhancements

  • config: Support nuxtrc in dist directory (#9280)
  • generator: Add ignoreEnv generate option during ensureBuild(cmd) (#8955)
  • server: Allow disabling serve-static middleware (#9365)
  • types: Add asyncData return types to component instance type (#9239)
  • vue-app: context.beforeSerialize method (#9332)
  • vue-app: Pass store to createRouter (#9629)
  • Default to core-js version 3 (#9987)
  • webpack: ️ Update postcss to v8 (#9671)

🩹 Fixes

  • vue-app: Respect scroll-margin-top when navigating with hash (#9187)
  • webpack: Use javascript/auto for js rule (#9180)
  • server: Unregister error event listener (#9245)
  • babel-preset-app: Respect explicit options.targets for modern preset (#9337)
  • types: Add nuxt.config alias type (#9424)
  • vue-app: Check whether route exists within nuxt app before replacing (#9431)
  • vue-renderer: Decode route path for payload.js (#9494)
  • vue-app: Don't normalise route path if it's valid (#9460)
  • vue-app: Redirect to external url replaces current history entry (#9500)
  • utils: trailingSlash causes error with dynamic nuxt-child routes (#9505)
  • types: Add onNuxtLoaded and onNuxtReady types (#9510)
  • vue-app: Re-register components construtor in HMR (#9539)
  • types: Add typing for build.stats options (#9555)
  • babel: Loose option for babel private-property-in-object (#9631)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by danielroe, a new releaser for @nuxt/types since your current version.


Merge request reports