Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin python-telegram-bot to latest version 10.0.1 #12

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Mar 5, 2018

python-telegram-bot is not pinned to a specific version.

I'm pinning it to the latest version 10.0.1 for now.

These links might come in handy: PyPI | Changelog | Homepage

Changelog

10.0.1

Fixes:

  • Fix conversationhandler timeout (PR 1032_)
  • Add missing docs utils (PR 912_)

.. _1032: python-telegram-bot/python-telegram-bot#826
.. _912: python-telegram-bot/python-telegram-bot#826

2018-03-02

10.0.0

Non backward compatabile changes and changed defaults

  • JobQueue: Remove deprecated prevent_autostart & put() (PR 1012_)
  • Bot, Updater: Remove deprecated network_delay (PR 1012_)
  • Remove deprecated Message.new_chat_member (PR 1012_)
  • Retry bootstrap phase indefinitely (by default) on network errors (PR 1018_)

New Features

  • Support v3.6 API (PR 1006_)
  • User.full_name convinience property (PR 949_)
  • Add send_phone_number_to_provider and send_email_to_provider arguments to send_invoice (PR 986_)
  • Bot: Add shortcut methods reply_{markdown,html} (PR 827_)
  • Bot: Add shortcut method reply_media_group (PR 994_)
  • Added utils.helpers.effective_message_type (PR 826_)
  • Bot.get_file now allows passing a file in addition to file_id (PR 963_)
  • Add .get_file() to Audio, Document, PhotoSize, Sticker, Video, VideoNote and Voice (PR 963_)
  • Add .send_*() methods to User and Chat (PR 963_)
  • Get jobs by name (PR 1011_)
  • Add Message caption html/markdown methods (PR 1013_)
  • File.download_as_bytearray - new method to get a d/led file as bytearray (PR 1019_)
  • File.download(): Now returns a meaningful return value (PR 1019_)
  • Added conversation timeout in ConversationHandler (PR 895_)

Changes

  • Store bot in PreCheckoutQuery (PR 953_)
  • Updater: Issue INFO log upon received signal (PR 951_)
  • JobQueue: Thread safety fixes (PR 977_)
  • WebhookHandler: Fix exception thrown during error handling (PR 985_)
  • Explicitly check update.effective_chat in ConversationHandler.check_update (PR 959_)
  • Updater: Better handling of timeouts during get_updates (PR 1007_)
  • Remove unnecessary to_dict() (PR 834_)
  • CommandHandler - ignore strings in entities and "/" followed by whitespace (PR 1020_)
  • Documentation & style fixes (PR 942, PR 956, PR 962, PR 980, PR 983_)

.. _826: python-telegram-bot/python-telegram-bot#826
.. _827: python-telegram-bot/python-telegram-bot#827
.. _834: python-telegram-bot/python-telegram-bot#834
.. _895: python-telegram-bot/python-telegram-bot#895
.. _942: python-telegram-bot/python-telegram-bot#942
.. _949: python-telegram-bot/python-telegram-bot#949
.. _951: python-telegram-bot/python-telegram-bot#951
.. _956: python-telegram-bot/python-telegram-bot#956
.. _953: python-telegram-bot/python-telegram-bot#953
.. _962: python-telegram-bot/python-telegram-bot#962
.. _959: python-telegram-bot/python-telegram-bot#959
.. _963: python-telegram-bot/python-telegram-bot#963
.. _977: python-telegram-bot/python-telegram-bot#977
.. _980: python-telegram-bot/python-telegram-bot#980
.. _983: python-telegram-bot/python-telegram-bot#983
.. _985: python-telegram-bot/python-telegram-bot#985
.. _986: python-telegram-bot/python-telegram-bot#986
.. _994: python-telegram-bot/python-telegram-bot#994
.. _1006: python-telegram-bot/python-telegram-bot#1006
.. _1007: python-telegram-bot/python-telegram-bot#1007
.. _1011: python-telegram-bot/python-telegram-bot#1011
.. _1012: python-telegram-bot/python-telegram-bot#1012
.. _1013: python-telegram-bot/python-telegram-bot#1013
.. _1018: python-telegram-bot/python-telegram-bot#1018
.. _1019: python-telegram-bot/python-telegram-bot#1019
.. _1020: python-telegram-bot/python-telegram-bot#1020

2017-12-08

9.0.0

Breaking changes (possibly)

  • Drop support for python 3.3 (PR 930_)

New Features

  • Support Bot API 3.5 (PR 920_)

Changes

  • Fix race condition in dispatcher start/stop (887_)
  • Log error trace if there is no error handler registered (694_)
  • Update examples with consistent string formatting (870_)
  • Various changes and improvements to the docs.

.. _920: python-telegram-bot/python-telegram-bot#920
.. _930: python-telegram-bot/python-telegram-bot#930
.. _887: python-telegram-bot/python-telegram-bot#887
.. _694: python-telegram-bot/python-telegram-bot#694
.. _870: python-telegram-bot/python-telegram-bot#870

2017-10-15

8.1.1

  • Fix Commandhandler crashing on single character messages (PR 873_).

.. _873: python-telegram-bot/python-telegram-bot#871

2017-10-14

8.1.0

New features

  • Support Bot API 3.4 (PR 865_).

Changes

  • MessageHandler & RegexHandler now consider channel_updates.
  • Fix command not recognized if it is directly followed by a newline (PR 869_).
  • Removed Bot.message_wrapper (PR 822).
  • Unitests are now also running on AppVeyor (Windows VM).
  • Various unitest improvements.
  • Documentation fixes.

.. _822: python-telegram-bot/python-telegram-bot#822
.. _865: python-telegram-bot/python-telegram-bot#865
.. _869: python-telegram-bot/python-telegram-bot#869

2017-09-01

8.0.0

New features

  • Fully support Bot Api 3.3 (PR 806_).
  • DispatcherHandlerStop (see docs_).
  • Regression fix for text_html & text_markdown (PR 777_).
  • Added effective_attachment to message (PR 766_).

Non backward compatible changes

  • Removed Botan support from the library (PR 776_).
  • Fully support Bot Api 3.3 (PR 806_).
  • Remove de_json() (PR 789_).

Changes

  • Sane defaults for tcp socket options on linux (PR 754_).
  • Add RESTRICTED as constant to ChatMember (PR 761_).
  • Add rich comparison to CallbackQuery (PR 764_).
  • Fix get_game_high_scores (PR 771_).
  • Warn on small con_pool_size during custom initalization of Updater (PR 793_).
  • Catch exceptions in error handlerfor errors that happen during polling (PR 810_).
  • For testing we switched to pytest (PR 788_).
  • Lots of small improvements to our tests and documentation.

.. _see docs: http://python-telegram-bot.readthedocs.io/en/stable/telegram.ext.dispatcher.htmltelegram.ext.Dispatcher.add_handler
.. _777: python-telegram-bot/python-telegram-bot#777
.. _806: python-telegram-bot/python-telegram-bot#806
.. _766: python-telegram-bot/python-telegram-bot#766
.. _776: python-telegram-bot/python-telegram-bot#776
.. _789: python-telegram-bot/python-telegram-bot#789
.. _754: python-telegram-bot/python-telegram-bot#754
.. _761: python-telegram-bot/python-telegram-bot#761
.. _764: python-telegram-bot/python-telegram-bot#764
.. _771: python-telegram-bot/python-telegram-bot#771
.. _788: python-telegram-bot/python-telegram-bot#788
.. _793: python-telegram-bot/python-telegram-bot#793
.. _810: python-telegram-bot/python-telegram-bot#810

2017-07-28

7.0.1

  • Fix TypeError exception in RegexHandler (PR 751).
  • Small documentation fix (PR 749).

2017-07-25

7.0.0

  • Fully support Bot API 3.2.
  • New filters for handling messages from specific chat/user id (PR 677).
  • Add the possibility to add objects as arguments to send_* methods (PR 742).
  • Fixed download of URLs with UTF-8 chars in path (PR 688).
  • Fixed URL parsing for Message text properties (PR 689).
  • Fixed args dispatching in MessageQueue's decorator (PR 705).
  • Fixed regression preventing IPv6 only hosts from connnecting to Telegram servers (Issue 720).
  • ConvesationHandler - check if a user exist before using it (PR 699).
  • Removed deprecated telegram.Emoji.
  • Removed deprecated Botan import from utils (Botan is still available through contrib).
  • Removed deprecated ReplyKeyboardHide.
  • Removed deprecated edit_message argument of bot.set_game_score.
  • Internal restructure of files.
  • Improved documentation.
  • Improved unitests.

2017-06-18

6.1.0

  • Fully support Bot API 3.0
  • Add more fine-grained filters for status updates
  • Bug fixes and other improvements

2017-05-29

6.0.3

  • Faulty PyPI release

2017-05-29

6.0.2

  • Avoid confusion with user's urllib3 by renaming vendored urllib3 to ptb_urllib3

2017-05-19

6.0.1

  • Add support for User.language_code
  • Fix Message.text_html and Message.text_markdown for messages with emoji

2017-05-19

6.0.0

2017-04-17

5.3.1

  • Hotfix release due to bug introduced by urllib3 version 1.21

2016-12-11

5.3

  • Implement API changes of November 21st (Bot API 2.3)
  • JobQueue now supports datetime.timedelta in addition to seconds
  • JobQueue now supports running jobs only on certain days
  • New Filters.reply filter
  • Bugfix for Message.edit_reply_markup
  • Other bugfixes

2016-10-25

5.2

  • Implement API changes of October 3rd (games update)
  • Add Message.edit_* methods
  • Filters for the MessageHandler can now be combined using bitwise operators (& and |)
  • Add a way to save user- and chat-related data temporarily
  • Other bugfixes and improvements

2016-09-24

5.1

  • Drop Python 2.6 support
  • Deprecate telegram.Emoji
  • Use ujson if available
  • Add instance methods to Message, Chat, User, InlineQuery and CallbackQuery
  • RegEx filtering for CallbackQueryHandler and InlineQueryHandler
  • New MessageHandler filters: forwarded and entity
  • Add Message.get_entity to correctly handle UTF-16 codepoints and MessageEntity offsets
  • Fix bug in ConversationHandler when first handler ends the conversation
  • Allow multiple Dispatcher instances
  • Add ChatMigrated Exception
  • Properly split and handle arguments in CommandHandler

2016-07-15

5.0

2016-07-12

4.3.4

  • Fix proxy support with urllib3 when proxy requires auth

2016-07-08

4.3.3

  • Fix proxy support with urllib3

2016-07-04

4.3.2

  • Fix: Use timeout parameter in all API methods

2016-06-29

4.3.1

  • Update wrong requirement: urllib3>=1.10

2016-06-28

4.3

  • Use urllib3.PoolManager for connection re-use
  • Rewrite run_async decorator to re-use threads
  • New requirements: urllib3 and certifi

2016-06-10

4.2.1

  • Fix CallbackQuery.to_dict() bug (thanks to jlmadurga)
  • Fix editMessageText exception when receiving a CallbackQuery

2016-05-28

4.2

  • Implement Bot API 2.1
  • Move botan module to telegram.contrib
  • New exception type: BadRequest

2016-05-22

4.1.2

  • Fix MessageEntity decoding with Bot API 2.1 changes

2016-05-16

4.1.1

  • Fix deprecation warning in Dispatcher

2016-05-15

4.1

  • Implement API changes from May 6, 2016
  • Fix bug when start_polling with clean=True
  • Methods now have snake_case equivalent, for example telegram.Bot.send_message is the same as telegram.Bot.sendMessage

2016-05-01

4.0.3

  • Add missing attribute location to InlineQuery

2016-04-29

4.0.2

  • Bugfixes
  • KeyboardReplyMarkup now accepts str again

2016-04-27

4.0.1

  • Implement Bot API 2.0
  • Almost complete recode of Dispatcher
  • Please read the Transition Guide to 4.0 <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-4.0>_
  • Changes from 4.0rc1
    • The syntax of filters for MessageHandler (upper/lower cases)
    • Handler groups are now identified by int only, and ordered
  • Note: v4.0 has been skipped due to a PyPI accident

2016-04-22

4.0rc1

  • Implement Bot API 2.0
  • Almost complete recode of Dispatcher
  • Please read the Transistion Guide to 4.0 <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transistion-guide-to-Version-4.0>_

2016-03-22

3.4

  • Move Updater, Dispatcher and JobQueue to new telegram.ext submodule (thanks to rahiel)
  • Add disable_notification parameter (thanks to aidarbiktimirov)
  • Fix bug where commands sent by Telegram Web would not be recognized (thanks to shelomentsevd)
  • Add option to skip old updates on bot startup
  • Send files from BufferedReader

2016-02-28

3.3

  • Inline bots
  • Send any file by URL
  • Specialized exceptions: Unauthorized, InvalidToken, NetworkError and TimedOut
  • Integration for botan.io (thanks to ollmer)
  • HTML Parsemode (thanks to jlmadurga)
  • Bugfixes and under-the-hood improvements

Very special thanks to Noam Meltzer (tsnoam) for all of his work!

2016-01-09

3.3b1

  • Implement inline bots (beta)

2016-01-05

3.2.0

  • Introducing JobQueue (original author: franciscod)
  • Streamlining all exceptions to TelegramError (Special thanks to tsnoam)
  • Proper locking of Updater and Dispatcher start and stop methods
  • Small bugfixes

2015-12-29

3.1.2

  • Fix custom path for file downloads
  • Don't stop the dispatcher thread on uncaught errors in handlers

2015-12-21

3.1.1

  • Fix a bug where asynchronous handlers could not have additional arguments
  • Add groups and groupdict as additional arguments for regex-based handlers

2015-12-16

3.1.0

  • The chat-field in Message is now of type Chat. (API update Oct 8 2015)
  • Message now contains the optional fields supergroup_chat_created, migrate_to_chat_id, migrate_from_chat_id and channel_chat_created. (API update Nov 2015)

2015-12-08

3.0.0

  • Introducing the Updater and Dispatcher classes

2015-11-11

2.9.2

  • Error handling on request timeouts has been improved

2015-11-10

2.9.1

  • Add parameter network_delay to Bot.getUpdates for slow connections

2015-11-10

2.9

  • Emoji class now uses bytes_to_native_str from future 3rd party lib
  • Make user_from optional to work with channels
  • Raise exception if Telegram times out on long-polling

Special thanks to jh0ker for all hard work

2015-10-08

2.8.7

  • Type as optional for GroupChat class

2015-10-08

2.8.6

  • Adds type to User and GroupChat classes (pre-release Telegram feature)

2015-09-24

2.8.5

  • Handles HTTP Bad Gateway (503) errors on request
  • Fixes regression on Audio and Document for unicode fields

2015-09-20

2.8.4

  • getFile and File.download is now fully supported

2015-09-10

2.8.3

  • Moved Bot._requestURL to its own class (telegram.utils.request)
  • Much better, such wow, Telegram Objects tests
  • Add consistency for str properties on Telegram Objects
  • Better design to test if chat_id is invalid
  • Add ability to set custom filename on Bot.sendDocument(..,filename='')
  • Fix Sticker as InputFile
  • Send JSON requests over urlencoded post data
  • Markdown support for Bot.sendMessage(..., parse_mode=ParseMode.MARKDOWN)
  • Refactor of TelegramError class (no more handling IOError or URLError)

2015-09-05

2.8.2

  • Fix regression on Telegram ReplyMarkup
  • Add certificate to is_inputfile method

2015-09-05

2.8.1

  • Fix regression on Telegram objects with thumb properties

2015-09-04

2.8

  • TelegramError when chat_id is empty for send* methods
  • setWebhook now supports sending self-signed certificate
  • Huge redesign of existing Telegram classes
  • Added support for PyPy
  • Added docstring for existing classes

2015-08-19

2.7.1

  • Fixed JSON serialization for message

2015-08-17

2.7

  • Added support for Voice object and sendVoice method
  • Due backward compatibility performer or/and title will be required for sendAudio
  • Fixed JSON serialization when forwarded message

2015-08-15

2.6.1

  • Fixed parsing image header issue on < Python 2.7.3

2015-08-14

2.6.0

  • Depreciation of require_authentication and clearCredentials methods
  • Giving AUTHORS the proper credits for their contribution for this project
  • Message.date and Message.forward_date are now datetime objects

2015-08-12

2.5.3

  • telegram.Bot now supports to be unpickled

2015-08-11

2.5.2

  • New changes from Telegram Bot API have been applied
  • telegram.Bot now supports to be pickled
  • Return empty str instead None when message.text is empty

2015-08-10

2.5.1

  • Moved from GPLv2 to LGPLv3

2015-08-09

2.5

  • Fixes logging calls in API

2015-08-08

2.4

  • Fixes Emoji class for Python 3
  • PEP8 improvements

2015-08-08

2.3

  • Fixes ForceReply class
  • Remove logging.basicConfig from library

2015-07-25

2.2

  • Allows debug=True when initializing telegram.Bot

2015-07-20

2.1

  • Fix to_dict for Document and Video

2015-07-19

2.0

  • Fixes bugs
  • Improves __str__ over to_json()
  • Creates abstract class TelegramObject

2015-07-15

1.9

  • Python 3 officially supported
  • PEP8 improvements

2015-07-12

1.8

  • Fixes crash when replying an unicode text message (special thanks to JRoot3D)

2015-07-11

1.7

  • Fixes crash when username is not defined on chat (special thanks to JRoot3D)

2015-07-10

1.6

  • Improvements for GAE support

2015-07-10

1.5

  • Fixes randomly unicode issues when using InputFile

2015-07-10

1.4

  • requests lib is no longer required
  • Google App Engine (GAE) is supported

2015-07-10

1.3

  • Added support to setWebhook (special thanks to macrojames)

2015-07-09

1.2

  • CustomKeyboard classes now available
  • Emojis available
  • PEP8 improvements

2015-07-08

1.1

  • PyPi package now available

2015-07-08

1.0

  • Initial checkin of python-telegram-bot

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@skeledrew skeledrew merged commit a19ac4c into master Mar 26, 2018
@skeledrew skeledrew deleted the pyup-pin-python-telegram-bot-10.0.1 branch March 26, 2018 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants