v5.0.0
Major Changes
-
56090b6: Pin
type-plusto the exact version8.0.0-beta.10.type-plus8 is still a prerelease line where breaking changes have landed between
betas (for examplebeta.10changedEqual's signature and removedisType.f), so
type-plusis pinned to an exact version rather than a caret range:^8.0.0-beta.10
would admit every later 8.0.0 prerelease plus8.0.0and8.1.0, letting a lockfile
refresh silently pull in a breaking prerelease. An exact pin makes each bump a
reviewable PR instead.type-plustypes are re-exported through this package's public API (PartialPick
incommand.d.ts), so consumers now inherittype-plus@8'stypescript >= 5.6.0
peer dependency requirement.Also raises the minimum supported Node.js version from
>= 18to>= 20, matching
the floor required bytype-plus@8'sunpartialdependency (engines: { node: '>= 20' }). This is independently breaking for consumers still on Node 18 or 19.Migration:
- Ensure your project uses TypeScript
>= 5.6.0. - Ensure your project runs on Node.js
>= 20.
This release lets
clibuilder,repobuddyandmocktomatadrop a stale transitive
type-plusthat this package was keeping alive. - Ensure your project uses TypeScript