Files
NetBox-VM-Import/CHANGELOG.md
T
MrBlakeandClaude Opus 5.5 6dc00ebd78 Support NetBox 4.7.2 and restore deleted migrations
Raise max_version to 4.7.99; NetBox 4.7.2 skipped the plugin. Restore migrations 0003-0006, which were deleted while the model still uses their fields, so fresh installations get all columns. Existing installations already have them recorded as applied. Bump version to 0.3.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 14:13:22 +02:00

42 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
## 0.3.2
- Raised `max_version` to `4.7.99`; verified against NetBox 4.7.2 (the plugin was skipped on 4.7.2 before).
- Restored migrations `0003`–`0006`, which had been deleted while the model still uses their fields
(`provider`, `auth_method`, `token_name`, timeouts, retries, `sync_lxc_containers`). Fresh
installations were missing these columns. Existing installations already have them recorded as
applied, so nothing changes there.
## 0.3.1
- Fixed Django migration dependencies for NetBox 4.6.5 through 4.6.8.
- Replaced dynamic `__latest__` dependencies in published migrations with fixed NetBox 4.6 squashed migration names.
- Documented the migration-history issue and the safe upgrade path for affected installations.
### Safe Upgrade Path
If `python manage.py migrate` fails with `InconsistentMigrationHistory` because `netbox_vmware_importer.0001_initial` is applied before a newer NetBox core migration, upgrade the plugin package to version `0.3.1` first and then run migrations normally:
```bash
cd /opt/netbox
source venv/bin/activate
pip install --upgrade --force-reinstall --no-cache-dir git+https://git.mrblake.cc/MrBlake/NetBox-VM-Import.git
cd /opt/netbox/netbox
python manage.py migrate --plan
python manage.py migrate
python manage.py check
sudo systemctl restart netbox netbox-rq
```
No manual edits to the `django_migrations` table and no `--fake` migration should be necessary. Take a database backup before any NetBox or plugin upgrade.
## 0.3.0
- Removed Proxmox sync support.
- Kept legacy Proxmox endpoints visible so administrators can delete old records safely.
- Restricted the plugin UI and sync jobs to VMware vSphere/vCenter endpoints.