Analyze, plan, and execute Perplexity SDK upgrades with breaking change detection. Use when upgrading Perplexity SDK versions, detecting deprecations, or migrating to new API versions. Trigger with phrases like "upgrade perplexity", "perplexity migration", "perplexity breaking changes", "update perplexity SDK", "analyze perplexity version".
From perplexity-packnpx claudepluginhub nickloveinvesting/nick-love-plugins --plugin perplexity-packThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Guide for upgrading Perplexity SDK versions and handling breaking changes.
set -euo pipefail
npm list @perplexity/sdk
npm view @perplexity/sdk version
open https://github.com/perplexity/sdk/releases
set -euo pipefail
git checkout -b upgrade/perplexity-sdk-vX.Y.Z
npm install @perplexity/sdk@latest
npm test
Update import statements, configuration, and method signatures as needed.
| SDK Version | API Version | Node.js | Breaking Changes |
|---|---|---|---|
| 3.x | 2024-01 | 18+ | Major refactor |
| 2.x | 2023-06 | 16+ | Auth changes |
| 1.x | 2022-01 | 14+ | Initial release |
// Before (v1.x)
import { Client } from '@perplexity/sdk';
// After (v2.x)
import { PerplexityClient } from '@perplexity/sdk';
// Before (v1.x)
const client = new Client({ key: 'xxx' });
// After (v2.x)
const client = new PerplexityClient({
apiKey: 'xxx',
});
set -euo pipefail
npm install @perplexity/sdk@1.x.x --save-exact
// Monitor for deprecation warnings in development
if (process.env.NODE_ENV === 'development') {
process.on('warning', (warning) => {
if (warning.name === 'DeprecationWarning') {
console.warn('[Perplexity]', warning.message);
// Log to tracking system for proactive updates
}
});
}
// Common deprecation patterns to watch for:
// - Renamed methods: client.oldMethod() -> client.newMethod()
// - Changed parameters: { key: 'x' } -> { apiKey: 'x' }
// - Removed features: Check release notes before upgrading
For CI integration during upgrades, see perplexity-ci-integration.