Releases: borderless/context
Releases · borderless/context
Remove Dependency
Fixed
- Remove unused dependency leftover from 1.x
Abort Signals
Added
- Add lightweight support for
abort
by using promise rejection as a communication channel
Remove `ValueContext` super class
Fixed
- Reduce bytes/overhead by avoiding subclasses
Fully Type
Changed
- Adopt the
value
andwithValue
subset from Go'scontext
API - Allow arguments to specify requirements in
Context<{ ... }>
Initial Release
Tiny, type-safe implementation of contextual storage and events influenced by Go's context
module.