| 1 |
v4.3.7 (2017-02-08) |
| 2 |
------------------- |
| 3 |
|
| 4 |
fixes: |
| 5 |
|
| 6 |
- slack: compatibility with slackclient > 1.0.5. |
| 7 |
- render test fix (thx Sandeep Shantharam) |
| 8 |
|
| 9 |
v4.3.6 (2017-01-28) |
| 10 |
------------------- |
| 11 |
|
| 12 |
fixes: |
| 13 |
|
| 14 |
- regression with Markdown 2.6.8. |
| 15 |
|
| 16 |
v4.3.5 (2016-12-21) |
| 17 |
------------------- |
| 18 |
|
| 19 |
fixes: |
| 20 |
|
| 21 |
- slack: compatibility with slackclient > 1.0.2 |
| 22 |
- slack: block on reads on RTM (better response time) (Thx Tomer Chachamu) |
| 23 |
- slack: fix link names (") |
| 24 |
- slack: ignore channel_topic messages (thx Mikhail Sobolev) |
| 25 |
- slack: Match ACLs for bots on integration ID |
| 26 |
- slack: Process messages from webhook users |
| 27 |
- slack: don’t crash when unable to look up alternate prefix |
| 28 |
- slack: trm_read refactoring (thx Chris Niemira) |
| 29 |
- telegram: fix telegram ID test against ACLs |
| 30 |
- telegram: ID as strings intead of ints (thx Pmoranga) |
| 31 |
- fixed path to the config template in the startup error message (Thx |
| 32 |
Ondrej Skopek) |
| 33 |
|
| 34 |
v4.3.4 (2016-10-05) |
| 35 |
------------------- |
| 36 |
|
| 37 |
features: |
| 38 |
|
| 39 |
- Slack: Stream (files) uploads are now supported |
| 40 |
- Hipchat: Supports for self-signed server certificates. |
| 41 |
|
| 42 |
fixes: |
| 43 |
|
| 44 |
- Card emulation support for links (Thx Robin Gloster) |
| 45 |
- IRC: Character limits fix (Thx lqaz) |
| 46 |
- Dependency check fix. |
| 47 |
|
| 48 |
v4.3.3 (2016-09-09) |
| 49 |
------------------- |
| 50 |
|
| 51 |
fixes: |
| 52 |
|
| 53 |
- err references leftovers |
| 54 |
- requirements.txt is now standard (you can use git+https:// for |
| 55 |
example) |
| 56 |
|
| 57 |
v4.3.2 (2016-09-04) |
| 58 |
------------------- |
| 59 |
|
| 60 |
hotfix: |
| 61 |
|
| 62 |
- removed the hard dependency on pytest for the Text backend |
| 63 |
|
| 64 |
v4.3.1 (2016-09-03) |
| 65 |
------------------- |
| 66 |
|
| 67 |
features: |
| 68 |
|
| 69 |
- now the threadpool is of size 10 by default and added a |
| 70 |
configuration. |
| 71 |
|
| 72 |
fixes: |
| 73 |
|
| 74 |
- fixed importlib/use pip as process (#835) (thx Raphael Wouters) |
| 75 |
- if pip is not found, don’t crash errbot |
| 76 |
- build_identifier to send message to IRC channels (thx mr Shu) |
| 77 |
|
| 78 |
v4.3.0 (2016-08-10) |
| 79 |
------------------- |
| 80 |
|
| 81 |
v4.3 features |
| 82 |
~~~~~~~~~~~~~ |
| 83 |
|
| 84 |
- ``DependsOn:`` entry in .plug and ``self.get_plugin(...)`` allowing |
| 85 |
you to make a plugin dependent from another. |
| 86 |
- New entry in config.py: PLUGINS_CALLBACK_ORDER allows you to force a |
| 87 |
callback order on your installed plugins. |
| 88 |
- Flows can be shared by a room if you build the flow with |
| 89 |
``FlowRoot(room_flow=True)`` (thx Tobias Wilken) |
| 90 |
- New construct for persistence: ``with self.mutable(key) as value:`` |
| 91 |
that allows you to change by side effect value without bothering to |
| 92 |
save value back. |
| 93 |
|
| 94 |
v4.3 Miscellaneous changes |
| 95 |
~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 96 |
|
| 97 |
- This version work only on Python 3.4+ (see 4.2 announcement) |
| 98 |
- Presence.nick is deprecated, simply use presence.identifier.nick instead. |
| 99 |
- Slack: Bot identity is automatically added to BOT_ALT_PREFIXES |
| 100 |
- The version checker now reports your Python version to be sure to not |
| 101 |
upgrade Python 2 users to 4.3 |
| 102 |
- Moved testing to Tox. We used to use a custom script, this improves a |
| 103 |
lot the local testing setup etc. (Thx Pedro Rodrigues) |
| 104 |
|
| 105 |
v4.3 fixes |
| 106 |
~~~~~~~~~~ |
| 107 |
|
| 108 |
- IRC: fixed IRC_ACL_PATTERN |
| 109 |
- Slack: Mention callback improvements (Thx Ash Caire) |
| 110 |
- Encoding error report was inconsistent with the value checked (Thx |
| 111 |
Steve Jarvis) |
| 112 |
- core: better support for all the types of virtualenvs (Thx Raphael |
| 113 |
Wouters) |
| 114 |
|
| 115 |
v4.2.2 (2016-06-24) |
| 116 |
------------------- |
| 117 |
|
| 118 |
fixes: |
| 119 |
|
| 120 |
- send_templated fix |
| 121 |
- CHATROOM_RELAY fix |
| 122 |
- Blacklisting feedback message corrected |
| 123 |
|
| 124 |
v4.2.1 (2016-06-10) |
| 125 |
------------------- |
| 126 |
|
| 127 |
Hotfix |
| 128 |
|
| 129 |
- packaging failure under python2 |
| 130 |
- better README |
| 131 |
|
| 132 |
v4.2.0 (2016-06-10) |
| 133 |
------------------- |
| 134 |
|
| 135 |
v4.2 Announcement |
| 136 |
~~~~~~~~~~~~~~~~~ |
| 137 |
|
| 138 |
- Bye bye Python 2 ! This 4.2 branch will be the last to support Python |
| 139 |
2. We will maintain bug fixes on it for at least the end of 2016 so |
| 140 |
you can transition nicely, but please start now ! |
| 141 |
|
| 142 |
Python 3 has been released 8 years ago, now all the major |
| 143 |
distributions finally have it available, the ecosystem has moved on |
| 144 |
too. This was not the case at all when we started to port Errbot to |
| 145 |
Python 3. |
| 146 |
|
| 147 |
This will clean up *a lot* of code with ugly ``if PY2``, unicode |
| 148 |
hacks, 3to2 reverse hacks all over the place and packaging tricks. |
| 149 |
But most of all it will finally unite the Errbot ecosystem under one |
| 150 |
language and open up new possibilities as we refrained from using py3 |
| 151 |
only features. |
| 152 |
|
| 153 |
- A clarification on Errbot’s license has been accepted. The |
| 154 |
contributors never intended to have the GPL licence be enforced for |
| 155 |
external plugins. Even if it was not clear it would apply, our new |
| 156 |
licence exception makes sure it isn’t. Big big thanks for the amazing |
| 157 |
turnout on this one ! |
| 158 |
|
| 159 |
v4.2 New features |
| 160 |
~~~~~~~~~~~~~~~~~ |
| 161 |
|
| 162 |
- Errbot initial installation. The initial installation has been |
| 163 |
drastically simplified:: |
| 164 |
|
| 165 |
$ pip install errbot |
| 166 |
$ mkdir errbot; cd errbot |
| 167 |
$ errbot –init |
| 168 |
$ errbot -T >>> <- You are game !! |
| 169 |
|
| 170 |
Not only that but it also install a development directory in there so |
| 171 |
it now takes only seconds to have an Errbot development environment. |
| 172 |
|
| 173 |
- Part of this change, we also made most of the config.py entries with |
| 174 |
sane defaults, a lot of those settings were not even relevant for |
| 175 |
most users. |
| 176 |
|
| 177 |
- cards are now supported on the graphic backend with a nice rendering |
| 178 |
(errbot -G) |
| 179 |
|
| 180 |
- Hipchat: mentions are now supported. |
| 181 |
|
| 182 |
v4.2 Miscellaneous changes |
| 183 |
~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 184 |
|
| 185 |
- Documentation improvements |
| 186 |
- Reorganization and rename of the startup files. Those were |
| 187 |
historically the first ones to be created and their meaning drifted |
| 188 |
over the years. We had err.py, main.py and errBot.py, it was really |
| 189 |
not clear what were their functions and why one has been violating |
| 190 |
the python module naming convention for so long :) They are now |
| 191 |
bootstrap.py (everything about configuring errbot), cli.py |
| 192 |
(everything about the errbot command line) and finally core.py |
| 193 |
(everything about the commands, and dispatching etc…). |
| 194 |
- setup.py cleanup. The hacks in there were incorrect. |
| 195 |
|
| 196 |
v4.2 fixes |
| 197 |
~~~~~~~~~~ |
| 198 |
|
| 199 |
- core: excpetion formatting was failing on some plugin load failures. |
| 200 |
- core: When replacing the prefix ``!`` from the doctrings only real |
| 201 |
commands get replaced (thx Raphael Boidol) |
| 202 |
- core: empty lines on plugins requirements.txt does crash errbot anymore |
| 203 |
- core: Better error message in case of malformed .plug file |
| 204 |
- Text: fix on build_identifier (thx Pawet Adamcak) |
| 205 |
- Slack: several fixes for identifiers parsing, the backend is fully |
| 206 |
compliant with Errbot’s contract now (thx Raphael Boidol and Samuel |
| 207 |
Loretan) |
| 208 |
- Hipchat: fix on room occupants (thx Roman Forkosh) |
| 209 |
- Hipchat: fix for organizations with more than 100 rooms. (thx Naman Bharadwaj) |
| 210 |
- Hipchat: fixed a crash on build_identifier |
| 211 |
|
| 212 |
v4.1.3 (2016-05-10) |
| 213 |
------------------- |
| 214 |
|
| 215 |
hotfixes: |
| 216 |
|
| 217 |
- Slack: regression on build_identifier |
| 218 |
- Hipchat: regression on build_identifier (query for room is not supported) |
| 219 |
|
| 220 |
v4.1.2 (2016-05-10) |
| 221 |
------------------- |
| 222 |
|
| 223 |
fixes: |
| 224 |
|
| 225 |
- cards for hipchat and slack were not merged. |
| 226 |
|
| 227 |
v4.1.1 (2016-05-09) |
| 228 |
------------------- |
| 229 |
|
| 230 |
fixes: |
| 231 |
|
| 232 |
- Python 2.7 conversion error on err.py. |
| 233 |
|
| 234 |
v4.1.0 (2016-05-09) |
| 235 |
------------------- |
| 236 |
|
| 237 |
v4.1 features |
| 238 |
~~~~~~~~~~~~~ |
| 239 |
|
| 240 |
- Conversation flows: Errbot can now keep track of conversations with |
| 241 |
its users and automate part of the interactions in a state machine |
| 242 |
manageable from chat. see |
| 243 |
``the flows documentation <http://errbot.io/en/master/user_guide/flow_development/index.html>``\ \_ |
| 244 |
for more information. |
| 245 |
|
| 246 |
- Cards API: Various backends have a "canned" type of formatted |
| 247 |
response. We now support that for a better native integration with |
| 248 |
Slack and Hipchat. |
| 249 |
|
| 250 |
- Dynamic Plugins API: Errbot has now an official API to build plugins |
| 251 |
at runtime (on the fly). see |
| 252 |
``the dynamic plugins doc <http://errbot.io/en/master/user_guide/plugin_development/dynaplugs.html>``\ \_ |
| 253 |
|
| 254 |
- Storage command line interface: It is now possible to provision any |
| 255 |
persistent setting from the command line. It is helpful if you want |
| 256 |
to automate end to end the deployment of your chatbot. see |
| 257 |
``provisioning doc <http://errbot.io/en/master/user_guide/provisioning.html>``\ \_ |
| 258 |
|
| 259 |
v4.1 Miscellaneous changes |
| 260 |
~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 261 |
|
| 262 |
- Now if no [python] section is set in the .plug file, we assume Python |
| 263 |
3 instead of Python 2. |
| 264 |
- Slack: identifier.person now gives its username instead of slack id |
| 265 |
- IRC: Topic change callback fixed. Thx Ezequiel Brizuela. |
| 266 |
- Text/Test: Makes the identifier behave more like a real backend. |
| 267 |
- Text: new TEXT_DEMO_MODE that removes the logs once the chat is |
| 268 |
started: it is made for presentations / demos. |
| 269 |
- XMPP: build_identifier can now resolve a Room (it will eventually be |
| 270 |
available on other backends) |
| 271 |
- Graphic Test backend: renders way better the chat, TEXT_DEMO_MODE |
| 272 |
makes it full screen for your presentations. |
| 273 |
- ACLs: We now allow a simple string as an entry with only one element. |
| 274 |
- Unit Tests are now all pure py.test instead of a mix of (py.test, |
| 275 |
nose and unittest) |
| 276 |
|
| 277 |
v4.1 fixed |
| 278 |
~~~~~~~~~~ |
| 279 |
|
| 280 |
- Better resillience on concurrent modifications of the commands |
| 281 |
structures. |
| 282 |
- Allow multiline table cells. Thx Ilya Figotin. |
| 283 |
- Plugin template was incorrectly showing how to check config. Thx Christian Weiske. |
| 284 |
- Slack: DIVERT_TO_PRIVATE fix. |
| 285 |
- Plugin Activate was not reporting correctly some errors. |
| 286 |
- tar.gz packaged plugins are working again. |
| 287 |
|
| 288 |
v4.0.3 (2016-03-17) |
| 289 |
------------------- |
| 290 |
|
| 291 |
fixes: |
| 292 |
|
| 293 |
- XMPP backend compatibility with python 2.7 |
| 294 |
- Telegram startup error |
| 295 |
- daemonize regression |
| 296 |
- UTF-8 detection |
| 297 |
|
| 298 |
v4.0.2 (2016-03-15) |
| 299 |
------------------- |
| 300 |
|
| 301 |
hotfixes: |
| 302 |
|
| 303 |
- configparser needs to be pinned to a 3.5.0b2 beta |
| 304 |
- Hipchat regression on Identifiers |
| 305 |
- Slack: avoid URI expansion. |
| 306 |
|
| 307 |
v4.0.1 (2016-03-14) |
| 308 |
------------------- |
| 309 |
|
| 310 |
hotfixes: |
| 311 |
|
| 312 |
- v4 doesn’t migrate plugin repos entries from v3. |
| 313 |
- py2 compatibility. |
| 314 |
|
| 315 |
v4.0.0 (2016-03-13) |
| 316 |
------------------- |
| 317 |
|
| 318 |
This is the next major release of errbot with significant changes under |
| 319 |
the hood. |
| 320 |
|
| 321 |
v4.0 New features |
| 322 |
~~~~~~~~~~~~~~~~~ |
| 323 |
|
| 324 |
- Storage is now implemented as a plugin as well, similar to command |
| 325 |
plugins and backends. This means you can now select different storage |
| 326 |
implementations or even write your own. |
| 327 |
|
| 328 |
The following storage backends are currently available: |
| 329 |
|
| 330 |
- The traditional Python ``shelf`` storage. |
| 331 |
- In-memory storage for tests or ephemeral storage. |
| 332 |
- ``SQL storage <https://github.com/errbotio/err-storage-sql>``\ \_ |
| 333 |
which supports relational databases such as MySQL, Postgres, Redshift |
| 334 |
etc. |
| 335 |
- ``Firebase storage <https://github.com/errbotio/err-storage-firebase>``\ \_ |
| 336 |
for the Google Firebase DB. |
| 337 |
- ``Redis storage <https://github.com/errbotio/err-storage-redis>``\ \_ |
| 338 |
(thanks Sijis Aviles!) which uses the Redis in-memory data structure |
| 339 |
store. |
| 340 |
|
| 341 |
- Unix-style glob support in ``BOT_ADMINS`` and ``ACCESS_CONTROLS`` |
| 342 |
(see the updated ``config-template.py`` for documentation). |
| 343 |
|
| 344 |
- The ability to apply ACLs to all commands exposed by a plugin (see |
| 345 |
the updated ``config-template.py`` for documentation). |
| 346 |
|
| 347 |
- The mention_callcack() on IRC (mr. Shu). |
| 348 |
|
| 349 |
- A new (externally maintained) |
| 350 |
``Skype backend <https://github.com/errbotio/errbot-backend-skype>``\ \_. |
| 351 |
|
| 352 |
- The ability to disable core plugins (such as ``!help``, ``!status``, |
| 353 |
etc) from loading (see ``CORE_PLUGINS`` in the updated |
| 354 |
``config-template.py``). |
| 355 |
|
| 356 |
- Added a ``--new-plugin`` flag to ``errbot`` which can create an emply |
| 357 |
plugin skeleton for you. |
| 358 |
|
| 359 |
- IPv6 configuration support on IRC (Mike Burke) |
| 360 |
|
| 361 |
- More flexible access controls on IRC based on nickmasks (in part |
| 362 |
thanks to Marcus Carlsson). IRC users, see the new |
| 363 |
``IRC_ACL_PATTERN`` in ``config-template.py``. |
| 364 |
|
| 365 |
- A new ``callback_mention()`` for plugins (not available on all |
| 366 |
backends). |
| 367 |
|
| 368 |
- Admins are now notified about plugin startup errors which happen |
| 369 |
during bot startup |
| 370 |
|
| 371 |
- The repos listed by the ``!repos`` command are now fetched from a |
| 372 |
public index and can be queried with ``!repos query [keyword]``. |
| 373 |
Additionally, it is now possible to add your own index(es) to this |
| 374 |
list as well in case you wish to maintain a private index (special |
| 375 |
thanks to Sijis Aviles for the initial proof-of-concept |
| 376 |
implementation). |
| 377 |
|
| 378 |
v4.0 fixed |
| 379 |
~~~~~~~~~~ |
| 380 |
|
| 381 |
- IRC backend no longer crashes on invalid UTF-8 characters but instead |
| 382 |
replaces them (mr. Shu). |
| 383 |
|
| 384 |
- Fixed joining password-protected rooms (Mikko Lehto) |
| 385 |
|
| 386 |
- Compatibility to API changes introduced in slackclient-1.0.0 (used by |
| 387 |
the Slack backend). |
| 388 |
|
| 389 |
- Corrected room joining on IRC (Ezequiel Hector Brizuela). |
| 390 |
|
| 391 |
- Fixed *"team_join event handler raised an exception"* on Slack. |
| 392 |
|
| 393 |
- Fixed ``DIVERT_TO_PRIVATE`` on HipChat. |
| 394 |
|
| 395 |
- Fixed ``DIVERT_TO_PRIVATE`` on Slack. |
| 396 |
|
| 397 |
- Fixed ``GROUPCHAT_NICK_PREFIXED`` not prefixing the user on regular |
| 398 |
commands. |
| 399 |
|
| 400 |
- Fixed ``HIDE_RESTRICTED_ACCESS`` from accidentally sending messages |
| 401 |
when issuing ``!help``. |
| 402 |
|
| 403 |
- Fixed ``DIVERT_TO_PRIVATE`` on IRC. |
| 404 |
|
| 405 |
- Fixed markdown rendering breaking with ``GROUPCHAT_NICK_PREFIXED`` |
| 406 |
enabled. |
| 407 |
|
| 408 |
- Fixed ``AttributeError`` with ``AUTOINSTALL_DEPS`` enabled. |
| 409 |
|
| 410 |
- IRC backend now cleanly disconnects from IRC servers instead of just |
| 411 |
cutting the connection. |
| 412 |
|
| 413 |
- Text mode now displays the prompt beneath the log output |
| 414 |
|
| 415 |
- Plugins which fail to install no longer remain behind, obstructing a |
| 416 |
new installation attempt |
| 417 |
|
| 418 |
v4.0 Breaking changes |
| 419 |
~~~~~~~~~~~~~~~~~~~~~ |
| 420 |
|
| 421 |
- The underlying implementation of Identifiers has been drastically |
| 422 |
refactored to be more clear and correct. This makes it a lot easier |
| 423 |
to construct Identifiers and send messages to specific people or |
| 424 |
rooms. |
| 425 |
|
| 426 |
- The file format for ``--backup`` and ``--restore`` has changed |
| 427 |
between 3.x and 4.0 On the v3.2 branch, backup can now backup using |
| 428 |
the new v4 format with ``!backupv4`` to make it possible to use with |
| 429 |
``--restore`` on errbot 4.0. |
| 430 |
|
| 431 |
A number of features which had previously been deprecated have now been |
| 432 |
removed. These include: |
| 433 |
|
| 434 |
- ``configure_room`` and ``invite_in_room`` in ``XMPPBackend`` (use the |
| 435 |
equivalent functions on the ``XMPPRoom`` object instead) |
| 436 |
|
| 437 |
- The ``--xmpp``, ``--hipchat``, ``--slack`` and ``--irc`` command-line |
| 438 |
options from ``errbot`` (set a proper ``BACKEND`` in ``config.py`` |
| 439 |
instead). |
| 440 |
|
| 441 |
v 4.0 Miscellaneous changes |
| 442 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 443 |
|
| 444 |
- Version information is now specified in plugin ``.plug`` files |
| 445 |
instead of in the Python class of the plugin. |
| 446 |
|
| 447 |
- Updated ``!help`` output, more similar to Hubot’s help output (James |
| 448 |
O’Beirne and Sijis Aviles). |
| 449 |
|
| 450 |
- XHTML-IM output can now be enabled on XMPP again. |
| 451 |
|
| 452 |
- New ``--version`` flag on ``errbot`` (mr. Shu). |
| 453 |
|
| 454 |
- Made ``!log tail`` admin only (Nicolas Sebrecht). |
| 455 |
|
| 456 |
- Made the version checker asynchronous, improving startup times. |
| 457 |
|
| 458 |
- Optionally allow bot configuration from groupchat |
| 459 |
|
| 460 |
- ``Message.type`` is now deprecated in favor of ``Message.is_direct`` |
| 461 |
and ``Message.is_group``. |
| 462 |
|
| 463 |
- Some bundled dependencies have been refactored out into external |
| 464 |
dependencies. |
| 465 |
|
| 466 |
- Many improvements have been made to the documention, both in |
| 467 |
docstrings internally as well as the user guide on the website at |
| 468 |
http://errbot.io. |
| 469 |
|
| 470 |
Further info on identifier changes |
| 471 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 472 |
|
| 473 |
- Person, RoomOccupant and Room are now all equal and can be used as-is |
| 474 |
to send a message to a person, a person in a Room or a Room itself. |
| 475 |
|
| 476 |
The relationship is as follow: |
| 477 |
|
| 478 |
.. image:: https://raw.githubusercontent.com/errbotio/errbot/master/docs/_static/arch/identifiers.png |
| 479 |
:target: https://github.com/errbotio/errbot/blob/master/errbot/backends/base.py |
| 480 |
|
| 481 |
For example: A Message sent from a room will have a RoomOccupant as frm |
| 482 |
and a Room as to. |
| 483 |
|
| 484 |
This means that you can now do things like: |
| 485 |
|
| 486 |
- ``self.send(msg.frm, "Message")`` |
| 487 |
- ``self.send(self.query_room("#general"), "Hello everyone")`` |