Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changes/22.5_2025-09-27/4979.gRpn8vd66DtorTtkMN4AsU.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
other = "Bump Version to v22.5"
[[pull_requests]]
uid = "4979"
author_uids = ["Bibo-Joshi"]
closes_threads = []
4 changes: 2 additions & 2 deletions src/telegram/_business.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def get_opening_hours_for_day(
) -> tuple[tuple[dtm.datetime, dtm.datetime], ...]:
"""Returns the opening hours intervals for a specific day as datetime objects.

.. versionadded:: NEXT.VERSION
.. versionadded:: 22.5

Args:
date (:obj:`datetime.date`): The date to get opening hours for.
Expand Down Expand Up @@ -653,7 +653,7 @@ def get_opening_hours_for_day(
def is_open(self, datetime: dtm.datetime) -> bool:
"""Check if the business is open at the specified datetime.

.. versionadded:: NEXT.VERSION
.. versionadded:: 22.5

Args:
datetime (:obj:`datetime.datetime`): The datetime to check.
Expand Down
4 changes: 2 additions & 2 deletions src/telegram/_reply.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,11 @@ class ReplyParameters(TelegramObject):

.. versionadded:: 20.8

.. versionchanged:: NEXT.VERSION
.. versionchanged:: 22.5
The :paramref:`checklist_task_id` parameter has been moved to the last position to
maintain backward compatibility with versions prior to 22.4.
This resolves a breaking change accidentally introduced in version 22.4. See the changelog
for version NEXT.VERSION for more information.
for version 22.5 for more information.

Args:
message_id (:obj:`int`): Identifier of the message that will be replied to in the current
Expand Down
2 changes: 1 addition & 1 deletion src/telegram/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def __str__(self) -> str:


__version_info__: Final[Version] = Version(
major=22, minor=4, micro=0, releaselevel="final", serial=0
major=22, minor=5, micro=0, releaselevel="final", serial=0
)
__version__: Final[str] = str(__version_info__)