This repository was archived by the owner on Aug 22, 2024. It is now read-only.
π¨ [security] Upgrade all of nextjs: 10.0.9 β 13.0.2 (major) #309
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π¨ Your current dependencies have known security vulnerabilities π¨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
β³οΈ @βnext/mdx (10.0.9 β 13.0.2)
Sorry, we couldn't find anything useful about this release.
β³οΈ next (10.0.9 β 13.0.2) Β· Repo
Security Advisories π¨
π¨ Unexpected server crash in Next.js
π¨ Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
π¨ DOS Vulnerability for self-hosted next.js apps using i18n
π¨ Unexpected server crash in Next.js
π¨ Unexpected server crash in Next.js
π¨ XSS in Image Optimization API for Next.js
π¨ Open Redirect in Next.js
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 58 commits:
v13.0.2v13.0.2-canary.3Remove static generation bail-out from usePathname (#42440)Fix undici warning showing unexpectedly (#42444)Fix invalid markdown lang (#42442)Change `usePathname` to return `string | null` (#42380)Clarify app and pages file conflicting files (#42415)Do not strip loader arg in dynamic for server components (#42426)Avoid breaking useRouter() type change (#42430)Google fonts single request (#42406)Fix font-optimization.md syntax errors (#42403)Mock @next/font when using next/jest (#42413)Fix docs for next/image upgrade guide (#42424)examples: Fix with-turbopack typo (#42410)fixed missing `<Link />` keyword (#42422)Fix Docs API Reference font.md broken link (#42418)Fix entry creation on Windows (#42421)Add meta tag to default app template (#42394)v13.0.2-canary.2Update swc builds (#42393)v13.0.2-canary.1Update default eslint choice for CNA setup (#42371)Fix CSS modules imports not collected due to race conditions (#42392)update middleware cookies example (#42341)feat(next/mdx): support experimental mdx-rs loader (#41919)fix: usage of wasm in an appDir page file using the edge runtime (#41689)Ensure Undici is enabled for appDir in all cases (#42382)Stop writing window specific paths in vscode configuration (#42338)useSelectedLayoutSegment at the current level (#42299)[eslint-plugin] Stop warning for head element in app/layout on Windows (#42336)Local font family name (#42286)Update customizing-postcss-config.md (#42331)Add `prisma` to the external package list (#42323)Fix typo in app / hello.js template (#42335)Fix negative lookahead example in middleware.md (#42320)Update flakey SIGINT test (#42370)Ensure edge runtime doesn't propagate `cache` on fetch as Cloudflare doesn't support it. (#42362)create-next-app: add head to template (#42357)Update dev process exit handling (#42367)Fix typo in usage of onError in script.md (#42368)Update getting-started.md (#42353)Fix typo: docs/api-reference/next/font.md (#42344)Fix broken link on the upgrading guide (#42340)Fix page folder being wrongly resolved as page file (#42348)update font optimization page (#42266)Handle dynamic css-in-js styles under suspense (#42293)Update wording to remove beta FUD and keep evergreen (#42337)Add `path` for information in cookie setting (#42146)[middleware] add tests for body reading methods #37980 (#41718)docs(script): explain expected `next/script` behavior on client-side navigation (#42260)refactor(next/turbo): consolidate turbo devserver logic (#42315)v13.0.2-canary.0Add mongodb to default server externals (#42313)Add preload for layouts / components (#41519)Improve the error message when custom export fields are used in an entry (#42221)Add sqlite3 to the default list of server externals (#42294)Hybrid App Hooks Support (#41767)Update app-dir E2E tests for deploy (#42269)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands