All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.4.0 - 2024-06-28
- Added
TxnLifecycle
and supporting types.
1.3.0 - 2024-06-27
Adapter
Lifecycle and supporting types.- Updated NPM dependencies to latest.
1.2.0 - 2024-01-13
- Child delegates are now invoked properly when a delegate phase has not been invoked yet. Listeners on child delegates were not invoked when the parent had already completed target phase or when the parent did not have a listener for target phase, but the child did.
- Package dependencies updated to latest.
- Changed node version target from 14 -> 18 in Github actions config.
- Several packages added to yarn resolutions to solve security issues found by Github Dependabot. The
@toreda/lifecycle
runtime does not include these packages, but they are subdependencies required for build.
lifecycleForEach
was replaced by typed phase functions for each phase type:serverPhase
,clientPhase
,cnxPhase
, etc. UnlikelifecycleForEach
, the phase functions also recursively call child delegates.