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

2021-05-04のJS: Babel 7.14.0、RxJS 7.0.0、Safari 14.1 #863

Merged
merged 25 commits into from May 4, 2021
Merged

Conversation

azu
Copy link
Member

@azu azu commented May 4, 2021

Babel 7.14.0がリリースされています。

2021-04のTC39ミーティングでStage 4となったclass fields/private methodsなどを@babel/preset-envがデフォルトでサポートするようになりました。
そのため、@babel/plugin-proposal-class-properties@babel/plugin-proposal-private-methodsを個別のプラグインとして入れる必要はなくなっています。

また、Node.jsのESMからCommonJSのモジュールをインポートする際の相互運用性を向上させるオプションとして、importInterop: "node"オプションの追加されています。

またTypeScript 4.3のサポート、Stage 1のES Proposalであるasync do expressionのサポートなども含まれています。


RxJS 7.0.0がリリースされています。

RxJS 7.0.0ではファイルサイズが6.xに対して53%程度に小さくなっています。
また、TypeScriptの型の修正やAPIの一貫性の修正などが含まれています。
機能追加として、Async IteratorやReadable Streamの対応、animationFramesshare(config)の追加などが含まれています。

次のスライドと動画でも詳しく紹介されています。


New WebKit Features in Safari 14.1 | WebKitでは、Safari 14.1の変更点について書かれています。

Flexbox Gapのサポート、macOSでinput要素のtype属性でdatetimedatetime-localのサポートが追加されています。また、speech recognitionを含むWeb Speech API、MediaRecorder API、WebMのサポートなども追加されています。
JavaScriptではClass Fields、WekRefのサポート、i18n APIのサポート改善、WebAssemblyのThreadingのサポートなどが含まれています。
また、Private Click Measurementをデフォルトで有効化、Storage AccessAPIの更新やWeb Inspectorのアップデートなども含まれています。

@azu azu merged commit 35309ff into develop May 4, 2021
@azu azu deleted the jser-week-538 branch May 4, 2021 13:31

Flexbox Gapのサポート、macOSで`input`要素の`type`属性で`date`と`time`と`datetime-local`のサポートが追加されています。また、speech recognitionを含むWeb Speech API、MediaRecorder API、WebMのサポートなども追加されています。
JavaScriptではClass Fields、WekRefのサポート、i18n APIのサポート改善、WebAssemblyのThreadingのサポートなどが含まれています。
また、Private Click Measurementをデフォルトで有効化、Storage AccessAPIの更新やWeb Inspectorのアップデートなども含まれています。
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 🐶
Don't repeat "また" in 2 phrases (no-start-duplicated-conjunction)

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