diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 84070ec..a83435b 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -7,3 +7,4 @@ | 0.1.2 | 4.4.0 | 4.5.x | | 0.1.3 | 4.4.0 | 4.5.x | | 0.1.4 | 4.4.0 | 4.6.x | +| 0.1.5 | 4.4.0 | 4.6.x | diff --git a/netbox_vmware_importer/__init__.py b/netbox_vmware_importer/__init__.py index 72e9d9d..25cfa5e 100644 --- a/netbox_vmware_importer/__init__.py +++ b/netbox_vmware_importer/__init__.py @@ -5,7 +5,7 @@ class VMwareImporterConfig(PluginConfig): name = "netbox_vmware_importer" verbose_name = "VMware Importer" description = "Synchronize VMware vSphere virtual machines into NetBox." - version = "0.1.4" + version = "0.1.5" author = "Internal NetBox Team" base_url = "vmware-importer" min_version = "4.4.0" diff --git a/netbox_vmware_importer/migrations/0002_align_netbox_46_model_state.py b/netbox_vmware_importer/migrations/0002_align_netbox_46_model_state.py new file mode 100644 index 0000000..33c8142 --- /dev/null +++ b/netbox_vmware_importer/migrations/0002_align_netbox_46_model_state.py @@ -0,0 +1,38 @@ +import taggit.managers +import utilities.json +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("extras", "__latest__"), + ("netbox_vmware_importer", "0001_initial"), + ] + + operations = [ + migrations.AlterField( + model_name="vcenterendpoint", + name="created", + field=models.DateTimeField(auto_now_add=True, blank=True, null=True, verbose_name="created"), + ), + migrations.AlterField( + model_name="vcenterendpoint", + name="last_updated", + field=models.DateTimeField(auto_now=True, blank=True, null=True, verbose_name="last updated"), + ), + migrations.AlterField( + model_name="vcenterendpoint", + name="custom_field_data", + field=models.JSONField(blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder), + ), + migrations.AddField( + model_name="vcenterendpoint", + name="tags", + field=taggit.managers.TaggableManager( + help_text="A comma-separated list of tags.", + through="extras.TaggedItem", + to="extras.Tag", + verbose_name="Tags", + ), + ), + ] diff --git a/pyproject.toml b/pyproject.toml index 0afee53..c80be24 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "netbox-vmware-importer" -version = "0.1.4" +version = "0.1.5" description = "NetBox plugin to synchronize VMware vSphere virtual machines into NetBox." readme = "README.md" requires-python = ">=3.12"