Matrix-nio

Latest version: v0.25.2

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

Scan your dependencies

Page 2 of 6

0.22.0

Bug Fixes

- [[434]] Fix space handling to account for Matrix spec ambiguities.

Features

- [[426]] Add a simple streamed response to download to files
- [[436]] Add get space hierarchy capability
- [[437]] Support for Token-Authenticated Registration
- [[330]] Add `room_type` to `room_create` API function to allow for custom room types
- [[351]] Add support for `m.reaction` events (Closes [[174]])

Miscellaneous Tasks

- [[427]], [[446]] Add `.readthedocs.yaml` v2 to support ReadTheDocs migration
- [[440]] Remove `future` dependency
- [[438]] Fix `jsonschema` deprecations
- [[439]] Replace `cgi.parse_header()`
- [[441]] Run `pre-commit autoupdate` to fix deprecation
- [[442]] Introduce `ruff` as a `pre-commit` hook + run on whole codebase
- [[445]] Update `pre-commit` hooks
- [[447]] Replace ALL type comments with type hints
- [[448]] Add `pyupgrade`, `async`, various `flake8`, `Perflint`, and more `ruff` linting rules

[174]: https://github.com/poljar/matrix-nio/issues/174
[434]: https://github.com/poljar/matrix-nio/pull/434
[426]: https://github.com/poljar/matrix-nio/pull/426
[436]: https://github.com/poljar/matrix-nio/pull/436
[437]: https://github.com/poljar/matrix-nio/pull/437
[330]: https://github.com/poljar/matrix-nio/pull/330
[351]: https://github.com/poljar/matrix-nio/pull/351
[427]: https://github.com/poljar/matrix-nio/pull/427
[446]: https://github.com/poljar/matrix-nio/pull/446
[440]: https://github.com/poljar/matrix-nio/pull/440
[438]: https://github.com/poljar/matrix-nio/pull/438
[439]: https://github.com/poljar/matrix-nio/pull/439
[441]: https://github.com/poljar/matrix-nio/pull/441
[442]: https://github.com/poljar/matrix-nio/pull/442
[445]: https://github.com/poljar/matrix-nio/pull/445
[447]: https://github.com/poljar/matrix-nio/pull/447
[448]: https://github.com/poljar/matrix-nio/pull/448

0.21.2

Bug Fixes

- [[423]] Revert [[411]] due to backwards-incompatibilities.

[423]: https://github.com/poljar/matrix-nio/pull/423

0.21.1

Bug Fixes

- [[422]] `async_client.whoami` will alter the state of `async_client` correctly, and accept all spec-compliant fields.

Miscellaneous Tasks

- [[420]] Add `python3.8` tests to workflow.

[422]: https://github.com/poljar/matrix-nio/pull/422
[420]: https://github.com/poljar/matrix-nio/pull/420

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

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.