Skip to content

Releases: Intsights/sergeant

v0.26.1

11 Dec 16:01
Compare
Choose a tag to compare
  • Added Python3.11 support
  • Fixed CI/CD build
  • Updated dependencies
  • Fixed a few tests

v0.26.0

18 Aug 08:35
dc1f061
Compare
Choose a tag to compare

This release introduce on_stop new handler to allow users to implement a function in cases where stop has been called

v0.25.0

31 Mar 11:22
Compare
Choose a tag to compare

This release introduces a two major features:

  • There is a new connector called local. This connector is based on SQLite3 as its backend. The main use case for this connector is local tests.
  • [Breaking Change] The config attribute has been replaced with a generate_config method. This way we can generate a config dynamically and not during module load process.

v0.24.0

28 Mar 09:55
89ea12d
Compare
Choose a tag to compare

The project is now using Poetry instead of PIP.

Breaking changes:

  • The supported Redis version is 6.2 and above due to a new feature of rpop.

v0.23.0

01 Mar 17:38
Compare
Choose a tag to compare
  • Added trace_id parameter to allow APM solutions to trace multiple tasks as a single transaction
  • Updated pymongo dependency to allow version 4
  • Fixed mypy linting
  • Fixed github actions to allow setting up a mongo replica-set

v0.22.3

26 Dec 09:45
Compare
Choose a tag to compare
  • Worker now chooses the right connector statically rather than comparing with the name attribute. This allows to mock the connector object in tests.
  • A few mypy linting errors were fixed. There is one more error which is a bug

v0.22.2

21 Dec 11:05
Compare
Choose a tag to compare
  • Added supervisor's SIGTERM handler to support graceful shutdown
  • Updated the requirements.txt file to support redis of version higher than 3
  • Updated the pyproject.toml file to include mypy and pytest configuration
  • Fixed some new mypy linting errors
  • Updated pre-commit versions

v0.22.1

20 Oct 15:10
Compare
Choose a tag to compare
  • Fixed the response of push_task[s] on Redis connector
  • Added Python 3.10 support

v0.22.0

03 Oct 12:33
Compare
Choose a tag to compare
  • Fix: using Redis single_connection_client flag makes it not thread safe and can cause unexpected behaviour under threaded workers
  • Hiredis is upgraded to use version 2.0

v0.21.1

10 Mar 13:32
Compare
Choose a tag to compare
  • Fix BufferedLogstashHandler not respecting chunk_size and max_store_time. (Thanks to @Amir-Yaffe-Intsights for reporting the bug)