v0.2.0
·
18 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
- #89
7c59947Thanks @jacekradko! - Stop under-reporting surface break-check never actually checked. (Minor, per
break-check's own verdict on this diff:PackageInfogains an optional
unresolvedSubpathsfield in the programmatic API.) Entry-point
discovery now resolves types declared under nested export conditions
({ "node": { "import": { "types": ... } } }) and.d.ctsfiles, both
previously skipped without a trace. A subpath that declares types break-check
still cannot resolve (a missing file, a target escaping the package, an
unsupported wildcard pattern) is now recorded as a skipped entry, so it shows
up in the report and--fail-on-skippedcatches it; JS-only and asset subpaths
stay silent. Anddetectnow refuses a--baselinethat resolves to the
configuredsnapshotDir, which previously overwrote the baseline with the
current snapshots and reported "no changes" for any break.
Patch Changes
- #88
123300fThanks @jacekradko! - Fix a family of false negatives in the rule-based differ. Overload signatures
now carry theiroverloadIndexin the comparison key, so removing or editing a
function or method overload (or one of several call/construct/index signatures)
is reported instead of silently collapsing onto the last overload. An
optionality flip no longer short-circuits the member compare, so a change like
a: string->a?: numberreports the breaking type change instead of a
non-breaking "became optional"; property and variable types are now compared
via their kind-specific token ranges (propertyTypeTokenRange,
variableTypeTokenRange) instead of the full declaration text. And
static/protected/abstractmodifier flips are compared explicitly, which
also catches them on methods and classes where the signature compare never saw
them. All fixes are compare-time only; committed baselines need no
regeneration.