Releases: 0no-co/wonka
v6.2.1
v6.2.0
Minor Changes
- 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)
Patch Changes
v6.1.2
v6.1.1
v6.1.0
Some minor fixes and goodies 🎉
- Reduce size by deriving multiple sources from
make
- Introduce
fromIterable
(which takes over functionality fromfromArray
)- This also adds support for async iterables!
- Reimplement
combine
as a variadic function andzip
for any length of an array of sources - Fix sourcemaps
v6.0.0
In v6.0.0
of Wonka, we've migrated fully to TypeScript.
If you're using this project with Reason or OCaml before, we're sorry for
the inconvenience. However, v4 and v5-rc will remain usable for these
platforms and languages.
The move of Wonka to a TypeScript-first codebase allows us to focus on the goals of the project that have been most relevant for the urql project. These goals ultimately don't surround being cross-platform and supporting Reason but being a low-overhead, low-size streaming utility library that remains bug free.
However, the previous codebase didn't allow us to always guarantee the latter (low-size) as best as we'd like and caused problems for keeping the library bug-free, as a Reason codebase simply isn't as accessible as a TypeScript codebase.
The internal API and data structures of Wonka haven't changed in v6.0.0
compared to the prior releases and are based on v4.0.14
. This means that
from a TypeScript, Flow, and JS perspective, v6.0.0
is backwards compatible
and continues to function as before.
However, the fromList
API has been removed so far, and we reserve ourselves
room to make more breaking changes were behaviour before was broken.
We're also dropping IE11 support and are now bundling against an ES2015 target.