algolia-upgrade-migration

Featured

Upgrade algoliasearch from v4 to v5 with breaking change detection and codemod. Use when upgrading SDK versions, detecting deprecations, or migrating initIndex patterns. Trigger: "upgrade algolia", "algolia migration v5", "algolia breaking changes", "update algolia SDK", "algolia v4 to v5".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Algolia Upgrade & Migration (v4 to v5) ## Overview Guide for upgrading `algoliasearch` from v4 to v5. The v5 release is a major rewrite: `initIndex()` is removed, all methods move to the client, and the import style changes. ## Prerequisites - Current `algoliasearch` v4 installed - Git for version control (work in a branch) - Test suite passing on current version ## Breaking Changes Summary | v4 Pattern | v5 Replacement | |-----------|----------------| | `const client = algoliasearch(appId, key)` | `import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(appId, key);` | | `const index = client.initIndex('name')` | Removed — pass `indexName` to every method | | `index.search('query')` | `client.searchSingleIndex({ indexName, searchParams: { query } })` | | `index.saveObjects(records)` | `client.saveObjects({ indexName, objects })` | | `index.saveObject(record)` | `client.saveObject({ indexName, body: record })` | | `index.partialUpdateObject(data)` | `client.partialUpdateObject({ indexName, objectID, attributesToUpdate })` | | `index.deleteObject('id')` | `client.deleteObject({ indexName, objectID })` | | `index.setSettings(settings)` | `client.setSettings({ indexName, indexSettings })` | | `index.getSettings()` | `client.getSettings({ indexName })` | | `index.browse()` | `client.browse({ indexName, browseParams })` | | `index.findObject(cb)` | `client.findObject({ indexName, ... })` | | `index.replaceAllObjects(records)` | `client.replaceAllObjects...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

algolia-migration-deep-dive

Migrate to Algolia from Elasticsearch, Typesense, or Meilisearch. Covers data migration, query translation, replaceAllObjects zero-downtime swap, and strangler fig traffic shifting. Trigger: "migrate to algolia", "switch to algolia", "algolia migration", "elasticsearch to algolia", "replace search engine", "algolia replatform".

2,266 Updated today
jeremylongshore
AI & Automation Featured

posthog-upgrade-migration

Upgrade posthog-js and posthog-node SDKs with breaking change detection. Covers v4 to v5 posthog-node migration (sendFeatureFlags change), posthog-js autocapture API changes, and version-specific gotchas. Trigger: "upgrade posthog", "posthog breaking changes", "update posthog SDK", "posthog version", "posthog migration".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-sdk-patterns

Apply production-ready algoliasearch v5 patterns: singleton client, typed search, error handling, and batch operations. Use when implementing Algolia integrations, refactoring SDK usage, or establishing team coding standards. Trigger: "algolia SDK patterns", "algolia best practices", "algolia code patterns", "idiomatic algolia".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-upgrade-migration

Analyze, plan, and execute Mistral AI SDK upgrades with breaking change detection. Use when upgrading Mistral SDK versions, detecting deprecations, or migrating to new API versions. Trigger with phrases like "upgrade mistral", "mistral breaking changes", "update mistral SDK", "analyze mistral version".

2,266 Updated today
jeremylongshore
AI & Automation Featured

assemblyai-upgrade-migration

Analyze, plan, and execute AssemblyAI SDK upgrades with breaking change detection. Use when upgrading the assemblyai npm package, migrating from the old SDK, or switching between speech models (Best, Nano, Universal). Trigger with phrases like "upgrade assemblyai", "assemblyai migration", "assemblyai breaking changes", "update assemblyai SDK".

2,266 Updated today
jeremylongshore