Sopel

Latest version: v8.0.0

Safety actively analyzes 640400 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 11

5.0.0

===============================

This release contains backwards-incompatible changes. See
<https://sopel.chat/willie_5.html> for more information.

----

Module changes
--------------

* YouTube no longer shows bizarre lengths when the bot is running under Python
3
* When Wikipedia links are posted, a snippet of the article is shown

Core changes
------------

* `WillieDB` is entirely rewritten, meaning migration will be needed to access
old data
* Logging output to the debug channel is improved
* The name of the NickServ user can be configured with `nickserv_name` in
`[core]`
* SSL is disabled on Python 2.7 when `backports.ssl_match_hostname` is not
installed

API changes
-----------

* Deprecated `WillieDB` functions are removed
* CTCP actions are stripped prior to matching, and added to the `'intent'` key
of `trigger.tags`
* Deprecated `Trigger` functions are removed
* `bot.debug` is removed, in favor of standard Python logging
* `tools.Nick` is removed, in favor of the `tools.Identifier` introduced in
4.6.0

4.6.2

===============================

This release starts preparations for Willie 5. See
<https://sopel.chat/willie_5.html> for more information.

----

Module changes
--------------

* Due to API deprecation and instability, `.g` now uses DuckDuckGo instead of
Google

Core changes
------------

* Fix remaining regression in db update function

4.6.1

===============================

This release starts preparations for Willie 5. See
<https://sopel.chat/willie_5.html> for more information.

----

Module changes
--------------

* Fix regression in table creations and erroneously changed column names

Core changes
------------

* Fix regression in db update function

API changes
-----------

* Correctly print out deprecation warnings

4.6.0

===============================

This release starts preparations for Willie 5. See
<https://sopel.chat/willie_5.html> for more information.

----

Module changes
--------------

* The `^` operator in `.calc` is now equivalent to `**`
* `.dice`, `.tr`, and `.addtrace` give meaningful errors when no argument is
given
* A number of database issues were fixed (more will be fixed in Willie 5)
* A number of Python 3-related issues were fixed.
* Malicious URLs are now detected with VirusTotal and malwaredomains
* `.weather` no longer shows pressure

Core changes
------------

* The config wizard no longer configures the database, instead automatically
creating a SQLite DB
* MySQL and Postgres databases are deprecated; only SQLite will be supported in
Willie 5
* Logging channel and level can be configured with `logging_channel` and
`logging_level` in the config
* A `--version` switch was added to the `willie` command, to show the version
in use
* Corrupt PID files will no longer prevent the bot from starting
* Non-ASCII values no longer crash the config wizard

API changes
-----------

* Numerous functions were added to the db to ease the transition to Willie 5
* `tools.Nick` has been renamed to `tools.Identifier`. `Nick` will be removed
in Willie 5
* `willie.web` functions now specify a meaningful default user agent
* `web.post` now supports dicts as the payload, and can optionally return
headers
* `config.get` was added as an alias to `config.parser.get`
* Callables can now handle more than one event by stacking decorators

4.5.1

===============================

Module changes
--------------

* Version checking module no longer causes an error at startup
* URL handling modules no longer repeat themselves after being reloaded
* `.isup` now adds a `.com` TLD if none is used
* IPython integration now works with older versions of IPython

4.5.0

===============================

Module changes
--------------

* Willie will now alert the owner at startup, and every 24 hours, when a new
version is available
* `.calc` will now time out on excessively long calculations, and is less
likely to error out
* `.help` now works properly for command aliases
* `.help` will now output multi-line help in multiple messages, rather than all
at once
* A new `.uptime` command tells how long the bot has been running
* `.length` can now handle astronomical units
* Absolute vote counts are no longer shown in reddit output
* Using `.setlocation` without a location will no longer set your location to
Italy
* Time units for `.in` are now case-insensitive
* `.duck` no longer gives a long, unrelated URL

Core changes
------------

* Scheduled tasks now work properly under Python 3
* Willie no longer accepts partial matches for admin status

API changes
-----------

* Setting attributes on the bot object now works as expected
* The status code is now returned from `web.get` as `_http_status` in the
headers
* `web.get` now attempts to decode based on headers, rather than assuming utf-8
* `web.iri_to_uri` is now available to decode internationalized domain names
* A `willie.formatting` module is now available to simplify IRC bold, underline
and color formatting

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.