Index: CHANGELOG.md =================================================================== diff -u --- CHANGELOG.md (revision 0) +++ CHANGELOG.md (revision a89308cbb06b9d2052fe3d1b4ed210a03036a021) @@ -0,0 +1,165 @@ +# Dialin Changelog + +All notable changes to this project will be documented in this file. + +### [0.6.0] - 2020-08-06 +#### Added + +- Added constraints to HD documentation +- `dg.conductivity_sensors` + - Conductivity sensor override command + - Conductivity values get function + - Conductivity sensor data broadcast interval override command +- Added `create_logger` function to simplify logging in dialin scripts +- `dialin.utils.base` + - Added convenience function to simplify lookups of a group of constants (e.g. message ids, alarm ids, etc.) +- Integration with bamboo unit tests runner +- Automatically generated file headers + +#### Changed + +- Converted all print statements to log messages + - Dialin internal logging levels `["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", "CAN_ONLY", "PRINT_ONLY"]` + +#### Fixed + +- Removed unneeded imports +- Added Logger type information +- DG RO Pump message ID definitions + + +### [0.5.0] - 2020-07-20 +#### Added + +- The following alarms have been added: +- `ALARM_ID_VALVE_CONTROL_FAILURE = 51` +- `ALARM_ID_BLOOD_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 52` +- `ALARM_ID_DIAL_IN_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 53` +- `ALARM_ID_DIAL_OUT_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 54` +- `ALARM_ID_BLOOD_PUMP_MOTOR_SPEED_CHECK = 55` +- `ALARM_ID_DIAL_IN_PUMP_MOTOR_SPEED_CHECK = 56` +- `ALARM_ID_DIAL_OUT_PUMP_MOTOR_SPEED_CHECK = 57` +- `ALARM_ID_BLOOD_PUMP_ROTOR_SPEED_TOO_HIGH = 58` +- `ALARM_ID_INLET_WATER_TEMPERATURE_OUT_OF_RANGE = 59` + +#### Fixed + +- Fixed base class subclassing and base class initialization of `utils.base._AbstractSubSystem` in + - `dialin.dg.hd_proxy` + - `dialin.dg.pressures` + - `dialin.dg.reservoirs` + - `dialin.dg.ro_pump` + - `dialin.hd.buttons` + - `dialin.hd` + - `dialin.hd.rtc` + - `dialin.hd.treatment` + - `dialin.hd.ui_proxy` + - `dialin.hd.watchdog` + +- Fixed code styling in + - `dialin.dialysate_generator` + - `dialin.dg.drain_pump` + - `dialin.base` + +- Fixed inaccurate initialization function docstrings + +### [0.4.1] - 2020-07-20 + +#### Fixed + +- Fixed invalid DG operation mode handler function registration + +### [0.4.0] - 2020-07-20 +#### Added + +- Migration of squishapi to dialin + - `dialin.squish.crc` + - `dialin.squish.denaliMessages` + - `dialin.squish.globals` + - `dialin.squish.messageBuilder` + - `dialin.squish.unittests` + - `dialin.squish.utils` +- Test script to generate requirements +- Unit test to sort the valve state dictionaries +- Convenience script to build dialin wheel file and install it to a virtual environment + +#### Fixed + +- DG valves test to be compatible with valve state dictionary format +- Improved PEP8 compliance + - Method spacing: (1 line) + - Function spacing: (2 lines) +- Missing copyright headers + +### [0.3.0] - 2020-07-15 + +#### Added + +- DG Dialysate Temperature monitoring + - `dg.temperature_sensors` + +#### Fixed + +- PEP8 compliance of `dg.heaters` +- Integration test for `dg.heaters` + + + +### [0.2.0] - 2020-06-30 +#### Added +- Ability to attach / detach multiple observers +- `dialin.base.AbstractObserver` class +- `dialin.base._AbstractSubSystem` class +- `dialin.base._publish` decorator +- Getter functions for all publicly accessible variables +- Branch and commit hash to docs +- Data publishing from all subsystem classes (using the `@_publish` decorator) +- Demo tests +- Alarm simulation +- `CAN-ONLY` logging with candump styled output + +#### Changed +- Parent class for all submodules +- Dialin version configuration and integration with sphinx, pip +- Documentation now generated by sphinx instead of Doxygen +- Handler functions are private +- README + +#### Removed +- Doxygen configuration + +#### Fixed +- DG valves rate test +- Alarms initialization +- Valves bit masking +- Documentation cleanup +- Logging isolation +- Ultrafiltration test script +- Copyrights + +### [0.1.0] - 2020-05-28 +#### Added +- Submodules: hd, dg, utils, and protocols +- Setup dialin as a python package +- Internal API Logging +- Copyright headers +- Unit test to import classes +- HD demo test script +- HD / DG integration tests + +#### Changed +- Ensure PEP8 Compliance +- Ensure snake case is used for all variables and functions +- README +- HD / UI messaging +- Split up HD / DG subclasses into separate files + +#### Removed +- Softlinks +- Deprecated code + +#### Fixed +- Doxygen output + + + Index: README.md =================================================================== diff -u -r17e48d8bf1a8960537d0615f7118bb8532e1015c -ra89308cbb06b9d2052fe3d1b4ed210a03036a021 --- README.md (.../README.md) (revision 17e48d8bf1a8960537d0615f7118bb8532e1015c) +++ README.md (.../README.md) (revision a89308cbb06b9d2052fe3d1b4ed210a03036a021) @@ -166,7 +166,7 @@ $ ./build.sh ``` -[Changelog](./changelog.md) +[Changelog](CHANGELOG.md) [LICENSE](./LICENSE) Fisheye: Tag a89308cbb06b9d2052fe3d1b4ed210a03036a021 refers to a dead (removed) revision in file `changelog.md'. Fisheye: No comparison available. Pass `N' to diff? Index: dialin/version.py =================================================================== diff -u -r9be13298c8bf224a229dc71a3be120f95247f67c -ra89308cbb06b9d2052fe3d1b4ed210a03036a021 --- dialin/version.py (.../version.py) (revision 9be13298c8bf224a229dc71a3be120f95247f67c) +++ dialin/version.py (.../version.py) (revision a89308cbb06b9d2052fe3d1b4ed210a03036a021) @@ -35,7 +35,7 @@ return subprocess.check_output("git rev-parse --short=7 HEAD", shell=True).decode("utf-8").strip() -VERSION = "0.5.0-{0}-{1}".format(get_branch(), get_last_commit()) +VERSION = "0.6.0-{0}-{1}".format(get_branch(), get_last_commit()) if __name__ == '__main__':