Skip to content

Latest commit

 

History

History
148 lines (77 loc) · 6.69 KB

CHANGELOG.md

File metadata and controls

148 lines (77 loc) · 6.69 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.3 (2024-03-22)

Bug Fixes

  • types: allow using interface for replicant type (367c457)

1.0.2 (2024-03-08)

Bug Fixes

1.0.1 (2024-02-25)

Miscellaneous Chores

1.0.0 (2024-01-01)

⚠ BREAKING CHANGES

  • useReplicant: initialValue parameter is removed. The returned value type will always have undefined, and namespace is renamed to bundle
  • 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 or use-nodecg/cjs

Features

Miscellaneous Chores

0.4.1-2 (2023-03-15)

Bug Fixes

  • 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)

Bug Fixes

  • useListenFor: add dependencies to useEffect (1f9f9bc)
  • useReplicant: add replicant as dependency for useEffect (#7) (dc5521a)

Features

  • 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)

Bug Fixes

  • useReplicant: shallow copy the value if new value isn't identical (b042aed)

Features

  • esmodule: output esmodule along with commonjs (640153d)

BREAKING CHANGES

  • esmodule: specifies "module" field in package.json

0.3.1-alpha.1 (2018-11-25)

Features

  • implement useListenFor & useReplicantOnce (425dade)

0.3.1-alpha.0 (2018-11-25)

0.3.0 (2018-11-25)

Features

  • typescript: Include TypeScript in package (06d6787)

0.2.0 (2018-11-25)

0.1.1 (2018-11-25)

Features

  • useReplicant: return setValue to update replicant (5719882)

BREAKING CHANGES

  • useReplicant: The return type is now tuple of value and setValue

0.1.0 (2018-11-24)

0.1.0-0 (2018-11-24)

Tests

  • useReplicant: Add tests (94066e7)

BREAKING CHANGES

  • useReplicant: Initial value is now required (pass undefined if not needed)

0.0.1-4 (2018-11-24)

Bug Fixes

  • engines: Allow Node v10 LTS (2ed3200)

0.0.1-3 (2018-11-24)

chore

  • specify node engine version (c3257f1)

BREAKING CHANGES

  • Can now use only Node v8.9 or higher

0.0.1-2 (2018-11-24)

0.0.1-1 (2018-11-24)

Bug Fixes

  • expose useReplicant from index.ts (479247e)

0.0.1-0 (2018-11-24)

Features