chore(release): v0.7.0
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# changelog
|
# changelog
|
||||||
|
|
||||||
|
## v0.7.0 (2026-01-04)
|
||||||
|
|
||||||
|
### changes
|
||||||
|
|
||||||
|
- migrate logging to structlog with structured pipelines and redaction
|
||||||
|
- add msgspec schemas for jsonl decoding across runners
|
||||||
|
|
||||||
## v0.6.0 (2026-01-03)
|
## v0.6.0 (2026-01-03)
|
||||||
|
|
||||||
### changes
|
### changes
|
||||||
|
|||||||
+10
-5
@@ -134,13 +134,18 @@ def load_telegram_config() -> tuple[dict, Path]:
|
|||||||
### `logging.py` - Secure logging setup
|
### `logging.py` - Secure logging setup
|
||||||
|
|
||||||
```python
|
```python
|
||||||
class RedactTokenFilter:
|
def setup_logging(*, debug: bool = False) -> None:
|
||||||
# Redacts bot tokens from log output
|
# Configures structlog pipeline, redaction, and output formatting.
|
||||||
|
|
||||||
def setup_logging(*, debug: bool):
|
|
||||||
# Configures root logger with redaction filter
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Environment flags:
|
||||||
|
|
||||||
|
- `TAKOPI_LOG_LEVEL` (default `info`, `debug` forces `debug`)
|
||||||
|
- `TAKOPI_LOG_FORMAT` (`console` or `json`)
|
||||||
|
- `TAKOPI_LOG_COLOR` (`1/true/yes/on` to force color, `0/false/no/off` to disable)
|
||||||
|
- `TAKOPI_LOG_FILE` (append JSON lines to a file)
|
||||||
|
- `TAKOPI_TRACE_PIPELINE` (log pipeline events at info instead of debug)
|
||||||
|
|
||||||
### `onboarding.py` - Setup validation
|
### `onboarding.py` - Setup validation
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "takopi"
|
name = "takopi"
|
||||||
authors = [{name = "banteg"}]
|
authors = [{name = "banteg"}]
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
description = "Telegram bridge for Codex, Claude Code, and other agent CLIs."
|
description = "Telegram bridge for Codex, Claude Code, and other agent CLIs."
|
||||||
readme = "readme.md"
|
readme = "readme.md"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.6.0"
|
__version__ = "0.7.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user