Build and Push / build (release) Successful in 39s
Update README.md: - Reflect current architecture (housekeeping, infrastructure, tools) - Document all API endpoints - Add environment variables reference - Update test instructions Update CHANGELOG.md: - Document housekeeping API addition - Document web scraper removal - Document test coverage improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
86 lines
3.1 KiB
Markdown
86 lines
3.1 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [1.2.0] - 2025-12-17
|
|
|
|
### Added
|
|
|
|
- **Housekeeping API** - Home Assistant integration for smart home control
|
|
- `GET /housekeeping/health` - HA connection status
|
|
- `GET /housekeeping/devices` - List controllable devices with optional domain/area filtering
|
|
- `GET /housekeeping/devices/{entity_id}` - Get device details
|
|
- `POST /housekeeping/devices/{entity_id}/control` - Control devices (turn_on, turn_off, toggle, set_brightness)
|
|
- `GET /housekeeping/scenes` - List available scenes
|
|
- `POST /housekeeping/scenes/{scene_id}/activate` - Activate a scene
|
|
- `GET /housekeeping/scripts` - List available scripts
|
|
- `POST /housekeeping/scripts/{script_id}/run` - Run a script
|
|
- `GET /housekeeping/automations` - List automations
|
|
- `POST /housekeeping/automations/{automation_id}/toggle` - Enable/disable automation
|
|
- `GET /housekeeping/history` - Query state history
|
|
- `GET /housekeeping/areas` - List rooms/areas
|
|
- Home Assistant REST API client (`src/clients/homeassistant_client.py`)
|
|
- Home Assistant configuration in credentials and settings
|
|
- Comprehensive test suite with 65% code coverage (285 tests)
|
|
- Tests for NPM client, Ollama client, AI client, OIDC authentication
|
|
- Tests for infrastructure, health, tools, and housekeeping endpoints
|
|
|
|
### Removed
|
|
|
|
- **Web Scraper** - Entire web scraping module removed
|
|
- `src/web_scraper/` directory deleted
|
|
- `/web-scraper/scrape` endpoint removed
|
|
- Trafilatura and BeautifulSoup dependencies removed from scraping use
|
|
|
|
### Changed
|
|
|
|
- Updated README.md with current architecture and all endpoints
|
|
- Tools controller now only contains DNS lookup functionality
|
|
- Health controller endpoints list updated to reflect current features
|
|
|
|
## [1.1.2] - 2024-12-14
|
|
|
|
### Added
|
|
|
|
- Version field to /health endpoint response
|
|
|
|
## [1.1.1] - 2024-12-14
|
|
|
|
### Added
|
|
|
|
- Watchtower trigger step in CI workflow for automatic container updates
|
|
|
|
## [1.1.0] - 2024-12-14
|
|
|
|
### Removed
|
|
|
|
- Uptime Kuma integration (kuma_client.py deleted)
|
|
- All /infrastructure/monitors endpoints
|
|
- Kuma monitor pause/resume from service start/stop operations
|
|
- Uptime percentage display from service control widget
|
|
- Kuma-related configuration and credentials
|
|
- Stale memory tests (memory functionality moved to core-ai service)
|
|
|
|
### Changed
|
|
|
|
- Service control widget now uses Portainer container status exclusively
|
|
- Simplified widget-data endpoint response (removed monitors field)
|
|
- Updated service start/stop to only manage containers via Portainer
|
|
|
|
## [1.0.0] - 2024-12-14
|
|
|
|
### Added
|
|
|
|
- Initial release of Core Code API service extracted from portainer-core
|
|
- Infrastructure management endpoints for Portainer, NPM, and Uptime Kuma
|
|
- Web scraping service with content extraction
|
|
- DNS management endpoints
|
|
- Health check endpoints with diagnostics
|
|
- OIDC authentication support via Authentik
|
|
- Ollama integration for embeddings
|
|
- OpenAPI documentation (Swagger UI and ReDoc)
|
|
- Docker containerization with CI/CD workflow
|