- Improve compatibility of
fromAsyncIterable
andtoAsyncIterable
. ThetoAsyncIterable
will now output an object that's both anAsyncIterator
and anAsyncIterable
. Both helpers will now use a polyfill forSymbol.asyncIterator
to improve compatibility with the Hermes engine and Babel transpilation Submitted by @kitten (See #165)
- Add
addOne
argument totakeWhile
, allowing an additional value to be issued Submitted by @kitten (See #156)
- Convert
Push<T>
andStart<T>
signals to{ tag, 0: value }
objects, which are sufficiently backwards compatible and result in slightly faster execution in v8 Submitted by @kitten (See #155)
⚠️ Fix missing source contents in Wonka sourcemaps Submitted by @kitten (See56d9708
)⚠️ Fix internalSignalKind
andTalkbackKind
enums not compiling away Submitted by @kitten (See #154)
- Make
closed: boolean
onObservableSubscription
s a required field to comply with the Observable proposal's type spec Submitted by @naporin0624 (See #151)
- Add missing overload definition for
filter
, which allows types to be narrowed, e.g. by specifying a type predicate return type Submitted by @kitten (See #149)
⚠️ Fix missingSymbol.observable
typings and removeconst enum
exports, which aren't usable in isolated modules, by @kitten (See #141)
- Implement
toAsyncIterable
, converting a Wonka source to a JS Async Iterable, by @kitten (See #133) - Implement
d.ts
bundling. Only a singlewonka.d.ts
typings file will now be available to TypeScript, by @kitten (See #135) - Add extensive TSDoc documentation for all
wonka
internals and exports. This will replace the documentation and give consumers more guidance on each of the library's extensive utilities, by @kitten (See #136)