Skip to content

Releases: 0no-co/wonka

v4.0.12

01 May 15:32
afde4eb
Compare
Choose a tag to compare
  • Remove some implicit returns (See 14fe9f6)
  • Remove returns for return source calls (See 835f467)

v4.0.11

01 May 15:31
7cf8833
Compare
Choose a tag to compare
  • Upgrade BuckleScript and other dependencies
  • Reduce bundlesize by replacing Curry._1 and Curry._2 helpers with inline expressions

See 1102b36

v4.0.10

01 May 15:30
1a51315
Compare
Choose a tag to compare
  • Add "./package.json": "./package.json" entry to package.json:exports (See 3ac8e68)

v4.0.7

13 Jan 18:32
3dcfbcd
Compare
Choose a tag to compare

This fixes an edge case in switchMap and concatMap where synchronous Push signals would come in from a hot source before Start and would hence be omitted, which is undesirable.

v4.0.6

13 Jan 18:32
ee50165
Compare
Choose a tag to compare

Fix flow type generation
See: #68

v4.0.5

13 Jan 18:33
afde108
Compare
Choose a tag to compare

Fix Esy/Dune build process
See: #66

v4.0.3

10 Jan 13:07
1d099aa
Compare
Choose a tag to compare

This is a hotfix for v4.0.0 that fixes the filenames for TypeScript's typings output. Previously typechecking may fail on case-sensitive filesystems due to mismatching imports generated by genType in the TypeScript typings.

v4.0.0

09 Jan 19:28
e612702
Compare
Choose a tag to compare

In v4.0.0 of Wonka, we’ve migrated to BuckleScript v7 and genType for automatic type generation for TypeScript. The Flow types are derived from the automatic types and are generated by flowgen.

This may mean that bsb-native and Dune/Esy builds are temporarily broken, as they haven’t been tested yet. If so, they will be fixed in a future minor release. Please stick with v3.2.2 if you’re having trouble.

This release has no breaking changes for Reason/OCaml in terms of API changes. You can use the library exactly as you have before.

The test suite has been rewritten and a huge amount of operators have been revised to behave more predictably and correctly, especially when they're used with synchronous or iterable (cold) sources.

For more information, please read our migration guide.

v4.0.0-rc.0

07 Jan 17:55
7db1de1
Compare
Choose a tag to compare
v4.0.0-rc.0 Pre-release
Pre-release

This is a prerelease for v4.0.0 🎉

In the v4 releases Wonka is focusing on adding some smaller missing functionality and increasing it's rigidity. Specifically it's looking to fix some edge cases and providing an even more consistent experience, without odd timing issues or bugs.

In this first release Wonka has been upgraded to BuckleScript v7.0.2 and is now using genType to generate its TypeScript typings (from which the Flow typings are derived).

There aren't any breaking changes in Reason/OCaml (although bsb-native and dune support may be momentarily broken).

The biggest breaking change in TypeScript/Flow/JS comes from the move to BS7, where records now compile to raw, objects so the following migrations have to be made when moving to Wonka v4:

// before:
const [unsubscribe] = Wonka.subscribe(fn)(source);
// after:
const { unsubscribe } = Wonka.subscribe(fn)(source);

// before:
const [source, next, complete] = Wonka.makeSubject();
// after:
const { source, next, complete } = Wonka.makeSubject();

// before:
Wonka.make(([next, complete]) => { /* ... */ });
// after:
Wonka.make(({ next, complete }) => { /* ... */ });

v3.2.2

18 Dec 15:18
f26cc6c
Compare
Choose a tag to compare

This release doesn't introduce any changes except for reducing the bundle-size of the distributed ESM and CJS dist files.