Skip to content

chore: deprecate v1.x — add warning and bump to 1.0.1#12

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

chore: deprecate v1.x — add warning and bump to 1.0.1#12
VinciGit00 wants to merge 2 commits intomainfrom
chore/deprecation-warning

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

  • Add a console.warn deprecation notice on SDK import, informing users that v1.x is deprecated and will no longer receive updates
  • Bump version from 1.0.01.0.1 to publish the deprecation notice
  • The warning directs users to upgrade to v2 and links to the migration guide

Context

This is a companion to #11 which migrates the SDK to API v2. Once v2 is published, v1.x should no longer be used. This patch release ensures existing v1 users see a clear deprecation message in their logs prompting them to upgrade.

Changes

  • src/index.ts — added console.warn(...) at module top-level with deprecation message
  • package.json — version bump 1.0.01.0.1

🤖 Generated with Claude Code

VinciGit00 and others added 2 commits April 8, 2026 19:47
Log a console.warn on import to notify users that v1.x is deprecated
and they should upgrade to v2 for the latest features and API v2 support.

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