Skip to content

Commit 4473d62

Browse files
committed
Prepare for 11.0.0 release
1 parent 4689a80 commit 4473d62

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

CHANGES.rst

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
Changes
33
=======
44

5+
**2018-08-29**
56
*Released 11.0.0*
67

78
Fully support Bot API version 4.0!
9+
(also some bugfixes :))
810

911
Telegram Passport (`#1174`_):
1012

@@ -13,8 +15,8 @@ Telegram Passport (`#1174`_):
1315
- New bot method: set_passport_data_errors
1416
- New filter: Filters.passport_data
1517
- Field passport_data field on Message
16-
- PassportData is automagically decrypted when you specify your private key when creating Updater or Bot.
17-
- PassportFiles is also automagically decrypted as you download/retrieve them.
18+
- PassportData can be easily decrypted.
19+
- PassportFiles are automatically decrypted if originating from decrypted PassportData.
1820
- See new passportbot.py example for details on how to use, or go to `our telegram passport wiki page`_ for more info
1921
- NOTE: Passport decryption requires new dependency `cryptography`.
2022

@@ -35,13 +37,25 @@ Other Bot API 4.0 changes:
3537
- Phone number also seems to have limited support for now
3638
- Add Bot.send_animation, add width, height, and duration to Animation, and add Filters.animation. (`#1172`_)
3739

40+
Non Bot API 4.0 changes:
3841

39-
.. _`#1174`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1174
40-
.. _`#1184`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1184
41-
.. _`#1170`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1170
42+
- Minor integer comparison fix (`#1147`_)
43+
- Fix Filters.regex failing on non-text message (`#1158`_)
44+
- Fix ProcessLookupError if process finishes before we kill it (`#1126`_)
45+
- Add t.me links for User, Chat and Message if available and update User.mention_* (`#1092`_)
46+
- Fix mention_markdown/html on py2 (`#1112`_)
47+
48+
.. _`#1092`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1092
49+
.. _`#1112`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1112
50+
.. _`#1126`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1126
51+
.. _`#1147`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1147
52+
.. _`#1158`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1158
4253
.. _`#1166`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1166
43-
.. _`#1179`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1179
54+
.. _`#1170`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1170
55+
.. _`#1174`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1174
4456
.. _`#1172`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1172
57+
.. _`#1179`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1179
58+
.. _`#1184`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1184
4559
.. _`our telegram passport wiki page`: https://git.io/fAvYd
4660

4761
**2018-05-02**

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '10.1' # telegram.__version__[:3]
61+
version = '11.0' # telegram.__version__[:3]
6262
# The full version, including alpha/beta/rc tags.
63-
release = '10.1.0' # telegram.__version__
63+
release = '11.0.0' # telegram.__version__
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

examples/passportbot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
Telegram.Passport.createAuthButton('telegram_passport_auth', {
1515
bot_id: BOT_ID, // YOUR BOT ID
16-
scope: ['id_document', 'phone_number', 'email'], // WHAT DATA YOU WANT TO RECEIVE
16+
scope: {data: [{type: 'id_document', selfie: true}, 'address_document', 'phone_number', 'email'], v: 1}, // WHAT DATA YOU WANT TO RECEIVE
1717
public_key: '-----BEGIN PUBLIC KEY----- ...', // YOUR PUBLIC KEY
1818
payload: 'thisisatest', // YOUR BOT WILL RECEIVE THIS DATA WITH THE REQUEST
1919
callback_url: 'https://example.org' // TELEGRAM WILL SEND YOUR USER BACK TO THIS URL

telegram/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# You should have received a copy of the GNU Lesser Public License
1818
# along with this program. If not, see [http://www.gnu.org/licenses/].
1919

20-
__version__ = '10.1.0'
20+
__version__ = '11.0.0'

0 commit comments

Comments
 (0)