2 Commits
0.5.0 ... 0.6.0

Author SHA1 Message Date
github-actions[bot]
d16c1914ba chore(release): 0.6.0 2026-02-28 19:54:47 +00:00
fbcce017a0 refactor(message.py): rename mac -> id 2026-02-28 20:52:58 +01:00
4 changed files with 11 additions and 5 deletions

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
## [0.6.0] - 2026-02-28
### Refactor
- [`fbcce01`](https://gitea.pufereq.pl/judas/judas_protocol/commit/fbcce017a0fb4e3e11916479413dc81fd313a52c) **message.py**: rename `mac` -> `id`
## [0.5.0] - 2025-11-19
### Features

View File

@@ -4,7 +4,7 @@ build-backend = "uv_build"
[project]
name = "judas_protocol"
version = "0.5.0"
version = "0.6.0"
description = "The judas protocol"
readme = "README.md"
authors = []

View File

@@ -165,11 +165,11 @@ class Message:
)
@classmethod
def hello(cls, mac: str) -> Message:
def hello(cls, id_: str) -> Message:
"""Create a HELLO message.
Args:
mac (str): The MAC address to include in the HELLO message.
id_ (str): The ID to include in the HELLO message.
Returns:
Message: The created HELLO message.
"""
@@ -177,7 +177,7 @@ class Message:
id_=None,
category=Category.CONTROL,
action=ControlAction.HELLO,
payload={"mac": mac},
payload={"id": id_},
acknowledged=False,
ack_required=True,
)

2
uv.lock generated
View File

@@ -240,7 +240,7 @@ wheels = [
[[package]]
name = "judas-protocol"
version = "0.5.0"
version = "0.6.0"
source = { editable = "." }
[package.dev-dependencies]