Skip to content

Commit

Permalink
chore: release v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Jun 3, 2024
1 parent 9e48d00 commit 9f525cc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@


## [7.0.0](https://github.com/terrestris/react-util/compare/v6.0.2...v7.0.0) (2024-06-03)


### ⚠ BREAKING CHANGES

* The `useWfs` and `useNominatim` hooks are removed. You can instead now use the `useSearch` hook with the needed search functions for example like this:

```
const [searchTerm, setSearchTerm] = useState<string>('');
const searchFunction = useCallback(createNominatimSearchFunction({}), []);
const {
featureCollection,
loading
} = useSearch(searchFunction, searchTerm);
```

### Features

* unify functionality of useWfs and useNominatim into on useSearch hook ([9d37d20](https://github.com/terrestris/react-util/commit/9d37d20939c44d4f2132aca603116bdc301b8497))

## [6.0.2](https://github.com/terrestris/react-util/compare/v6.0.1...v6.0.2) (2024-05-27)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terrestris/react-util",
"version": "6.0.2",
"version": "7.0.0",
"description": "A set of utilities enhancing the development of react applications.",
"keywords": [
"react",
Expand Down

0 comments on commit 9f525cc

Please sign in to comment.