|
| 1 | +.. Copyright (c) 2016 Pietro Albini <[email protected]> |
| 2 | + Released under the MIT license |
| 3 | +
|
| 4 | +=========================== |
| 5 | +Changelog of botogram 0.2.x |
| 6 | +=========================== |
| 7 | + |
| 8 | +Here you can find all the changes in the botogram 0.2.x releases. |
| 9 | + |
| 10 | +.. _changelog-0.2.1: |
| 11 | + |
| 12 | +botogram 0.2.1 |
| 13 | +============== |
| 14 | + |
| 15 | +*Bugfix release, released on March 31th, 2016* |
| 16 | + |
| 17 | +* Fix ``/help`` command crash if using markdown bits in the docstring (`issue |
| 18 | + 51`_) |
| 19 | + |
| 20 | +.. _issue 51: https://github.com/pietroalbini/botogram/issues/51 |
| 21 | + |
| 22 | +.. _changelog-0.2: |
| 23 | + |
| 24 | +botogram 0.2 |
| 25 | +============= |
| 26 | + |
| 27 | +*Alpha release, released on March 27th, 2016* |
| 28 | + |
| 29 | +botogram 0.2 is the second alpha release of botogram. It features an increased |
| 30 | +support for the upstream Telegram API, and also some bugfixes here and there. |
| 31 | + |
| 32 | +This release also does some cleanup in the API, providing better methods and |
| 33 | +deprecating the old ones. The deprecated methods will be available until |
| 34 | +botogram 1.0, and warnings are in place to notify you where to change what. |
| 35 | + |
| 36 | +New features |
| 37 | +------------ |
| 38 | + |
| 39 | +* Added the ability to send messages without notifying the user |
| 40 | + |
| 41 | + * New argument ``notify`` on multiple methods of :py:class:`botogram.User` |
| 42 | + * New argument ``notify`` on multiple methods of :py:class:`botogram.Chat` |
| 43 | + * New argument ``notify`` on multiple methods of :py:class:`botogram.Message` |
| 44 | + * New argument ``notify`` on multiple methods of :py:class:`botogram.Bot` |
| 45 | + |
| 46 | +* Added the ability to send stickers |
| 47 | + |
| 48 | + * New method :py:meth:`botogram.User.send_sticker` |
| 49 | + * New method :py:meth:`botogram.Chat.send_sticker` |
| 50 | + * New method :py:meth:`botogram.Bot.send_sticker` |
| 51 | + * New method :py:meth:`botogram.Message.reply_with_sticker` |
| 52 | + |
| 53 | +* Added the :py:attr:`botogram.User.name` computed attribute |
| 54 | +* Added the :py:attr:`botogram.Chat.name` computed attribute |
| 55 | +* Added the :py:attr:`botogram.User.avatar` attribute |
| 56 | +* Added the :py:meth:`botogram.User.avatar_history` method |
| 57 | + |
| 58 | +Changes |
| 59 | +------- |
| 60 | + |
| 61 | +* Renamed ``Message.from_`` to :py:attr:`botogram.Message.sender` |
| 62 | +* Renamed ``Bot.init_shared_memory`` to :py:meth:`botogram.Bot.prepare_memory` |
| 63 | +* Renamed ``Component.add_shared_memory_initializer`` to |
| 64 | + :py:meth:`botogram.Component.add_memory_preparer` |
| 65 | +* Changed default messages to include rich formatting |
| 66 | + |
| 67 | +Bug fixes |
| 68 | +--------- |
| 69 | + |
| 70 | +* Fix the syntax detector checking URLs with dashes in the domain (`issue 32`_) |
| 71 | +* Fix the syntax detector checking only the first line of a message (`issue |
| 72 | + 40`_) |
| 73 | +* Fix inability to send messages to channels from a running bot (`issue 35`_) |
| 74 | +* Fix inability to download stickers (`issue 36`_) |
| 75 | +* Fix commands with newlines in the arguments not recognized as such (`issue |
| 76 | + 41`_) |
| 77 | +* Remove empty items from the commands' arguments (`issue 42`_) |
| 78 | + |
| 79 | +Deprecated features |
| 80 | +------------------- |
| 81 | + |
| 82 | +Deprecated features will be removed in botogram 1.0! |
| 83 | + |
| 84 | +* ``Message.from_`` is now deprecated |
| 85 | +* ``Bot.init_shared_memory`` is now deprecated |
| 86 | +* ``Component.add_shared_memory_initializer`` is now deprecated |
| 87 | + |
| 88 | +.. _issue 32: https://github.com/pietroalbini/botogram/issues/32 |
| 89 | +.. _issue 35: https://github.com/pietroalbini/botogram/issues/35 |
| 90 | +.. _issue 36: https://github.com/pietroalbini/botogram/issues/36 |
| 91 | +.. _issue 40: https://github.com/pietroalbini/botogram/issues/40 |
| 92 | +.. _issue 41: https://github.com/pietroalbini/botogram/issues/41 |
| 93 | +.. _issue 42: https://github.com/pietroalbini/botogram/issues/42 |
0 commit comments