Skip to content

Commit

Permalink
chore(release): 22.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [22.0.0](v21.0.0...v22.0.0) (2023-01-05)

### Features

* rename all hook implementation files to `index.ts` ([#1065](#1065)) ([34c36f2](34c36f2))

### BREAKING CHANGES

* all current hook implementation fies renamed to index to allow usage of directory imports and avoid redundant reexporting.
Such change breaks previous direct imports, but simplifies import string and solves redundant hook name duplication.

4ex:
```
// previously
import { useUpdate } from "@react-hookz/web/useUpdate/useUpdate"

// now
import { useUpdate } from "@react-hookz/web/useUpdate"
```
  • Loading branch information
semantic-release-bot committed Jan 5, 2023
1 parent 34c36f2 commit d6b11e8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [22.0.0](https://github.com/react-hookz/web/compare/v21.0.0...v22.0.0) (2023-01-05)


### Features

* rename all hook implementation files to `index.ts` ([#1065](https://github.com/react-hookz/web/issues/1065)) ([34c36f2](https://github.com/react-hookz/web/commit/34c36f20bb41c11db55bbf0ba54d78d344024807))


### BREAKING CHANGES

* all current hook implementation fies renamed to index to allow usage of directory imports and avoid redundant reexporting.
Such change breaks previous direct imports, but simplifies import string and solves redundant hook name duplication.

4ex:
```
// previously
import { useUpdate } from "@react-hookz/web/useUpdate/useUpdate"
// now
import { useUpdate } from "@react-hookz/web/useUpdate"
```

# [21.0.0](https://github.com/react-hookz/web/compare/v20.1.0...v21.0.0) (2023-01-04)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-hookz/web",
"version": "21.0.0",
"version": "22.0.0",
"description": "React hooks done right, for browser and SSR.",
"keywords": [
"react",
Expand Down

0 comments on commit d6b11e8

Please sign in to comment.