Qiskit / qiskit.org

The Qiskit official website
https://qiskit.org
Apache License 2.0
102 stars 108 forks source link

chore(deps-dev): bump nuxt from 3.6.5 to 3.11.0 #3654

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps nuxt from 3.6.5 to 3.11.0.

Release notes

Sourced from nuxt's releases.

v3.11.0

👀 Highlights

This is possibly the last minor release before Nuxt v4, and so we've packed it full of features and improvements we hope will delight you! ✨

🪵 Better logging

When developing a Nuxt application and using console.log in your application, you may have noticed that these logs are not displayed in your browser console when refreshing the page (during server-side rendering). This can be frustrating, as it makes it difficult to debug your application. This is now a thing of the past!

Now, when you have server logs associated with a request, they will be bundled up and passed to the client and displayed in your browser console. Asynchronous context is used to track and associate these logs with the request that triggered them. (#25936).

For example, this code:

<script setup>
console.log('Log from index page')

const { data } = await useAsyncData(() => { console.log('Log inside useAsyncData') return $fetch('/api/test') }) </script>

will now log to your browser console when you refresh the page:

Log from index page
[ssr] Log inside useAsyncData 
    at pages/index.vue

👉 We also plan to support streaming of subsequent logs to the Nuxt DevTools in future.

We've also added a dev:ssr-logs hook (both in Nuxt and Nitro) which is called on server and client, allowing you to handle them yourself if you want to.

If you encounter any issues with this, it is possible to disable them - or prevent them from logging to your browser console.

export default defineNuxtConfig({
  features: {
    devLogs: false
    // or 'silent' to allow you to handle yourself with `dev:ssr-logs` hook
  },
})

🎨 Preview mode

A new usePreviewMode composable aims to make it simple to use preview mode in your Nuxt app.

... (truncated)

Commits
  • 78d5098 v3.11.0
  • 1cae15a chore(nuxt): ensure type template has const filename
  • 02d6838 feat(nuxt): add clear utility to useAsyncData/useFetch (#26259)
  • 3c7e68c fix(nuxt): handle nightly releases for hoisted types
  • 33ce71d refactor(nuxt): use addTypeTemplate in more places
  • 87c0678 fix(nuxt): provide appMiddleware types with universal router
  • 4925670 refactor(nuxt): use addTypeTemplate for page augmentations
  • cac7454 refactor(nuxt): rename nuxtMiddleware to appMiddleware
  • c6aa617 chore: do not export unused type
  • f9fe282 feat(nuxt): add nuxtMiddleware route rule (#25841)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 4 months ago

Superseded by #3656.