Skip to content

Commit e2d4744

Browse files
chore(main): release 1.0.0 (#270)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 055eefb commit e2d4744

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.0.0](https://github.com/nodecg/react-hooks/compare/v0.4.1-2...v1.0.0) (2024-01-01)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* **useReplicant:** `initialValue` parameter is removed. The returned value type will always have `undefined`, and `namespace` is renamed to `bundle`
11+
* useReplicantOnce is removed because it is not so complicated to provide as a custom hook, and there is not much use for it.
12+
* **package:** It is now disallowed to import `use-nodecg/esm` or `use-nodecg/cjs`
13+
14+
### Features
15+
16+
* **package:** add "exports" to package.json ([#261](https://github.com/nodecg/react-hooks/issues/261)) ([982680a](https://github.com/nodecg/react-hooks/commit/982680ab739953cefaa84d4266188ed2128941f2))
17+
* remove useReplicantOnce ([#266](https://github.com/nodecg/react-hooks/issues/266)) ([be12d07](https://github.com/nodecg/react-hooks/commit/be12d07e281670880ec0227fd99667ce52e36d77))
18+
* upgrade to nodecg v2 ([#248](https://github.com/nodecg/react-hooks/issues/248)) ([1af2348](https://github.com/nodecg/react-hooks/commit/1af234840f2662b0ce92a28b76a97faeb1ce281f))
19+
* **useReplicant:** allow function as setReplicant value ([22fa294](https://github.com/nodecg/react-hooks/commit/22fa2945bfff4e5185e4f4985f6182c6560cd386))
20+
21+
22+
### Miscellaneous Chores
23+
24+
* release as 1.0.0 ([#272](https://github.com/nodecg/react-hooks/issues/272)) ([6716aff](https://github.com/nodecg/react-hooks/commit/6716aff948ed4566db6ddcfd227d02c63f4c44ff))
25+
526
### [0.4.1-2](https://github.com/Hoishin/use-nodecg/compare/v0.4.1-1...v0.4.1-2) (2023-03-15)
627

728
### Bug Fixes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodecg/react-hooks",
3-
"version": "0.5.0",
3+
"version": "1.0.0",
44
"description": "Custom React Hooks for NodeCG",
55
"keywords": [
66
"custom-hooks",

0 commit comments

Comments
 (0)