Skip to content

Releases: Intsights/sergeant

v0.27.0

30 Jan 10:18
9035f7a

Choose a tag to compare

fix Crash when supervisor need to kill the Pod,
added skip to DummyThreads

v0.26.1

11 Dec 16:01

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

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

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

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

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

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

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

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

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