Skip to content

Releases: proc7ts/primitives

Release 1.7.0

01 Feb 06:56
Compare
Choose a tag to compare

New Features

  • Add Supply.as() method - a combination of .needs().cuts() .

Release 1.6.1

30 Dec 05:01
Compare
Choose a tag to compare

New Features

  • Add isAlwaysSupply() function to check whether the given supply can be cut off.

Release 1.6.0

07 Dec 03:30
Compare
Choose a tag to compare

New Feature

  • Add Supply class representing a supply of something.

    The supply can be cut off, and can inform on cutting off.

Breaking Changes

  • Drop the deprecated asyncValue() function.

Release 1.5.1

25 Nov 06:54
Compare
Choose a tag to compare

Packaging

Release 1.5.0

20 Nov 03:03
Compare
Choose a tag to compare

Packaging

  • Merge all type definitions to one file.

Dependencies

  • TypeScript 4.1.

Release 1.4.0

10 Nov 06:21
Compare
Choose a tag to compare

Packaging

  • "type": "module"

Release 1.3.2

27 Oct 03:18
Compare
Choose a tag to compare

Deprecation

  • Deprecate asyncValue().
    Just use Promise.resolve() instead.

Release 1.3.1

27 Oct 02:37
Compare
Choose a tag to compare

Improvements

  • Refine the PromiseResolver type definition:
    • Its methods no longer require this context.
    • Allow to call .resolve() without parameters for void-valued promises.

Release 1.3.0

26 Oct 13:36
Compare
Choose a tag to compare

New Features

  • Add isPromiseLike() check.
  • Add PromiseResolver interface and newPromiseResolver() function to resolve promises before construction.

Changes

  • Refine isArrayLike() generic signature.
  • Refine isIterable() generic signature.

Release 1.2.0

26 Aug 05:13
Compare
Choose a tag to compare

Packaging

  • Declare exports in package.json.