Matrix-nio

Latest version: v0.24.0

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.21.0

Breaking Changes

- [[416]] Drop support for end-of-life `python3.7`
- [[413]] Drop usage of `logbook` in favor of standard library `logging`
- This fixes an issue where logging was effectively disabled by default.

Features

- [[409]] Support m.space.parent and m.space.child events
- [[418]] Add ability to knock on a room, and enable knocking for a room

Documentation

- Add documentation on how to configure `logging`
- Note in `README` that room upgrades/tombstone events *are* supported

Miscellaneous Tasks

- [[401]] Removing skip for passing test
- [[417]] Add type hints
- [[406]] [[407]] [[414]] Add content to `built-with-nio`

Bug Fixes

- [[408]] Properly generate code coverage
- [[411]] Fixed bug in Event Callbacks

[416]: https://github.com/poljar/matrix-nio/pull/416
[413]: https://github.com/poljar/matrix-nio/pull/413
[409]: https://github.com/poljar/matrix-nio/pull/409
[418]: https://github.com/poljar/matrix-nio/pull/418
[401]: https://github.com/poljar/matrix-nio/pull/401
[417]: https://github.com/poljar/matrix-nio/pull/417
[406]: https://github.com/poljar/matrix-nio/pull/406
[407]: https://github.com/poljar/matrix-nio/pull/407
[414]: https://github.com/poljar/matrix-nio/pull/414
[408]: https://github.com/poljar/matrix-nio/pull/408
[411]: https://github.com/poljar/matrix-nio/pull/411

0.20.2

Miscellaneous Tasks

- Upgrade dependencies
- Various test, formatting, type hinting fixes
- Update GitHub Workflow Actions versions for CI
- [[384]] Add content to `built-with-nio`

Bug Fixes

- [[335]] Default to the configured request timeout when syncing
- [[354]] Fix `first_sync_filter` parameter of `AsyncClient.sync_forever`
- [[357]] Element exports keys without required fields
- [[396]] Fix `timeline->limited` being required

[384]: https://github.com/poljar/matrix-nio/pull/384
[335]: https://github.com/poljar/matrix-nio/pull/335
[354]: https://github.com/poljar/matrix-nio/pull/354
[357]: https://github.com/poljar/matrix-nio/pull/357
[396]: https://github.com/poljar/matrix-nio/pull/396

0.20.1

Bug Fixes

- Fix Python 3.11 compatibility

0.20.0

Bug Fixes

- Fix import sequence errors.
- Exclude `tests/data/` from pre-commit workflow.
- Only accept forwarded room keys from our own trusted devices

Documentation

- Mention that room key backups are unsupported.
- Add matrix-webhook to built-with-nio
- Add matrix-asgi to built-with-nio

Features

- Add `mxc` URI parameter to `AsyncClient.download` and deprecate `server_name` and `media_id`.

Miscellaneous Tasks

- Remove the usage of the imp module
- Fix our import order
- Fix a bunch of typos
- Remove key re-sharing
- Remove some unnecessary test code
- Add poetry to the test requirements
- Style fixes
- Sort our imports

Refactor

- Clean up and make a bunch of tests more consistent

Styling

- Add config for `pre-commit`.
- Fix formatting using `black` and `isort`.
- Convert from `str.format` to f-strings.

Testing

- Update test for `AsyncClient.download`.
- Fix our async tests

Ci

- Add `black` and `isort`.

0.19.0

Not secure
- [[296]] Allow creating spaces
- [[293]] Add special check for "room_id" in PushEventMatch
- [[291]] Send empty object with m.read receipt
- [[288]] Update aiohttp-socks dependency
- [[286]] Fix type annotation for async callbacks in add_event_callback
- [[285]] Remove chain_index field when sending room keys
- [[281]] Add support for room upgrades

[296]: https://github.com/poljar/matrix-nio/pull/296
[293]: https://github.com/poljar/matrix-nio/pull/293
[291]: https://github.com/poljar/matrix-nio/pull/291
[288]: https://github.com/poljar/matrix-nio/pull/288
[286]: https://github.com/poljar/matrix-nio/pull/286
[285]: https://github.com/poljar/matrix-nio/pull/285
[281]: https://github.com/poljar/matrix-nio/pull/281

0.18.7

Not secure
- [[277]] Allow setting custom headers with the client.
- [[276]] Allow logging in using an email.
- [[273]] Use the correct json format for login requests.

[277]: https://github.com/poljar/matrix-nio/pull/277
[276]: https://github.com/poljar/matrix-nio/pull/276
[273]: https://github.com/poljar/matrix-nio/pull/273

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.