Request-scoped storage support, based on Asynchronous Local Storage (with fallback to cls-hooked)
.gitattributes
file by @Fdawgs in https://github.com/fastify/fastify-request-context/pull/167
use strict
directives by @Fdawgs in https://github.com/fastify/fastify-request-context/pull/169
AsyncResource
factory function option by @imjuni in https://github.com/fastify/fastify-request-context/pull/173
Full Changelog: https://github.com/fastify/fastify-request-context/compare/v5.0.0...v5.1.0
defaultStoreValues()
is sent the request
by @voxpelli in https://github.com/fastify/fastify-request-context/pull/157
AsyncLocalStorage
instead of asynchronous-local-storage
by @voxpelli in https://github.com/fastify/fastify-request-context/pull/158
Full Changelog: https://github.com/fastify/fastify-request-context/compare/v4.2.0...v5.0.0
toBeUndefined()
instead of toBe(undefined)
by @Fdawgs in https://github.com/fastify/fastify-request-context/pull/140
Full Changelog: https://github.com/fastify/fastify-request-context/compare/v4.1.0...v4.2.0
listen()
by @Fdawgs in https://github.com/fastify/fastify-request-context/pull/127
Full Changelog: https://github.com/fastify/fastify-request-context/compare/v4.0.0...v4.1.0
Same as v3.0.0.
Full Changelog: https://github.com/fastify/fastify-request-context/compare/v3.0.0...v4.0.0
preParsing
hook related code by @darkgl0w in https://github.com/fastify/fastify-request-context/pull/97
Full Changelog: https://github.com/fastify/fastify-request-context/compare/2.2.0...v3.0.0
Fix exported TypeScript type