Releases: proc7ts/primitives
Releases · proc7ts/primitives
Release 1.7.0
New Features
- Add
Supply.as()
method - a combination of.needs().cuts()
.
Release 1.6.1
New Features
- Add
isAlwaysSupply()
function to check whether the given supply can be cut off.
Release 1.6.0
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
Packaging
- Flatten type definitions with @proc7ts/rollup-plugin-flat-dts
Release 1.5.0
Packaging
- Merge all type definitions to one file.
Dependencies
- TypeScript 4.1.
Release 1.4.0
Packaging
"type": "module"
Release 1.3.2
Deprecation
- Deprecate
asyncValue()
.
Just usePromise.resolve()
instead.
Release 1.3.1
Improvements
- Refine the
PromiseResolver
type definition:- Its methods no longer require
this
context. - Allow to call
.resolve()
without parameters for void-valued promises.
- Its methods no longer require
Release 1.3.0
New Features
- Add
isPromiseLike()
check. - Add
PromiseResolver
interface andnewPromiseResolver()
function to resolve promises before construction.
Changes
- Refine
isArrayLike()
generic signature. - Refine
isIterable()
generic signature.
Release 1.2.0
Packaging
- Declare exports in
package.json
.