Skip to content

Files

Latest commit

 

History

History
359 lines (210 loc) · 16 KB

CHANGELOG.md

File metadata and controls

359 lines (210 loc) · 16 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

8.0.0 (2021-10-12)

Build System

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)

chore

  • api: remove obsolete assert() (5f6ec5c)

Code Refactoring

  • api: major pkg restructure (98e286d)

BREAKING CHANGES

  • 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 of require()
  • 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)

Features

  • api: add DeepArrayValue type (a309fac)

7.1.0 (2021-03-03)

Features

  • api: add StringOrSym type alias (fb92c9d)

7.0.0 (2021-02-20)

Features

  • 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)

BREAKING CHANGES

  • 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)

Bug Fixes

  • api: update assert() & exposeGlobal() detection (2cdc038)

Features

  • api: add DeepPartial type (0d9a0de)
  • api: add FnU and FnN function types (4ba48d0)

6.12.0 (2020-07-28)

Features

  • api: add Always & ArrayValue types (dcf9aeb)

6.11.0 (2020-06-01)

Features

  • api: add deref(), isDeref() fns & MaybeDeref (722bf3e)

6.10.0 (2020-04-06)

Features

  • api: add LogLevelName type (25b6c67)

6.9.0 (2020-03-28)

Features

  • 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)

Bug Fixes

Features

  • api: add TypedKeys, NumericKeys, StringKeys (fab1a5e)

6.7.0 (2020-01-24)

Bug Fixes

  • api: don't use optional chaining, update assert(), exposeGlobal() (ddfc65e)

Features

  • 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)

Features

  • 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)

Features

  • 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)

Features

6.3.0 (2019-07-07)

Features

  • 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)

Features

  • api: add Type enum, IntArray, UIntArray, FloatArray, SIZEOF (b0c44fe)

6.1.1 (2019-04-26)

Bug Fixes

  • api: make LogLevel non-const enum, minor fix ConsoleLogger (88d5e9d)

6.1.0 (2019-04-24)

Features

  • api: add common logging types & default impls (4578604)
  • api: update ILogger, freeze NULL_LOGGER (27ff8de)

6.0.0 (2019-03-28)

Features

  • api: add new types, update existing (560eb90)

BREAKING CHANGES

  • 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)

Features

  • api: add additional Fn arities (33c7dfe)
  • api: add more Fn type aliases, update existing (3707e61)

5.0.0 (2019-01-21)

Bug Fixes

  • api: update assert(), re-export mixin() (9f91cfa)

Build System

  • api: update package build scripts / outputs (f913d7b)

Features

BREAKING CHANGES

  • 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)

4.2.0 (2018-09-22)

Features

  • api: add IToHiccup interface (e390a54)

4.1.0 (2018-08-24)

Features

  • api: add new/move type aliases into api.ts (cf30ba2)
  • api: add NumericArray and TypedArray types (519394b)

4.0.0 (2018-05-12)

Code Refactoring

  • api: update interfaces, add docs (9b38860)

BREAKING CHANGES

  • 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)

Code Refactoring

  • api: remove obsolete files from package (f051ca3)

BREAKING CHANGES

  • 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)

Performance Improvements

  • api: major speedup equivObject(), update equivSet() (7fdf172)

2.3.0 (2018-04-26)

Features

  • api: support more types in equiv(), add tests (2ac8bff)

2.2.0 (2018-04-08)

Features

  • api: add bench() & timed() utils (d310345)

2.1.1 (2018-03-28)

Bug Fixes

  • api: illegalState() creates IllegalStateError (2b7e99b)

2.1.0 (2018-03-21)

Features

  • api: add error types & ctor fns (4d3785f)

2.0.1 (2018-02-02)

Bug Fixes

  • api: update compare() & equiv() (110a9de)

2.0.0 (2018-02-01)

Bug Fixes

  • api: fix equiv string handling, update tests (1354e29)

Features

  • api: update equiv() null handling, add tests (878520e)

BREAKING CHANGES

  • api: equiv now treats null & undefined as equal

1.5.0 (2018-01-31)

Features

  • api: add Predicate2 & StatefulPredicate2 types (fbf8453)

1.4.0 (2018-01-29)

Features

  • api: update IWatch & mixin, boolean returns (bddd5ce)

1.3.0 (2018-01-28)

Features

  • api: add StatefulPredicate (c74353b)