From b318a0e1ae9717354790bd041afa644ae844d6fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 8 Sep 2025 07:31:49 +0000 Subject: [PATCH] chore: prepare v2.2.0 release - Update version to 2.2.0 in source files - Generate release changelog using generate-changelog.rb - Regenerate API documentation with new version This commit prepares the release/v2.2.0 branch for release. --- CHANGELOG.md | 24 ++++++++++++++++++++++++ internal/handler/covid_handler.go | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb3aa70..1e2b8fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] + +## [v2.2.0] - 2025-09-08 + +### Fixed + +- Handle error return values in rate limit tests for linter (9597171) + +### Documentation + +- Update .env.example with rate limiting configuration (73a9d63) + +### CI/CD + +- Add cleanup job (workflow) (cdf5dc7) + +### Maintenance + +- Update for next version (version) (80d5451) + +### Style + +- Add missing newline at end of workflow file (5266ab2) +- Fix formatting and add missing newlines (f2f373a) + ## [v2.1.0] - 2025-09-08 ### Maintenance diff --git a/internal/handler/covid_handler.go b/internal/handler/covid_handler.go index 35d9c81..b17dbac 100644 --- a/internal/handler/covid_handler.go +++ b/internal/handler/covid_handler.go @@ -298,7 +298,7 @@ func (h *CovidHandler) HealthCheck(w http.ResponseWriter, r *http.Request) { health := map[string]interface{}{ "status": "healthy", "service": "COVID-19 API", - "version": "2.2.0", + "version": "2.2.0", "timestamp": time.Now().UTC().Format(time.RFC3339), } @@ -355,7 +355,7 @@ func (h *CovidHandler) GetAPIIndex(w http.ResponseWriter, r *http.Request) { endpoints := map[string]interface{}{ "api": map[string]interface{}{ "title": "Sulawesi Tengah COVID-19 Data API", - "version": "2.2.0", + "version": "2.2.0", "description": "A comprehensive REST API for COVID-19 data in Sulawesi Tengah (Central Sulawesi)", }, "documentation": map[string]interface{}{