diff options
author | evgfilim1 | 2020-11-18 20:23:34 +0500 |
---|---|---|
committer | evgfilim1 | 2020-11-18 20:23:34 +0500 |
commit | f9fa49826ffc02048a1a36423a11fec2c6c56318 (patch) | |
tree | f1ebbd619f8b99e5a7799e1b3a7645b96f2d3b47 | |
parent | 16f0372de7783419f914b6d2d2c6d8cb0f4d9c18 (diff) | |
download | aur-f9fa49826ffc02048a1a36423a11fec2c6c56318.tar.gz |
Updated to version 1:13.0.r24, add missing deps
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | CHANGES.rst | 201 | ||||
-rw-r--r-- | PKGBUILD | 12 |
3 files changed, 214 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = python-telegram-bot-git pkgdesc = A Python wrapper around the Telegram Bot API - pkgver = 12.5.r0.90729c21 + pkgver = 13.0.r24.425716f9 pkgrel = 1 epoch = 1 url = https://github.com/python-telegram-bot/python-telegram-bot @@ -14,6 +14,8 @@ pkgbase = python-telegram-bot-git depends = python-tornado>=5.1 depends = python-cryptography depends = python-decorator>=4.4.0 + depends = python-apscheduler=3.6.3 + depends = python-pytz>=2018.6 optdepends = python-pysocks: SOCKS or HTTP proxy optdepends = python-ujson: Ultra fast JSON parsing provides = python-telegram-bot diff --git a/CHANGES.rst b/CHANGES.rst index fb081c3d1ab4..5f1ae1bfa2f4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,207 @@ Changelog ========= +Version 13.0 +============ +*Released 2020-10-07* + +**For a detailed guide on how to migrate from v12 to v13, see this** `wiki page <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-13.0>`_. + +**Major Changes:** + +- Deprecate old-style callbacks, i.e. set ``use_context=True`` by default (`#2050`_) +- Refactor Handling of Message VS Update Filters (`#2032`_) +- Deprecate ``Message.default_quote`` (`#1965`_) +- Refactor persistence of Bot instances (`#1994`_) +- Refactor ``JobQueue`` (`#1981`_) +- Refactor handling of kwargs in Bot methods (`#1924`_) +- Refactor ``Dispatcher.run_async``, deprecating the ``@run_async`` decorator (`#2051`_) + +**New Features:** + +- Type Hinting (`#1920`_) +- Automatic Pagination for ``answer_inline_query`` (`#2072`_) +- ``Defaults.tzinfo`` (`#2042`_) +- Extend rich comparison of objects (`#1724`_) +- Add ``Filters.via_bot`` (`#2009`_) +- Add missing shortcuts (`#2043`_) +- Allow ``DispatcherHandlerStop`` in ``ConversationHandler`` (`#2059`_) +- Make Errors picklable (`#2106`_) + +**Minor changes, CI improvements, doc fixes or bug fixes:** + +- Fix Webhook not working on Windows with Python 3.8+ (`#2067`_) +- Fix setting thumbs with ``send_media_group`` (`#2093`_) +- Make ``MessageHandler`` filter for ``Filters.update`` first (`#2085`_) +- Fix ``PicklePersistence.flush()`` with only ``bot_data`` (`#2017`_) +- Add test for clean argument of ``Updater.start_polling/webhook`` (`#2002`_) +- Doc fixes, refinements and additions (`#2005`_, `#2008`_, `#2089`_, `#2094`_, `#2090`_) +- CI fixes (`#2018`_, `#2061`_) +- Refine ``pollbot.py`` example (`#2047`_) +- Refine Filters in examples (`#2027`_) +- Rename ``echobot`` examples (`#2025`_) +- Use Lock-Bot to lock old threads (`#2048`_, `#2052`_, `#2049`_, `#2053`_) + +.. _`#2050`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2050 +.. _`#2032`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2032 +.. _`#1965`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1965 +.. _`#1994`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1994 +.. _`#1981`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1981 +.. _`#1924`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1924 +.. _`#2051`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2051 +.. _`#1920`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1920 +.. _`#2072`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2072 +.. _`#2042`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2042 +.. _`#1724`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1724 +.. _`#2009`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2009 +.. _`#2043`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2043 +.. _`#2059`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2059 +.. _`#2106`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2106 +.. _`#2067`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2067 +.. _`#2093`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2093 +.. _`#2085`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2085 +.. _`#2017`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2017 +.. _`#2002`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2002 +.. _`#2005`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2005 +.. _`#2008`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2008 +.. _`#2089`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2089 +.. _`#2094`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2094 +.. _`#2090`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2090 +.. _`#2018`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2018 +.. _`#2061`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2061 +.. _`#2047`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2047 +.. _`#2027`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2027 +.. _`#2025`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2025 +.. _`#2048`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2048 +.. _`#2052`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2052 +.. _`#2049`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2049 +.. _`#2053`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2053 + +Version 12.8 +============ +*Released 2020-06-22* + +**Major Changes:** + +- Remove Python 2 support (`#1715`_) +- Bot API 4.9 support (`#1980`_) +- IDs/Usernames of ``Filters.user`` and ``Filters.chat`` can now be updated (`#1757`_) + +**Minor changes, CI improvements, doc fixes or bug fixes:** + +- Update contribution guide and stale bot (`#1937`_) +- Remove ``NullHandlers`` (`#1913`_) +- Improve and expand examples (`#1943`_, `#1995`_, `#1983`_, `#1997`_) +- Doc fixes (`#1940`_, `#1962`_) +- Add ``User.send_poll()`` shortcut (`#1968`_) +- Ignore private attributes en ``TelegramObject.to_dict()`` (`#1989`_) +- Stabilize CI (`#2000`_) + +.. _`#1937`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1937 +.. _`#1913`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1913 +.. _`#1943`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1943 +.. _`#1757`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1757 +.. _`#1940`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1940 +.. _`#1962`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1962 +.. _`#1968`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1968 +.. _`#1989`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1989 +.. _`#1995`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1995 +.. _`#1983`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1983 +.. _`#1715`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1715 +.. _`#2000`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2000 +.. _`#1997`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1997 +.. _`#1980`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1980 + +Version 12.7 +============ +*Released 2020-05-02* + +**Major Changes:** + +- Bot API 4.8 support. **Note:** The ``Dice`` object now has a second positional argument ``emoji``. This is relevant, if you instantiate ``Dice`` objects manually. (`#1917`_) +- Added ``tzinfo`` argument to ``helpers.from_timestamp``. It now returns an timezone aware object. This is relevant for ``Message.{date,forward_date,edit_date}``, ``Poll.close_date`` and ``ChatMember.until_date`` (`#1621`_) + +**New Features:** + +- New method ``run_monthly`` for the ``JobQueue`` (`#1705`_) +- ``Job.next_t`` now gives the datetime of the jobs next execution (`#1685`_) + +**Minor changes, CI improvements, doc fixes or bug fixes:** + +- Stabalize CI (`#1919`_, `#1931`_) +- Use ABCs ``@abstractmethod`` instead of raising ``NotImplementedError`` for ``Handler``, ``BasePersistence`` and ``BaseFilter`` (`#1905`_) +- Doc fixes (`#1914`_, `#1902`_, `#1910`_) + +.. _`#1902`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1902 +.. _`#1685`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1685 +.. _`#1910`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1910 +.. _`#1914`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1914 +.. _`#1931`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1931 +.. _`#1905`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1905 +.. _`#1919`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1919 +.. _`#1621`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1621 +.. _`#1705`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1705 +.. _`#1917`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1917 + +Version 12.6.1 +============== +*Released 2020-04-11* + +**Bug fixes:** + +- Fix serialization of ``reply_markup`` in media messages (`#1889`_) + +.. _`#1889`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1889 + +Version 12.6 +============ +*Released 2020-04-10* + +**Major Changes:** + +- Bot API 4.7 support. **Note:** In ``Bot.create_new_sticker_set`` and ``Bot.add_sticker_to_set``, the order of the parameters had be changed, as the ``png_sticker`` parameter is now optional. (`#1858`_) + +**Minor changes, CI improvements or bug fixes:** + +- Add tests for ``swtich_inline_query(_current_chat)`` with empty string (`#1635`_) +- Doc fixes (`#1854`_, `#1874`_, `#1884`_) +- Update issue templates (`#1880`_) +- Favor concrete types over "Iterable" (`#1882`_) +- Pass last valid ``CallbackContext`` to ``TIMEOUT`` handlers of ``ConversationHandler`` (`#1826`_) +- Tweak handling of persistence and update persistence after job calls (`#1827`_) +- Use checkout@v2 for GitHub actions (`#1887`_) + +.. _`#1858`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1858 +.. _`#1635`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1635 +.. _`#1854`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1854 +.. _`#1874`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1874 +.. _`#1884`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1884 +.. _`#1880`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1880 +.. _`#1882`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1882 +.. _`#1826`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1826 +.. _`#1827`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1827 +.. _`#1887`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1887 + +Version 12.5.1 +============== +*Released 2020-03-30* + +**Minor changes, doc fixes or bug fixes:** + +- Add missing docs for `PollHandler` and `PollAnswerHandler` (`#1853`_) +- Fix wording in `Filters` docs (`#1855`_) +- Reorder tests to make them more stable (`#1835`_) +- Make `ConversationHandler` attributes immutable (`#1756`_) +- Make `PrefixHandler` attributes `command` and `prefix` editable (`#1636`_) +- Fix UTC as default `tzinfo` for `Job` (`#1696`_) + +.. _`#1853`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1853 +.. _`#1855`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1855 +.. _`#1835`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1835 +.. _`#1756`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1756 +.. _`#1636`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1636 +.. _`#1696`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1696 + Version 12.5 ============ *Released 2020-03-29* @@ -1,13 +1,21 @@ # Maintainer: Evgeniy Filimonov <evgfilim1@gmail.com> pkgname=('python-telegram-bot-git') epoch=1 -pkgver=12.5.r0.90729c21 +pkgver=13.0.r24.425716f9 pkgrel=1 pkgdesc="A Python wrapper around the Telegram Bot API" arch=('any') url="https://github.com/${pkgname%-git}/${pkgname%-git}" license=('LGPL3') -depends=('python-future>=0.16.0' 'python-certifi' 'python-tornado>=5.1' 'python-cryptography' 'python-decorator>=4.4.0') +depends=( + 'python-future>=0.16.0' + 'python-certifi' + 'python-tornado>=5.1' + 'python-cryptography' + 'python-decorator>=4.4.0' + 'python-apscheduler=3.6.3' + 'python-pytz>=2018.6' +) makedepends=('git' 'python-setuptools') optdepends=('python-pysocks: SOCKS or HTTP proxy' 'python-ujson: Ultra fast JSON parsing') |