Skip to content

Commit

Permalink
v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudo-Ivan committed Jan 20, 2025
1 parent 45855fb commit acd0dac
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 12 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [0.4.5] - 2025-01-20

### Major Features
- **Event System**
- Event system for handling events and middleware
- EventManager class for managing events and handlers
- Event class for representing events
- EventPriority enum for event priority levels
- EventMiddleware for handling event middleware

```python
@bot.events.on("custom_event")
async def handle_custom_event(event):
print(f"Custom event received: {event.data}")

# Dispatch custom event
await bot.events.dispatch(Event("custom_event", {"foo": "bar"}))
```

- **Update rns and lxmf**

## [0.4.4] - 2025-01-17

### Major Features
Expand Down Expand Up @@ -156,4 +177,5 @@ bot = LXMFBot(
[0.4.1]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.1
[0.4.2]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.2
[0.4.3]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.3
[0.4.4]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.4
[0.4.4]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.4
[0.4.5]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.5
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tool.poetry]
name = "lxmfy"
version = "0.4.4"
version = "0.4.5"
description = "LXMF bot framework for creating bots for the Reticulum Network"
authors = ["Ivan"]
readme = "README.md"
packages = [{include = "lxmfy"}]

[tool.poetry.dependencies]
python = "^3.11"
lxmf = "^0.5.8"
rns = "^0.9.0"
lxmf = "^0.6.0"
rns = "^0.9.1"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
Expand Down

0 comments on commit acd0dac

Please sign in to comment.