From ab06f4ceec145cba2ac859b074a8eec9aa399903 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Sun, 3 May 2026 16:35:59 +0900 Subject: [PATCH] =?UTF-8?q?2026.4.2=20/=20Fix:=20id=E9=99=A4=E5=A4=96?= =?UTF-8?q?=E3=81=8C=E6=A9=9F=E8=83=BD=E3=81=97=E3=81=AA=E3=81=84=E5=95=8F?= =?UTF-8?q?=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ README.md | 8 +++++--- package.json | 2 +- src/feature/earthquakeNotice.ts | 3 ++- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0455877..02f803d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 2026.4.2 +- Fix: id除外が機能しない問題 + +# 2026.4.1 +- Chg: notificationsもfor内でlastReadを更新しないように + # 2026.4.0 - Breaking: noticeUwuzuを0から作り直しました - Breaking: 25.12.0-alpha.1までの方針を全て廃止しました diff --git a/README.md b/README.md index ef5d3fe..f3fdf20 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,14 @@ uwuzu v1.6.3以上で利用可能です。 - デバッグモード 設定で有効化することで、以下の機能が利用できます。 開発以外では使用しないでください。 - - NODE_TLS_REJECT_UNAUTHORIZED=1 + - NODE_TLS_REJECT_UNAUTHORIZED=1 暗号化通信を無効化します。 - - 地震情報のWebSocketの接続先をテスト用サンドボックスに変更 + - 地震情報のWebSocketの接続先をテスト用サンドボックスに変更 P2P地震情報の接続先を本番環境から[テスト用サンドボックスのエンドポイント](https://www.p2pquake.net/develop/json_api_v2/)に変更します。 そのため、最新の情報は配信されません。 - - i18nextのdebugを有効化 + - 地震情報のid除外を無効化 + 地震情報のid除外を記録も確認も行わなくなります。 + - i18nextのdebugを有効化 [i18nextでのdebug](https://www.i18next.com/overview/configuration-options#logging)が有効化されます。 ## 260420.jsonについて diff --git a/package.json b/package.json index 93a9372..3b8a044 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notice-uwuzu", - "version": "2026.4.1", + "version": "2026.4.2", "type": "module", "main": "dist/index.js", "scripts": { diff --git a/src/feature/earthquakeNotice.ts b/src/feature/earthquakeNotice.ts index 9ad8767..cd686b2 100644 --- a/src/feature/earthquakeNotice.ts +++ b/src/feature/earthquakeNotice.ts @@ -68,7 +68,8 @@ if (config.earthquake?.useHistoryData) { processMessage(message); if (!config.debug) { - mem.processedInfo.concat([id]); + const mem = Memory.memory; + mem.processedInfo = mem.processedInfo.concat([id]); Memory.memory = mem; } });