Releases: HarryVasanth/wait-for-http-endpoint
Releases · HarryVasanth/wait-for-http-endpoint
Release list
v1.0 ⏳
Wait for HTTP(S) Endpoint Action v1.1.0 ⏳
🎉 Major Update: New Features & Critical Fixes (2025-02-18)
🚀 Features
- Added HTTP endpoint polling with configurable intervals
- Implemented timeout handling with millisecond precision
- Added multi-status code support (e.g.,
200,201,202) - [NEW] Bearer Token Support: Added
bearer-tokeninput to authenticate with secured endpoints - [NEW] Insecure Mode: Added
insecureflag to bypass TLS/SSL verification (useful for local dev or self-signed certs) - [NEW] Follow Redirects: Added
follow-redirectsflag to automatically follow HTTP redirects - [NEW] Enhanced Error Logging: cURL errors (e.g., connection refused, DNS issues) are now explicitly captured and logged instead of failing silently
🐛 Bug Fixes
- [CRITICAL] Subshell Exit Bug: Fixed an issue where successful status codes only exited a subshell, causing the action to incorrectly wait until the full timeout duration.
- Timer Precision: Replaced bash floating-point time calculations with strict iteration tracking to prevent early/late timeout misfires.
🛠️ Optimizations
- Security: Script is now fully ShellCheck compliant, utilizing secure positional parameters to prevent word-splitting vulnerabilities.
- Docker Footprint: Updated to Alpine 3.19 and implemented
apkcache cleanup to reduce the overall Docker image size.