Compare commits

..
1 Commits
Author SHA1 Message Date
jpmschweitzerandClaude Opus 4.5 a06fc59e8f Add version to /health endpoint
Build and Push / build (release) Successful in 27s
- Include version in /health endpoint response
- Update test to verify version field
- Bump version to 1.1.2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 12:53:04 +01:00
4 changed files with 9 additions and 1 deletions
+6
View File
@@ -5,6 +5,12 @@ 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.1.2] - 2024-12-14
### Added
- Version field to /health endpoint response
## [1.1.1] - 2024-12-14
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "core-api"
version = "1.1.1"
version = "1.1.2"
description = "Core Code API - Infrastructure management and tools API"
readme = "README.md"
requires-python = ">=3.12"
+1
View File
@@ -85,6 +85,7 @@ class HealthController(BaseController):
return {
"status": "healthy",
"version": settings.app_version,
"ollama_connected": ollama_healthy
}
+1
View File
@@ -73,6 +73,7 @@ class TestHealthEndpoint:
data = response.json()
assert "status" in data
assert "version" in data
assert "ollama_connected" in data
@patch("src.controllers.health_controller.get_ollama_client")