Skip to content

Release v6.6.0#362

Merged
AndreiDrang merged 45 commits into
releasefrom
master
Jun 1, 2026
Merged

Release v6.6.0#362
AndreiDrang merged 45 commits into
releasefrom
master

Conversation

@AndreiDrang
Copy link
Copy Markdown
Owner

No description provided.

dependabot Bot and others added 30 commits November 10, 2025 18:25
Bumps [black](https://github.com/psf/black) from 25.9.0 to 25.11.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@25.9.0...25.11.0)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 25.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-6

[github-actions] Bump actions/checkout from 5 to 6
Updates the requirements on [msgspec](https://github.com/jcrist/msgspec) to permit the latest version.
- [Release notes](https://github.com/jcrist/msgspec/releases)
- [Changelog](https://github.com/jcrist/msgspec/blob/main/docs/changelog.md)
- [Commits](jcrist/msgspec@0.18.0...0.20.0)

---
updated-dependencies:
- dependency-name: msgspec
  dependency-version: 0.20.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
….18-and-lt-0.21

Update msgspec requirement from <0.20,>=0.18 to >=0.18,<0.21
Restructure documentation to be more approachable for new users:
- Clean up badge section, remove broken images
- Add 'What is this?' section explaining the library purpose
- Add Quick Start guide with install, API key, and usage examples
- Add supported CAPTCHA types table
- Add service switching examples
- Simplify testing section
- Update changelog with recent versions

Stats:
- 1 file changed
- +104/-41 lines
Add ALTCHA captcha solver implementation following 2Captcha API specification.
Includes XOR validation for challengeURL/challengeJSON parameters and
support for both proxyless and proxy modes.

Changes:
- src/python_rucaptcha/core/enums.py: Add AltchaEnm enum with
  AltchaTaskProxyless and AltchaTask values
- src/python_rucaptcha/altcha_captcha.py: Add AltchaCaptcha class
  with sync/async handlers and XOR parameter validation
- tests/test_altcha.py: Add unit tests with XOR validation coverage
- README.md: Document new ALTCHA captcha type

Stats:
- 4 files changed
- +173/-0 lines
…hemes-2.3.0-to-2.5.0

Update pallets_sphinx_themes to 2.5.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Add Z.ai Code Bot workflow configuration
…decov/codecov-action-6

[github-actions] Bump codecov/codecov-action from 5 to 6
Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.2.2...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [zipp](https://github.com/jaraco/zipp) to permit the latest version.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](jaraco/zipp@v3.19.1...v3.23.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-version: 3.23.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
AndreiDrang and others added 12 commits May 22, 2026 16:19
Update zipp requirement from >=3.19.1 to >=3.23.1
….6.3

Update urllib3 requirement from >=2.2.2 to >=2.6.3
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-IDNA-16769942
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-IDNA-16769942
Why:
* IDE/tool artifact should not be tracked

What:
* Add .osgrep to .gitignore

Changes:
* .gitignore: add .osgrep entry

Stats:
* 1 file changed
* +1 additions/-0 deletions

Co-authored-by: opencode <https://opencode.ai>
…k bugs

Why:
* 2captcha API now supports VKCaptchaImageTask (image-based, no proxy)
* VKCaptchaTask had incorrect payload key (websiteURL instead of redirectUri)
* proxyPort was typed as str instead of int
* Missing proxyLogin/proxyPassword optional params
* No method validation against enum

What:
* Add VKCaptchaImageTask enum value and image-based solving path
* Fix payload key websiteURL -> redirectUri
* Fix proxyPort type from str to int
* Add proxyLogin/proxyPassword optional params
* Add method validation against VKCaptchaEnm
* Add image file processing in handlers for VKCaptchaImageTask
* Add comprehensive test suite

BREAKING CHANGE: VKCaptcha constructor signature changed from
required positional params to optional keyword params with method
selection. proxyPort changed from str to int. Payload key changed
from websiteURL to redirectUri.

Changes:
* src/python_rucaptcha/core/enums.py: add VKCaptchaImageTask to VKCaptchaEnm
* src/python_rucaptcha/vk_captcha.py: full rewrite with dual task type support
* tests/test_vk_captcha.py: new test file

Stats:
* 3 files changed
* +306 additions/-25 deletions

Co-authored-by: opencode <https://opencode.ai>
Sort imports alphabetically within local import group.

Co-authored-by: opencode <https://opencode.ai>
…a45fe1f841e01

[Snyk] Security upgrade idna from 3.10 to 3.15
Why:
* 2Captcha/RuCaptcha now exposes BinanceTask/BinanceTaskProxyless token-based
  CAPTCHA. Provide first-class Python client to match the existing
  Altcha/Friendly/Atb patterns (token solver with optional proxy mode).

What:
* Add BinanceCaptchaEnm with BinanceTaskProxyless and BinanceTask values.
* Add BinanceCaptcha solver accepting websiteURL, websiteKey, validateId
  and optional userAgent. Enforces proxyType/Address/Port when
  method == BinanceTask. Forwards to _processing_response and
  _aio_processing_response for sync/async flows.
* Add tests covering payload construction, validation (missing required
  args, bad method, missing proxy for BinanceTask), both enum values,
  userAgent handling, and live API context managers.
* Add Binance row to README supported CAPTCHA types table.
* Add 'binance-captcha' keyword to pyproject.toml.

Changes:
* src/python_rucaptcha/core/enums.py: add BinanceCaptchaEnm
* src/python_rucaptcha/binance_captcha.py: new BinanceCaptcha class
* tests/test_binance.py: 15 tests (13 unit + 2 live API)
* README.md: document Binance in supported types table
* pyproject.toml: add binance-captcha keyword

Stats:
* 5 files changed
* ~340 insertions

Co-authored-by: opencode <https://opencode.ai>
Why:
* Sphinx docs must list every public captcha solver and its enum so the
  API reference and toctree stay in sync with the new module added in
  the preceding feat commit.

What:
* Add captcha-binance example.rst mirroring the friendly-captcha/
  captcha-temu templates (import line + autoclass directive).
* Register BinanceCaptchaEnm in docs/modules/enum/info.rst.
* Add captcha-binance to the captcha examples toctree in index.rst
  (alphabetical placement).
* Import binance_captcha in docs/conf.py so the module is discoverable
  by autodoc.

Changes:
* docs/modules/captcha-binance/example.rst: new example page
* docs/modules/enum/info.rst: register BinanceCaptchaEnm
* docs/index.rst: add captcha-binance to toctree
* docs/conf.py: import binance_captcha module

Stats:
* 4 files changed
* ~9 insertions

Co-authored-by: opencode <https://opencode.ai>
@AndreiDrang AndreiDrang changed the title Release Release v6.6.0 Jun 1, 2026
AndreiDrang and others added 3 commits June 1, 2026 19:37
Why:
* Support NetEase Yidun CAPTCHA solving via RuCaptcha API

What:
* Add YidunEnm enum with YidunTaskProxyless and YidunTask
* Create YidunCaptcha class with sync/async handlers
* Add tests and documentation

Changes:
* src/python_rucaptcha/core/enums.py: add YidunEnm enum
* src/python_rucaptcha/yidun_captcha.py: new captcha module
* tests/test_yidun_captcha.py: add test suite
* docs/conf.py: register yidun_captcha module
* docs/index.rst: add toctree entry
* docs/modules/enum/info.rst: add YidunEnm autoenum
* docs/modules/yidun-necaptcha/example.rst: new example doc

Stats:
* 7 files changed, 386 insertions

Co-authored-by: Andrei Drang <andreidrang@github.com>
Why:
* Support Yandex SmartCaptcha solving via RuCaptcha API
* Covers token proxyless, token proxy, and image (CoordinatesTask) methods

What:
* Add YandexSmartCaptchaEnm enum
* Create YandexSmartCaptcha class with dual sync/async handlers
* Add tests and documentation

Changes:
* src/python_rucaptcha/core/enums.py: add YandexSmartCaptchaEnm enum
* src/python_rucaptcha/yandex_smart_captcha.py: new captcha module (246 lines)
* tests/test_yandex_smart_captcha.py: add test suite (18 tests)
* docs/index.rst: add toctree entry
* docs/modules/yandex-smart-captcha/example.rst: new example doc

Stats:
* 5 files changed, 499 insertions

Co-authored-by: Andrei Drang <andreidrang@github.com>
Why:
* Prepare for release with new captcha support

Changes:
* src/python_rucaptcha/__version__.py: 6.5.0 -> 6.6.0

Stats:
* 1 file changed, 1 insertion(+), 1 deletion(-)

Co-authored-by: Andrei Drang <andreidrang@github.com>
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented Jun 1, 2026

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
33554305 Triggered Generic High Entropy Secret 1ac4934 src/python_rucaptcha/yidun_captcha.py View secret
33554305 Triggered Generic High Entropy Secret 1ac4934 src/python_rucaptcha/yidun_captcha.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@AndreiDrang AndreiDrang merged commit 10d7fac into release Jun 1, 2026
20 of 25 checks passed
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.

3 participants