2021-10-27のJS: Yarn 3.1、Node.js 16.13.0(LTS)、Next.js 12 #924
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.
Yarn 3.1がリリースされました。
yarn init -2
でNode v16.9.0からサポートされたCorepackのpackageManager
フィールドに対応しています。また、PnPでのEMSサポート、新しいインストールモードとして
nodeLinker: pnpm
のサポートしています。また、
optionalDependencies
で指定したアーキテクチャだけをダウンロードするsupportedArchitectures
の設定を追加しています。いままでのYarnはoptionalDependencies
で指定された依存をすべてダウンロードしていたため、esbuildなどのアーキテクチャごとのバイナリをoptionalDependencies
でしているパッケージではダウンロードに時間がかかっていました。Node.js 16.13.0がリリースされました。このバージョンからNode.js 16.xのLTSが開始されます。
Node.js 16.xのLTSは2024-04-30までメンテナンスがサポートされる予定です。
Next.js 12がリリースされました。
WCベースのビルドに対応、
pages/_middleware.js
を使ったMiddlwareの対応、React 18(Server-Side StreamingとReact Server Components)に対応しています。また、webpackの
buildHttp
を使ったURL Importsに対応し、URLを直接ES Modulesとしてインポートしnext.lock
のロックファイルで管理できるようになります。また、クローラーbotに対するISRの最適化、AVIFの対応なども含まれています。