All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.3 (2024-03-22)
- types: allow using interface for replicant type (367c457)
1.0.2 (2024-03-08)
1.0.1 (2024-02-25)
- release 1.0.1 (0ef130e)
1.0.0 (2024-01-01)
- useReplicant:
initialValue
parameter is removed. The returned value type will always haveundefined
, andnamespace
is renamed tobundle
- useReplicantOnce is removed because it is not so complicated to provide as a custom hook, and there is not much use for it.
- package: It is now disallowed to import
use-nodecg/esm
oruse-nodecg/cjs
- package: add "exports" to package.json (#261) (982680a)
- remove useReplicantOnce (#266) (be12d07)
- upgrade to nodecg v2 (#248) (1af2348)
- useReplicant: allow function as setReplicant value (22fa294)
0.4.1-2 (2023-03-15)
- deps: update dependency tslib to v1.11.1 (#160) (11fb8b6)
- deps: update dependency tslib to v2 (#219) (3fbcf13)
- deps: update to react 18 and typescript 4.5 (#245) (4467b7e)
0.4.1-1 (2019-04-30)
- useListenFor: add dependencies to useEffect (1f9f9bc)
- useReplicant: add replicant as dependency for useEffect (#7) (dc5521a)
- useReplicant: allow different type in initialValue (69b2ffb)
- useReplicant: allow initialValue to be different type (69bd903)
- useReplicant: allow specifying namespace (#2) (cca0df8), closes #1
0.4.0 (2019-03-03)
- useReplicant: shallow copy the value if new value isn't identical (b042aed)
- esmodule: output esmodule along with commonjs (640153d)
- esmodule: specifies "module" field in package.json
0.3.1-alpha.1 (2018-11-25)
- implement useListenFor & useReplicantOnce (425dade)
0.3.1-alpha.0 (2018-11-25)
0.3.0 (2018-11-25)
- typescript: Include TypeScript in package (06d6787)
0.2.0 (2018-11-25)
0.1.1 (2018-11-25)
- useReplicant: return setValue to update replicant (5719882)
- useReplicant: The return type is now tuple of value and setValue
0.1.0 (2018-11-24)
0.1.0-0 (2018-11-24)
- useReplicant: Add tests (94066e7)
- useReplicant: Initial value is now required (pass
undefined
if not needed)
0.0.1-4 (2018-11-24)
- engines: Allow Node v10 LTS (2ed3200)
0.0.1-3 (2018-11-24)
- specify node engine version (c3257f1)
- Can now use only Node v8.9 or higher
0.0.1-2 (2018-11-24)
0.0.1-1 (2018-11-24)
- expose useReplicant from index.ts (479247e)
0.0.1-0 (2018-11-24)
- implement useReplicant (16e5e03)