github.com/secondmouseau/occtswift breaking changes
github.com/secondmouseau/occtswift 4.0.0-rc.1 (November 27, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed split. Every breaking API change we have recorded in github.com/secondmouseau/occtswift on Swift Package Index: 32 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 27, 2026. Source repository
- From 4.0.0-beta.1 to 4.0.0-rc.1: 31 breaking changes in 7 versions.
github.com/secondmouseau/occtswift 4.0.0-rc.1 breaking changes
- Behavior changed
split
A shape far from the plane's point used to be returned whole; it is now cut, so code that relied on one piece may now get two. github.com - Behavior changed
surfaceCount
After reset(), surfaceCount now answers a refusal or 0 instead of the previous count, so code that read the stale value will see a different result. github.com
github.com/secondmouseau/occtswift 4.0.0-beta.7 breaking changes
- Behavior changed
Shape.fromBREPString
A BREP string whose trailing space was stripped now throws ImportError.importFailed or returns nil. Stop trimming stored BREP strings, or append a newline or a space after the root reference. github.com - Behavior changed
Shape.loadBREP
A BREP whose trailing space was stripped now throws ImportError.importFailed or returns nil. Stop trimming stored BREP files, or append a newline or a space after the root reference. github.com
github.com/secondmouseau/occtswift 4.0.0-beta.6 breaking changes
- Behavior changed
circularPattern
For a partial angle the last copy now lands at the angle. To keep old positions pass angle * Double(count - 1) / Double(count). github.com - Behavior changed
circularPatternWithFullHistory
For a partial angle the last copy now lands at the angle. To keep old positions pass angle * Double(count - 1) / Double(count). github.com - Behavior changed
CoordinateSystem3D.direction
CoordinateSystem3D.direction now returns the unit direction, so values returned to existing code change. github.com - Behavior changed
OffsetAncestors.create
A positive offset now offsets outward, the opposite of before. Callers that negated the offset to compensate should stop negating. github.com - Behavior changed
Shape.offsetWire
A positive offset now offsets outward, the opposite of before. Callers that negated the offset to compensate should stop negating. github.com - Signature changed
AssemblyNode.transform
The package no longer depends on Apple's simd, so transform is now Matrix4x4F. Use node.transform.columnMajorElements or convert to simd_float4x4 manually. github.com - Signature changed
Camera.projectionMatrix
The package no longer depends on Apple's simd, so projectionMatrix is now Matrix4x4F instead of a simd type. github.com - Signature changed
Camera.viewMatrix
The package no longer depends on Apple's simd, so viewMatrix is now Matrix4x4F instead of a simd type. github.com - Signature changed
DrawingAnnotation.CuttingPlaneLine.init
DrawingAnnotation.CuttingPlaneLine.init is failable, so callers must handle an optional result. github.com - Signature changed
GProps.matrixOfInertia
The package no longer depends on Apple's simd, so matrixOfInertia is now Matrix3x3D. github.com
And 2 more in this version. Sign up to see every change
github.com/secondmouseau/occtswift 4.0.0-beta.5 breaking changes
- Removed
Shape.isEmptyShape
Shape.isEmptyShape is removed. Use Shape.isNull instead. github.com - Behavior changed
Edge.length
Edge lengths are now measured with adaptive arc length, so returned values change slightly for existing code. github.com - Behavior changed
Shape.analyze
Shape.analyze(tolerance:) orders each wire before counting gaps, so a primitive box now reads gapCount == 0 and isHealthy == true. github.com - Behavior changed
Shape.chamfered
Shape.chamfered now answers nil for a result the kernel reported done but BRepCheck found invalid. Force-unwrapping callers will trap. github.com - Behavior changed
Shape.filleted
Shape.filleted now answers nil for a result the kernel reported done but BRepCheck found invalid. Force-unwrapping callers will trap. github.com - Behavior changed
Shape.solid
Shape.solid(from:) returns the repaired face of a body that stays open, so the result differs from before. github.com - Behavior changed
Shape.solidWithFullHistory
Shape.solidWithFullHistory(from:) returns the repaired face of a body that stays open, so the result differs from before. github.com
github.com/secondmouseau/occtswift 4.0.0-beta.4 breaking changes
- Removed
Shape.isSelfIntersecting
Shape.isSelfIntersecting(hardTimeout:) is absent on wasm. Use isSelfIntersecting(timeout:) instead, which has a cooperative bound. github.com - Behavior changed
Document.datum
Document.datum(at:) now returns a datum where it previously returned nil for a datum with an annotation point and no plane. Callers asserting the old refusal will see a new value. github.com
github.com/secondmouseau/occtswift 4.0.0-beta.3 breaking changes
- Behavior changed
Enum raw values changed, so a value persisted by an earlier version or exchanged with another tool is now read as a different case. github.com - Behavior changed
BoundSortBox.compare
BoundSortBox.compare now returns 0-based indices with the same signature, so code relying on the old indices will read different values. github.com - Behavior changed
dividedByNumber
dividedByNumber now actually divides, so existing callers receive different values under the same signature. github.com - Behavior changed
featCut
featCut previously returned the wrong shape for every call; it now returns real geometry, so results change for existing code. github.com - Behavior changed
featFuse
featFuse previously returned the wrong shape for every call; it now returns real geometry, so results change for existing code. github.com
Older versions
2 older versions.
Show 2 older versions
github.com/secondmouseau/occtswift 4.0.0-beta.2 breaking changes
- Signature changed
Edge.adjacentFaces
It now returns [Face]? instead of (Face, Face?)?, so existing callers will not compile and must be updated. github.com
github.com/secondmouseau/occtswift 4.0.0-beta.1 breaking changes
- Removed
OCCTDatumInfo.name
The name property of OCCTDatumInfo was removed in a change that requires a major version. Code that reads it must stop using it. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.