# Migrating from Bootstrap TouchSpin v4.x to TouchSpin v5
Use this guide to move from the legacy `bootstrap-touchspin@4.6.2` package to the modular v5 release. The focus is packaging and consumption; behavioral differences remain documented in `docs/architecture/migration-guide.md`.
## 1. Fast path (drop-in replacement)
If you only need to keep the existing jQuery + Bootstrap setup running, replace the old CDN/local assets with the new UMD bundles—the API, data attributes, and event names remain unchanged.
```html
```
The new UMD bundles follow the pattern `jquery.touchspin-{bootstrap3|bootstrap4|bootstrap5|tailwind|vanilla}.umd.js`—swap the package source and file path but retain the jQuery API patterns (`$('#input').touchspin({...})`). No code changes required.
Once the new files are in place the rest of the integration runs as before—no code changes required.
## 2. Choose your integration path
| Legacy usage | Recommended v5 path |
|--------------|---------------------|
| Global `