pypi python-telegram-bot 21.2
v21.2

latest releases: 21.4, 21.3
5 months ago

Version 21.2

Released 2024-05-20

This is the technical changelog for version 21.2. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

New Features

  • Add Version to PTBDeprecationWarning (#4262 closes #4261)
  • Handle Exceptions in building CallbackContext (#4222)

Bug Fixes

  • Call Application.post_stop Only if Application.stop was called (#4211 closes #4210)
  • Handle SystemExit raised in Handlers (#4157 closes #4155 and #4156)
  • Make Birthdate.to_date Return a datetime.date Object (#4251)

Documentation Improvements

  • Documentation Improvements (#4217)

Internal Changes

  • Add New Rules to ruff Config (#4250)
  • Adapt Test Suite to Changes in Error Messages (#4238)

Dependency Updates

  • Bump furo from 2024.4.27 to 2024.5.6 (#4252)
  • pre-commit autoupdate (#4239)
  • Bump pytest from 8.1.1 to 8.2.0 (#4231)
  • Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#4228)
  • Bump pytest-asyncio from 0.21.1 to 0.21.2 (#4232)
  • Bump pytest-xdist from 3.6.0 to 3.6.1 (#4233)
  • Bump furo from 2024.1.29 to 2024.4.27 (#4230)
  • Bump srvaroa/labeler from 1.10.0 to 1.10.1 (#4227)
  • Bump pytest from 7.4.4 to 8.1.1 (#4218)
  • Bump sphinx from 7.2.6 to 7.3.7 (#4215)
  • Bump pytest-xdist from 3.5.0 to 3.6.0 (#4215)

Don't miss a new python-telegram-bot release

NewReleases is sending notifications on new releases.