# What changed in mautrix

> 10 changes in mautrix 0.21 from its official release notes, upgrade guides and advisories: 4 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/pypi/mautrix/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## mautrix 0.21

### New APIs and options

- Synchronous middlewares are available for synchronous event handling. (0.21.1) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.1)
- Added support for creator power in room v12+. (0.21.0) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.0)
- Added support for generating and using recovery keys to verify the active device. (0.21.0) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.0)
- Added a config option for the self-signing bot device. (0.21.0) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.0)

### Behavior and default changes

- Join rule enums now allow custom values. (0.21.1) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.1)
- Login flows are no longer checked when using MSC4190. (0.21.0) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.0)

### Fixes and other changes

- Invite handling now has safety for corrupted invites sent by the server. (0.21.1) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.1)
- Parsing of /messages responses is fixed. (0.21.1) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.1)
- Unrecognized decrypted olm events are now dispatched to event listeners. (0.21.1) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.1)
- Avoids setting an empty string when the value is already unset. (0.21.0) — [release notes](https://github.com/mautrix/python/releases/tag/v0.21.0)
