fitjson
: added--pretty
optionfitjson
: added--nounk
option to filter-out unknown messagesfitjson
:--filter
option also allows to filter-out messagesfittxt
:--filter
option also allows to filter-out messagesfittxt
: added--nounk
option to filter-out unknown messages- Fixed: FitReader does not close a file-like object owned by the user
- Fixed: FitReader.file_id gets reset upon FIT footer (CRC frame)
- Fixed: utils.get_mesg_num() return value
- Fixed: utils.get_mesg_field_num() return value
- Minor corrections, improvements and code cleanup
- FitReader gets new properties
fit_file_index
andfit_files_count
- New
CrcCheck
policy:WARN
- BREAKING CHANGE:
CrcCheck
default policy fromRAISE
toWARN
- FitHeaderError exception messages a bit more helpful
- Minor corrections and code cleanup
- FitReader gets the
error_handling
argument to be less strict on malformed files (issues #13, #16, #18) - FIT SDK profile upgraded to v21.60
- Minor corrections, improvements and cleanup on code and documentation
- Compatibility with Apple Watch improved (issue #10)
- FIT SDK profile upgraded to v21.38
generate_profile
utility now supports recent SDK file structure- Minor improvements and cleanup on code and documentation
- Added FitReader.last_timestamp property
- Fixed: FitReader was raising KeyError instead of FitParseError when a dev_type was not found
- FitParseError message contains more details upon malformed file in some cases
- FIT SDK profile upgraded to v21.16
- README's usage example slightly improved
- Added fitdecode.DataProcessorBase class
check_crc
- the parameter to fitdecode.FitReader's constructor - can now be either "enabled", "read-only" or "disabled" (issue #1)- Minor speed improvements
- Added fitdecode.FitDataMessage.has_field
- fitdecode.FitDataMessage.get_fields is now a generator
- fitdecode.FitDataMessage.get_values is now a generator
- fitdecode.DefaultDataProcessor now converts
hr.event_timestamp
values that were populated fromhr.event_timestamp_12
components to datetime.datetime objects for convenience fitjson
andfittxt
utilities: * Added support for input files with Unicode characters * Still write output file even if an error occurred while parsing FIT file- Fixed handling of some FIT fields that are both scaled and components. See dtcooper/python-fitparse#84
- Improved support for malformed FIT files. See dtcooper/python-fitparse#62
generate_profile
utility slightly improved- Added some unit tests
- Minor improvements and corrections
- Added fitdecode.utils.get_mesg_field
- Added fitdecode.utils.get_mesg_field_num
- Minor improvements and corrections
- Added FieldData.name_or_num
- Added FitDataMessage.get_fields
- Added FitDataMessage.get_values
- Improved FitDataMessage.get_field (idx arg)
- Improved FitDataMessage.get_value (idx arg)
- Completed documentation of FitDataMessage
- Improved documentation of FieldData
- FitReader's internal state is reset as well after a FitCRC has been yielded (i.e. not only when a FIT header is about to be read), in order to avoid incorrect behavior due to malformed FIT stream
- Added class property
frame_type
(read-only) to FitHeader, FitCRC, FitDefinitionMessage and FitDataMessage (records
module) to ease and speed up type checking - Added FitDataMessage.get_value method
string
values with no null byte are still decoded (in full length)cmd
directory added to the source code tree for convenience
- First release
- Birth!