-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from nautobot/release/v2.3.0
Release v2.3.0
- Loading branch information
Showing
22 changed files
with
407 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# v2.3 Release Notes | ||
|
||
This document describes all new features and changes in the release `2.3`. 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). | ||
|
||
## Release Overview | ||
|
||
This release introduces the ability to use a custom seed to use as the starting point for the x and y grid coordinates in a floor plan. It also adds support for Nautobot v2.3.0. | ||
|
||
<!-- towncrier release notes start --> | ||
## [v2.3.0 (2024-08-07)](https://github.com/nautobot/nautobot-app-floor-plan/releases/tag/v2.3.0) | ||
|
||
### Added | ||
|
||
- [#8](https://github.com/nautobot/nautobot-app-floor-plan/issues/8) - Added grid seed option to FloorPlan. | ||
- [#63](https://github.com/nautobot/nautobot-app-floor-plan/issues/63) - Added default statuses for floorplantile objects. | ||
- [#109](https://github.com/nautobot/nautobot-app-floor-plan/issues/109) - Added Django 4 support. | ||
|
||
### Housekeeping | ||
|
||
- [#111](https://github.com/nautobot/nautobot-app-floor-plan/issues/111) - Fixed conflicting migration files caused by parallel PRs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,36 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://raw.githubusercontent.com/nautobot/nautobot-app-floor-plan/develop/nautobot_floor_plan/app-config-schema.json", | ||
"$comment": "TBD: Update $id, replace `develop` with the future release tag", | ||
"type": "object", | ||
"properties": { | ||
"default_x_axis_labels": { | ||
"type": "string", | ||
"default": "numbers" | ||
}, | ||
"default_y_axis_labels": { | ||
"type": "string", | ||
"default": "numbers" | ||
} | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://raw.githubusercontent.com/nautobot/nautobot-app-floor-plan/develop/nautobot_floor_plan/app-config-schema.json", | ||
"$comment": "TBD: Update $id, replace `develop` with the future release tag", | ||
"type": "object", | ||
"properties": { | ||
"default_x_axis_labels": { | ||
"type": "string", | ||
"default": "numbers" | ||
}, | ||
"default_y_axis_labels": { | ||
"type": "string", | ||
"default": "numbers" | ||
}, | ||
"additionalProperties": false | ||
"default_statuses": { | ||
"type": "object", | ||
"properties": { | ||
"FloorPlanTile": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"color": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
nautobot_floor_plan/migrations/0006_alter_floorplantile_status.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.2.14 on 2024-08-07 15:39 | ||
|
||
from django.db import migrations | ||
import django.db.models.deletion | ||
import nautobot.extras.models.statuses | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("nautobot_floor_plan", "0005_add_rackgroup"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="floorplantile", | ||
name="status", | ||
field=nautobot.extras.models.statuses.StatusField( | ||
on_delete=django.db.models.deletion.PROTECT, to="extras.status" | ||
), | ||
), | ||
] |
34 changes: 34 additions & 0 deletions
34
nautobot_floor_plan/migrations/0007_add_axis_origin_seed.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 3.2.25 on 2024-07-23 21:59 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("nautobot_floor_plan", "0006_alter_floorplantile_status"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="floorplan", | ||
name="x_origin_seed", | ||
field=models.PositiveSmallIntegerField(default=1, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AddField( | ||
model_name="floorplan", | ||
name="y_origin_seed", | ||
field=models.PositiveSmallIntegerField(default=1, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name="floorplantile", | ||
name="x_origin", | ||
field=models.PositiveSmallIntegerField(validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name="floorplantile", | ||
name="y_origin", | ||
field=models.PositiveSmallIntegerField(validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
] |
Oops, something went wrong.