Skip to content

Releases: just-func/typescript

just-func@0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 04:06
b7609b0

Minor Changes

  • 2f3a544: Pin type-plus to 8.0.0-beta.10, exactly.

    The last published @just-func/types (0.5.1) still declares type-plus: ^5.0.0, and the
    move to ^7.6.0 has never reached the registry, so the jump consumers actually see with
    this release is 5 -> 8.

    type-plus 8 depends on tersify ^4, which is the point of the change: consumers
    reaching @just-func/types transitively (through standard-log, for example) were being
    dragged onto type-plus 5.6.0 and therefore tersify 3.12.1, forcing two majors of
    tersify into their tree. pnpm why tersify -r now resolves a single version, 4.0.6.

    The version is pinned rather than caret-ranged. ^8.0.0-beta.10 resolves to
    >=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease, 8.0.0 itself and
    8.1.0 — and type-plus 8 is a prerelease line where breaking changes land between
    betas, as the two below show. An exact version makes each bump a reviewable change
    instead of something a lockfile refresh can do silently. Move back to a caret when 8.0.0
    is stable.

    Two knock-on changes:

    • type-plus 8.0.0-beta.10 declares a typescript peer of >= 5.6.0. Consumers below
      TypeScript 5.6 will not be able to compile against these packages. (beta.11 widened
      that to >= 5.4.0; beta.10 is the narrower one.)
    • type-plus 8 depends on unpartial ^1.0.7, which declares engines: node >= 20, so
      the effective Node floor for these packages' runtime dependencies is Node 20.
    • Equal changed its branching signature from positional (Equal<A, B, Then, Else>) to
      an options object (Equal<A, B, { $then, $else }>). JustValue is updated to match;
      the type it resolves to is unchanged.

    Bump level: minor. No exported type or runtime signature changed shape, but on 0.x
    minor is the breaking slot, and this is breaking for consumers — type-plus is a
    regular dependency whose types surface through JustValue, and the TypeScript floor
    moves to 5.6.

Patch Changes

  • da5b0cf: Build with tsdown instead of tsc. Every runtime and type path in the tarball is
    unchanged; the only difference is that lib/index.js.map and lib/index.d.ts.map are no
    longer emitted, because index.ts is a pure re-export barrel that produces no mappable
    output. Nothing references them and the emitted files carry no sourceMappingURL for
    them, so this is not a broken artifact — but it does change what ships, hence a patch.
  • Updated dependencies [2f3a544]
  • Updated dependencies [da5b0cf]
    • @just-func/types@0.6.0

@just-func/types@0.6.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 04:05
b7609b0

Minor Changes

  • 2f3a544: Pin type-plus to 8.0.0-beta.10, exactly.

    The last published @just-func/types (0.5.1) still declares type-plus: ^5.0.0, and the
    move to ^7.6.0 has never reached the registry, so the jump consumers actually see with
    this release is 5 -> 8.

    type-plus 8 depends on tersify ^4, which is the point of the change: consumers
    reaching @just-func/types transitively (through standard-log, for example) were being
    dragged onto type-plus 5.6.0 and therefore tersify 3.12.1, forcing two majors of
    tersify into their tree. pnpm why tersify -r now resolves a single version, 4.0.6.

    The version is pinned rather than caret-ranged. ^8.0.0-beta.10 resolves to
    >=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease, 8.0.0 itself and
    8.1.0 — and type-plus 8 is a prerelease line where breaking changes land between
    betas, as the two below show. An exact version makes each bump a reviewable change
    instead of something a lockfile refresh can do silently. Move back to a caret when 8.0.0
    is stable.

    Two knock-on changes:

    • type-plus 8.0.0-beta.10 declares a typescript peer of >= 5.6.0. Consumers below
      TypeScript 5.6 will not be able to compile against these packages. (beta.11 widened
      that to >= 5.4.0; beta.10 is the narrower one.)
    • type-plus 8 depends on unpartial ^1.0.7, which declares engines: node >= 20, so
      the effective Node floor for these packages' runtime dependencies is Node 20.
    • Equal changed its branching signature from positional (Equal<A, B, Then, Else>) to
      an options object (Equal<A, B, { $then, $else }>). JustValue is updated to match;
      the type it resolves to is unchanged.

    Bump level: minor. No exported type or runtime signature changed shape, but on 0.x
    minor is the breaking slot, and this is breaking for consumers — type-plus is a
    regular dependency whose types surface through JustValue, and the TypeScript floor
    moves to 5.6.

Patch Changes

  • da5b0cf: Build with tsdown instead of tsc. Every runtime and type path in the tarball is
    unchanged; the only difference is that lib/index.js.map and lib/index.d.ts.map are no
    longer emitted, because index.ts is a pure re-export barrel that produces no mappable
    output. Nothing references them and the emitted files carry no sourceMappingURL for
    them, so this is not a broken artifact — but it does change what ships, hence a patch.

just-func@0.2.5

Choose a tag to compare

@unional unional released this 14 Dec 18:20

Patch Changes

  • Update type-plus
  • Updated dependencies
    • @just-func/types@0.5.1

@just-func/types@0.5.1

Choose a tag to compare

@unional unional released this 14 Dec 18:20

Patch Changes

  • Update type-plus

just-func@0.2.4

Choose a tag to compare

@unional unional released this 20 Nov 04:36

Patch Changes

  • Updated dependencies [3bea285]
  • Updated dependencies [4d0bf46]
    • @just-func/types@0.5.0

@just-func/types@0.5.0

Choose a tag to compare

@unional unional released this 20 Nov 04:36

Minor Changes

  • 4d0bf46: Fix ToJustValue<V> to return JustEmpty correctly.

    Also added readonly to others. Seems like newer TypeScript needs that.

    justFunction() generic type is changed to keep the same behavior.
    Again TypeScript seems to changed the behavior causing the original type to fail.

    Add just() for writing just-func compliant code.
    It supports function overloads, which is not supported by justFunction().

Patch Changes

  • 3bea285: Make some import with type.

just-func@0.2.3

Choose a tag to compare

@unional unional released this 10 Oct 00:03

Patch Changes

  • c090861: Fix workspace version.
    workspace:^ should be the correct one which will changeset will update the version correctly.

    Not sure do we need version: cs version && pnpm install. Going to see if this release works or not.

just-func@0.2.1

Choose a tag to compare

@unional unional released this 09 Oct 23:26

Patch Changes

  • a08a5fb: Re-release: the workspace version is somehow not updated.

just-func@0.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 22:28

Minor Changes

Patch Changes

  • Updated dependencies [6e9db07]
  • Updated dependencies [a90c6bd]
  • Updated dependencies [2827b04]
  • Updated dependencies [6e75faf]
    • @just-func/types@0.4.0

just-func@0.1.7

Choose a tag to compare

@github-actions github-actions released this 09 Oct 16:39

Patch Changes

  • Updated dependencies [0366fb8]
    • @just-func/types@0.3.3