Skip to content

v1.7.8

Choose a tag to compare

@gsdali gsdali released this 19 Aug 08:12
· 8 commits to main since this release
d91c16f

Repins the OCCTSwift floor to v3.0.0.

No library source change. Sources/ reads none of the six accessors that became Optional, so the shipped library is byte-for-byte unaffected by the migration.

Three test call sites did need fixing, all reading shape.bounds one line below an existing try #require(result.shapes.first), so the unwrap routes into the failure path the test already used:

  • Tests/OCCTSwiftIOTests/DXFLoaderTests.swift (realDrawingExtent, bulgePolylineBecomesArc)
  • Tests/OCCTSwiftIOTests/JWWLoaderTests.swift (realDrawingExtent)

Worth recording, because it nearly shipped unnoticed: swift build does not compile test targets. This package built clean with zero errors while carrying all three breaks. They surface only under swift build --build-tests or swift test.

The other two v3.0.0 breaks (Selector.SubShapeType.compsolid renamed, ShapeFilterType.RawValue moving Int32 to Int) have zero hits here, and zero across the whole ecosystem.

Verification: swift build clean, swift build --build-tests clean, 41 tests in 8 suites passing, swift-format lint --strict and swiftlint --strict both clean.

Part of the ecosystem-wide v3.0.0 fanout, ecosystem#39.