Skip to content

v6.0.0

Compare
Choose a tag to compare
@kitten kitten released this 13 Aug 16:45
c437391

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.