Skip to content

chore: deprecation notice for v1.x SDK#83

Open
VinciGit00 wants to merge 2 commits intomainfrom
chore/deprecation-notice-v1
Open

chore: deprecation notice for v1.x SDK#83
VinciGit00 wants to merge 2 commits intomainfrom
chore/deprecation-notice-v1

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

  • Adds a deprecation warning (DeprecationWarning + logger warning) on Client and AsyncClient initialization, notifying users that v1.x will be removed in a future release
  • Bumps version from 1.12.21.12.3
  • Points users to the v2 migration guide: feat!: migrate Python SDK to v2 API surface #82

Context

The v2 API surface (see #82) introduces breaking changes with a new set of endpoints (extract, search, scrape, crawl.*, monitor.*, etc.). This PR ensures current v1.x users are aware of the upcoming deprecation before v2 is released on main.

Changes

File Change
pyproject.toml Version bump 1.12.21.12.3
client.py Added DeprecationWarning + logger warning in __init__
async_client.py Added DeprecationWarning + logger warning in __init__

Test plan

  • Client() initialization emits a DeprecationWarning
  • AsyncClient() initialization emits a DeprecationWarning
  • Logger outputs deprecation message with migration link
  • Existing tests still pass (no functional changes)

🤖 Generated with Claude Code

The current v1.x SDK will be deprecated in favor of v2.x which introduces
a new API surface. This adds a DeprecationWarning and logger warning on
client initialization to notify users of the upcoming migration.

See: #82

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 36c102d.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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