Skip to content

Require custom proxy for FunCaptcha; add aidEncrypted to TenDI - #51

Merged
readmaniak merged 3 commits into
mainfrom
sdk-bot/9ae1e529-require-custom-proxy-for-funcaptcha-add--da04
Oct 15, 2026
Merged

readmaniak merged 3 commits into
mainfrom
sdk-bot/9ae1e529-require-custom-proxy-for-funcaptcha-add--da04

Conversation

@capmonster-sdk-bot

Copy link
Copy Markdown

Context

Changes

  • Requests/FunCaptchaRequest.cs: validation now rejects a request without a custom proxy (address, port 1..65535); proxy login/password remain optional. Breaking change (major version).
  • Requests/TenDiCustomTaskRequest.cs: new optional trailing constructor parameter aidEncrypted, sent in metadata after captchaUrl.
  • Tests: FunCaptcha validation tests; TenDI serialization test covers aidEncrypted; integration ObjectGen FunCaptcha proxy port generated in 1..65535.
  • CapMonsterCloud.Client.csproj: version 3.5.0 -> 4.0.0, release notes updated.

Testing

  • Unit tests added/updated (dotnet build / dotnet test to be run by CI).

Open questions

  • The docs mark proxyLogin and proxyPassword as required for FunCaptcha too; the SDK intentionally keeps them optional.

🤖 Generated with Claude Code


Prepared automatically by the SDK update bot. Please review before merging.

capmonster-sdk-bot and others added 3 commits October 14, 2026 10:23
- Replace the FunCaptcha-private RequiredProxyAttribute and its shadow
  property with an IsProxyRequired flag on CaptchaRequestBaseWithProxy,
  validated via IValidatableObject in TaskValidator
- Reject port 0 in ProxyContainer itself instead of only for FunCaptcha
- Move validation tests to TaskValidatorTests; restore TenDI default
  serialization test and add a separate aidEncrypted test
- Fix TenDi_ShouldSolve integration test broken by the aidEncrypted change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@readmaniak
readmaniak self-requested a review October 15, 2026 06:54
@readmaniak
readmaniak merged commit ffdb1a4 into main Oct 15, 2026
1 check passed
@readmaniak
readmaniak deleted the sdk-bot/9ae1e529-require-custom-proxy-for-funcaptcha-add--da04 branch October 15, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant