8000 Releases Β· maubot/maubot Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: maubot/maubot

v0.5.2

05 May 21:13
Compare
Choose a tag to compare
  • Improved tombstone handling to ensure that the tombstone sender has permissions to invite users to the target room.
  • Fixed autojoin and online flags not being applied if set during client creation (thanks to @bnsh in #258).
  • Fixed plugin web apps not being cleared properly when unloading plugins.

v0.5.1

03 Jan 10:54
Compare
Choose a tag to compare
  • Updated Docker image to Alpine 3.21.
  • Updated media upload/download endpoints in management frontend (thanks to @domrim in #253).
  • Fixed plugin web app base path not including a trailing slash (thanks to @jkhsjdhjs in #240).
  • Changed markdown parsing to cut off plaintext body if necessary to allow longer formatted messages.
  • Updated dependencies to fix Python 3.13 compatibility.

v0.5.0

24 Aug 09:14
Compare
Choose a tag to compare
  • Dropped Python 3.9 support.
  • Updated Docker image to Alpine 3.20.
  • Updated mautrix-python to 0.20.6 to support authenticated media.
  • Removed hard dependency on SQLAlchemy.
  • Fixed main_class to default to being loaded from the last module instead of the first if a module name is not explicitly specified.
    • This was already the documented behavior, and loading from the first module doesn't make sense due to import order.
  • Added simple scheduler utility for running background tasks periodically or after a certain delay.
  • Added testing framework for plugins (thanks to @abompard in #225).
  • Changed mbc build to ignore directories declared in modules that are missing an __init__.py file.
    • Importing the modules at runtime would fail and break the plugin. To include non-code resources outside modules in the mbp archive, use extra_files instead.

v0.4.2

30 Sep 11:17
Compare
Choose a tag to compare
  • Updated Pillow to 10.0.1.
  • Updated Docker image to Alpine 3.18.
  • Added logging for errors for /whoami errors when adding new bot accounts.
  • Added support for using appservice tokens (including appservice encryption) in standalone mode.

v0.4.1

15 Mar 18:04
Compare
Choose a tag to compare
  • Added in_thread parameter to evt.reply() and evt.respond().
    • By default, responses will go to the thread if the command is in a thread.
    • By setting the flag to True or False, the plugin can force the response to either be or not be in a thread.
  • Fixed static files like the frontend app manifest not being served correctly.
  • Fixed self.loader.meta not being available to plugins in standalone mode.
  • Updated to mautrix-python v0.19.6.

v0.4.0

29 Jan 15:19
Compare
Choose a tag to compare
  • Dropped support for using a custom maubot API base path.
    • The public URL can still have a path prefix, e.g. when using a reverse proxy. Both the web interface and mbc CLI tool should work fine with custom prefixes.
  • Added evt.redact() as a shortcut for self.client.redact(evt.room_id, evt.event_id).
  • Fixed mbc logs command not working on Python 3.8+.
  • Fixed saving plugin configs (broke in v0.3.0).
  • Fixed SSO login using the wrong API path (probably broke in v0.3.0).
  • Stopped using cd in the docker image's mbc wrapper to enable using path-dependent commands like mbc build by mounting a directory.
  • Updated Docker image to Alpine 3.17.

v0.3.1

29 Mar 17:45
Compare
Choose a tag to compare
  • Added encryption dependencies to standalone dockerfile.
  • Fixed running without encryption dependencies installed.
  • Removed unnecessary imports that broke on SQLAlchemy 1.4+.
  • Removed unused alembic dependency.

v0.3.0

28 Mar 14:31
Compare
Choose a tag to compare
  • Dropped Python 3.7 support.
  • Switched main maubot database to asyncpg/aiosqlite.
    • Using the same SQLite database for crypto is now safe again.
  • Added support for asyncpg/aiosqlite for plugin databases.
    • There are some basic docs and a simple example for the new system.
    • The old SQLAlchemy system is now deprecated, but will be preserved for backwards-compatibility until most plugins have updated.
  • Started enforcing minimum maubot version in plugins.
    • Trying to upload a plugin where the specified version is higher than the running maubot version will fail.
  • Fixed bug where uploading a plugin twice, deleting it and trying to upload again would fail.
  • Updated Docker image to Alpine 3.15.
  • Formatted all code using black and isort.

v0.2.1

22 Nov 09:49
Compare
Choose a tag to compare

Docker-only release: added automatic moving of plugin databases from /data/plugins/*.db to /data/dbs

v0.2.0

20 Nov 15:15
Compare
Choose a tag to compare
  • Moved plugin databases from /data/plugins to /data/dbs in the docker image.
    • v0.2.0 was missing the automatic migration of databases, it was added in v0.2.1.
    • If you were using a custom path, you'll have to mount it at /data/dbs or move the databases yourself.
  • Removed support for pickle crypto store and added support for SQLite crypto store.
    • If you were previously using the dangerous pickle store for e2ee, you'll have to re-login with the bots (which can now be done conveniently with mbc auth --update-client).
  • Added SSO support to mbc auth.
  • Added support for setting device ID for e2ee using the web interface.
  • Added e2ee fingerprint field to the web interface.
  • Added --update-client flag to store access token inside maubot instead of returning it in mbc auth.
    • This will also automatically store the device ID now.
  • Updated standalone mode.
  • Replaced _ with - when generating command name from function name.
  • Replaced unmaintained PyInquirer dependency with questionary (thanks to @TinfoilSubmarine in #139).
  • Updated Docker image to Alpine 3.14.
  • Fixed avatar URLs without the mxc:// prefix appearing like they work in the frontend, but not actually working when saved.
0