Skip to content

Commit 1795f4b

Browse files
committed
Release v1.0.5
1 parent 292faa0 commit 1795f4b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
### Changelog
22

3-
### NEXT
3+
### 1.0.5
44

5+
* Breaking: Switch `Addresses` to plural fields (`addresses`/`networks`) to match spec semantics; remove singular access and update tests/docs.
56
* Enforce required nodes/fields at write time in class `to_xml` (raises on missing required Source/Projections/Geometries unless auto-filled).
67
* Auto-fill minimal IDs for non-multipatch fixtures/truss/support/video/projector when missing (`FixtureID="0"`, `FixtureIDNumeric=0`, fixtures also `UnitNumber=0`).
78
* Preserve `UserData/Data` payload content (text/children) on round-trip.
89
* Default `Gobo` rotation to `0.0` to avoid invalid `None` serialization.
9-
* Switch `Addresses` to plural fields (`addresses`/`networks`) to match spec semantics; remove singular access and update tests/docs.
1010

1111
### 1.0.4
1212

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ for layer_index, layer in enumerate(mvr_file.scene.layers):
5656

5757
> Validation notes
5858
> - Each object now enforces required children/fields when writing. Missing mandatory data will raise `ValueError`.
59-
> - For convenience, fixtures/truss/support/video/projector auto-fill missing IDs with minimal defaults (`FixtureID="0"`, `FixtureIDNumeric=0`, fixtures also set `UnitNumber=0`) when not a multipatch child.
59+
> - For convenience, fixtures/truss/support/video/projector auto-fill missing IDs with minimal defaults (`FixtureID="0"`, `FixtureIDNumeric=0`) when not a multipatch child.
6060
> - `Addresses` uses plural fields `addresses`/`networks` to align with the spec’s container semantics.
6161
> - Required nodes such as `Geometries`, `Source` inside `MappingDefinition`/`Projection`, and `Projections` on `Projector` must be present; empty `Sources`/`Projections` will raise.
6262

pymvr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from .value import Matrix, Color # type: ignore
3333
from enum import Enum
3434

35-
__version__ = "1.0.4"
35+
__version__ = "1.0.5"
3636

3737

3838
def _find_root(pkg: "zipfile.ZipFile") -> "ElementTree.Element":

0 commit comments

Comments
 (0)