Skip to content

Releases: sindresorhus/type-fest

v5.6.0

17 Apr 08:34

Choose a tag to compare

New types

Improvements

  • Add splitOnPunctuation option to CamelCase / PascalCase / KebabCase / SnakeCase (#1394) 852d016
  • CamelCase: Add preserveLeadingUnderscores option (#1404) 5ca6564
  • TsConfigJson: Add TypeScript 6.0 fields (#1406) ac4861d
  • UnionToTuple: Fix behavior with large unions (#1405) 651f7ea

v5.5.0...v5.6.0

v5.5.0

19 Mar 08:13

Choose a tag to compare

New types

Improvements

  • Add function parameter constraint examples to numeric comparison types (#1357) 24be93d
  • UnionToTuple: Fix behavior when a union member is a supertype of another (#1349) 0f923d0
  • ConditionalPickDeep: Fix returning {} instead of never when no keys match (#1360) 6af847a
  • ConditionalPick: Fix returning {} instead of never when no keys match (#1359) 3995003
  • GreaterThan / LessThan / GreaterThanOrEqual / LessThanOrEqual: Fix behavior with the number type (#1363) cfea505

v5.4.4...v5.5.0

v5.4.4

08 Feb 11:27

Choose a tag to compare

  • PackageJson: Use LiteralUnion for engines field (#1354) fc9e2bb
  • IsUnion: Fix behavior when the entire union extends all individual members (#1353) b0321a5
  • Paths: Fix leavesOnly behavior with never leaves (#1350) 2c34128
  • Paths: Fix behavior with WeakMaps / WeakSets (#1348) ac3b50e
  • Paths: Fix behavior with tuples containing optional elements with a rest element (#1346) 7c82a21

v5.4.3...v5.4.4

v5.4.3

31 Jan 11:27

Choose a tag to compare

  • Merge: Fix idempotency, so Merge<A, A> returns A (#1336) 99e35a2
  • Paths: Fix behavior with generic types (#1343) 8f0419c

v5.4.2...v5.4.3

v5.4.2

27 Jan 14:16

Choose a tag to compare


v5.4.1...v5.4.2

v5.4.1

14 Jan 10:08

Choose a tag to compare

  • MergeDeep: Remove extra undefined from optional properties (#1319) a6af489

v5.4.0...v5.4.1

v5.4.0

12 Jan 16:16

Choose a tag to compare

v5.3.1

07 Dec 14:18

Choose a tag to compare

  • PackageJson: Fix key type for DependencyOverrides (#1307) 0430f56

v5.3.0...v5.3.1

v5.3.0

02 Dec 09:10

Choose a tag to compare

Improvements

Fixes

  • IsEqual: Fix generic inference (#1306) f7b2667
  • ConditionalPickDeep / SimplifyDeep: Prevent mapping over built-ins (#1293) f14a75a
  • ArraySlice / StringSlice: Fix behavior with unions (#1291) 133258b

v5.2.0...v5.3.0

v5.2.0

03 Nov 08:45

Choose a tag to compare

New types

Improvements

Fixes

  • ExcludeRestElement: Fix generic assignability with arrays (#1274) 12ef5b2
  • GreaterThanOrEqual / LessThan: Fix behavior with operands like N and N | N + >0 (#1280) b2caa3f

v5.1.0...v5.2.0