# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.5.12] - 2021-05-25
- **database**: add method to retrieve entries
- pandas is now a project requirement
## [0.5.11] - 2021-05-12
- **custom_logging**: fix bug in midnight file rotation
## [0.5.10] - 2021-04-28
- **custom_logging**: minor bug fixes
## [0.5.9] - 2021-04-22
- **database**: add method to update an existing measurement entry
## [0.5.8] - 2021-04-22
- **database**: add methods to check whether a table is empty and to retrieve the next serial ID
## [0.5.7] - 2021-04-16
- **custom_logging**: add parameter to *configure_logging* for initial logging level setup
## [0.5.6] - 2021-04-16
- **database**: add method *get_list_columns* to retrieve all columns in a table
## [0.5.5] - 2021-04-16
- **database**: add method *fetch_latest_value* to retrieve latest data from a time-ordered table
## [0.5.4] - 2021-04-14
- **database**: remove aggregate views for 10 s and 10 min, only 1 min is left
## [0.5.2] - 2020-10-26
- Changes to **socket_comm** module:
- Fix bug when the argparse option **choices** is used for an argument
- Increase TCP buffer size to 4096
## [0.5.1] - 2020-06-22
- Changes to **database** module:
- Fix method create_aggregate_view
## [0.5.0] - 2020-06-09
- Changes to **database** module:
- Add methods create_database and create_aggregate_view
- Minor improvements and typos fixed
## [0.4.0] - 2020-05-25
- Improve log formatting
- Implement new logging system in the database and socket_comm modules
- Minor changes to documentation
## [0.3.0] - 2020-05-20
- Fix Server class destructor.
- Add module **custom_logging** for homogeneous logging setup across apps with the following handlers:
- Console (with coloured code).
- File (with daily rotation).
- TCP socket, to notify a central alarm management app.
- Email (SMTP over TLS).
- Slack notification.
- Implement new logging schema in the examples.
- Improve documentation and other minor fixes.
## [0.2.0] - 2020-05-08
- Implement CI with [.__gitlab-ci.yml](.gitlab-ci.yml).
- Improve documentation
- Module socket_comm:
- Implement [method](https://lab-utils.readthedocs.io/en/v0.2.0/api/socket_comm/ArgumentParser/lab_utils.socket_comm.ArgumentParser.full_help.html)
to send a complete help message to the client.
- Implement signal ahndler to deal with Ctrl+C nicely
- Expand [examples](examples/socket_comm)
## [0.1.0] - 2020-05-05
- First release of the **lab-utils** package
- Installation instructions and setup
- Modules available: **database** and **socket_comm**
[0.1.0]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.1.0
[0.2.0]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.2.0
[0.3.0]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.3.0
[0.4.0]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.4.0
[0.5.0]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.5.0
[0.5.1]: https://gitlab.ethz.ch/exotic-matter/cw-beam/lab-utils/tree/v0.5.1