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/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/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( diff --git a/pyproject.toml b/pyproject.toml index b5d70b6..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" }, @@ -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.4", ] # Packaging