Frontend Weekly 2025-01-31

#Playwright v1.15.0

Playwright v1.15.0 がリリース。

https://github.com/microsoft/playwright/releases/tag/v1.50.0

#Step API の timeout オプション

Playwright v1.14 で導入された Step API に timeout オプションが追加された。 これによりステップ毎にタイムアウトを設定できるようになった。

test("some test", async ({ page }) => {
await test.step(
"a step",
async () => {
// This step can time out separately from the test
},
{ timeout: 1000 }
);
});

#Step API の skip メソッド

Step API に skip メソッドが追加された。

test("some test", async ({ page }) => {
await test.step("before running step", async () => {
// Normal step
});
await test.step.skip("not yet ready", async () => {
// This step is skipped
});
await test.step("after running step", async () => {
// This step still runs even though the previous one was skipped
});
});

#ESLint v9.19.0

ESLint v9.19.0 がリリース。

https://eslint.org/blog/2025/01/eslint-v9.19.0-released/

使われていないインライン設定を報告するreportUnusedInlineConfigsオプションが追加。

export default [
{
linterOptions: {
reportUnusedInlineConfigs: "error",
},
},
];

#Bun 1.2

Bun 1.2 がリリース。

https://bun.sh/blog/bun-v1.2

大きなアップデートであると書かれているが、今までのパッチバージョンでの変更がまとめられており、 どれが v1.2 での変更なのかは不明。

次のような変更が記述されている。

  • S3 の組み込みサポート、Bun.s3の追加
  • Postgres の組み込みサポート、Bun.sqlの追加

#React Compiler の Rust 実装削除

React Compiler の Rust 実装が削除された。JavaScript に賭けるとのこと。

https://github.com/facebook/react/pull/32219