Nio-bot

Latest version: v1.1.0.post3

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

Scan your dependencies

Page 1 of 2

1.1.0.post3

This is merely a small patch to fix a misnamed variable in the CLI for get_access_token. No other changes.

**Full Changelog**: https://github.com/nexy7574/nio-bot/compare/1.1.0.post2...1.1.0.post3

1.1.0.post2

What's Changed
* Fixed DM rooms, including getting & creating them. Thanks to <span></span>fvjose21:matrix.org for pointing this out.
* Make updating read receipts optional by ESHARK22 in https://github.com/nexy7574/nio-bot/pull/11
* Update aiofiles requirement from ~=23.1 to ~=23.2 by dependabot in https://github.com/nexy7574/nio-bot/pull/12

Notice about post2
The previous version, 1.1.0.post1, was yanked from PyPi and deleted from GitHub, as the DM room fix in that version had more underlying bugs that needed to be patched, as such making the fixes useless.

post2 is exactly the same as post1, except the DM room fix was actually properly applied.

**Full Changelog**: https://github.com/nexy7574/nio-bot/compare/1.1.0...1.1.0.post2

1.1.0

Finally! The long awaited v1.1.0 release!
(I was waiting for matrix-nio to support Python 3.12, which took a lot longer than expected)

What's Changed

1.1.0b1.post1

Identical to v1.1.0b1 except with code for the `NioBot.unmount_module` function (it was previously an empty method that I literally forgot to add code to)

1.1.0b1

Major Changes
You should look out for the following things when updating:

* Converters have been completely rewritten - see the [docs](https://docs.nio-bot.dev/guides/creating-custom-parsers/)
* The library has (courtesy of Matthieu-LAURENT39) had a typing rewrite, so you may notice some typing issues with some older code due to changed/added type signatures

Still no 3.12 support!
As aiohttp (and matrix-nio) do not support python 3.12 yet, neither do we. You will receive a build error trying to build from source on python3.12, and wheels are not supplied for 3.12 on PyPi.

--------

Changelog
* Added some tests to the library
* Rewrote how argument parsers work (and made them extensible, see [docs](https://docs.nio-bot.dev/guides/creating-custom-parsers/))
* Updated `matrix-nio` to `0.22.0`
* Added the ability to control whether the client's own messages are ignored - this means you can now use commands when running a self bot (running niobot under your own account instead of a dedicated bot account)
* Added support for `typing.Annotated[x, y]` argument types
* Removed `Module.log` property
* Deprecated `Module.client`

**Full Changelog**: https://github.com/nexy7574/niobot/compare/1.1.0a3...1.1.0b1

1.1.0a3

What's Changed
* Prioritise event_id over room_id for the _get_id function by ESHARK22 in https://github.com/nexy7574/niobot/pull/4
* Add Context.invoking_prefix by Matthieu-LAURENT39 in https://github.com/nexy7574/niobot/pull/8
* Type hinting and code refactoring by Matthieu-LAURENT39 in https://github.com/nexy7574/niobot/pull/6

New Contributors
* Matthieu-LAURENT39 made their first contribution in https://github.com/nexy7574/niobot/pull/8

**Full Changelog**: https://github.com/nexy7574/niobot/compare/1.1.0a2...1.1.0a3

-------

As matrix-nio 0.22.0 has been released, this will be the last 1.1.0 alpha. From now, only a few new things built on nio will be added, things tested with the new version, in following betas. Once all is tested, and python 3.12 support is released by matrix-nio (aiohttp), then 1.1.0 will be released.

As of now, neither nio-bot, nor the libraries supporting it (matrix-nio, which in turn depends on aiohttp) support python 3.12. As such, you will not find them supported on PyPi.org, and the wheels below will not work with anything above python 3.11.
Support is, as listed, python 3.9 to 3.11.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.