Skip to content

Release 7.0.0

Choose a tag to compare

@simonseyock simonseyock released this 03 Jun 08:47
· 468 commits to main since this release

7.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 = useMemo(() => createNominatimSearchFunction({}), []);
const {
  featureCollection,
  loading
} = useSearch(searchFunction, searchTerm);

Features

  • unify functionality of useWfs and useNominatim into on useSearch hook (9d37d20)