Version 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.calcis now equivalent to** .dice,.tr, and.addtracegive 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
.weatherno 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_channelandlogging_levelin the config - A
--versionswitch was added to thewilliecommand, 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.Nickhas been renamed totools.Identifier.Nickwill be removed in Willie 5willie.webfunctions now specify a meaningful default user agentweb.postnow supports dicts as the payload, and can optionally return headersconfig.getwas added as an alias toconfig.parser.get- Callables can now handle more than one event by stacking decorators