BACK TO TEMPLATES
promptany
Library Version Migration Prompt Template
Prompt for generating step-by-step code migration guides when upgrading major library or framework versions.
When to use this
Use when upgrading frameworks or dependencies (e.g. Next.js 13 to 15, Pydantic v1 to v2, Vue 2 to 3).
The template
Analyze the breaking changes between `[SOURCE_VERSION]` and `[TARGET_VERSION]` for `[LIBRARY_NAME]` and refactor the provided code. Requirements: 1. List all breaking API signature changes detected in the source code. 2. Update deprecated function calls, imports, and configuration options to match the target version. 3. Maintain 100% backward compatibility for public component props and API responses. Source Code: ```[LANGUAGE] [PASTE CODE HERE] ```
How to use
Fill in library names, versions, and existing source code.
Last verified 2026-07-26