From 53e5abbdee71f5b9fb85996065282cd77e2ca021 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sun, 30 Jul 2023 20:51:29 +0300 Subject: [PATCH] Bump changelog --- CHANGES.rst | 43 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1143.doc.rst | 1 - CHANGES/1230.removal.rst | 2 -- CHANGES/1232.bugfix.rst | 1 - CHANGES/1233.bugfix.rst | 4 ---- CHANGES/1234.feature.rst | 2 -- CHANGES/1235.feature.rst | 2 -- 7 files changed, 43 insertions(+), 12 deletions(-) delete mode 100644 CHANGES/1143.doc.rst delete mode 100644 CHANGES/1230.removal.rst delete mode 100644 CHANGES/1232.bugfix.rst delete mode 100644 CHANGES/1233.bugfix.rst delete mode 100644 CHANGES/1234.feature.rst delete mode 100644 CHANGES/1235.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index a778b4b5..e2e6d782 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,49 @@ Changelog .. towncrier release notes start + +3.0.0b9 (2023-07-30) +===================== + +Features +-------- + +- Added new shortcuts for :class:`aiogram.types.chat_member_updated.ChatMemberUpdated` + to send message to chat that member joined/left. + `#1234 `_ +- Added new shortcuts for :class:`aiogram.types.chat_join_request.ChatJoinRequest` + to make easier access to sending messages to users who wants to join to chat. + `#1235 `_ + + +Bugfixes +-------- + +- Fixed bot assignment in the :code:`Message.send_copy` shortcut + `#1232 `_ +- Added model validation to remove UNSET before field validation. + This change was necessary to correctly handle parse_mode where 'UNSET' is used as a sentinel value. + Without the removal of 'UNSET', it would create issues when passed to model initialization from Bot.method_name. + 'UNSET' was also added to typing. + `#1233 `_ +- Updated pydantic to 2.1 with few bugfixes + + +Improved Documentation +---------------------- + +- Improved docs, added basic migration guide (will be expanded later) + `#1143 `_ + + +Deprecations and Removals +------------------------- + +- Removed the use of the context instance (Bot.get_current) from all placements that were used previously. + This is to avoid the use of the context instance in the wrong place. + `#1230 `_ + + 3.0.0b8 (2023-07-17) ===================== diff --git a/CHANGES/1143.doc.rst b/CHANGES/1143.doc.rst deleted file mode 100644 index 5c4fea5b..00000000 --- a/CHANGES/1143.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved docs, added basic migration guide (will be expanded later) diff --git a/CHANGES/1230.removal.rst b/CHANGES/1230.removal.rst deleted file mode 100644 index bc1bc5b8..00000000 --- a/CHANGES/1230.removal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed the use of the context instance (Bot.get_current) from all placements that were used previously. -This is to avoid the use of the context instance in the wrong place. diff --git a/CHANGES/1232.bugfix.rst b/CHANGES/1232.bugfix.rst deleted file mode 100644 index ad5957c2..00000000 --- a/CHANGES/1232.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed bot assignment in the :code:`Message.send_copy` shortcut diff --git a/CHANGES/1233.bugfix.rst b/CHANGES/1233.bugfix.rst deleted file mode 100644 index 17aa8fbc..00000000 --- a/CHANGES/1233.bugfix.rst +++ /dev/null @@ -1,4 +0,0 @@ -Added model validation to remove UNSET before field validation. -This change was necessary to correctly handle parse_mode where 'UNSET' is used as a sentinel value. -Without the removal of 'UNSET', it would create issues when passed to model initialization from Bot.method_name. -'UNSET' was also added to typing. diff --git a/CHANGES/1234.feature.rst b/CHANGES/1234.feature.rst deleted file mode 100644 index fe68e765..00000000 --- a/CHANGES/1234.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added new shortcuts for :class:`aiogram.types.chat_member_updated.ChatMemberUpdated` -to send message to chat that member joined/left. diff --git a/CHANGES/1235.feature.rst b/CHANGES/1235.feature.rst deleted file mode 100644 index 98cce77f..00000000 --- a/CHANGES/1235.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added new shortcuts for :class:`aiogram.types.chat_join_request.ChatJoinRequest` -to make easier access to sending messages to users who wants to join to chat.