Skip to content

Commit

Permalink
Merge pull request #545 from sebadob/migrate-matrix-sdk-to-ruma
Browse files Browse the repository at this point in the history
drop `matrix-sdk` in favor of `ruma`
  • Loading branch information
sebadob committed Aug 28, 2024
2 parents d52bc09 + b6b2d91 commit 0b50376
Show file tree
Hide file tree
Showing 16 changed files with 428 additions and 1,474 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## UNRELEASED

### Changes

#### Migration to `ruma`

To send out Matrix notifications, Rauthy was using the `matrix-sdk` up until now. This crate however comes with a huge
list of dependencies and at the same time pushes too few updates. I had quite a few issues with it in the past because
it was blocking me from updating other dependencies.

To solve this issue, I decided to drop `matrix-sdk` in favor of `ruma`, which it is using under the hood anyway. With
`ruma`, I needed to do a bit more work myself since it's more low level, but at the same time I was able to reduce the
list of total dependencies Rauthy has by ~90 crates.

This made it possible to finally bump other dependencies and to start the internal switch
from [redhac](https://github.com/sebadob/redhac) to [Hiqlite](https://github.com/sebadob/hiqlite) for caching.

**IMPORTANT:**
If you are using a self-hosted homeserver or anything else than the official `matrix.org` servers for Matrix event
notifications, you must set a newly introduced config variable:

```
# URL of your Matrix server.
# default: https://matrix.org
#EVENT_MATRIX_SERVER_URL=https://matrix.org
```

[]()

## v0.25.0

### Changes
Expand Down
Loading

0 comments on commit 0b50376

Please sign in to comment.