Skip to content

v0.4.0

Choose a tag to compare

@clerk-cookie clerk-cookie released this 12 Jun 03:58
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.
703a7d9

Minor Changes

  • #101 1860598 Thanks @jacekradko! - Skip reasons for subpaths API Extractor cannot snapshot are now classified
    into actionable messages instead of echoing AE's raw InternalError text. An
    ambient entry .d.ts (no top-level import or export) is reported as a surface
    AE can never analyze, and an unresolvable type name in the shipped
    declarations is reported as likely-broken published types; both point at
    ignoreSubpaths as the acknowledgment path and keep the original AE first
    line for traceability. Unrecognized messages pass through with only the
    "software defect" boilerplate stripped.

  • #99 4c81537 Thanks @jacekradko! - A reference repair is now reported non-breaking (issue #98). When a breaking
    modification's only diff is swapping module specifiers consumers could not
    resolve (export-blocked, e.g. @clerk/shared/_chunks/index-Cr_OtBLq under
    "./_chunks/*": null, or chunk-shaped with the dependency unlocatable) for
    specifiers that provably resolve against the dependency's exports, the change
    is deterministically downgraded and tagged as a repaired reference in the
    report. The old reference errored (TS2307) or degraded to any downstream, so
    fixing it cannot break anyone. The check is fail-closed: any difference beyond
    the specifier/alias swap, or an introduced specifier that does not provably
    resolve, keeps the change breaking. Opt out with
    downgradeRepairedReferences: false.

    The AI reviewer now also receives deterministic exports-map verdicts
    (referenceResolutions) for every specifier a signature drops or introduces,
    instead of guessing resolvability from path shapes, and cannot escalate a
    deterministically repaired change back to breaking (recorded as
    ai-suggested-escalation, mirroring the downgrade refusal for unresolvable
    references).