Releases: deathbycaptcha/deathbycaptcha-api-client-c11
Releases · deathbycaptcha/deathbycaptcha-api-client-c11
Release list
v4.7.1
Summary
Version 4.7.1 focuses on API completeness, timeout correctness, documentation quality, examples coverage, and release/CI polish for the C11 client.
Added
- Added
dbc_decode_token()as a public API for generic token-based CAPTCHA submission. - Added 22 focused example programs covering balance lookup plus all supported CAPTCHA types.
- Added a reusable
tests/fixtures/test.jpgintegration fixture. - Added a GitHub Pages JSON-based coverage workflow.
- Added timeout validation tests for constants, parameter guards, and deterministic default-timeout behavior across image and token flows.
Changed
- Reworked the README to mirror the Python client structure with expanded API reference, per-type snippets, FAQs, examples index, and CI/testing guidance.
- Simplified installation guidance into a single build flow.
- Updated coverage badge wiring and versioned the project as 4.7.1 in build metadata and API version string.
Fixed
- Fixed CLI timeout handling so
timeout=0now correctly applies per-type library defaults: 60 seconds for image CAPTCHAs and 120 seconds for token-based CAPTCHAs. - Corrected README code examples and timeout references for token-based types.
v4.7.0
DeathByCaptcha C Client v4.7.0
This release focuses on CI stability, integration reliability, and coverage hardening for the C11 client.
Highlights
- Official version bump to
4.7.0. - Consolidated CI pipeline for unit and integration tests.
- Coverage validated above target (
~89%, excluding vendoredcJSON). - Improved integration resilience (retries, clearer logs, and better diagnostics).
- Hardened HTTP parsing for
application/x-www-form-urlencodedresponses in addition to JSON. - Automatic CLI binary publishing for Linux, macOS, and Windows on each version tag.
Added
- Main CI workflow at
.github/workflows/ci.yml. - Unit test job for
deathbycaptcha_tests. - Integration test job gated by repository secrets
DBC_USERNAMEandDBC_PASSWORD. - Integration log artifact upload on failure.
- Coverage harnesses and stubs for deeper branch coverage.
- Explicit
[IT] ...progress logging intests/integration_cli_test.sh. - Retries for flaky live reCAPTCHA v2 integration calls.
Changed
CMakeLists.txt:4.6.0->4.7.0.src/deathbycaptcha.h:DBC/C v4.6->DBC/C v4.7.0.doc/BUILD.md: improved guidance for build, integration, and coverage..gitlab-ci.yml: more robust coverage flow (excludecJSON, gcovr/lcov reliability improvements).tests/integration_cli_test.sh: improved reliability and observability.src/deathbycaptcha.c: fallback parser for URL-encoded payloads.
Fixed
- Intermittent instability in
deathbycaptcha_cli_coverage_harnessby making argv/argc handling deterministic. - CI/local pipeline failure modes around coverage artifact collection and filtering.
- HTTPS balance parsing failures caused by non-JSON response payloads.
Test & Coverage
- Unit, harness, and coverage flows validated.
- Approximate total coverage:
89%(excludingsrc/cJSON.c).
Housekeeping
- Expanded
.gitignoreto exclude generated coverage artifacts and local runtime output files. - Removed
deathbycaptcha-agent-api-metadata/from this repository. - Internal coverage badge without external services, published to the
badgesbranch.
Full changelog: CHANGELOG.md