This repository was archived by the owner on Sep 17, 2023. It is now read-only.
Releases: proc7ts/context-values
Releases · proc7ts/context-values
Release 1.2.1
Packaging
- Build CommonJS main module instead of UMD
Release 1.2.0
Packaging
- Drop browser bundle.
- Do not minify bundles.
- Make bundles terser-friendly.
Incompatible Changes
ContextValueSpec.of()
is renamed tocontextValueSpec()
Release 1.1.3
Bug Fixes
- Prevent duplicate values sources evaluation within concatenated context registry
I.e. the one constructed with ContextRegistry.append()`). - Respect fallback value when requesting values sources.
I.e.values.get(key.sourcesKey, { or: something })
would returnsomething
instead of empty sources.
Release 1.1.2
Bug Fixes
- Ignore fallback when requesting value sources.
This is to prevent duplicate request to value provider.
Release 1.1.1
New Features
ContextRegistry
accepts aContextValues
instance as its argument along withContextSourcesProvider
function.
Bug Fixes
ContextSourcesKey
respects fallback value.
Release 1.1.0
Packaging
- Main module is es6 now
Release 1.0.0
Initial release