Skip to content

v4.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@gsdali gsdali released this 19 Sep 05:35
· 2223 commits to main since this release
e1c03c4

Pre-release checkpoint toward v4.0.0, not a release in its own right. Per
docs/v4.0.0-plan.md:
betas are published as GitHub pre-releases, never as the repo's latest release, the same
mechanism already used for v2.0.0-kernel.1/v3.0.0-kernel.1.

The kernel does not move. Still OCCT V8_0_1 plus the seventeen carried patches pinned at
v3.0.0. Nothing in this checkpoint touches Package.swift's kernel pin. Twenty-two patches remain
on disk against seventeen pinned; that divergence is documented in
carried-occt-patches.md
and is unchanged since v3.0.0.

What's in this checkpoint

Milestone v4.0.0-beta.2, two issues,
both closed:

  • #386, Pass 4b: the Drawing/2D annotation lane of the #377 duplication audit.
  • #1688, the CHANGELOG backfill: 22 merged PRs were listed as carrying no release note. Ten
    already had one, filed under the issue number where the audit searched for the PR number, which
    is the same substring-match blind spot #1688 itself documents for #1649. Six were genuinely owed
    and are now written; five owe nothing, and the No-Changelog: trailer the policy offers for that
    case cannot be applied retroactively, since it lives on a merge commit that already exists.

Beyond the milestone, 150 merges across 468 commits since v4.0.0-beta.1, the bulk of it the
bridge and Swift-layer correctness sweeps (#1413, #1551) and the comment-staleness audit (#872).

Breaking changes are accumulating and are not yet assembled

At least 23 PRs merged since beta.1 declare MAJOR. A further 28 carry no machine-readable
## SemVer impact heading
and have not been checked by hand, so 23 is a floor, not a count.

One found during #1688 is already known to be missing from the plan's own register:
#1116 changed Edge.adjacentFaces(in:) from (Face, Face?)? to [Face]?, a compile error for
any caller, merged 2026-08-25 with no release note until now.

docs/SEMVER.md is assembled once, at the v4.0.0 tag, not per beta. Do not treat this
pre-release as having a stated break set.
If you are consuming it, expect source breaks and read
docs/CHANGELOG.md's ## Unreleased section.

What is deliberately not here

  • WebAssembly (#1689) moved to beta.3. It is gated on the Phase 0 ABI decision spike in
    wasm-feasibility.md,
    which can legitimately return "no path links": official Swift-on-wasm targets
    wasm32-unknown-wasip1, OCCT's only supported wasm path is Emscripten, and the two cannot be
    statically linked.
  • #1679 (nothing checks API_REFERENCE's category rows against the Swift surface) and
    #1677 (split_bridge_mm.py routes every file-scope type to SHARED with no linkage test),
    both P3 tooling, deferred to beta.3 rather than holding the cut.

Operations: 4,357.