All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.1.11 (2024-12-31)
4.1.10 (2024-12-19)
4.1.9 (2024-12-16)
4.1.8 (2024-12-09)
- deps: update React Compiler dependencies 🤖 ✨ (#184) (5fd44ac)
- deps: Update website to v19 (major) (#181) (dd7dff1)
4.1.7 (2024-11-25)
4.1.6 (2024-11-18)
4.1.5 (2024-11-11)
4.1.4 (2024-11-06)
4.1.3 (2024-11-05)
4.1.2 (2024-11-04)
4.1.1 (2024-11-04)
4.1.0 (2024-10-31)
4.0.1 (2024-10-31)
- deps: Update website to v3 (major) (#138) (ca280d1)
- refactor initial value to not need a useRef + useEffect loop (#143) (adc60ea)
4.0.0 (2024-07-29)
- useObservable: This should normally not cause any problems, but given that it introduces a change in behavior wrt. timing of observable unsubscription, it can potentially cause race conditions in rare cases, especially if side-effects are performed in response to observable emissions. The modifications required to make the test suite pass should be a good indication of the breaking nature of these changes, although the tests suites are in the majority of cases asserting internal behavior.
3.1.3 (2024-07-11)
3.1.2 (2024-07-10)
3.1.1 (2024-06-20)
3.1.0 (2024-06-19)
3.0.0 (2024-06-12)
- remove
useMemoObservable
- require
rxjs
v7 and above - use native
useSyncExternalStore
- remove
forwardRef
export - remove
reactiveComponent
andrxComponent
exports - remove
element
export - remove
handler
export - remove
state
export - remove
context
export - remove
useWithObservable
export - remove deprecated
useAsObservable
- remove deprecated
WithObservable
- deps: bump
observable-callback
to1.0.3
(7786e58) - dispose cache entry upon observable termination (#91) (377f476)
- improve SSR support by implementing
getServerSnapshot
(9fd497a) - require
rxjs
v7 and above (d364664) - test: rename vitest.config.{js=>ts} (bfb1799)
- test: replace jest with vitest (b0efea1)
- throw errors from observable in getSnapshot() (807e822)
- type useObservable accurately (b132f2b)
- use native
useSyncExternalStore
(fdc4d14) - useObservable: infer the return type (2dda7fc)
- useObservable: support error boundaries (1f42210)
- remove
context
export (08c3d4d) - remove
element
export (f873d2a) - remove
forwardRef
export (bd9ea08) - remove
handler
export (8813e57) - remove
reactiveComponent
andrxComponent
exports (cf71571) - remove
state
export (86ef5b9) - remove
useMemoObservable
(e9ba55f) - remove
useWithObservable
export (9a57fd8) - remove deprecated
useAsObservable
(e128f39) - remove deprecated
WithObservable
(55d30da)
2.1.3 (2022-10-06)
2.1.2 (2022-10-06)
- deps: update dependency observable-callback to ^1.0.2 (#17) (9e600aa)
- pkg: move overrides logic to renovatebot (2aafdda)