Releases: aerosense-ai/data-gateway
Releases · aerosense-ai/data-gateway
Add support for sensor coordinates table
Contents (#125)
Enhancements
- Remove default sensor coordinates
Testing
- Add missing methods to dummy serial port
- Update sensor coordinates in documentation and tests
Update documentation
Contents (#120)
Operations
- Update version to reflect docs change
Other
- Update deployment and installation including balena
- Complete documentation updates
FIX: Handle command not registered signal
Add measurement campaign table
Summary
Add support for thew new measurement campaigns table in BigQuery. This allows data to be associated with a measurement campaign that can be given a label and description. The code has also been cleaned up and some bugs fixed.
Contents (#108)
IMPORTANT: There are 2 breaking changes.
New features
- Add measurement campaign data (start time, end time, label, and available sensors) to
session
table when uploading a window
Enhancements
- Replace
label
field withsession_reference
in existing tables
Fixes
- Raise warning if data gateway configuration not present in metadata
Reversions
- 💥 BREAKING CHANGE: Remove ability to provide label via CLI
Operations
- Use latest conventional commit message checker
- Use new Octue GitHub actions in workflows
- Pin
snok/install-poetry
to avoid missing poetry bug - Ensure poetry is available within tox
- Use new syntax for setting outputs in GitHub workflow
Dependencies
- 💥 BREAKING CHANGE: Drop
python3.7
support - Update dependencies to patch some security vulnerabilities
- Use
octue==0.41.0
- Add
pandas
dev dependency - Add missing
pyarrow
dev dependency - Combine old
dev-dependencies
group with newdev
group - Regenerate requirements files for Raspberry Pi
Refactoring
- Remove repetition of method call in
BatchingUploader
- Factor stopping the gateway out into a method
Testing
- Avoid timezone issues with timestamp value of 0
- Update
MockBigQueryClient
- Rename
MockBigQueryClient.rows
attribute toinserted_rows
- Use
Mock
instead oftypes.SimpleNamespace
- Update deployment test to check for session creation
Upgrade instructions
💥 Remove ability to provide label via CLI
Provide a "label" key mapped to the label in the "measurement_campaign" dictionary of the configuration file instead.
💥 Drop python3.7 support
Update to python>=3.8
.
Persist battery information to the cloud
Update CI/CD workflows
Contents (#113)
Operations
- Use new Octue GitHub Actions
- Speed up release workflow
- Use working version of
install-poetry
GitHub action - Use
python3.9
for CI tests
Chores
- Update
tox.ini
format
Docs/improve developer help
Contents (#109)
Enhancements
- Add extra status to default config
Other
- Add instructions on
scp
into device
Enhancement/improved read logging
Fix priorities and format locally saved logs
Contents (#103)
Fixes
- Correct priority of parse_packets
- Use consistent log formatter and level for local save
- Prevent error setting priority on windows systems
Prioritise reader over parser process at CPU level
Contents (#102)
New features
- Prioritise packet reader over parser to reduce node crashes
- Tee logs to local file to debug and monitor detached processes
Enhancements
- Alter session subdirectory to a datestamp for easier navigation
- Make saving local logs optional on the CLI
Testing
- Account for additional logger statement
- Enable fail of os.nice() in controlled environments like GHA