Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
- **Feature:** Add attribute `total_quantity_decimal` to `DetailedServiceCost` model class
- **Feature:** Add attribute `quantity_decimal` to `ReportData` model class
- `dns`
- [v0.8.0](services/dns/CHANGELOG.md#v080)
- **Breaking Change:** `Value` field of `Label`/`CreateLabelPayload` is no longer required.
- [v0.7.0](services/dns/CHANGELOG.md#v070)
- **Chore:** Bump minimum Python version to 3.10
- **Chore:** Update dependencies
Expand Down
3 changes: 3 additions & 0 deletions services/dns/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.8.0
- **Breaking Change:** `Value` field of `Label`/`CreateLabelPayload` is no longer required.

## v0.7.0
- **Chore:** Bump minimum Python version to 3.10
- **Chore:** Update dependencies
Expand Down
2 changes: 1 addition & 1 deletion services/dns/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
c09e232a83532c75ca1041153e3ebc7ce2d50eb6
2 changes: 1 addition & 1 deletion services/dns/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stackit-dns"
version = "v0.7.0"
version = "v0.8.0"
description = "STACKIT DNS API"
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
requires-python = ">=3.10,<4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CreateLabelPayload(BaseModel):
""" # noqa: E501

key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
value: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
__properties: ClassVar[List[str]] = ["key", "value"]

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class CreateZonePayload(BaseModel):
""" # noqa: E501

acl: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(
default="0.0.0.0/0,::/0", description="access control list"
default="0.0.0.0/0,::/0",
description="the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone)",
)
contact_email: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
default="hostmaster@stackit.cloud", description="contact e-mail for the zone", alias="contactEmail"
Expand Down
2 changes: 1 addition & 1 deletion services/dns/src/stackit/dns/models/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Label(BaseModel):
""" # noqa: E501

key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
value: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
__properties: ClassVar[List[str]] = ["key", "value"]

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class PartialUpdateZonePayload(BaseModel):
""" # noqa: E501

acl: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(
default="0.0.0.0/0,::/0", description="access control list"
default="0.0.0.0/0,::/0",
description="the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone)",
)
contact_email: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
default="hostmaster@stackit.cloud", description="contact e-mail for the zone", alias="contactEmail"
Expand Down
Loading