v3.10 comes quite close on the heels of v3.9, but it's packed with features and fixes. Here are a few highlights.
✨ Experimental shared asyncData when prerendering
When prerendering routes, we can end up refetching the same data over and over again. In Nuxt 2 it was possible to create a 'payload' which could be fetched once and then accessed in every page (and this is of course possible to do manually in Nuxt 3 - see this article).
With #24894, we are now able to do this automatically for you when prerendering. Your useAsyncData and useFetch calls will be deduplicated and cached between renders of your site.
[!IMPORTANT]
It is particularly important to make sure that any unique key of your data is always resolvable to the same data. For example, if you are using useAsyncData to fetch data related to a particular page, you should provide a key that uniquely matches that data. (useFetch should do this automatically.)
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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/GreenhouseStudios/sourcery-web-app/network/alerts).
Bumps glob-parent to 5.1.2 and updates ancestor dependencies glob-parent, nuxt and webpack. These dependencies need to be updated together.
Updates
glob-parent
from 3.1.0 to 5.1.2Release notes
Sourced from glob-parent's releases.
Changelog
Sourced from glob-parent's changelog.
... (truncated)
Commits
eb2c439
chore: update changelog12bcb6c
chore: release 5.1.2f923116
fix: eliminate ReDoS (#36)0b014a7
chore: add JSDoc returns information (#33)2b24ebd
chore: generate initial changelog9b6e874
chore: release 5.1.1749c35e
ci: try wrapping the JOB_ID in a string5d39def
ci: attempt to switch to published coveralls0b5b37f
ci: put the npm step back in for only Windows473f5d8
ci: update azure build imagesMaintainer changes
This version was pushed to npm by phated, a new releaser for glob-parent since your current version.
Updates
nuxt
from 2.17.2 to 3.10.0Release notes
Sourced from nuxt's releases.
... (truncated)
Commits
da3c502
v3.10.0f1fe97f
fix(nuxt): prioritise later items inpages:routerOptions
hook (#25509)b96fe1e
chore: remove extra 'not' in warning message658a0ff
feat(nuxt):useId
composable (#23368)7d65769
chore(deps): update all non-major dependencies (main) (#25342)0d91e52
chore(nuxt): warn ifNuxtPage
is not used when pages enabled (#25490)407fde6
feat(nuxt): experimentally extract route metadata at build time (#25210)90ca0e8
feat(nuxt): slow down loading indicator when approaching 100% (#25119)ecc4c8e
fix(nuxt): prevent initial scroll jump when loading page (#25483)995acd9
feat(nuxt): allow controlling view transitions in page meta (#25264)Updates
webpack
from 4.47.0 to 5.90.0Release notes
Sourced from webpack's releases.
... (truncated)
Commits
4a26623
chore(release): 5.90.0f03e96e
fix: inner graph for classesb6c1430
test: added28948dd
fix: inner graph5a9ed6d
fix: inner graphc8d9d97
fix: inner graph for classes3022995
fix: inner graph for classesf857674
fix: worklet detection in production mode2d6f5fa
feat: allow to setfalse
for dev server644cd47
test: addedDependabot 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