Skip to content

Latest commit

 

History

History
455 lines (173 loc) · 16.7 KB

CHANGELOG.md

File metadata and controls

455 lines (173 loc) · 16.7 KB

0.3.44 (2024-12-03)

Bug Fixes

  • [revert] make default condition last again (a2ab5f7)
  • always add worker condition and as first condition (98e3731)
  • improve different versions error message (528b11a)
  • improve exports (fix #46) (af1be3b)
  • make condition types last (c6665d4)

0.3.43 (2024-08-02)

Bug Fixes

  • improve name of return type (08e7452)

0.3.42 (2024-07-08)

Bug Fixes

  • delay user writes until after first react writes (1559c69)

0.3.41 (2024-07-06)

Bug Fixes

0.3.40 (2024-07-04)

Bug Fixes

0.3.39 (2024-07-04)

Bug Fixes

0.3.38 (2024-07-04)

Bug Fixes

  • further make sure to respect injection rule 1 (099dd8a)
  • remove superflous write delay (167ee59)

0.3.37 (2024-07-03)

Bug Fixes

  • further avoid inject between two React synchronous writes (c14483f)

0.3.36 (2024-07-03)

Features

0.3.35 (2024-07-03)

Features

  • support chunk promises for injectToStream() (closes #40) (#42) (300308e)

0.3.34 (2024-07-03)

Bug Fixes

  • also expose hasStreamEnded() to useStream() hook (9add5f6)
  • assume chunk to be a string for now (1853660)
  • fix injectToStream before stream start (d7ba375)
  • fix wrong usage error upon inject after stream ended (460581c)
  • prevent debug flags to crash cloudflare workers (7a28e94)
  • re-apply workaround for injectToStream() at stream end race condition (#40) (f43bd9b)
  • refactor writePermission logic (485ed46)
  • remove unused tolerateStreamEnded option (2f5bf27)

0.3.33 (2024-06-28)

Bug Fixes

0.3.32 (2024-06-28)

Bug Fixes

  • rename expectStreamEnd => tolerateStreamEnded (74e93df)

Features

0.3.31 (2024-06-27)

Bug Fixes

0.3.30 (2024-06-27)

Bug Fixes

Features

0.3.29 (2024-06-27)

Bug Fixes

  • update vike-react error message (12b4001)

0.3.28 (2024-04-19)

Bug Fixes

0.3.27 (2024-04-18)

Bug Fixes

  • further improve error messages (5234427)

0.3.26 (2024-04-17)

Bug Fixes

0.3.25 (2024-04-16)

Bug Fixes

  • improve error messages for vike-react users (70c168d)

0.3.24 (2024-03-08)

Bug Fixes

0.3.23 (2024-02-24)

Bug Fixes

Features

0.3.22 (2024-02-10)

Bug Fixes

0.3.21 (2024-02-10)

Bug Fixes

0.3.20 (2024-02-01)

Bug Fixes

  • use package.json exports instead of dynamic import() (f4da7fc)

0.3.19 (2024-01-06)

Bug Fixes

0.3.18 (2023-12-11)

Bug Fixes

0.3.17 (2023-12-07)

Bug Fixes

  • ensure StreamContext is a singltone (b2172d7)

0.3.16 (2023-11-15)

Bug Fixes

0.3.15 (2023-10-16)

Bug Fixes

  • make react-streaming/server browser entry a poison pill (854011b)

0.3.14 (2023-06-04)

Bug Fixes

  • avoid 'react-dom/server.node' to be bundled (02449a7)
  • improve error message (4eed291)

0.3.13 (2023-06-03)

Bug Fixes

  • improve assertUsage message (5e94949)
  • improve import renderToReadableStream() in Node.js (22494a1)

0.3.12 (2023-06-02)

Bug Fixes

  • improve assertion that server files aren't loaded in browser (fix #22) (794dd95)

0.3.11 (2023-05-19)

Bug Fixes

  • disable write after stream destoryed (660d252)
  • writableForReact destory if writableFromUser not available (68a4d65)

0.3.10 (2023-05-05)

Bug Fixes

  • re-export useStream() for the client-side as well (c754a78)

0.3.9 (2023-04-20)

Bug Fixes

  • ensure wrangler doesn't resolve browser entry (a175d56)

0.3.8 (2023-04-20)

Bug Fixes

  • fix export for worker and deno (8534637)

0.3.7 (2023-03-21)

Bug Fixes

0.3.6 (2023-03-21)

Bug Fixes

0.3.5 (2022-10-07)

Bug Fixes

  • align chunk TypeScript type (0ef0c37)
  • improve DX upon wrong useAsync() usage (0afba57)

0.3.4 (2022-10-06)

Features

  • add flush option to injectToStream() (e677039)

0.3.3 (2022-09-14)

Bug Fixes

  • also handle promise rejections (228013e)

0.3.2 (2022-09-07)

Bug Fixes

  • ensure suspense state is updated before promise resolves (9d7c554)
  • gracefully handle infinite loops (52f997e)

0.3.1 (2022-09-07)

Bug Fixes

  • useAsync(): tolerate functions that don't return a promise (70b2e86)
  • add version to assertion messages (7e020c1)

0.3.0 (2022-09-06)

Bug Fixes

  • improve error handling upon wrong installation (8802e67)
  • tolerate earlier injectStream call (47b35b0)
  • workaround React swallowing errors (ba4245f)

Features

BREAKING CHANGES

  • hooks useAsync() and useSsrData() consolidated into a single new hook useAsync() with a new interface. See README.md.