Skip to content

0.0.16

Choose a tag to compare

@phasetophase phasetophase released this 24 Dec 09:31
· 34 commits to main since this release
0e3b4a1

Release 0.0.16

Breaking Changes

  • FrameMV.FramePresentation: Moved from module-level FramePresentation to nested class FrameMV.FramePresentation
  • Frame presentation property renames (MV):
    • is_filled → filled
    • is_text_hidden → no_text
    • is_text_upside_down → upside_down_text
    • text_font → font
  • Frame property type changes (LV & MV):
    • sort: str → FrameShape enum
    • style: str → LineStyle enum
  • FrameLV property changes:
    • lines: list[Line] | None → list[str]
    • geo → geo_series: Geography | None → list[Geography]
  • Default value changes:
    • FramePresentation.image_size: 1 → 100
    • FrameLV.FramePresentation.text_size: 7 → 10
    • FrameMV.FramePresentation.sheet: random GUID → NIL_GUID
    • FrameMV.FramePresentation.fill_color: CL_BLACK → CL_BLUE
    • FrameMV.FramePresentation.color: CL_BLACK → CL_BLUE

New Features

  • Module exports: Added __all__ exports to pyptp.elements.lv and pyptp.elements.mv modules for cleaner imports
  • LineStyle enum: Solid, Dash, Dot, DashDot, DashDotDot
  • FrameShape enum: Rectangle, Polygon, Ellipse, Picture
  • Geography class: Added to pyptp.elements.mixins for geographical coordinate data

Bug Fixes

  • FuseLV type duplication: Fixed duplicate FuseType field in GNF output
  • ElementPresentation sheet default: Added NIL_GUID default to sheet field in MV ElementPresentation
  • Connection (home) and Cable: Multiple errors and bugs fixed for LV Home and Cable

Tests

  • Added MV Frame test suite
  • Expanded LV Frame tests
  • Fixed pyright issues

Documentation

  • Added alpha status notice to README

Full Changelog: 0.0.14...0.0.16