1 | # Changelog
|
2 | All notable changes to this project will be documented in this file.
|
3 |
|
4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6 |
|
7 | ## [Unreleased]
|
8 |
|
9 | ## [0.1.0] - 2019-12-18
|
10 |
|
11 | ### Added
|
12 |
|
13 | - Create package.json
|
14 | - Setup .gitignore
|
15 | - Add a CHANGELOG.md
|
16 | - Add a Readme.md and a Contributing.md
|
17 | - Add Styleguidist
|
18 | - Add ESLint
|
19 | - Add Stylelint
|
20 | - Tests
|
21 | - Build System
|
22 | - useCallbackRef hook & tests
|
23 | - useDidMount hook & tests
|
24 | - useWillUnmount hook & tests
|
25 | - useLifecycle hook & tests
|
26 | - useWindowResize hook & tests
|
27 | - Auto-generating documentation script
|
28 |
|
29 | ## [0.2.0] - 2019-12-20
|
30 |
|
31 | ### Added
|
32 |
|
33 | - useDebouncedFn hook & tests
|
34 |
|
35 | ## [0.3.0] - 2019-12-21
|
36 |
|
37 | ### Added
|
38 |
|
39 | - useMouseEvents hook & tests
|
40 | - useMouseState hook & tests
|
41 | - useMouse hook & tests
|
42 |
|
43 | ## [0.3.1] - 2019-12-23
|
44 |
|
45 | ### Fixed
|
46 |
|
47 | - Adding babel-plugin-istanbul to solve [this issue with istanbul/nyc](https://github.com/istanbuljs/nyc/issues/706)
|
48 |
|
49 | ## [0.4.0] - 2019-12-23
|
50 |
|
51 | ### Added
|
52 |
|
53 | - Adding playground build as a gitpages website
|
54 | - Adding better documentation
|
55 |
|
56 | ## [0.5.0] - 2019-12-24
|
57 |
|
58 | ### Added
|
59 |
|
60 | - useInterval hook & tests
|
61 | - useTimeout hook & tests
|
62 |
|
63 | ## [0.5.1] - 2019-12-24
|
64 |
|
65 | ### Fixed
|
66 |
|
67 | - Build workflow performs tests twice
|
68 |
|
69 | ## [0.6.0] - 2019-12-24
|
70 |
|
71 | ### Added
|
72 |
|
73 | - useThrottledFn hook & tests
|
74 | - debounce and throttle utilities
|
75 |
|
76 | ## [0.7.0] - 2019-12-24
|
77 |
|
78 | ### Added
|
79 |
|
80 | - useWindowScroll hook & tests
|
81 |
|
82 | ## [0.8.0] - 2019-12-28
|
83 |
|
84 | ### Added
|
85 |
|
86 | - useGlobalEvent hook & tests
|
87 |
|
88 | ## [0.8.1] - 2019-12-28
|
89 |
|
90 | ### Fixed
|
91 |
|
92 | - Few documentation typos
|
93 |
|
94 | ## [0.8.2] - 2019-12-28
|
95 |
|
96 | ### Fixed
|
97 |
|
98 | - Few documentation typos
|
99 | - README image
|
100 |
|
101 | ### Added
|
102 |
|
103 | - Types support
|
104 |
|
105 | ## [0.8.3] - 2019-12-28
|
106 |
|
107 | ### Fixed
|
108 |
|
109 | - Few documentation typos
|
110 |
|
111 | ## [0.9.0] - 2019-12-29
|
112 |
|
113 | ### Fixed
|
114 |
|
115 | - usePreviousValue hook & tests
|
116 |
|
117 | ## [0.9.1] - 2019-12-29
|
118 |
|
119 | ### Fixed
|
120 |
|
121 | - peerDependencies
|
122 | - build was missing
|
123 | - usePreviousValue types were missing
|
124 |
|
125 | ## [0.9.2] - 2019-12-29
|
126 |
|
127 | ### Fixed
|
128 |
|
129 | - React & ReactDom moved to `devDependencies`
|
130 |
|
131 | ## [0.9.3] - 2019-12-29
|
132 |
|
133 | ### Fixed
|
134 |
|
135 | - Package name for public usage
|
136 |
|
137 | ## [0.10.0] - 2019-12-30
|
138 |
|
139 | ### Added
|
140 |
|
141 | - Code of conduct
|
142 | - Contributing guidelines
|
143 | - issue template
|
144 | - pull request template
|
145 |
|
146 | ## [0.10.1] - 2019-12-30
|
147 |
|
148 | ### Fixed
|
149 |
|
150 | - correct package.json version
|
151 | - dependencies update
|
152 |
|
153 | ## [0.11.0] - 2019-12-30
|
154 |
|
155 | ### Added
|
156 |
|
157 | - Rewriting `useMouseHandler` into `useMouseEvents`
|
158 |
|
159 | ### Fixed
|
160 |
|
161 | - documentation typos
|
162 |
|
163 | ## [0.11.1] - 2019-12-31
|
164 |
|
165 | ### Fixed
|
166 |
|
167 | - documentation typos
|
168 |
|
169 | ## [0.12.0] - 2019-12-31
|
170 |
|
171 | ### Added
|
172 |
|
173 | - useGeolocationEvents hook & tests
|
174 | - useGeolocationState hook & tests
|
175 | - useGeolocation hook & tests
|
176 |
|
177 |
|
178 | ## [0.13.0] - 2020-01-02
|
179 |
|
180 | ### Added
|
181 |
|
182 | - useMediaQuery hook & tests
|
183 | - change the order of the listed hooks into the Readme.md file
|
184 |
|
185 | ### Fixed
|
186 |
|
187 | - `useOnMount` renamed to `useDidMount`
|
188 |
|
189 |
|
190 | ## [0.13.1] - 2020-01-02
|
191 |
|
192 | ### Fixed
|
193 |
|
194 | - Usage example image
|
195 |
|
196 | ## [0.13.2] - 2020-01-02
|
197 |
|
198 | ### Fixed
|
199 |
|
200 | - improved `useCallbackRef` documentation
|
201 | - changed lib logo
|
202 |
|
203 | ## [0.13.3] - 2020-01-05
|
204 |
|
205 | ### Fixed
|
206 |
|
207 | - removed wrong `useCallbackRef` dependencies
|
208 | - dependency check on other event related hooks
|
209 |
|
210 | ## [0.13.4] - 2020-01-06
|
211 |
|
212 | ### Fixed
|
213 |
|
214 | - Switching CI to Travis
|
215 |
|
216 | ## [0.13.5] - 2020-01-06
|
217 |
|
218 | ### Fixed
|
219 |
|
220 | - useTimeout refactory
|
221 |
|
222 | ## [0.13.6] - 2020-01-07
|
223 |
|
224 | ### Fixed
|
225 |
|
226 | - few hooks refactory
|
227 | - Improved documentation by a better use of Styleguidist
|
228 | - Improved types
|
229 |
|
230 | ## [0.13.7] - 2020-01-07
|
231 |
|
232 | ### Fixed
|
233 |
|
234 | - `usePrev` renamed to `usePreviousValue`
|
235 |
|
236 |
|
237 | ## [0.13.8] - 2020-01-09
|
238 |
|
239 | ### Fixed
|
240 |
|
241 | - Fix on `usePreviousValue` type
|
242 |
|
243 | ## [0.13.9] - 2020-01-09
|
244 |
|
245 | ### Fixed
|
246 |
|
247 | - Fixing CI
|
248 |
|
249 | ## [0.14.0] - 2020-01-10
|
250 |
|
251 | ### Added
|
252 |
|
253 | - useValueHistory hook & tests
|
254 |
|
255 | ## [0.15.0] - 2020-01-10
|
256 |
|
257 | ### Added
|
258 |
|
259 | - useOnlineState hook
|
260 |
|
261 | ## [0.16.0] - 2020-01-10
|
262 |
|
263 | ### Added
|
264 |
|
265 | - Repository ownership changed from `antonioru` to `beautifulinteractions`
|
266 |
|
267 | ## [0.17.0] - 2020-01-10
|
268 |
|
269 | ### Added
|
270 |
|
271 | - useViewportSpy hook & tests
|
272 | - Improved documentation
|
273 |
|
274 | ## [0.17.1] - 2020-01-10
|
275 |
|
276 | ### Fixed
|
277 |
|
278 | - types reference into package.json
|
279 |
|
280 | ## [0.17.2] - 2020-01-12
|
281 |
|
282 | ### Fixed
|
283 |
|
284 | - Fixed license in package.json
|
285 |
|
286 | ## [0.18.0] - 2020-01-13
|
287 |
|
288 | ### Added
|
289 |
|
290 | - useDragEvents hook & tests
|
291 | - useDrag hook
|
292 |
|
293 | ### Fixed
|
294 |
|
295 | - event handlers uses the right parameters and avoid using (...args)
|
296 | - `useCallbackRef` has been reverted to an internal utility
|
297 |
|
298 | ## [0.18.1] - 2020-01-14
|
299 |
|
300 | ### Fixed
|
301 |
|
302 | - Build removed from the source package
|
303 |
|
304 | ## [0.18.2] - 2020-01-20
|
305 |
|
306 | ### Fixed
|
307 |
|
308 | - useOnlineState returns true when the device does not support the `online/offline` state assuming the app is already
|
309 | online
|
310 | - Improved test
|
311 |
|
312 | ## [0.19.0] - 2020-01-21
|
313 |
|
314 | ### Added
|
315 |
|
316 | - useConditionalTimeout hook & tests
|
317 |
|
318 | ### Fixed
|
319 |
|
320 | - adding react and react-dom as dev-dependencies
|
321 |
|
322 | ## [0.19.1] - 2020-01-21
|
323 |
|
324 | ### Fixed
|
325 |
|
326 | - adding types for useConditionalTimeout
|
327 |
|
328 | ## [0.19.2] - 2020-01-22
|
329 |
|
330 | ### Fixed
|
331 |
|
332 | - Updated typings for cancelable functions. Updated docs.
|
333 |
|
334 |
|
335 | ## [0.19.3] - 2020-01-25
|
336 |
|
337 | ### Added
|
338 |
|
339 | - Support windows. Add .npmrc for saving exact version of dependencies
|
340 |
|
341 | ## [0.19.4] - 2020-01-25
|
342 |
|
343 | ### Fixed
|
344 |
|
345 | - Updating dependencies
|
346 | - Improving documentation by using `beautiful-react-ui` components
|
347 |
|
348 | ## [0.20.0] - 2020-01-27
|
349 |
|
350 | ### Added
|
351 |
|
352 | - useValidatedState hook & tests
|
353 |
|
354 | ## [0.20.1] - 2020-01-27
|
355 |
|
356 | ### Fixed
|
357 |
|
358 | - Adding useValidatedState into README.md
|
359 | - Rewriting README.md
|
360 | - Moved beautiful-react-ui from dependencies to dev-dependencies
|
361 |
|
362 | ## [0.21.0] - 2020-02-17
|
363 |
|
364 | ### Added
|
365 |
|
366 | - useRequestAnimationFrame hook & tests
|
367 |
|
368 | ## [0.21.1] - 2020-02-20
|
369 |
|
370 | ### Fixed
|
371 |
|
372 | - Fix isSupported when window is not defined to allow SSR
|
373 |
|
374 | ## [0.22.0] - 2020-02-21
|
375 |
|
376 | ### Added
|
377 |
|
378 | - useLocalStorage hook & tests & docs & types
|
379 |
|
380 | ## [0.22.1] - 2020-02-21
|
381 |
|
382 | ### Fixed
|
383 |
|
384 | - improving SSR check and window.* check before usage
|
385 | - adding SSR warning to `useRequestAnimationFrame`
|
386 | - improving `useLocalStorage` documentation
|
387 |
|
388 |
|
389 | ## [0.22.2] - 2020-02-21
|
390 |
|
391 | ### Fixed
|
392 |
|
393 | - dependencies update
|
394 |
|
395 | ## [0.22.3] - 2020-03-11
|
396 |
|
397 | ### Added
|
398 |
|
399 | - Adding Chinese translation of README.md
|
400 |
|
401 | ## [0.22.4] - 2020-03-11
|
402 |
|
403 | ### Fixed
|
404 |
|
405 | - Fixing missing links between README.md files
|
406 |
|
407 | ## [0.22.5] - 2020-03-12
|
408 |
|
409 | ### Added
|
410 |
|
411 | - Adding Italian translation of README.md
|
412 |
|
413 | ## [0.22.6] - 2020-03-12
|
414 |
|
415 | ### Fixed
|
416 |
|
417 | - Fixing missing image links in italian Readme.md
|
418 |
|
419 | ## [0.22.7] - 2020-03-12
|
420 |
|
421 | ### Fixed
|
422 |
|
423 | - Adding Spanish translation of README.md
|
424 |
|
425 | ## [0.22.8] - 2020-03-14
|
426 |
|
427 | ### Fixed
|
428 |
|
429 | - Adding Ukranian translation of README.md
|
430 |
|
431 | ## [0.22.9] - 2020-03-14
|
432 |
|
433 | ### Fixed
|
434 |
|
435 | - Fixing package version
|
436 |
|
437 | ## [0.22.10] - 2020-03-17
|
438 |
|
439 | ### Fixed
|
440 |
|
441 | - Adding Polish translation of README.md
|
442 |
|
443 | ## [0.22.11] - 2020-03-17
|
444 |
|
445 | ### Fixed
|
446 |
|
447 | - Fixing Polish translation of README.md
|
448 |
|
449 | ## [0.22.12] - 2020-03-17
|
450 |
|
451 | ### Fixed
|
452 |
|
453 | - Fixing links to hooks in language specific README files
|
454 |
|
455 | ## [0.23.0] - 2020-03-17
|
456 |
|
457 | ### Added
|
458 |
|
459 | - useDropZone hook & tests
|
460 |
|
461 | ## [0.23.1] - 2020-03-18
|
462 |
|
463 | ### Fixed
|
464 |
|
465 | - Fixing links in Contributing section and minor typos in language specific README files
|
466 |
|
467 | ## [0.24.0] - 2020-03-26
|
468 |
|
469 | ### Added
|
470 |
|
471 | - useStorage hook & tests
|
472 |
|
473 | ## [0.24.1] - 2020-03-26
|
474 |
|
475 | ### Fixed
|
476 |
|
477 | - adding SSR warning to `useLocalStorage` hook
|
478 | - adding warning to `useLocalStorage` hook if `localStorage` is not in `window` object
|
479 | - adding new test for `useLocalStorage` hook that checks that `localStorage` in `window` object
|