Skip to content

Latest commit

 

History

History
217 lines (105 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

217 lines (105 loc) · 15.4 KB

0.10.2 (2025-02-19)

Documentation

0.10.1 (2025-02-17)

Documentation

  • readme: fix badges links unintended underlining (#88) (dad90bf)
  • readme: readme edits (#89) (eb9b573)

0.10.0 (2025-02-07)

Features

Documentation

0.9.2 (2025-01-31)

Bug Fixes

  • useAsyncIterState: individual iterators types' .return method should not be optional (#78) (ae5d546)

Documentation

  • readme: edit some wordings, fix some code blocks rendered unformatted (#77) (af888c9)

0.9.1 (2025-01-30)

Documentation

0.9.0 (2025-01-28)

Features

  • ItMulti: support for handling initializer functions as initial values (#71) (4435461)
  • useAsyncIterMulti: support getting initial values as initializer functions (#70) (57056b2)

Documentation

0.8.0 (2025-01-27)

Features

  • add default initial value parameters to useAsyncIterMulti and IterateMulti (#69) (f5e214b)

Documentation

  • readme: fix documentation mistakes for useAsyncIterMulti's options object argument (#67) (bfbb352)
  • readme: further content for README.md (#65) (3a256e8)
  • readme: more edits (#66) (8a6fc81)

0.7.1 (2025-01-23)

Bug Fixes

  • iterateFormatted: compute formatted current value on demand instead of eagerly as the underlying value might change at any later time (#63) (c4174ee)

Documentation

  • fix mentions of the current value property from .current.value to .value.current (#64) (f2e4fef)
  • various docs touchups (#62) (9ad4aeb)

0.7.0 (2025-01-22)

Features

  • iterateFormatted's to also format given iterables' current values if present (#56) (9f6e47a)
  • export a AsyncIterableSubject type and add it along related references (#54) (39eae6f)
  • Iterate: support initial value in function form (#49) (bfc1f09)
  • special handling for async iterables with a current value( #55) (01a30fc)
  • useAsyncIter: allow initial value to be a function, called once on mount (#48) (9a7e9e4)

Bug Fixes

  • iterateFormatted: function's type signature does not not handle maybe-async-iterable kind of types correctly (#57) (f073d90)

Documentation

0.6.0 (2025-01-09)

Features

  • useAsyncIterState: support for setting state with a function to calculate the new state from the previous (#45) (392b2e9)
  • useAsyncIterState: support setting an initial value via an argument (#46) (08a664d)

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)

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

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)

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

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)

0.2.0 (2024-12-25)

Features

0.1.0 (2024-12-24)

Features

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

Documentation