|
1 |
| -# [2.1.0](https://github.com/LCluber/Krait.js/compare/v2.0.2...v2.1.0) (2020-01-14) |
| 1 | +## Version 2.2.0 (June 13th 2020) |
| 2 | + |
| 3 | +- New preventDefault option so you can decide if an input should trigger its default behavior when hit or not. |
2 | 4 |
|
| 5 | +# [2.1.0](https://github.com/LCluber/Krait.js/compare/v2.0.2...v2.1.0) (2020-01-14) |
3 | 6 |
|
4 | 7 | ### Features
|
5 | 8 |
|
6 |
| -* **logs:** delete Mouette.js dependency ([e4765d0](https://github.com/LCluber/Krait.js/commit/e4765d0)) |
| 9 | +- **logs:** delete Mouette.js dependency ([e4765d0](https://github.com/LCluber/Krait.js/commit/e4765d0)) |
7 | 10 |
|
8 | 11 | ## [2.0.2](https://github.com/LCluber/Krait.js/compare/v2.0.1...v2.0.2) (2020-01-04)
|
9 | 12 |
|
10 |
| - |
11 | 13 | ### Bug Fixes
|
12 | 14 |
|
13 |
| -* **dependency:** delete Weejs dependency ([a78dceb](https://github.com/LCluber/Krait.js/commit/a78dceb)) |
| 15 | +- **dependency:** delete Weejs dependency ([a78dceb](https://github.com/LCluber/Krait.js/commit/a78dceb)) |
14 | 16 |
|
15 | 17 | ## [2.0.1](https://github.com/LCluber/Krait.js/compare/v2.0.0...v2.0.1) (2019-08-16)
|
16 | 18 |
|
17 |
| - |
18 | 19 | ### Bug Fixes
|
19 | 20 |
|
20 |
| -* **dependencies:** updated dependencies ([198e01c](https://github.com/LCluber/Krait.js/commit/198e01c)) |
| 21 | +- **dependencies:** updated dependencies ([198e01c](https://github.com/LCluber/Krait.js/commit/198e01c)) |
21 | 22 |
|
22 | 23 | # [2.0.0](https://github.com/LCluber/Krait.js/compare/v1.0.0...v2.0.0) (2019-08-10)
|
23 | 24 |
|
24 |
| - |
25 | 25 | ### Features
|
26 | 26 |
|
27 |
| -* **command:** added getInputsAscii() method to command class ([c8afdd8](https://github.com/LCluber/Krait.js/commit/c8afdd8)) |
28 |
| -* **command:** added setinputs() methods to command class ([a72794e](https://github.com/LCluber/Krait.js/commit/a72794e)) |
29 |
| -* **groups:** commands can be grouped ([fc57b71](https://github.com/LCluber/Krait.js/commit/fc57b71)) |
30 |
| -* **isascii:** extended parameter set to false by default ([34fc772](https://github.com/LCluber/Krait.js/commit/34fc772)) |
31 |
| -* **keyboard:** added start() et stop() methods ([d82ddd7](https://github.com/LCluber/Krait.js/commit/d82ddd7)) |
32 |
| - |
| 27 | +- **command:** added getInputsAscii() method to command class ([c8afdd8](https://github.com/LCluber/Krait.js/commit/c8afdd8)) |
| 28 | +- **command:** added setinputs() methods to command class ([a72794e](https://github.com/LCluber/Krait.js/commit/a72794e)) |
| 29 | +- **groups:** commands can be grouped ([fc57b71](https://github.com/LCluber/Krait.js/commit/fc57b71)) |
| 30 | +- **isascii:** extended parameter set to false by default ([34fc772](https://github.com/LCluber/Krait.js/commit/34fc772)) |
| 31 | +- **keyboard:** added start() et stop() methods ([d82ddd7](https://github.com/LCluber/Krait.js/commit/d82ddd7)) |
33 | 32 |
|
34 | 33 | ### BREAKING CHANGES
|
35 | 34 |
|
36 |
| -* **groups:** have to give a group name when adding commands |
37 |
| -* **keyboard:** must call Keyboard.start() after Keyboard initilisation in order to start listening |
38 |
| -to key events |
| 35 | +- **groups:** have to give a group name when adding commands |
| 36 | +- **keyboard:** must call Keyboard.start() after Keyboard initilisation in order to start listening |
| 37 | + to key events |
39 | 38 |
|
40 | 39 | # [1.0.0](https://github.com/LCluber/Krait.js/compare/v0.3.0...v1.0.0) (2019-07-27)
|
41 | 40 |
|
42 |
| - |
43 | 41 | ### Bug Fixes
|
44 | 42 |
|
45 |
| -* **command:** better behavior of chained inputs ([93a772d](https://github.com/LCluber/Krait.js/commit/93a772d)) |
46 |
| - |
| 43 | +- **command:** better behavior of chained inputs ([93a772d](https://github.com/LCluber/Krait.js/commit/93a772d)) |
47 | 44 |
|
48 | 45 | ### Code Refactoring
|
49 | 46 |
|
50 |
| -* **addcommand:** control keys parameters now sent in an object ([dccbea9](https://github.com/LCluber/Krait.js/commit/dccbea9)) |
51 |
| - |
| 47 | +- **addcommand:** control keys parameters now sent in an object ([dccbea9](https://github.com/LCluber/Krait.js/commit/dccbea9)) |
52 | 48 |
|
53 | 49 | ### Features
|
54 | 50 |
|
55 |
| -* **callback:** now returns false on key up ([ba5ac0d](https://github.com/LCluber/Krait.js/commit/ba5ac0d)) |
56 |
| -* **keyboard:** added getcommandinputsascii method ([5bb6504](https://github.com/LCluber/Krait.js/commit/5bb6504)) |
57 |
| - |
| 51 | +- **callback:** now returns false on key up ([ba5ac0d](https://github.com/LCluber/Krait.js/commit/ba5ac0d)) |
| 52 | +- **keyboard:** added getcommandinputsascii method ([5bb6504](https://github.com/LCluber/Krait.js/commit/5bb6504)) |
58 | 53 |
|
59 | 54 | ### BREAKING CHANGES
|
60 | 55 |
|
61 |
| -* **addcommand:** control keys sent as object |
62 |
| - |
63 |
| -Version 0.3.0 (October 21th 2018) |
64 |
| ------------------------------ |
65 |
| - * Multiple keystroke detection |
66 |
| - * Ctrl, Alt, Shift detection |
67 |
| - * addInput method now called addCommand and accept an array of keys. |
68 |
| - * Krait.js published on NPM at @lcluber/kraitjs. |
69 |
| - * Updated README.md with NPM installation procedure. |
70 |
| - |
71 |
| -Version 0.2.5 (July 27th 2018) |
72 |
| ------------------------------- |
73 |
| - * deleted useless method in Input class |
74 |
| - |
75 |
| -Version 0.2.4 (July 23th 2018) |
76 |
| ------------------------------- |
77 |
| - * Library exported as ES6 and IIFE modules instead of UMD. |
78 |
| - * KRAIT namespace becomes Krait |
79 |
| - |
80 |
| -Version 0.2.3 (July 4th 2018) |
81 |
| ------------------------------- |
82 |
| - * Documentation automatically generated in /doc folder |
83 |
| - * Typedoc and grunt-typedoc added in devDependencies |
84 |
| - * New "typedoc" task in Gruntfile.js |
85 |
| - * Typescript upgraded to version 2.9.2 |
86 |
| - * INSTALL.md becomes NOTICE.md and RELEASE_NOTES.md becomes CHANGELOG.md |
87 |
| - |
88 |
| -Version 0.2.2 (April 28th 2018) |
89 |
| ------------------------------ |
90 |
| - * Added Wee.js utility library |
91 |
| - |
92 |
| -Version 0.2.1 (March 19th 2018) |
93 |
| ------------------------------ |
94 |
| - * Added logs with Mouette.js |
95 |
| - * Added TypeScript Declaration File |
96 |
| - |
97 |
| -Version 0.2.0 (January 1st 2018) |
98 |
| ------------------------------ |
99 |
| - * Added setInput() method to the Keyboard class. |
100 |
| - * Added getLastLog() method to the Keyboard class. |
101 |
| - * Logged all kind of errors that can occur during the addInput or setInput processes. |
102 |
| - * An input object does not have a name anymore. |
103 |
| - * Library is written in TypeScript |
104 |
| - |
105 |
| -Version 0.1.1 (October 28th 2017) |
106 |
| ------------------------------ |
107 |
| - * The 'addInput()' method of the 'Keyboard' class can now receive an ASCII code or a string as parameter. The string will then be converted as a valid ASCII code. |
108 |
| - |
109 |
| -Version 0.1.0 (August 25th 2017) |
110 |
| ------------------------------ |
111 |
| - * initial version |
| 56 | +- **addcommand:** control keys sent as object |
| 57 | + |
| 58 | +## Version 0.3.0 (October 21th 2018) |
| 59 | + |
| 60 | +- Multiple keystroke detection |
| 61 | +- Ctrl, Alt, Shift detection |
| 62 | +- addInput method now called addCommand and accept an array of keys. |
| 63 | +- Krait.js published on NPM at @lcluber/kraitjs. |
| 64 | +- Updated README.md with NPM installation procedure. |
| 65 | + |
| 66 | +## Version 0.2.5 (July 27th 2018) |
| 67 | + |
| 68 | +- deleted useless method in Input class |
| 69 | + |
| 70 | +## Version 0.2.4 (July 23th 2018) |
| 71 | + |
| 72 | +- Library exported as ES6 and IIFE modules instead of UMD. |
| 73 | +- KRAIT namespace becomes Krait |
| 74 | + |
| 75 | +## Version 0.2.3 (July 4th 2018) |
| 76 | + |
| 77 | +- Documentation automatically generated in /doc folder |
| 78 | +- Typedoc and grunt-typedoc added in devDependencies |
| 79 | +- New "typedoc" task in Gruntfile.js |
| 80 | +- Typescript upgraded to version 2.9.2 |
| 81 | +- INSTALL.md becomes NOTICE.md and RELEASE_NOTES.md becomes CHANGELOG.md |
| 82 | + |
| 83 | +## Version 0.2.2 (April 28th 2018) |
| 84 | + |
| 85 | +- Added Wee.js utility library |
| 86 | + |
| 87 | +## Version 0.2.1 (March 19th 2018) |
| 88 | + |
| 89 | +- Added logs with Mouette.js |
| 90 | +- Added TypeScript Declaration File |
| 91 | + |
| 92 | +## Version 0.2.0 (January 1st 2018) |
| 93 | + |
| 94 | +- Added setInput() method to the Keyboard class. |
| 95 | +- Added getLastLog() method to the Keyboard class. |
| 96 | +- Logged all kind of errors that can occur during the addInput or setInput processes. |
| 97 | +- An input object does not have a name anymore. |
| 98 | +- Library is written in TypeScript |
| 99 | + |
| 100 | +## Version 0.1.1 (October 28th 2017) |
| 101 | + |
| 102 | +- The 'addInput()' method of the 'Keyboard' class can now receive an ASCII code or a string as parameter. The string will then be converted as a valid ASCII code. |
| 103 | + |
| 104 | +## Version 0.1.0 (August 25th 2017) |
| 105 | + |
| 106 | +- initial version |
0 commit comments