Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023-10-31のJS: Next.js 14、MSW 2、Node.js 21.1.0 #1132

Merged
merged 17 commits into from Oct 31, 2023
Merged

Conversation

azu
Copy link
Member

@azu azu commented Oct 31, 2023

Next.js 14がリリースされました。

Node.js 16のサポート終了、next exportコマンドを非推奨化、next/imagedomainsオプションを非推奨化などの変更が含まれています。
また、Server ActionのStable化、Metadata APIの改善が含まれています。
実験的な機能として<Suspense>を使ったPartial Prerenderingのサポートが追加されています。

今回のリリースに合わせて、Next.jsのチュートリアルも新しくものが公開されています。


HTTPリクエストのモックライブラリであるMSW 2.0がリリースされています。

Node.js 16のサポート終了、APIのシグネチャーの変更、ブラウザ向けのAPIをmsw/browserへ移動などの破壊的な変更が含まれています。
APIの変更範囲は多いですが、マイグレーションガイドも合わせて公開されています。

また、ReadableStream/FormDataのモックをサポートなども追加されています。


Node.js 21.1.0がリリースされました。

Ambiguous fileがESMかを判定する--experimental-detect-moduleフラグの追加されています。
詳しくは、次の記事で解説しています。

また、vm.Scriptのバグの修正が修正されています。
この問題はNode.js 16.11.0+以降で起きていて、主にJestでメモリが確保され続けるためクラッシュする問題が発生してました。

@azu azu merged commit 48e9ebd into develop Oct 31, 2023
@azu azu deleted the jser-week-667 branch October 31, 2023 13:20
@azu
Copy link
Member Author

azu commented Oct 31, 2023

➡️ Next.js 14: Server Action
📜 MSW 2: APIの再構成
💚 Node.js 21.1.0: Jestのメモリリーク問題の修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant