All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
8.0.3 (2021-10-15)
Note: Version bump only for package @thi.ng/api
8.0.2 (2021-10-15)
Note: Version bump only for package @thi.ng/api
8.0.1 (2021-10-13)
Note: Version bump only for package @thi.ng/api
8.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- api: remove obsolete assert() (5f6ec5c)
- api: major pkg restructure (98e286d)
- api: major pkg restructure, migrations
- migrate logging related types/classes to new thi.ng/logger pkg
- see e0399a8f6 for details
- migrate
exposeGlobal()
to new thi.ng/expose pkg- see 323995fd7 for details
- lift /api source files to main /src folder for easier import
- this pkg now only contains type defs, constants, decorators and mixins all other functionality migrated to other packages...
- api: assert() moved to thi.ng/errors pkg
- see 7030a6aec for details
- discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM
Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
7.2.0 (2021-09-03)
- api: add DeepArrayValue type (a309fac)
7.1.0 (2021-03-03)
- api: add StringOrSym type alias (fb92c9d)
7.0.0 (2021-02-20)
- api: add Range type (5d94974)
- api: add typedArrayType() classifier (5c81fd8)
- api: more finely grained typedarray types (8316d05)
- api: replace Type enum w/ strings consts (a333d41)
- api: replace Type enum w/ string consts
- update Type, UintType, IntType, FloatType aliases
- update GL2TYPE, TYPE2GL, SIZEOF, TYPEDARRAY_CTORS tables
- add asNativeType(), asGLType() conversions
- add sizeOf()
- add uintTypeForBits(), intTypeForBits()
- update/rename uintTypeForSize(), intTypeForSize()
6.13.0 (2020-09-13)
- api: update assert() & exposeGlobal() detection (2cdc038)
6.12.0 (2020-07-28)
- api: add Always & ArrayValue types (dcf9aeb)
6.11.0 (2020-06-01)
- api: add deref(), isDeref() fns & MaybeDeref (722bf3e)
6.10.0 (2020-04-06)
- api: add LogLevelName type (25b6c67)
6.9.0 (2020-03-28)
- api: add Derefed & DerefedKeys types (95f1576)
- api: add optional props in Keys/Val types (08b88f0)
- api: add Path0-8, PathVal1-8, DeepPath types (0c76108)
- api: update Path alias, add doc strings (e2b35bc)
6.8.0 (2020-02-25)
- api: fix imports (e3e0cdc)
- api: add TypedKeys, NumericKeys, StringKeys (fab1a5e)
6.7.0 (2020-01-24)
- api: don't use optional chaining, update assert(), exposeGlobal() (ddfc65e)
- api: add Drop, TupleLength, update Tuple (dc79324)
- api: add exposeGlobal(), update assert(), update readme (7981cc9)
- api: add IClear interface (38f03ff)
- api: add IReset interface (d491bd0)
- api: add more RangeXX types & RangeValueMap (654ea53)
- api: added the Head type (f000a3d)
- api: added the Init type (f6c333a)
- api: added the KeysN type (e0f0e90)
- api: added the Last type (44ae2f7)
- api: added the Prepend type (7bfe7a8)
- api: added the ReplaceN type (4da54ae)
- api: added the Reverse type (88cfaa4)
- api: added the Tail type (fa59ff3)
- api: added the ValN type (b48623f)
- api: added the WithoutN type (0d13af5)
6.6.0 (2019-11-30)
- api: add ISeq, ISeqable (541e9c8)
- api: add Uint/Int/FloatType & helpers (1d3c824)
- api: add WithoutX & ReplaceX types, update KeysX/ValX (7707370)
6.5.0 (2019-11-09)
- api: add RangeXX types (fc9cf21)
- api: add typedArray() factory, update type mappers, docs (ac7fa13)
- api: add types, split api.ts into separate files (b72e664)
6.4.0 (2019-09-21)
- api: add Nullable (8366223)
6.3.0 (2019-07-07)
- api: add Select2/3/4 conditional types (a4bfb88)
- api: enable TS strict compiler flags (refactor) (0430d01)
- api: update assert() message arg types (6137b48)
6.2.0 (2019-05-22)
- api: add Type enum, IntArray, UIntArray, FloatArray, SIZEOF (b0c44fe)
6.1.1 (2019-04-26)
- api: make LogLevel non-const enum, minor fix ConsoleLogger (88d5e9d)
6.1.0 (2019-04-24)
- api: add common logging types & default impls (4578604)
- api: update ILogger, freeze NULL_LOGGER (27ff8de)
6.0.0 (2019-03-28)
- api: add new types, update existing (560eb90)
- api: split up, remove & update various interfaces
- split IAssociative => IAssoc, IAssocIn
- update IDissoc, add IDissocIn
- split IGet => IGet, IGetIn
- update IInto generics & return type
- update ISet, remove IImmutableSet
- update IStack, remove IImmutableStack
5.1.0 (2019-03-10)
5.0.0 (2019-01-21)
- api: update assert(), re-export mixin() (9f91cfa)
- api: update package build scripts / outputs (f913d7b)
- api: add assert() (d381ace)
- api: rename mixins to avoid name clashes, update decorators
- append
Mixin
suffix to all mixins (i.e.INotify
=>INotifyMixin
) - update re-exports of mixins & decorators (no more nested child namespace)
- append
4.2.0 (2018-09-22)
- api: add
IToHiccup
interface (e390a54)
4.1.0 (2018-08-24)
- api: add new/move type aliases into api.ts (cf30ba2)
- api: add NumericArray and TypedArray types (519394b)
4.0.0 (2018-05-12)
- api: update interfaces, add docs (9b38860)
- api: IBind, IEnable now include generics, update IIndexed, IMeta, ISet, IStack
- add IInto
- add IImmutableSet
- add IImmutableStack
- minor update IEnabled mixin
3.0.0 (2018-05-10)
- api: remove obsolete files from package (f051ca3)
- api: @thi.ng/api now only contains type declarations, decorators and mixins. All other features have been moved to new dedicated packages:
- @thi.ng/bench
- @thi.ng/compare
- @thi.ng/equiv
- @thi.ng/errors
2.3.1 (2018-04-29)
- api: major speedup equivObject(), update equivSet() (7fdf172)
2.3.0 (2018-04-26)
- api: support more types in equiv(), add tests (2ac8bff)
2.2.0 (2018-04-08)
- api: add bench() & timed() utils (d310345)
2.1.1 (2018-03-28)
- api: illegalState() creates IllegalStateError (2b7e99b)
2.1.0 (2018-03-21)
- api: add error types & ctor fns (4d3785f)
2.0.1 (2018-02-02)
- api: update compare() & equiv() (110a9de)
2.0.0 (2018-02-01)
- api: fix equiv string handling, update tests (1354e29)
- api: update equiv() null handling, add tests (878520e)
- api: equiv now treats null & undefined as equal
1.5.0 (2018-01-31)
- api: add Predicate2 & StatefulPredicate2 types (fbf8453)
1.4.0 (2018-01-29)
- api: update IWatch & mixin, boolean returns (bddd5ce)
1.3.0 (2018-01-28)
- api: add StatefulPredicate (c74353b)