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: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: [main, initiative/repository-modernisation]
branches: [main, remove-future, initiative/repository-modernisation]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: [main, initiative/repository-modernisation]
branches: [main, remove-future, initiative/repository-modernisation]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: [main, initiative/repository-modernisation]
branches: [main, remove-future, initiative/repository-modernisation]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: verify pull request
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches: [main, initiative/repository-modernisation]
branches: [main, remove-future, initiative/repository-modernisation]

permissions:
contents: read
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

* Added backend-neutral text, arrow, and fixed or associative distance
annotations to `compas.scene`.
* Added an ordered scene-scoped annotation collection and durable distance
styles with color, line width, text size, arrow size, and label offset.
* Added optional durable label background colors and nonnegative logical-pixel
padding for text and distance annotation entries.
* Added durable world-space distance-dimension layouts with signed offsets and
optional plane normals.
* Added durable, reference-only scene objects with declarative persistent-state
fields, explicit data rebinding, inspectable unresolved references, and
hierarchy-only scene nodes.
* Added stable semantic scene objects for shapes, surfaces, frames, planes, and
vectors, with backend-neutral discretization and display state.
* Added MRO-composed editable scene-state fields, narrowly scoped non-state
declarations, and data-only mutation callbacks for contextual object editors.
* Added a verified Linux Python 3.12 candidate wheel artifact for framework-wide pre-release integration.
* Added the public `compas.typing` structural vocabulary with NumPy-aware `PointLike`, `VectorLike`, collection, and neutral `VerticesFaces` aliases.
* Added the PEP 561 `py.typed` marker and installed-wheel static-consumer verification.
Expand All @@ -23,6 +38,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Made `DistanceDimension.unit` and `DistanceDimension.precision` validated
mutable properties. Unit declarations remain informational and precision
is limited to 0–15 inclusive; rejected assignments leave the stored value
unchanged, and neither property converts or rescales the dimension. Values
outside the precision domain are rejected rather than clamped or truncated.
* Changed the color of newly constructed default distance-dimension styles from
white to magenta. Explicit and serialized colors remain unchanged.
* Advanced Scene serialization to schema v5 for durable distance-dimension
layout, with schema-v4 annotation entries receiving type-safe defaults when
their independently loaded items are bound.
* Advanced Scene serialization to schema v6, annotation entries to schema v3,
and dimension styles to schema v2 for independently durable extension-line
widths. Schema-v5 styles retain their appearance by copying the legacy main
line width to the extension-line width during migration.
* Moved annotations out of the spatial scene hierarchy into schema-v3
`SceneAnnotation` entries. Annotation items remain independently serialized
and bound by GUID; the former annotation `SceneObject` classes are removed.
* Made scene objects stable backend-neutral data records and replaced class
substitution with deterministic context- and MRO-keyed `draw` and `clear`
operations. Runtime resources remain outside durable scene objects.
* Migrated core geometry constructors and plugin contracts from private overlapping type aliases to semantic structural inputs, including copied NumPy coordinates and integral face indices.
* Added a committed uv development lock, documented direct quality commands while retaining Invoke convenience tasks, and migrated CI, release, artifact, and documentation mechanics to immutably pinned shared actions.
* Standardized numerical triangle-mesh plugin inputs and outputs on structural `(vertices, triangles)` buffers. `Tessellation` remains an ephemeral discrete representation for geometry producers and scene handoff, but is not required at numerical backend boundaries.
Expand Down
Loading
Loading