All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
The public API for this project is defined by the set of
functions provided by the src/cscapi
folder.
0.5.0 - 2024-03-20
- Breaking change: Add
StorageInterface::mass_update_signals
method
0.4.0 - 2024-02-23
- Breaking change: Rename
StorageInterface::get_all_signals
toget_signals
and addlimit
,offset
,sent
andis_failing
arguments - Breaking change: Change
StorageInterface::delete_signals
signature to require a list of signal ids - Breaking change: Change
StorageInterface::delete_machines
signature to require a list of machine ids - Add
batch_size
argument toCAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
methods CAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
now return the number of signals sent or prunedCAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
now send and prune signals in batches
- Breaking change: Remove
CAPIClient::_prune_sent_signals
method
0.3.0 - 2024-02-16
- Use context manager for Sql session (#20)
- Breaking change: The
session
attribute ofSQLStorage
is now an instance of the sessionmaker class and should be used as such.
- Add
CAPIClientConfig
logger attribute (#21)
0.2.1 - 2024-02-09
0.2.0 - 2024-02-09
- Update
create_signal
function to accept datetime object for thecreated_at
argument (#16)
0.1.0 - 2024-02-08
- Breaking change: Change method name
CAPIClient::has_valid_scenarios
toCAPIClient::_has_valid_scenarios
- Add
CAPIClient::prune_failing_machines_signals
method for deleting signals from failing machines (#14)
0.0.2 - 2024-02-07
- Enable foreign key constraints only in SQLite connections (#13)
0.0.1 - 2024-02-06
- Initial release