From 97620e8e1c6dbb0a9f76d430cdfa89a849e46bde Mon Sep 17 00:00:00 2001 From: dtrckd Date: Thu, 8 Aug 2024 11:58:26 +0200 Subject: [PATCH 1/4] fix: typo in matrix_bot error log --- app/matrix_bot/callbacks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/matrix_bot/callbacks.py b/app/matrix_bot/callbacks.py index 15fb1c7..f1deacf 100755 --- a/app/matrix_bot/callbacks.py +++ b/app/matrix_bot/callbacks.py @@ -134,7 +134,8 @@ async def decryption_failure(self, room: MatrixRoom, event: MegolmEvent): logger.error( f"Failed to decrypt message: {event.event_id} from {event.sender} in {room.room_id}. " "If this error persists despite verification, reset the crypto session by deleting " - f"{self.matrix_client.matrix_config.store_path} and {self.matrix_client.auth.session_stored_file_path}. " + f"{self.matrix_client.matrix_config.store_path} " + f"and {self.matrix_client.auth.credentials.session_stored_file_path}. " "You will have to verify any verified devices anew." ) await self.matrix_client.send_text_message( From 52c06071bc19d63c43b2d77b23ed4b472b8eb8a6 Mon Sep 17 00:00:00 2001 From: dtrckd Date: Thu, 8 Aug 2024 12:04:04 +0200 Subject: [PATCH 2/4] Update pyalbert version --- app/core_llm.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/core_llm.py b/app/core_llm.py index e1cb749..b07d3b6 100755 --- a/app/core_llm.py +++ b/app/core_llm.py @@ -8,8 +8,8 @@ from config import Config -# FIX/FUTURE: with pyalbert v0.7 ? -API_PREFIX_V1 = "/api" +# FIX/FUTURE: pyalbert/MfsClient +API_PREFIX_V1 = "/api/v1" API_PREFIX_V2 = "/api/v2" diff --git a/pyproject.toml b/pyproject.toml index b5d70b6..7c03a28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "cryptography==42.0.8", "structlog==24.2.0", "grist_api==0.1.0", - "pyalbert==0.6.20", + "pyalbert==0.7.0", ] # Packaging From eb38efe805f5bf8601d02e64a216c963a3f8f3ef Mon Sep 17 00:00:00 2001 From: dtrckd Date: Sun, 11 Aug 2024 00:20:20 +0200 Subject: [PATCH 3/4] fix: update pyalbert version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7c03a28..fe09f7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "cryptography==42.0.8", "structlog==24.2.0", "grist_api==0.1.0", - "pyalbert==0.7.0", + "pyalbert==0.7.4", ] # Packaging From 50e73d02079dbee57fd57458a2b6b9617dbb0c7e Mon Sep 17 00:00:00 2001 From: dtrckd Date: Sun, 11 Aug 2024 00:27:06 +0200 Subject: [PATCH 4/4] Update Changelog --- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 112d239..cffeb76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. +## [0.2.1] - 2024-08-10 + +### 🐛 Bug Fixes + +- Prevent conflicting typing await when showing auto-reset message. +- Typo in matrix_bot error log +- Update pyalbert version + + ## 0.2.0 ### 🚀 Features diff --git a/pyproject.toml b/pyproject.toml index fe09f7a..d952b7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "albert-tchap" -version = "0.2.0" +version = "0.2.1" description = "Albert Tchap" authors = [ { name = "Pôle d'Expertise de la Régulation Numérique", email = "contact.peren@finances.gouv.fr" },