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

Releases: proc7ts/context-values

v7.1.1

Choose a tag to compare

@surol surol released this 24 May 08:19
v7.1.1
5acf714

Packaging

  • Mark package free of side effects.

Release 7.1.0

Choose a tag to compare

@surol surol released this 26 Jan 13:18
v7.1.0
943e894

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

Choose a tag to compare

@surol surol released this 13 Jun 07:16
v7.0.1
9be2d38

Dependencies

  • Upgrade to @proc7ts/push-iterator v3

Release 7.0.0

Choose a tag to compare

@surol surol released this 12 Jul 09:11
v7.0.0

Breaking Changes

Release 6.2.0

Choose a tag to compare

@surol surol released this 28 May 05:27
v6.2.0

Packaging

  • Bundle in ESM format only.

Release 6.1.0

Choose a tag to compare

@surol surol released this 11 Mar 12:48

Dependencies

  • @proc7ts/primitives v2
  • @proc7ts/supply

Release 6.0.0

Choose a tag to compare

@surol surol released this 13 Feb 09:37

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

Choose a tag to compare

@surol surol released this 29 Jan 08:55

Changes

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

Release 5.1.0

Choose a tag to compare

@surol surol released this 10 Jan 10:02

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

Choose a tag to compare

@surol surol released this 20 Dec 09:11

Changes

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