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

Releases: proc7ts/context-values

v7.1.1

24 May 08:19
v7.1.1
5acf714
Compare
Choose a tag to compare

Packaging

  • Mark package free of side effects.

Release 7.1.0

26 Jan 13:18
v7.1.0
943e894
Compare
Choose a tag to compare

Changes

  • Declare CxRequestMethod as enum instead of const enum

Packaging

  • Build with @run-z/project-config`.
  • Make exports compatible with Node16 module resolution.
  • Expose type definitions with typesVersions property.

Release 7.0.1

13 Jun 07:16
v7.0.1
9be2d38
Compare
Choose a tag to compare

Dependencies

  • Upgrade to @proc7ts/push-iterator v3

Release 7.0.0

12 Jul 09:11
v7.0.0
Compare
Choose a tag to compare

Breaking Changes

Release 6.2.0

28 May 05:27
v6.2.0
Compare
Choose a tag to compare

Packaging

  • Bundle in ESM format only.

Release 6.1.0

11 Mar 12:48
Compare
Choose a tag to compare

Dependencies

  • @proc7ts/primitives v2
  • @proc7ts/supply

Release 6.0.0

13 Feb 09:37
Compare
Choose a tag to compare

New Features

  • Add conventional Contextual value reference.
  • Add applyContextTo() value converter that resolves contextual reference.
  • Add applyContextAfter() value processor that resolves contextual references.
  • Add applyContextUp() updatable value converter that resolves contextual references.

Breaking Changes

  • Change ContextValueProvider generic signature.
    Value type is a first generic parameter now.
  • Simplify ContextValueSpec generic signature.
    It no longer depends on a seed type.
  • Updatable context key accepts AfterEvent keeper of sources rather arbitrary EventKeeper.

Release 5.2.0

29 Jan 08:55
Compare
Choose a tag to compare

Changes

  • Cut off updatable value supply if there is no value instead of throw.

Release 5.1.0

10 Jan 10:02
Compare
Choose a tag to compare

New Features

  • Add context modules support to load/unload a set of value providers at once.
  • Add ContextBuilder interface able to provide multiple values at once.
    ContextRegistry.provide() accepts it as parameter in addition to bare value specifier.

Changes

  • ContextSupply value defaults to always-supply.
  • All updatable value keys now have an upKey property.

Release 5.0.0

20 Dec 09:11
Compare
Choose a tag to compare

Changes

  • ContextRegistry.provide() returns a Supply instance now.
  • Move ContextSupply to core API.
  • Switch to fun-events v10 API.