Skip to content

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

Merged
VinciGit00 merged 3 commits intomainfrom
chore/deprecation-warning
Apr 18, 2026
Merged

chore: deprecate v1.x — add warning and bump to 1.0.1#12
VinciGit00 merged 3 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 3 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>
@VinciGit00 VinciGit00 merged commit 1d476b3 into main Apr 18, 2026
3 checks passed
VinciGit00 added a commit that referenced this pull request Apr 18, 2026
Runs biome check --write on staged JS/TS/JSON files before commit,
catching formatter issues like the one that broke CI on #12.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
VinciGit00 added a commit that referenced this pull request Apr 18, 2026
Runs biome check --write on staged JS/TS/JSON files before commit,
catching formatter issues like the one that broke CI on #12.

Co-authored-by: Claude Opus 4.7 (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