| 1 |
# Changelog |
| 2 |
|
| 3 |
## [Unreleased][] |
| 4 |
|
| 5 |
## [5.0.2][] - 2024-06-24 |
| 6 |
|
| 7 |
### Fixed |
| 8 |
|
| 9 |
- Pin karma-webpack to specific version to prevent errors in Node 12 |
| 10 |
|
| 11 |
## [5.0.1][] - 2024-06-24 |
| 12 |
|
| 13 |
### Changed |
| 14 |
|
| 15 |
- License to single license (MIT) |
| 16 |
|
| 17 |
## [5.0.0][] - 2022-05-02 |
| 18 |
|
| 19 |
### Changed |
| 20 |
|
| 21 |
- **Breaking**: The optional argument `atBegin` of debounce is now a part of |
| 22 |
options object instead of a function argument so that debounce API is |
| 23 |
normalized with throttle API. |
| 24 |
|
| 25 |
### Added |
| 26 |
|
| 27 |
- Option to cancel only upcoming invocation |
| 28 |
([#44](https://github.com/niksy/throttle-debounce/pull/44)) |
| 29 |
|
| 30 |
## [4.0.1][] - 2022-04-15 |
| 31 |
|
| 32 |
### Fixed |
| 33 |
|
| 34 |
- Throttle invocation with |
| 35 |
`{ noLeading: true, noTrailing: true }`([#55](https://github.com/niksy/throttle-debounce/pull/55)) |
| 36 |
|
| 37 |
### Added |
| 38 |
|
| 39 |
- Support for running non-BrowserStack tests (headless browsers tests) in CI |
| 40 |
|
| 41 |
## [4.0.0][] - 2022-04-11 |
| 42 |
|
| 43 |
### Changed |
| 44 |
|
| 45 |
- **Breaking**: Updated browser support, check |
| 46 |
[Browserslist configuration](https://browserslist.dev/?q=bGFzdCAzIG1ham9yIHZlcnNpb25zLCBzaW5jZSAyMDE5LCBlZGdlID49IDE1LCBub3QgaWUgPiAw) |
| 47 |
- **Breaking**: All additional options such as `noLeading`, `noTrailing` and |
| 48 |
`debounceMode` are now part of options object instead of function arguments |
| 49 |
- Upgrade package |
| 50 |
|
| 51 |
## [3.0.1][] - 2020-11-02 |
| 52 |
|
| 53 |
### Fixed |
| 54 |
|
| 55 |
- Accessing `package.json` being restricted since it’s no longer exported |
| 56 |
([#43](https://github.com/niksy/throttle-debounce/pull/43)) |
| 57 |
|
| 58 |
## [3.0.0][] - 2020-10-28 |
| 59 |
|
| 60 |
### Changed |
| 61 |
|
| 62 |
- Avoid having bundles like Webpack load the UMD module |
| 63 |
([#42](https://github.com/niksy/throttle-debounce/pull/42)) |
| 64 |
- Upgrade package |
| 65 |
|
| 66 |
### Removed |
| 67 |
|
| 68 |
- **Breaking**: Drop Node 8 support, package is no longer tested against it, |
| 69 |
but it should still work since there are no code changes |
| 70 |
|
| 71 |
## [2.3.0][] - 2020-08-12 |
| 72 |
|
| 73 |
### Added |
| 74 |
|
| 75 |
- Support for UMD package |
| 76 |
([#41](https://github.com/niksy/throttle-debounce/pull/41)) |
| 77 |
|
| 78 |
## [2.2.1][] - 2020-06-08 |
| 79 |
|
| 80 |
### Changed |
| 81 |
|
| 82 |
- Upgrade package |
| 83 |
- Add Browserstack testing |
| 84 |
- Add more detailed usage example to README |
| 85 |
([#36](https://github.com/niksy/throttle-debounce/pull/36)) |
| 86 |
- Use ES2015+ features |
| 87 |
|
| 88 |
[2.2.1]: https://github.com/niksy/throttle-debounce/tree/v2.2.1 |
| 89 |
[2.3.0]: https://github.com/niksy/throttle-debounce/tree/v2.3.0 |
| 90 |
[3.0.0]: https://github.com/niksy/throttle-debounce/tree/v3.0.0 |
| 91 |
[3.0.1]: https://github.com/niksy/throttle-debounce/tree/v3.0.1 |
| 92 |
[4.0.0]: https://github.com/niksy/throttle-debounce/tree/v4.0.0 |
| 93 |
[4.0.1]: https://github.com/niksy/throttle-debounce/tree/v4.0.1 |
| 94 |
[5.0.0]: https://github.com/niksy/throttle-debounce/tree/v5.0.0 |
| 95 |
[Unreleased]: https://github.com/niksy/throttle-debounce/compare/v5.0.2...HEAD |
| 96 |
[5.0.2]: https://github.com/niksy/throttle-debounce/compare/v5.0.1...v5.0.2 |
| 97 |
[5.0.1]: https://github.com/niksy/throttle-debounce/tree/v5.0.1 |