This repository has been 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
CxRequestMethod
asenum
instead ofconst 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
Dependencies
- Upgrade to
@proc7ts/push-iterator
v3
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/primitives
v2@proc7ts/supply
Release 6.0.0
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 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
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
Changes
ContextRegistry.provide()
returns aSupply
instance now.- Move
ContextSupply
to core API. - Switch to
fun-events
v10 API.