-
-
Notifications
You must be signed in to change notification settings - Fork 71
2021-02-16のJS: TypeScript 4.2 RC、WebdriverIO v7、Nuxt.js 2.15.0 #837
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…v7-nuxt.js-2.15.0.md
…v7-nuxt.js-2.15.0.md
…v7-nuxt.js-2.15.0.md
…v7-nuxt.js-2.15.0.md
…v7-nuxt.js-2.15.0.md
bors r+ |
bors bot
added a commit
that referenced
this pull request
Feb 16, 2021
837: 2021-02-16のJS: TypeScript 4.2 RC、WebdriverIO v7、Nuxt.js 2.15.0 r=azu a=azu TypeScript 4.2 RCがリリースされています。 - [Announcing TypeScript 4.2 RC | TypeScript](https://devblogs.microsoft.com/typescript/announcing-typescript-4-2-rc/) Tuple TypesでRest Elementをサポート、Type Aliasの型追跡の仕組みを改善して表示される型が分かりやすくなるように。 また、オブジェクトではないオペランドに対して`in`演算子を利用した場合に、コンパイルエラーとなるように変更。 その他には、`noPropertyAccessFromIndexSignature`オプションの追加、`abstract new`のサポート、`--explainFiles`フラグが追加されています。 [TypeScript 4.2 Beta](https://devblogs.microsoft.com/typescript/announcing-typescript-4-2-beta/)の時点では、Template Literal式をデフォルトでTemplate Literal Typeとして扱うように変更されていました。 しかし、この挙動は[望ましくないケース](https://github.com/microsoft/TypeScript/issues/42589)もあることがわかり、revertしてデフォルトでは`string`として扱うようになっています。 4.2 RCでは、Template Literal式に `as const` をつけた場合のみ、Template Literal Typeとして扱うようになっています。 ```ts declare const yourName: string; // 'bar' has type '`hello ${string}`'. const bar = `hello ${yourName}` as const; // ^^^^^^^^ // 'baz' has type 'string'. const baz = `hello ${yourName}`; ``` --- WebdriverIO v7がリリースされました。 - [WebdriverIO v7 Released | WebdriverIO](https://webdriver.io/blog/2021/02/09/webdriverio-v7-released/) Node.js 10のサポート終了、TypeScriptでの書き直し、Cucumber v7へアップデート、Lightouse連携の改善が含まれています。 `browser.checkPWA()`の追加、`@babel/register`や`ts-node`がインストールされている場合に自動的にコンパイルする[`autoCompileOpts`](https://webdriver.io/docs/configurationfile)オプションの追加などが含まれています。 --- Nuxt.js 2.15.0がリリースされています。 - [Release v2.15.0 · nuxt/nuxt.js](https://github.com/nuxt/nuxt.js/releases/tag/v2.15.0) - [nuxt/components: Scan and auto import components for Nuxt.js 2.13+](https://github.com/nuxt/components#migration-guide) - [nuxt-contrib/jiti: Runtime Typescript and ESM support for Node.js](https://github.com/nuxt-contrib/jiti) 破壊的な変更としてNode.js 10のサポート終了、`@nuxt/components` v2へのアップデートが含まれています。 `@nuxt/components` v2へのアップデートするマイグレーションガイドも公開されています。 - [nuxt/components: Scan and auto import components for Nuxt.js 2.13+](https://github.com/nuxt/components#migration-guide "nuxt/components: Scan and auto import components for Nuxt.js 2.13+") その他にはYarnのPlug'n'Playのサポート、PostCSS 8をopt-inでサポートしています。 Co-authored-by: azu <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: azu <[email protected]>
Timed out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
TypeScript 4.2 RCがリリースされています。
Tuple TypesでRest Elementをサポート、Type Aliasの型追跡の仕組みを改善して表示される型が分かりやすくなるように。
また、オブジェクトではないオペランドに対して
in
演算子を利用した場合に、コンパイルエラーとなるように変更。その他には、
noPropertyAccessFromIndexSignature
オプションの追加、abstract new
のサポート、--explainFiles
フラグが追加されています。TypeScript 4.2 Betaの時点では、Template Literal式をデフォルトでTemplate Literal Typeとして扱うように変更されていました。
しかし、この挙動は望ましくないケースもあることがわかり、revertしてデフォルトでは
string
として扱うようになっています。4.2 RCでは、Template Literal式に
as const
をつけた場合のみ、Template Literal Typeとして扱うようになっています。WebdriverIO v7がリリースされました。
Node.js 10のサポート終了、TypeScriptでの書き直し、Cucumber v7へアップデート、Lightouse連携の改善が含まれています。
browser.checkPWA()
の追加、@babel/register
やts-node
がインストールされている場合に自動的にコンパイルするautoCompileOpts
オプションの追加などが含まれています。Nuxt.js 2.15.0がリリースされています。
破壊的な変更としてNode.js 10のサポート終了、
@nuxt/components
v2へのアップデートが含まれています。@nuxt/components
v2へのアップデートするマイグレーションガイドも公開されています。その他にはYarnのPlug'n'Playのサポート、PostCSS 8をopt-inでサポートしています。