- Add
Context.existsAPI to validate context presence before accessing it.
- Add
updateAPI for ease usage in case context is a plainobject.
- Better
types.d.
- Introduces
AsyncLocaleStoragebased implementation for node12.7.0and above. AsyncHooksContextdomains are now created by default under the hood and no longer require consumers to supply a name.updateAPI changed toset.createAPI no longer treatscontextas JS objects.
- Better reporting, safe child getters.
- Preferring
setImmediateovernextTick.
- 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.