Back to changelog index

0.1.6

Aug 05, 2026 · 1 packages · 2 unique changes · 1 release entry

libs

This release affects the sharedLibs family.

Run contractspec connect adoption resolve --family sharedLibs to see how it impacts your project.

Release summaries

  • m2-testing-helpers

    Additive: M2 new lib @lssm-tech/lib.testing-helpers — shared assertHashDistinct + assertTypeNarrows + stableStringDiff assertions unblocking Phase 1 + Phase 3 proof harness.

    maintainer

    Test-only utility package providing structural-distinctness, type-narrowing, and stable-string-diff assertions used by upcoming Phase 1 + Phase 3 test suites. Zero runtime dependencies. Helpers are pure functions (no side effects, no I/O).

    integrator

    When writing tests that assert N rendered cases produce N visually distinct outputs, import assertHashDistinct from @lssm-tech/lib.testing-helpers instead of rolling per-test JSON.stringify comparisons. For type-level proofs in *.test-d.ts files, use assertTypesEqual<A, B> to verify type narrowing.

Upgrade steps

  • Use shared test assertion helpers

    assisted

    Standardize on the three helpers across the cockpit-extraction surface and future personalization-aware test work.

    Packages: @lssm-tech/lib.testing-helpers

    1. Import: `import { assertHashDistinct, assertTypeNarrows, assertTypesEqual, stableStringDiff } from '@lssm-tech/lib.testing-helpers'`
    2. For N rendered cases producing N distinct outputs: `assertHashDistinct([case1Output, case2Output, ...])`
    3. For type narrowing in *.test-d.ts: `assertTypeNarrows<MyType>()` or `assertTypesEqual<Actual, Expected>()`

Unique release changes

  • - Additive: M2 new lib @lssm-tech/lib.testing-helpers — shared assertHashDistinct + assertTypeNarrows + stableStringDiff assertions unblocking Phase 1 + Phase 3 proof harness.

    1 packages · 1 occurrences

  • - Standardize on the three helpers across the cockpit-extraction surface and future personalization-aware test work.

    1 packages · 1 occurrences

Impacted packages

  • @lssm-tech/lib.testing-helpers

    Layer: libs · 2 changes