From b34708a8fdf6b5c3bd28f78b55af25b847ea075e Mon Sep 17 00:00:00 2001 From: gunyu1019 Date: Tue, 23 Jul 2024 03:16:00 +0900 Subject: [PATCH 1/4] [Fix] #14 - Missing emojis field --- chzzkpy/chat/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chzzkpy/chat/message.py b/chzzkpy/chat/message.py index 0b59717..cd5e17d 100644 --- a/chzzkpy/chat/message.py +++ b/chzzkpy/chat/message.py @@ -44,7 +44,7 @@ class ExtraBase(ChzzkModel): class Extra(ExtraBase): chat_type: str - emojis: Any + emojis: Optional[Any] = None os_type: Literal["PC", "AOS", "IOS"] streaming_channel_id: str From c305de6040c9a1c4738c9d607b1ea4e399bb01b3 Mon Sep 17 00:00:00 2001 From: gunyu1019 Date: Tue, 23 Jul 2024 03:16:29 +0900 Subject: [PATCH 2/4] [Formatting] Format with black --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1fdce76..92f5634 100644 --- a/setup.py +++ b/setup.py @@ -12,10 +12,7 @@ raise RuntimeError("version is not set") -extras_require = { - "test": ["pytest", "pytest-cov"], - "lint": ["pycodestyle", "black"] -} +extras_require = {"test": ["pytest", "pytest-cov"], "lint": ["pycodestyle", "black"]} setup( name="chzzkpy", From 4705290cb79fb9770df280d6e2399df17b9cadc7 Mon Sep 17 00:00:00 2001 From: gunyu1019 Date: Tue, 23 Jul 2024 03:22:23 +0900 Subject: [PATCH 3/4] [Feat] Update packages --- requirements.in | 10 +++++----- requirements.txt | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements.in b/requirements.in index 5ad4a8b..1e06bea 100644 --- a/requirements.in +++ b/requirements.in @@ -1,14 +1,14 @@ aiohttp==3.9.3 aiosignal==1.3.1 -annotated-types==0.6.0 +annotated-types==0.7.0 async-timeout==4.0.3 -ahttp_client==1.0.0 +ahttp_client==1.0.1 attrs==23.2.0 charset-normalizer==3.3.2 frozenlist==1.4.1 idna==3.6 multidict==6.0.5 -pydantic==2.6.2 -pydantic_core==2.16.3 -typing_extensions==4.9.0 +pydantic==2.8.2 +pydantic_core==2.20.1 +typing_extensions==4.12.2 yarl==1.9.4 diff --git a/requirements.txt b/requirements.txt index 5cb3235..7839b43 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ aiosignal==1.3.1 # -r requirements.in # ahttp-client # aiohttp -annotated-types==0.6.0 +annotated-types==0.7.0 # via # -r requirements.in # pydantic @@ -49,13 +49,13 @@ multidict==6.0.5 # ahttp-client # aiohttp # yarl -pydantic==2.6.3 +pydantic==2.8.2 # via -r requirements.in -pydantic-core==2.16.3 +pydantic-core==2.20.1 # via # -r requirements.in # pydantic -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -r requirements.in # pydantic From d68b219a6aed0213a739128f80771158e272d0f7 Mon Sep 17 00:00:00 2001 From: gunyu1019 Date: Tue, 23 Jul 2024 03:23:22 +0900 Subject: [PATCH 4/4] [Deploy] Deploy v1.0.1 --- chzzkpy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chzzkpy/__init__.py b/chzzkpy/__init__.py index 5f51525..af7df03 100644 --- a/chzzkpy/__init__.py +++ b/chzzkpy/__init__.py @@ -39,7 +39,7 @@ __author__ = "gunyu1019" __license__ = "MIT" __copyright__ = "Copyright 2024-present gunyu1019" -__version__ = "1.0.0" # version_info.to_string() +__version__ = "1.0.1" # version_info.to_string() class VersionInfo(NamedTuple): @@ -57,5 +57,5 @@ def to_string(self) -> str: version_info: VersionInfo = VersionInfo( - major=1, minor=0, micro=0, release_level=None, serial=0 + major=1, minor=0, micro=1, release_level=None, serial=0 )