Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2024

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 <dependency name> 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)

Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.6.5 to 3.11.0.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.11.0/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies pr Pull requests that update a dependency file. label Mar 18, 2024
@dependabot dependabot bot requested a review from y4izus as a code owner March 18, 2024 00:46
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 25, 2024

Superseded by #3656.

@dependabot dependabot bot closed this Mar 25, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nuxt-3.11.0 branch March 25, 2024 01:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies pr Pull requests that update a dependency file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants