Skip to content

Commit

Permalink
Merge pull request #18 from jasonyates/nb3.5
Browse files Browse the repository at this point in the history
Adding support for Netbox 3.5
  • Loading branch information
jasonyates authored Apr 28, 2023
2 parents 73e8593 + 8b2b293 commit 5e74c2e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.3.0 (2023-04-28)

* Fixed support for Netbox 3.5. NOTE: Plugin version 0.3.0+ is only compatible with Netbox 3.5+

## 0.2.2 (2023-01-18)

* Fix API Filtersets
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The plugin does not directly provide an automated approach to ingesting provider
This plugin is only supported on NetBox 3.4 or higher, for exact compatibility information, see the table below.
| NetBox Version | Plugin Version |
|--|--|
| 3.5 | 0.3.0 |
| 3.4 | 0.2.2 |


Expand Down
2 changes: 1 addition & 1 deletion netbox_circuitmaintenance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Jason Yates"""
__email__ = 'me@jasonyates.co.uk'
__version__ = '0.2.2'
__version__ = '0.3.0'


from extras.plugins import PluginConfig
Expand Down
3 changes: 2 additions & 1 deletion netbox_circuitmaintenance/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django import forms
from netbox.forms import NetBoxModelForm, NetBoxModelFilterSetForm
from utilities.forms import DateTimePicker, DynamicModelChoiceField
from utilities.forms.fields import DynamicModelChoiceField
from utilities.forms.widgets import DateTimePicker
from circuits.models import Provider, Circuit
from .models import CircuitMaintenance, CircuitMaintenanceImpact, CircuitMaintenanceNotifications, CircuitMaintenanceTypeChoices, CircuitMaintenanceImpactTypeChoices

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "netbox-circuitmaintenance"
version = "0.2.2"
version = "0.3.0"
description = "Provides the ability to record circuit maintenance, maintenance impact and maintenance notifications in Netbox and link them to Providers and Circuits."
readme = "README.md"
authors = [{ name = "Jason Yates", email = "me@jasonyates.co.uk" }]
Expand All @@ -19,7 +19,7 @@ Homepage = "https://github.com/jasonyates/netbox-circuitmaintenance"
dev = ["black", "bumpver", "isort", "pip-tools", "pytest"]

[tool.bumpver]
current_version = "0.2.2"
current_version = "0.3.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ python =
3.8: py38, format, lint, build

[bumpversion]
current_version = 0.1.0
current_version = 0.3.0
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
packages=find_packages(include=['netbox_circuitmaintenance', 'netbox_circuitmaintenance.*']),
test_suite='tests',
url='https://github.com/jasonyates/netbox-circuitmaintenance',
version='0.2.2',
version='0.3.0',
zip_safe=False,
)

0 comments on commit 5e74c2e

Please sign in to comment.