diff --git a/.editorconfig b/.editorconfig index f1ad5ca..3d6370d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,3 +14,6 @@ indent_size = 2 [spec.yaml] indent_size = 2 + +[CHANGELOG.md] +max_line_length = 80 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..09fa031 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,65 @@ +# v0.3.0 (unreleased) + +* Switched main maubot database to asyncpg/aiosqlite. + * Using the same SQLite database for crypto is now safe again. +* Updated Docker image to Alpine 3.15. +* Formatted all code using [black](https://github.com/psf/black) + and [isort](https://github.com/PyCQA/isort). + +# v0.2.1 (2021-11-22) + +Docker-only release: added automatic moving of plugin databases from +`/data/plugins/*.db` to `/data/dbs` + +# v0.2.0 (2021-11-20) + +* 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. + * Added e2ee and web server support. + * It's now officially supported and [somewhat documented](https://docs.mau.fi/maubot/usage/standalone.html). +* 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. + +[@TinfoilSubmarine]: https://github.com/TinfoilSubmarine +[#139]: https://github.com/maubot/maubot/pull/139 + +# v0.1.2 (2021-06-12) + +* Added `loader` instance property for plugins to allow reading files within + the plugin archive. +* Added support for reloading `webapp` and `database` meta flags in plugins. + Previously you had to restart maubot instead of just reloading the plugin + when enabling the webapp or database for the first time. +* Added warning log if a plugin uses `@web` decorators without enabling the + `webapp` meta flag. +* Updated frontend to latest React and dependency versions. +* Updated Docker image to Alpine 3.13. +* Fixed registering accounts with Synapse shared secret registration. +* Fixed plugins using `get_event` in encrypted rooms. +* Fixed using the `@command.new` decorator without specifying a name + (i.e. falling back to the function name). + +# v0.1.1 (2021-05-02) + +No changelog. + +# v0.1.0 (2020-10-04) + +Initial tagged release. diff --git a/MANIFEST.in b/MANIFEST.in index daa36da..d8889bc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include README.md +include CHANGELOG.md include LICENSE include requirements.txt include optional-requirements.txt diff --git a/setup.py b/setup.py index cba8c20..a4a16e1 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,9 @@ setuptools.setup( name="maubot", version=__version__, url="https://github.com/maubot/maubot", + project_urls={ + "Changelog": "https://github.com/maubot/maubot/blob/master/CHANGELOG.md", + }, author="Tulir Asokan", author_email="tulir@maunium.net",