Skip to content

v4.0.0

Compare
Choose a tag to compare
@lambdalisue lambdalisue released this 02 Aug 21:27
· 82 commits to main since this release
e4d587c

Note

See Migration (v3 to v4) guide to migrate.

💥 Breaking changes

  • isBigInt is renamed to isBigint
  • isOptionalOf is renamed to asOptional and moved into as module
  • isUnwrapOptionalOf is renamed to asUnoptional and moved into as module
  • isOptional is renamed to hasOptional and moved into as module
  • isRecordLike is removed (Use isRecord instead)
  • isRecordLikeOf is removed (Use isRecordOf instead)
  • isReadonlyTupleOf is removed (Use isTupleOf with isReadonlyOf instead)
  • isReadonlyUniformTupleOf is removed (Use isUniformTupleOf with isReadonlyOf instead)
  • options of isObjectOf is removed (Use isObjectOf with isStrictOf instead)
  • isOneOf is removed (Use isUnionOf instead)
  • isAllOf is removed (Use isIntersectionOf instead)
  • isReadonly is removed
  • isUnwrapReadonlyOf is removed
  • getMetadata is removed
  • getPredicateFactoryMetadata is removed
  • setPredicateFactoryMetadata is removed
  • GetMetadata is removed
  • WithMetadata is removed
  • PredicateFactoryMetadata is removed

👍 Enhancements

  • Add asReadonly, asUnreadonly, and hasReadonly
  • All predicate functions are exported individually in is or as modules
  • All utility functions are exposed individually under the root module

What's Changed

Full Changelog: v3.18.1...v4.0.0