Skip to content

Commit 073e844

Browse files
Merge pull request #31 from andrewjaykeller/master
DOCS: bump version to v1.0.0 for new scoped name
2 parents 0b7e199 + c12cc8e commit 073e844

File tree

4 files changed

+133
-117
lines changed

4 files changed

+133
-117
lines changed

CHANGELOG.md

Lines changed: 63 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,221 +1,226 @@
1+
# v1.0.0
2+
3+
### Breaking Changes
4+
5+
- Name of package is now @openbci/cyton
6+
17
# v0.3.6
28

3-
### Bug Fixes
9+
### Bug Fixes
410

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
612

713
# v0.3.5
814

9-
### Bug Fixes
15+
### Bug Fixes
1016

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)
1218

1319
# v0.3.4
1420

15-
### Bug Fixes
21+
### Bug Fixes
1622

17-
* Protect and ensure buffer returned for raw data packets
23+
- Protect and ensure buffer returned for raw data packets
1824

1925
# v0.3.3
2026

21-
### Enhancements
27+
### Enhancements
2228

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
2531

2632
# v0.3.1
2733

28-
### Enhancements
34+
### Enhancements
2935

30-
* Removed `lodash` from dependencies to reduce bundle size (thanks @alexcastillo!!)
36+
- Removed `lodash` from dependencies to reduce bundle size (thanks @alexcastillo!!)
3137

3238
# v0.3.0
3339

3440
You can now use this module in the browser!! Huge should out to @alexcastillo for help with making with refactoring the project!
3541

3642
### Breaking Changes
3743

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.
4450

4551
# v0.2.7
4652

4753
### Bug Fixes
4854

49-
* No `stopByte` property for daisy samples. Added tests.
55+
- No `stopByte` property for daisy samples. Added tests.
5056

5157
# v0.2.6
5258

5359
### Bug Fixes
5460

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.
5662

5763
# v0.2.5
5864

5965
### Bug Fixes
6066

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.
6369

6470
# v0.2.4
6571

6672
### New Features
6773

68-
* Add new constants for emitter
74+
- Add new constants for emitter
6975

7076
### Bug Fixes
7177

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
7379

7480
# v0.2.3
7581

7682
### New Features
7783

78-
* Add function for parsing an impedance object `.parsePacketImpedance()`
84+
- Add function for parsing an impedance object `.parsePacketImpedance()`
7985

8086
# v0.2.2
8187

8288
### Bug Fixes
8389

84-
* Fix wrap around bug in extractRawBLEDataPackets
90+
- Fix wrap around bug in extractRawBLEDataPackets
8591

8692
# v0.2.1
8793

8894
### Bug Fixes
8995

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.
9197

9298
### New Features
9399

94-
* Add features for `openbci-ganglion`
100+
- Add features for `openbci-ganglion`
95101

96102
# v0.2.0
97103

98104
### New Feature
99105

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.
101107

102108
# v0.1.5
103109

104110
### Bug Fixes
105111

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
108114

109115
# v0.1.4
110116

111117
### Bug Fixes
112118

113-
* E-patch on new function added 0.1.3
114-
119+
- E-patch on new function added 0.1.3
115120

116121
# v0.1.3
117122

118123
### New Features
119124

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.
121126

122127
# v0.1.2
123128

124129
### Bug Fixes
125130

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)
129134

130135
# v0.1.1
131136

132137
### Bug Fixes
133138

134-
* Send counts did not work for daisy.
139+
- Send counts did not work for daisy.
135140

136141
# v0.1.0
137142

138143
### New Functions
139144

140-
* Add function `getFirmware(dataBuffer)` to utilities
145+
- Add function `getFirmware(dataBuffer)` to utilities
141146

142147
### Breaking Changes
143148

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
145150

146151
# v0.0.10
147152

148153
### New Function
149154

150-
* Add `boardTypeForNumberOfChannels()` to Constants
155+
- Add `boardTypeForNumberOfChannels()` to Constants
151156

152157
# v0.0.9
153158

154159
### New Features
155160

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.
158163

159164
# v0.0.8
160165

161166
### New Features
162167

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.
164169

165170
# v0.0.7
166171

167172
### Continuous Integration
168173

169-
* Add `npm run test-lint` to add linting to travis.yml
174+
- Add `npm run test-lint` to add linting to travis.yml
170175

171176
### Bug Fixes
172177

173-
* Last sample number was confusing to use with `transformRawDataPacketsToSample`
178+
- Last sample number was confusing to use with `transformRawDataPacketsToSample`
174179

175180
### New Features
176181

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`
179184

180185
# v0.0.6
181186

182187
### Bug Fixes
183188

184-
* Could not use 'daisy' with sample rate setter.
189+
- Could not use 'daisy' with sample rate setter.
185190

186191
### New Features
187192

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`
191196

192197
### Breaking changes
193198

194-
* `getChannelDataArray` now takes object as only arg.
199+
- `getChannelDataArray` now takes object as only arg.
195200

196201
# v0.0.5
197202

198203
### Bug Fixes
199204

200-
* When not scaling outputs `channelDataCounts` instead of `channelData`
205+
- When not scaling outputs `channelDataCounts` instead of `channelData`
201206

202207
# v0.0.4
203208

204209
### Bug Fixes
205210

206-
* Fix bug where samples were not properly being extracted
211+
- Fix bug where samples were not properly being extracted
207212

208213
# v0.0.2
209214

210215
### Breaking Changes
211216

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
215220

216221
### New Features
217222

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.
219224

220225
# v0.0.1
221226

0 commit comments

Comments
 (0)