Skip to content

Commit ef3de94

Browse files
authored
Merge pull request #174 from nautobot/jlw-migration-patch
Jlw migration patch
2 parents a824336 + 2963b4e commit ef3de94

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
nautobot-version: "stable"
129129
# - python-version: "3.11"
130130
# db-backend: "mysql"
131-
# nautobot-version: "2.0.0-rc.4"
131+
# nautobot-version: "2.0.0"
132132
runs-on: "ubuntu-20.04"
133133
env:
134134
INVOKE_NAUTOBOT_FIREWALL_MODELS_PYTHON_VER: "${{ matrix.python-version }}"

docs/admin/release_notes/version_2.0.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
This document describes all new features and changes in the release `2.0`. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5-
## v2.0.0 - 2023-05-03
5+
## v2.0.1 - 2023-10-04
6+
7+
### Fixed
8+
9+
- [#173](https://github.com/nautobot/nautobot-plugin-firewall-models/issues/173) Resolve issues with v2 migrations
10+
11+
## v2.0.0 - 2023-09-29
612

713
### Changed
814

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ nav:
109109
- Compatibility Matrix: "admin/compatibility_matrix.md"
110110
- Release Notes:
111111
- "admin/release_notes/index.md"
112+
- v2.0: "admin/release_notes/version_2.0.md"
112113
- v1.2: "admin/release_notes/version_1.2.md"
113114
- v1.1: "admin/release_notes/version_1.1.md"
114115
- v1.0: "admin/release_notes/version_1.0.md"

nautobot_firewall_models/migrations/0017_resolve_issues_through_tables_part1.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ class Migration(migrations.Migration):
3232
migrations.AddField(
3333
model_name="zone",
3434
name="new_interfaces",
35-
field=models.ManyToManyField(blank=True, related_name="zones", to="nautobot_firewall_models.UserObject"),
35+
field=models.ManyToManyField(blank=True, related_name="zones", to="dcim.Interface"),
3636
),
3737
migrations.AddField(
3838
model_name="zone",
3939
name="new_vrfs",
40-
field=models.ManyToManyField(blank=True, related_name="zones", to="nautobot_firewall_models.UserObject"),
40+
field=models.ManyToManyField(blank=True, related_name="zones", to="ipam.VRF"),
4141
),
4242
migrations.AddField(
4343
model_name="serviceobjectgroup",

nautobot_firewall_models/migrations/0018_resolve_issues_through_tables_part2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{
3939
"model": "nautobot_firewall_models.PolicyRule",
4040
"old": "destination_address_groups",
41-
"new": "new_destination_addresse_groups",
41+
"new": "new_destination_address_groups",
4242
},
4343
{"model": "nautobot_firewall_models.PolicyRule", "old": "destination_services", "new": "new_destination_services"},
4444
{

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nautobot-firewall-models"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
description = "Nautobot plugin to model firewall objects."
55
authors = ["Network to Code, LLC <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)