Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Releases: proc7ts/context-values

Release 1.2.1

18 Mar 04:04
Compare
Choose a tag to compare

Packaging

  • Build CommonJS main module instead of UMD

Release 1.2.0

17 Feb 06:20
Compare
Choose a tag to compare

Packaging

  • Drop browser bundle.
  • Do not minify bundles.
  • Make bundles terser-friendly.

Incompatible Changes

  • ContextValueSpec.of() is renamed to contextValueSpec()

Release 1.1.3

11 Feb 07:08
Compare
Choose a tag to compare

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 return something instead of empty sources.

Release 1.1.2

19 Jan 13:16
Compare
Choose a tag to compare

Bug Fixes

  • Ignore fallback when requesting value sources.
    This is to prevent duplicate request to value provider.

Release 1.1.1

18 Jan 06:42
Compare
Choose a tag to compare

New Features

  • ContextRegistry accepts a ContextValues instance as its argument along with ContextSourcesProvider function.

Bug Fixes

  • ContextSourcesKey respects fallback value.

Release 1.1.0

23 Dec 04:34
d30eb3b
Compare
Choose a tag to compare

Packaging

  • Main module is es6 now

Release 1.0.0

10 Dec 10:01
Compare
Choose a tag to compare

Initial release