async-fp@8.0.0
Major Changes
-
189343b: Restore the
extend()behavior in 2.0,
that it returns a new instance instead of itself.The
clone()function is also removed as it is not necessary anymore.The behavior introduced in 3.0 makes the async context mutable.
Whichclone()was added to mitigate that.However, such design is architecturally unsound.
With this change, make sure you are updating or assigning the new instance after
extend():// from const ctx = new AsyncContext() ctx.extend(...) // to const ctx = new AsyncContext() const extended = ctx.extend(...)
Patch Changes
- Updated dependencies [189343b]
- @unional/async-context@8.0.0