|
| 1 | +# v1.0.0 |
| 2 | + |
| 3 | +### Breaking Changes |
| 4 | + |
| 5 | +- Name of package is now @openbci/cyton |
| 6 | + |
1 | 7 | # v0.3.6 |
2 | 8 |
|
3 | | -### Bug Fixes |
| 9 | +### Bug Fixes |
4 | 10 |
|
5 | | -* Fix bug where parseGanglion could result in a concat of non-buffer types |
| 11 | +- Fix bug where parseGanglion could result in a concat of non-buffer types |
6 | 12 |
|
7 | 13 | # v0.3.5 |
8 | 14 |
|
9 | | -### Bug Fixes |
| 15 | +### Bug Fixes |
10 | 16 |
|
11 | | -* Fix bug where `getFirmware` failed for patch or minor versions over 9 (aka double digits) |
| 17 | +- Fix bug where `getFirmware` failed for patch or minor versions over 9 (aka double digits) |
12 | 18 |
|
13 | 19 | # v0.3.4 |
14 | 20 |
|
15 | | -### Bug Fixes |
| 21 | +### Bug Fixes |
16 | 22 |
|
17 | | -* Protect and ensure buffer returned for raw data packets |
| 23 | +- Protect and ensure buffer returned for raw data packets |
18 | 24 |
|
19 | 25 | # v0.3.3 |
20 | 26 |
|
21 | | -### Enhancements |
| 27 | +### Enhancements |
22 | 28 |
|
23 | | -* Add raw of version to `getFirmware` |
24 | | -* Bump mathjs to 4.0.0 to resolve insecurity |
| 29 | +- Add raw of version to `getFirmware` |
| 30 | +- Bump mathjs to 4.0.0 to resolve insecurity |
25 | 31 |
|
26 | 32 | # v0.3.1 |
27 | 33 |
|
28 | | -### Enhancements |
| 34 | +### Enhancements |
29 | 35 |
|
30 | | -* Removed `lodash` from dependencies to reduce bundle size (thanks @alexcastillo!!) |
| 36 | +- Removed `lodash` from dependencies to reduce bundle size (thanks @alexcastillo!!) |
31 | 37 |
|
32 | 38 | # v0.3.0 |
33 | 39 |
|
34 | 40 | You can now use this module in the browser!! Huge should out to @alexcastillo for help with making with refactoring the project! |
35 | 41 |
|
36 | 42 | ### Breaking Changes |
37 | 43 |
|
38 | | -* Removed simulator file back into cyton repo |
39 | | -* Removed `safe-buffer` in place of `buffer` |
40 | | -* Removed support for node version 5 and below |
41 | | -* `Utilities` changed to to `utilities` |
42 | | -* `Constants` is now `constants` |
43 | | -* Inidividual functions can now be importated from the utilities module. |
| 44 | +- Removed simulator file back into cyton repo |
| 45 | +- Removed `safe-buffer` in place of `buffer` |
| 46 | +- Removed support for node version 5 and below |
| 47 | +- `Utilities` changed to to `utilities` |
| 48 | +- `Constants` is now `constants` |
| 49 | +- Inidividual functions can now be importated from the utilities module. |
44 | 50 |
|
45 | 51 | # v0.2.7 |
46 | 52 |
|
47 | 53 | ### Bug Fixes |
48 | 54 |
|
49 | | -* No `stopByte` property for daisy samples. Added tests. |
| 55 | +- No `stopByte` property for daisy samples. Added tests. |
50 | 56 |
|
51 | 57 | # v0.2.6 |
52 | 58 |
|
53 | 59 | ### Bug Fixes |
54 | 60 |
|
55 | | -* Accel data with counts did not work for cyton with daisy over wifi. |
| 61 | +- Accel data with counts did not work for cyton with daisy over wifi. |
56 | 62 |
|
57 | 63 | # v0.2.5 |
58 | 64 |
|
59 | 65 | ### Bug Fixes |
60 | 66 |
|
61 | | -* Had incorrect ganglion accel multiplication factor of 32mg per count but was really 16mg per count |
62 | | -* `newSample` and `newSampleNoScale` in utility file did not have `valid` is `true` property. |
| 67 | +- Had incorrect ganglion accel multiplication factor of 32mg per count but was really 16mg per count |
| 68 | +- `newSample` and `newSampleNoScale` in utility file did not have `valid` is `true` property. |
63 | 69 |
|
64 | 70 | # v0.2.4 |
65 | 71 |
|
66 | 72 | ### New Features |
67 | 73 |
|
68 | | -* Add new constants for emitter |
| 74 | +- Add new constants for emitter |
69 | 75 |
|
70 | 76 | ### Bug Fixes |
71 | 77 |
|
72 | | -* Fix bug where ganglion sample channel data when scale was false produced array of 8 values instead of 4 |
| 78 | +- Fix bug where ganglion sample channel data when scale was false produced array of 8 values instead of 4 |
73 | 79 |
|
74 | 80 | # v0.2.3 |
75 | 81 |
|
76 | 82 | ### New Features |
77 | 83 |
|
78 | | -* Add function for parsing an impedance object `.parsePacketImpedance()` |
| 84 | +- Add function for parsing an impedance object `.parsePacketImpedance()` |
79 | 85 |
|
80 | 86 | # v0.2.2 |
81 | 87 |
|
82 | 88 | ### Bug Fixes |
83 | 89 |
|
84 | | -* Fix wrap around bug in extractRawBLEDataPackets |
| 90 | +- Fix wrap around bug in extractRawBLEDataPackets |
85 | 91 |
|
86 | 92 | # v0.2.1 |
87 | 93 |
|
88 | 94 | ### Bug Fixes |
89 | 95 |
|
90 | | -* Accel data with counts did not work for cyton with daisy. Also fixed up some test errors with the effected functions. |
| 96 | +- Accel data with counts did not work for cyton with daisy. Also fixed up some test errors with the effected functions. |
91 | 97 |
|
92 | 98 | ### New Features |
93 | 99 |
|
94 | | -* Add features for `openbci-ganglion` |
| 100 | +- Add features for `openbci-ganglion` |
95 | 101 |
|
96 | 102 | # v0.2.0 |
97 | 103 |
|
98 | 104 | ### New Feature |
99 | 105 |
|
100 | | -* With scale option false, `.parsePacketStandardAccel()` `.parsePacketTimeSyncedAccel()` will now return array called will now return `accelDataCounts` property with un-scaled data. |
| 106 | +- With scale option false, `.parsePacketStandardAccel()` `.parsePacketTimeSyncedAccel()` will now return array called will now return `accelDataCounts` property with un-scaled data. |
101 | 107 |
|
102 | 108 | # v0.1.5 |
103 | 109 |
|
104 | 110 | ### Bug Fixes |
105 | 111 |
|
106 | | -* Was missing errors in constants used by ganglion and other ble projects. |
107 | | -* Fixed getChannelData functions to support 2 channel cytons |
| 112 | +- Was missing errors in constants used by ganglion and other ble projects. |
| 113 | +- Fixed getChannelData functions to support 2 channel cytons |
108 | 114 |
|
109 | 115 | # v0.1.4 |
110 | 116 |
|
111 | 117 | ### Bug Fixes |
112 | 118 |
|
113 | | -* E-patch on new function added 0.1.3 |
114 | | - |
| 119 | +- E-patch on new function added 0.1.3 |
115 | 120 |
|
116 | 121 | # v0.1.3 |
117 | 122 |
|
118 | 123 | ### New Features |
119 | 124 |
|
120 | | -* A bunch of functions to support synchronization of channel settings with cyton. Will be used by both the Wifi and the Cyton node modules. |
| 125 | +- A bunch of functions to support synchronization of channel settings with cyton. Will be used by both the Wifi and the Cyton node modules. |
121 | 126 |
|
122 | 127 | # v0.1.2 |
123 | 128 |
|
124 | 129 | ### Bug Fixes |
125 | 130 |
|
126 | | -* Send counts did not work for daisy. |
127 | | -* Sample output was inconsistent |
128 | | -* Fixed `timeStamp` to `timestamp` this was pr #147 (thanks @alexdevmotion) |
| 131 | +- Send counts did not work for daisy. |
| 132 | +- Sample output was inconsistent |
| 133 | +- Fixed `timeStamp` to `timestamp` this was pr #147 (thanks @alexdevmotion) |
129 | 134 |
|
130 | 135 | # v0.1.1 |
131 | 136 |
|
132 | 137 | ### Bug Fixes |
133 | 138 |
|
134 | | -* Send counts did not work for daisy. |
| 139 | +- Send counts did not work for daisy. |
135 | 140 |
|
136 | 141 | # v0.1.0 |
137 | 142 |
|
138 | 143 | ### New Functions |
139 | 144 |
|
140 | | -* Add function `getFirmware(dataBuffer)` to utilities |
| 145 | +- Add function `getFirmware(dataBuffer)` to utilities |
141 | 146 |
|
142 | 147 | ### Breaking Changes |
143 | 148 |
|
144 | | -* Removed function called `findV2Firmware()` because it's useless with v3.0.0 firmware |
| 149 | +- Removed function called `findV2Firmware()` because it's useless with v3.0.0 firmware |
145 | 150 |
|
146 | 151 | # v0.0.10 |
147 | 152 |
|
148 | 153 | ### New Function |
149 | 154 |
|
150 | | -* Add `boardTypeForNumberOfChannels()` to Constants |
| 155 | +- Add `boardTypeForNumberOfChannels()` to Constants |
151 | 156 |
|
152 | 157 | # v0.0.9 |
153 | 158 |
|
154 | 159 | ### New Features |
155 | 160 |
|
156 | | -* Add impedance calculation functions from cyton |
157 | | -* The simulator from OpenBCI_NodeJS has been ripped out and place into this library! Woo. |
| 161 | +- Add impedance calculation functions from cyton |
| 162 | +- The simulator from OpenBCI_NodeJS has been ripped out and place into this library! Woo. |
158 | 163 |
|
159 | 164 | # v0.0.8 |
160 | 165 |
|
161 | 166 | ### New Features |
162 | 167 |
|
163 | | -* Sample object now has property `valid` of type `boolean`, `false` when error parseing packet, `true` otherwise. On `false` there will be another property called `error` of type `string` which contains an error message. |
| 168 | +- Sample object now has property `valid` of type `boolean`, `false` when error parseing packet, `true` otherwise. On `false` there will be another property called `error` of type `string` which contains an error message. |
164 | 169 |
|
165 | 170 | # v0.0.7 |
166 | 171 |
|
167 | 172 | ### Continuous Integration |
168 | 173 |
|
169 | | -* Add `npm run test-lint` to add linting to travis.yml |
| 174 | +- Add `npm run test-lint` to add linting to travis.yml |
170 | 175 |
|
171 | 176 | ### Bug Fixes |
172 | 177 |
|
173 | | -* Last sample number was confusing to use with `transformRawDataPacketsToSample` |
| 178 | +- Last sample number was confusing to use with `transformRawDataPacketsToSample` |
174 | 179 |
|
175 | 180 | ### New Features |
176 | 181 |
|
177 | | -* In openBCIUtilities.js add function `transformRawDataPacketToSample` to parse a single raw data packet |
178 | | -* In openBCIConstants.js add function `rawDataToSampleObjectDefault(numChannels)` which should be used by drivers to create the object that is passed through each call to `transformRawDataPacketsToSample` |
| 182 | +- In openBCIUtilities.js add function `transformRawDataPacketToSample` to parse a single raw data packet |
| 183 | +- In openBCIConstants.js add function `rawDataToSampleObjectDefault(numChannels)` which should be used by drivers to create the object that is passed through each call to `transformRawDataPacketsToSample` |
179 | 184 |
|
180 | 185 | # v0.0.6 |
181 | 186 |
|
182 | 187 | ### Bug Fixes |
183 | 188 |
|
184 | | -* Could not use 'daisy' with sample rate setter. |
| 189 | +- Could not use 'daisy' with sample rate setter. |
185 | 190 |
|
186 | 191 | ### New Features |
187 | 192 |
|
188 | | -* Add function in utilities for making daisy packets. |
189 | | -* Add code to `getChannelDataArray` for ganglion and daisy data being routed over wifi |
190 | | -* Create idea of protocols i.e. `BLE`, `Wifi`, and `Serial` |
| 193 | +- Add function in utilities for making daisy packets. |
| 194 | +- Add code to `getChannelDataArray` for ganglion and daisy data being routed over wifi |
| 195 | +- Create idea of protocols i.e. `BLE`, `Wifi`, and `Serial` |
191 | 196 |
|
192 | 197 | ### Breaking changes |
193 | 198 |
|
194 | | -* `getChannelDataArray` now takes object as only arg. |
| 199 | +- `getChannelDataArray` now takes object as only arg. |
195 | 200 |
|
196 | 201 | # v0.0.5 |
197 | 202 |
|
198 | 203 | ### Bug Fixes |
199 | 204 |
|
200 | | -* When not scaling outputs `channelDataCounts` instead of `channelData` |
| 205 | +- When not scaling outputs `channelDataCounts` instead of `channelData` |
201 | 206 |
|
202 | 207 | # v0.0.4 |
203 | 208 |
|
204 | 209 | ### Bug Fixes |
205 | 210 |
|
206 | | -* Fix bug where samples were not properly being extracted |
| 211 | +- Fix bug where samples were not properly being extracted |
207 | 212 |
|
208 | 213 | # v0.0.2 |
209 | 214 |
|
210 | 215 | ### Breaking Changes |
211 | 216 |
|
212 | | -* Renamed `Sample` to `Utilities` in `index.js` |
213 | | -* Renamed openBCIUtilities.js to openBCIUtilities.js |
214 | | -* Renamed openBCIUtilities-test.js to openBCIUtilities-test.js |
| 217 | +- Renamed `Sample` to `Utilities` in `index.js` |
| 218 | +- Renamed openBCIUtilities.js to openBCIUtilities.js |
| 219 | +- Renamed openBCIUtilities-test.js to openBCIUtilities-test.js |
215 | 220 |
|
216 | 221 | ### New Features |
217 | 222 |
|
218 | | -* Added a function in the sample module that parses a raw buffer of OpenBCI data, extracts raw data packets and returns the buffer with just the raw data packets removed. Allowing the user to process other data that is not a raw data. |
| 223 | +- Added a function in the sample module that parses a raw buffer of OpenBCI data, extracts raw data packets and returns the buffer with just the raw data packets removed. Allowing the user to process other data that is not a raw data. |
219 | 224 |
|
220 | 225 | # v0.0.1 |
221 | 226 |
|
|
0 commit comments