Skip to content

Releases: shtaif/react-async-iterators

v0.5.1

08 Jan 19:59
Compare
Choose a tag to compare

0.5.1 (2025-01-08)

Bug Fixes

  • useAsyncIterState: disallow user manipulation of the state iterable's current value property (#43) (6dd5ac5)
  • useAsyncIterState: rapidly updating state yields the first update instead of the last update's value (#44) (b11b5a5)

Documentation

  • useAsyncIterState: missing documentations for the state iterable's added current value property (#42) (675331f)

v0.5.0

08 Jan 01:18
Compare
Choose a tag to compare

0.5.0 (2025-01-08)

Features

  • implement the new <IterateMulti> component (#39) (18997f8)
  • useAsyncIterState: add a current value property on useAsyncIterState hook's returned iterable (#41) (6e1a36b)

Documentation

v0.4.1

07 Jan 22:50
Compare
Choose a tag to compare

0.4.1 (2025-01-07)

Bug Fixes

  • first yielding wrongly ignored if yielded value is identical to the last one stored before (#36) (23ad98c)

v0.4.0

06 Jan 10:46
Compare
Choose a tag to compare

0.4.0 (2025-01-06)

Features

  • add to package exports the IterationResultSet type returned from useAsyncIterMulti (#33) (b0c8899)
  • implement the new useAsyncIterMulti hook (#28) (d813fa0)

Bug Fixes

  • ReactAsyncIterables wrapping iters which yield non-nullable values are having the format function's result ignored if it returned undefined or null (#32) (828d872)

Documentation

v0.3.0

05 Jan 20:17
Compare
Choose a tag to compare

0.3.0 (2025-01-05)

Features

  • add a convenience alias export <It> for <Iterate> (#19) (679cb23)
  • add an exposed MaybeAsyncIterable helper generic type (#25) (dd06927)
  • make useAsyncIterState iterable's type more accurate (#23) (bd75364)

Bug Fixes

  • <Iterate> render function parameter typing not inferring correctly in conjunction with initialValue with plain values semantics (#24) (fe45bbb)
  • make iterators of the useAsyncIterState hook's iterable individually closable to prevent leaving around unsettled promises (#22) (25e1ab5)
  • yielding consecutive identical values causes unnecessary re-renders for useAsyncIter and <Iterate> in misalignment with React.useState (#21) (2a35f72)

Refactor

  • fix import path of iterateFormatted on package's public export (#17) (f3481e6)
  • various misc refactorings (#26) (20af9b0)

Tests

  • add tests for rapid yielding iterables value batching for useAsyncIter and <Iterate> (#20) (ebcbfd4)

v0.2.0

25 Dec 18:52
Compare
Choose a tag to compare

0.2.0 (2024-12-25)

Features

v0.1.0

24 Dec 15:55
Compare
Choose a tag to compare

0.1.0 (2024-12-24)

Features

  • implement iterateFormatted async iter value formatting helper (#11) (dfc7ab7)

Documentation

v0.0.1

24 Dec 15:24
e6f6a40
Compare
Choose a tag to compare

Initial release.