Skip to content

Releases: jsr-core/unknownutil

v3.3.1

25 Jul 08:28
a7055ac
Compare
Choose a tag to compare

What's Changed

  • 📝 Add benchamrk for pre-defined predicates by @Milly in #30
  • ☕ Fix test and run build-npm in CI test by @Milly in #34

Full Changelog: v3.3.0...v3.3.1

v3.3.0

25 Jul 04:07
9cdb140
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @Milly made their first contribution in #29

Full Changelog: v3.2.0...v3.3.0

v3.2.0

23 Jun 11:05
f8ae35d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.1...v3.2.0

v3.1.1

23 Jun 10:48
ea6c279
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.0...v3.1.1

v3.1.0

23 Jun 09:36
1c0e7a8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.1.0

v3.0.1

23 Jun 05:48
3cd5ff5
Compare
Choose a tag to compare

What's Changed

  • 📝 Add note about design limitation of isTupleOf by @lambdalisue in #22

Full Changelog: v3.0.0...v3.0.1

v3.0.0

21 Jun 15:53
a03dda9
Compare
Choose a tag to compare

What's Changes

  • 💥 The assert* functions are removed due to the presence of the assert function
  • 💥 The ensure* functions are removed due to the presence of the ensure function
  • 💥 The maybe* functions are removed due to the presence of the maybe function
  • 💥 The isLike is removed due to the presence of isTupleOf<T> and isObjectOf<T> functions
  • 💥 The second argument of isArray is removed due to the presence of the isArrayOf<T> function
  • 💥 The second argument of isRecord (new variant of isObject) is removed due to the presence of the isRecordOf<T> function
  • 💥 The isObject is renamed to isRecord
  • 👍 The isOneOf<T> function is added
  • 👍 All is* functions are exposed as is.* as aliases

See details on #21

See Migration guide for migrationg from unknownutil v2 to v3.

Full Changelog: v2.1.1...v3.0.0

v2.1.1

08 May 01:01
904f18e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

14 Nov 15:52
6c2900b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

01 Mar 18:19
310bdff
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v2.0.0

Migration from v1 to v2

  1. Replace ensure or assert to corresponding specific functions (e.g.
    ensureString or assertNumber)
  2. Rename xxxxxNone to xxxxxNullish (e.g. isNone to isNullish)
  3. Rename ensureXXXXX to assertXXXXX (e.g. ensureString to assertString)
  4. Rename assumeXXXXX to ensureXXXXX (e.g. assumeNumber to ensureNumber)