xnimorz/use-debounce
### [`v8.0.4`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#804)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.3...8.0.4)
- Changes types for `useDebouncedCallback` args: [https://github.com/xnimorz/use-debounce/pull/140](https://togithub.com/xnimorz/use-debounce/pull/140) Thanks to [@sarunast](https://togithub.com/sarunast)
### [`v8.0.3`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#803)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.2...8.0.3)
- Added `types` to package json to mitigate [https://github.com/microsoft/TypeScript/issues/49160](https://togithub.com/microsoft/TypeScript/issues/49160). [https://github.com/xnimorz/use-debounce/pull/138](https://togithub.com/xnimorz/use-debounce/pull/138) Thanks to [@wuzzeb](https://togithub.com/wuzzeb)
### [`v8.0.2`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#802)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.1...8.0.2)
- Added type exports. [https://github.com/xnimorz/use-debounce/pull/136](https://togithub.com/xnimorz/use-debounce/pull/136) Thanks to [@tryggvigy](https://togithub.com/tryggvigy)
- Improved code comments. [https://github.com/xnimorz/use-debounce/pull/135](https://togithub.com/xnimorz/use-debounce/pull/135) Thanks to [@tryggvigy](https://togithub.com/tryggvigy)
### [`v8.0.1`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#801)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.0...8.0.1)
- update library exports section to make exports work correctly with jest@28
### [`v8.0.0`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#800)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/ce543e30fd904653d5ca1d20c2f26e6347dee069...8.0.0)
- *breaking change* `useDebounce` changed its build system to microbundle. For now we have several entries:
`index.js` is for commonJS approach
`index.modern.js` for esnext module system
`index.umd.js` for UMD.
All the files are in `dist` folder.
If you have any paths which have `esm` or `lib`, please, replace them to `dist`:
Before:
```js
import useDebounceCallback from 'use-debounce/lib/useDebounceCallback'
```
After:
```js
import { useDebounceCallback } from 'use-debounce';
```
- Fixed issue with incorrect VSCode autocomplete [https://github.com/xnimorz/use-debounce/issues/131](https://togithub.com/xnimorz/use-debounce/issues/131) Thanks to [@c-ehrlich](https://togithub.com/c-ehrlich) for reporting
- Fixed `useDebounce` behaviour with react-devtools tab when devtools have a component with `useDebounce` or `useDebounceCallback` opened. [https://github.com/xnimorz/use-debounce/issues/129](https://togithub.com/xnimorz/use-debounce/issues/129) Thanks to [@alexniarchos](https://togithub.com/alexniarchos) for reporting
- Fixed issue with `leading: true` [https://github.com/xnimorz/use-debounce/issues/124](https://togithub.com/xnimorz/use-debounce/issues/124) Thanks to [@mntnoe](https://togithub.com/mntnoe) for reporting
### [`v7.0.1`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#701)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/7.0.0...ce543e30fd904653d5ca1d20c2f26e6347dee069)
- `debounced` object now is preserved for `use-debounce` between the renders. Thanks to [@msharifi99](https://togithub.com/msharifi99) for reporting.
### [`v7.0.0`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#700)
[Compare Source](https://togithub.com/xnimorz/use-debounce/compare/6.0.1...7.0.0)
- *breaking change* `useDebounce` hook changed `isPending` behavior from `async` reacting to the sync. Now `isPending` returns `True` as soon as the new value is sent to the hook.
- Dev dependencies updated
Configuration
๐ Schedule: Branch creation - "before 3am on the first day of the month" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
6.0.1
->8.0.4
Release Notes
xnimorz/use-debounce
### [`v8.0.4`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#804) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.3...8.0.4) - Changes types for `useDebouncedCallback` args: [https://github.com/xnimorz/use-debounce/pull/140](https://togithub.com/xnimorz/use-debounce/pull/140) Thanks to [@sarunast](https://togithub.com/sarunast) ### [`v8.0.3`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#803) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.2...8.0.3) - Added `types` to package json to mitigate [https://github.com/microsoft/TypeScript/issues/49160](https://togithub.com/microsoft/TypeScript/issues/49160). [https://github.com/xnimorz/use-debounce/pull/138](https://togithub.com/xnimorz/use-debounce/pull/138) Thanks to [@wuzzeb](https://togithub.com/wuzzeb) ### [`v8.0.2`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#802) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.1...8.0.2) - Added type exports. [https://github.com/xnimorz/use-debounce/pull/136](https://togithub.com/xnimorz/use-debounce/pull/136) Thanks to [@tryggvigy](https://togithub.com/tryggvigy) - Improved code comments. [https://github.com/xnimorz/use-debounce/pull/135](https://togithub.com/xnimorz/use-debounce/pull/135) Thanks to [@tryggvigy](https://togithub.com/tryggvigy) ### [`v8.0.1`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#801) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/8.0.0...8.0.1) - update library exports section to make exports work correctly with jest@28 ### [`v8.0.0`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#800) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/ce543e30fd904653d5ca1d20c2f26e6347dee069...8.0.0) - *breaking change* `useDebounce` changed its build system to microbundle. For now we have several entries: `index.js` is for commonJS approach `index.modern.js` for esnext module system `index.umd.js` for UMD. All the files are in `dist` folder. If you have any paths which have `esm` or `lib`, please, replace them to `dist`: Before: ```js import useDebounceCallback from 'use-debounce/lib/useDebounceCallback' ``` After: ```js import { useDebounceCallback } from 'use-debounce'; ``` - Fixed issue with incorrect VSCode autocomplete [https://github.com/xnimorz/use-debounce/issues/131](https://togithub.com/xnimorz/use-debounce/issues/131) Thanks to [@c-ehrlich](https://togithub.com/c-ehrlich) for reporting - Fixed `useDebounce` behaviour with react-devtools tab when devtools have a component with `useDebounce` or `useDebounceCallback` opened. [https://github.com/xnimorz/use-debounce/issues/129](https://togithub.com/xnimorz/use-debounce/issues/129) Thanks to [@alexniarchos](https://togithub.com/alexniarchos) for reporting - Fixed issue with `leading: true` [https://github.com/xnimorz/use-debounce/issues/124](https://togithub.com/xnimorz/use-debounce/issues/124) Thanks to [@mntnoe](https://togithub.com/mntnoe) for reporting ### [`v7.0.1`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#701) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/7.0.0...ce543e30fd904653d5ca1d20c2f26e6347dee069) - `debounced` object now is preserved for `use-debounce` between the renders. Thanks to [@msharifi99](https://togithub.com/msharifi99) for reporting. ### [`v7.0.0`](https://togithub.com/xnimorz/use-debounce/blob/HEAD/CHANGELOG.md#700) [Compare Source](https://togithub.com/xnimorz/use-debounce/compare/6.0.1...7.0.0) - *breaking change* `useDebounce` hook changed `isPending` behavior from `async` reacting to the sync. Now `isPending` returns `True` as soon as the new value is sent to the hook. - Dev dependencies updatedConfiguration
๐ Schedule: Branch creation - "before 3am on the first day of the month" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.