Releases: just-func/typescript
Release list
just-func@0.3.0
Minor Changes
-
2f3a544: Pin
type-plusto8.0.0-beta.10, exactly.The last published
@just-func/types(0.5.1) still declarestype-plus: ^5.0.0, and the
move to^7.6.0has never reached the registry, so the jump consumers actually see with
this release is 5 -> 8.type-plus8 depends ontersify^4, which is the point of the change: consumers
reaching@just-func/typestransitively (throughstandard-log, for example) were being
dragged ontotype-plus5.6.0 and thereforetersify3.12.1, forcing two majors of
tersifyinto their tree.pnpm why tersify -rnow resolves a single version, 4.0.6.The version is pinned rather than caret-ranged.
^8.0.0-beta.10resolves to
>=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease,8.0.0itself and
8.1.0— andtype-plus8 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-plus8.0.0-beta.10 declares atypescriptpeer 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-plus8 depends onunpartial^1.0.7, which declaresengines: node >= 20, so
the effective Node floor for these packages' runtime dependencies is Node 20.Equalchanged its branching signature from positional (Equal<A, B, Then, Else>) to
an options object (Equal<A, B, { $then, $else }>).JustValueis 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
minoris the breaking slot, and this is breaking for consumers —type-plusis a
regular dependency whose types surface throughJustValue, 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 thatlib/index.js.mapandlib/index.d.ts.mapare no
longer emitted, becauseindex.tsis a pure re-export barrel that produces no mappable
output. Nothing references them and the emitted files carry nosourceMappingURLfor
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
Minor Changes
-
2f3a544: Pin
type-plusto8.0.0-beta.10, exactly.The last published
@just-func/types(0.5.1) still declarestype-plus: ^5.0.0, and the
move to^7.6.0has never reached the registry, so the jump consumers actually see with
this release is 5 -> 8.type-plus8 depends ontersify^4, which is the point of the change: consumers
reaching@just-func/typestransitively (throughstandard-log, for example) were being
dragged ontotype-plus5.6.0 and thereforetersify3.12.1, forcing two majors of
tersifyinto their tree.pnpm why tersify -rnow resolves a single version, 4.0.6.The version is pinned rather than caret-ranged.
^8.0.0-beta.10resolves to
>=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease,8.0.0itself and
8.1.0— andtype-plus8 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-plus8.0.0-beta.10 declares atypescriptpeer 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-plus8 depends onunpartial^1.0.7, which declaresengines: node >= 20, so
the effective Node floor for these packages' runtime dependencies is Node 20.Equalchanged its branching signature from positional (Equal<A, B, Then, Else>) to
an options object (Equal<A, B, { $then, $else }>).JustValueis 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
minoris the breaking slot, and this is breaking for consumers —type-plusis a
regular dependency whose types surface throughJustValue, 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 thatlib/index.js.mapandlib/index.d.ts.mapare no
longer emitted, becauseindex.tsis a pure re-export barrel that produces no mappable
output. Nothing references them and the emitted files carry nosourceMappingURLfor
them, so this is not a broken artifact — but it does change what ships, hence a patch.
just-func@0.2.5
Patch Changes
- Update type-plus
- Updated dependencies
- @just-func/types@0.5.1
@just-func/types@0.5.1
Patch Changes
- Update type-plus
just-func@0.2.4
@just-func/types@0.5.0
Minor Changes
-
4d0bf46: Fix
ToJustValue<V>to returnJustEmptycorrectly.Also added
readonlyto 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 writingjust-funccompliant code.
It supports function overloads, which is not supported byjustFunction().
Patch Changes
- 3bea285: Make some import with
type.
just-func@0.2.3
Patch Changes
-
c090861: Fix workspace version.
workspace:^should be the correct one which willchangesetwill 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
Patch Changes
- a08a5fb: Re-release: the workspace version is somehow not updated.
just-func@0.2.0
just-func@0.1.7
Patch Changes
- Updated dependencies [0366fb8]
- @just-func/types@0.3.3