- Add
Context.exists
API to validate context presence before accessing it.
- Add
update
API for ease usage in case context is a plainobject
.
- Better
types.d
.
- Introduces
AsyncLocaleStorage
based implementation for node12.7.0
and above. AsyncHooksContext
domains are now created by default under the hood and no longer require consumers to supply a name.update
API changed toset
.create
API no longer treatscontext
as JS objects.
- Better reporting, safe child getters.
- Preferring
setImmediate
overnextTick
.
- Better types definition for get.
- publish.
- Versions.
- Domains error logging enhancement.
- Domains root context fetching, extracted to private
getRootContext
.
- Update changelog.
- Domains - allow creating a domain under a certain context to split the chain into a standalone context root (parent chain will not depend on its completion for release).
- Configurations settings.
- Favoring direct assign over spread calls.
- Monitor now is controlled by config, will not enrich execution context nodes by default.