unstale

npm / ts-essentials

ts-essentials

What changed in ts-essentials 2 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

8 breaking3 deprecations22 new APIs and options4 behavior and defaults8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

ts-essentials 1024 changes

Deprecations 3

  • Deprecates Exact and renames it to IsExact.

    10.2.0release notes

  • Deprecates NonEmptyArray and renames it to AnyNonEmptyArray.

    10.2.0release notes

  • Deprecates NonNever and renames it to OmitNeverProperties.

    10.2.0release notes

New APIs and options 12

  • Added the PublicInterface<Type> utility type.

    10.2.1release notes

  • Adds OverrideDeepReadonlyOptions to configure passthrough behaviour for built-in types Date, Error, and RegExp per use-case.

    10.2.0release notes

  • Adds Iterable support for DeepWritable.

    10.2.0release notes

  • Adds the JsonValue utility type, along with JsonPrimitive, JsonObject, and JsonArray.

    10.2.0release notes

  • Adds the NonUnion utility type.

    10.2.0release notes

  • Adds the RequireAtLeastOne utility type.

    10.2.0release notes

  • Adds the RequireAtMostOne utility type.

    10.2.0release notes

  • Adds the UnionKeys utility type.

    10.2.0release notes

  • Added a type for accessing object properties and array or tuple indices.

    10.0.0release notes

  • Added a strict deep omit utility type that supports generic types.

    10.0.0release notes

  • Added a strict deep pick utility type that supports generic types.

    10.0.0release notes

  • XOR now supports variadic use with up to 50 generic types.

    10.0.0release notes

Behavior and default changes 3

  • Adds Iterable support for DeepReadonly.

    10.2.0release notes

  • The generic constraint on the second type parameter was removed.

    10.0.0release notes

  • Now supports union types for arrays, tuples, objects, and primitives.

    10.0.0release notes

Fixes and other changes 6

  • Fixes DeepPartial for arrays containing a rest element.

    10.2.0release notes

  • Fixes IsTuple for tuples with both optional elements and a rest element.

    10.2.0release notes

  • Fixes Prettify when its type argument is a class with private or protected members.

    10.2.0release notes

  • Fixes assignability for UnionKeys.

    10.2.0release notes

  • Fixes assignability for UnionToIntersection.

    10.2.0release notes

  • Now supports types which explicitly extend Array inside types passed to DeepRequired.

    10.0.0release notes

ts-essentials 94 changes

Breaking changes 1

  • TypeScript ^4.1.0 is required because the release uses recursive conditional types.

    9.0.0release notes

New APIs and options 3

  • Adds the isExact function.

    9.0.0release notes

  • Adds IsNever, which returns true if a type is never and false otherwise.

    9.0.0release notes

  • Adds IsUnknown, which returns true if a type is unknown and false otherwise.

    9.0.0release notes

ts-essentials 84 changes

New APIs and options 2

  • Adds MergeN, which recursively applies Merge to a tuple of size N.

    8.0.0release notes

  • Adds StrictExtract to check the original structure of a type and extract it correctly.

    8.0.0release notes

Behavior and default changes 1

Fixes and other changes 1

ts-essentials 73 changes

Breaking changes 2

  • The order of Opaque's arguments changed, which is a breaking change for code using the type.

    7.0.0release notes

  • SafeDictionary now works with finite types in an expected way; the change is marked as breaking.

    7.0.0release notes

New APIs and options 1

ts-essentials 62 changes

Breaking changes 1

  • Support for ReadonlyMaps and ReadonlySets was tweaked in a breaking change.

    6.0.0release notes

New APIs and options 1

ts-essentials 52 changes

Breaking changes 1

New APIs and options 1

ts-essentials 42 changes

Breaking changes 1

New APIs and options 1

ts-essentials 32 changes

Breaking changes 1

Fixes and other changes 1

ts-essentials 22 changes

Breaking changes 1

  • The NonNullable type was removed, which is a breaking change for code that uses it.

    2.0.0release notes

New APIs and options 1