Skip to content

Latest commit

 

History

History
125 lines (66 loc) · 4.78 KB

CHANGELOG.md

File metadata and controls

125 lines (66 loc) · 4.78 KB

Changelog

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.

SemVer public API

The public API for this project is defined by the set of functions provided by the src/cscapi folder.


0.7.0 - 2024-06-27

Compare with previous release

Changed

  • Do not block signals sending in the event of machine failure (#31)

0.6.0 - 2024-03-29

Compare with previous release

Added

  • Add MongoDB storage implementation (#27)

0.5.0 - 2024-03-20

Compare with previous release

Changed

  • Breaking change: Add StorageInterface::mass_update_signals method

0.4.0 - 2024-02-23

Compare with previous release

Changed

  • Breaking change: Rename StorageInterface::get_all_signals to get_signals and add limit, offset, sent and is_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 to CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals methods
  • CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals now return the number of signals sent or pruned
  • CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals now send and prune signals in batches

Removed

  • Breaking change: Remove CAPIClient::_prune_sent_signals method

0.3.0 - 2024-02-16

Compare with previous release

Changed

  • Use context manager for Sql session (#20)
  • Breaking change: The session attribute of SQLStorage is now an instance of the sessionmaker class and should be used as such.

Added

  • Add CAPIClientConfig logger attribute (#21)

0.2.1 - 2024-02-09

Compare with previous release

Fixed

  • Decrease machine_id database length to 128 characters for Mysql compatibility (#17) and (#18)

0.2.0 - 2024-02-09

Compare with previous release

Changed

  • Update create_signal function to accept datetime object for the created_at argument (#16)

0.1.0 - 2024-02-08

Compare with previous release

Changed

  • Breaking change: Change method name CAPIClient::has_valid_scenarios to CAPIClient::_has_valid_scenarios

Added

  • Add CAPIClient::prune_failing_machines_signals method for deleting signals from failing machines (#14)

0.0.2 - 2024-02-07

Compare with previous release

Fixed

  • Enable foreign key constraints only in SQLite connections (#13)

0.0.1 - 2024-02-06

  • Initial release