All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.0.3 (2021-10-15)
Note: Version bump only for package @thi.ng/resolve-map
5.0.2 (2021-10-15)
Note: Version bump only for package @thi.ng/resolve-map
5.0.1 (2021-10-13)
Note: Version bump only for package @thi.ng/resolve-map
5.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- 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
4.2.0 (2020-07-18)
- resolve-map: add support for custom lookup prefix (bf89503)
4.1.2 (2019-07-08)
4.1.1 (2019-07-08)
4.1.0 (2019-07-07)
- resolve-map: enable TS strict compiler flags (refactor) (7e7ff2a)
4.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- enabled multi-outputs (ES6 modules, CJS, UMD)
- build scripts now first build ES6 modules in package root, then call
scripts/bundle-module
to build minified CJS & UMD bundles in/lib
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
3.0.10 (2018-09-01)
- resolve-map: deep resolve of yet unknown path values (a710453)
3.0.5 (2018-07-15)
- resolve-map: add support for alt ES6 destructure form
{a: b}
(2482945)
3.0.0 (2018-06-07)
- resolve-map: add cycle detection, fix edge cases (e61c3b5)
- resolve-map: add ES6 destructuring shorthands for function vals (57f1ed5)
- resolve-map:
resolveMap()
renamed toresolve()
, update docs
2.0.6 (2018-06-06)
- resolve-map: add private _resolveDeep (558f4f8)
- resolve-map: also use_resolvePath for plain lookups, optimize (48c796f)
2.0.0 (2018-05-09)
- resolve-map: update lookup path prefix & separators
- lookup paths now are prefixed with
@
instead of->
- all path segments must be separated by
/
- update readme & tests
- lookup paths now are prefixed with
1.0.0 (2018-04-16)
- resolve-map: support relative parent refs, update tests/readme (a379d12)
- resolve-map: lookup paths passed to the provided
resolve()
fn inside function values are now relative by default (previously only absolute paths were allowed)- remove
resolveArray()
from module exports (useresolveMap()
instead) - add absPath() to compute absolute path
- add support for "../" ancestor access
- remove
0.2.0 (2018-04-16)
- resolve-map: resolve each ref only once, re-use resolved results (6992e82)