Skip to content

2021-05-18のJS: Node.js 14.17.0、TypeScript 4.3 RC、Angular v12 #869

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

Merged
merged 21 commits into from
May 18, 2021

Conversation

azu
Copy link
Member

@azu azu commented May 18, 2021

現在のLTSの最新版であるNode v14.17.0がリリースされました。

Node v14.17.0では、Node.js 15.x で追加された機能やモジュールがバックポートされています。

診断情報を扱うdiagnostics_channelモジュールの追加、UUID v4を生成するcrypto.randomUUID()が追加されています。
crypto.randomUUID() はWHATWGで定義されている仕様で、Chromeにも実装が追加されています。

また、 --experimental-abortcontrollerの実験フラグ付きですが、AbortControllerAbortSignalの対応が次のメソッドに追加されています。

  • child_process.exec
  • child_process.execFile
  • child_process.fork
  • child_process.spawn
  • dgram.createSocket
  • events.on
  • events.once
  • fs.readFile
  • fs.watch
  • fs.writeFile
  • http.request
  • https.request
  • http2Session.request
  • Promise版のsetImmediatesetTimeout

TypeScript 4.3 RC(リリース候補)がリリースされました。

基本的な変更内容はBetaのものを含んでいます。

RCで新たに追加されたものとして、--incremental--watchを使った初回のビルドが遅い問題が解消されています。

また、--incrementalフラグなどを使った際に生成される.tsbuildinfoのファイルサイズが改善されています。


6ヶ月ごとにメジャーアップデートされるAngularの最新版であるAngular 12がリリースされました。

View Engineは非推奨となりIvyがデフォルトへと移行、Legacy i18n Message IDsからの移行ツールが公開されています。

以前、開発終了を告知されていたProtractorについても、Angular 12からProtractorはデフォルトでは新規プロジェクトには含めないようになっています。

また、Angular 12ではIE 11のサポートが非推奨となり警告が出るようになっています。
IE 11のサポートはAngular 13で削除される予定です。
そのため、AngularでのIEサポートはAngular 12が最後となり、Angular 12のLTS期限である2022年11月で完全にIEサポートが終了する予定となっています。

その他には、インラインSaaSのサポートなど。 TypeScript 4.2へのアップデート、webpack 5を実験的にサポートなども含まれています。


- [2021-04-06のJS: TypeScript 4.3 Beta、hls.js v1.0.0(Apple Low-Latency HLS)、Storybook 6.2 - JSer.info](https://jser.info/2021/04/06/typescript-4.3-beta-hls.js-v1.0.0apple-low-latency-hls-storybook-6.2/)

RCで新たに追加されたものとして、`--incremental`と`--watch`を使った初回のビルドが遅い問題が解消されています。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[textlint] reported by reviewdog 🐶
一文に二回以上利用されている助詞 "が" がみつかりました。 (no-doubled-joshi)

@azu azu merged commit 54a75c4 into develop May 18, 2021
@azu azu deleted the jser-week-540 branch May 18, 2021 03:13
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.

1 participant