This repository was archived by the owner on Sep 17, 2023. It is now read-only.
Releases: proc7ts/context-values
Releases · proc7ts/context-values
v7.1.1
Release 7.1.0
Changes
- Declare
CxRequestMethodasenuminstead ofconst enum
Packaging
- Build with @run-z/project-config`.
- Make exports compatible with
Node16module resolution. - Expose type definitions with
typesVersionsproperty.
Release 7.0.1
Dependencies
- Upgrade to
@proc7ts/push-iteratorv3
Release 7.0.0
Breaking Changes
- The API is totally changed.
- Context building moved to @proc7ts/context-builder.
- Dynamically loadable modules support to @proc7ts/context-modules.
Release 6.2.0
Packaging
- Bundle in ESM format only.
Release 6.1.0
Dependencies
@proc7ts/primitivesv2@proc7ts/supply
Release 6.0.0
New Features
- Add conventional
Contextualvalue 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
ContextValueProvidergeneric signature.
Value type is a first generic parameter now. - Simplify
ContextValueSpecgeneric signature.
It no longer depends on a seed type. - Updatable context key accepts
AfterEventkeeper of sources rather arbitraryEventKeeper.
Release 5.2.0
Changes
- Cut off updatable value supply if there is no value instead of throw.
Release 5.1.0
New Features
- Add context modules support to load/unload a set of value providers at once.
- Add
ContextBuilderinterface able to provide multiple values at once.
ContextRegistry.provide()accepts it as parameter in addition to bare value specifier.
Changes
ContextSupplyvalue defaults to always-supply.- All updatable value keys now have an
upKeyproperty.
Release 5.0.0
Changes
ContextRegistry.provide()returns aSupplyinstance now.- Move
ContextSupplyto core API. - Switch to
fun-eventsv10 API.