Skip to content

Releases: CERT-Polska/karton

v5.5.0

12 Sep 15:01
a80712c
Compare
Choose a tag to compare

New features

  • MongoDB-like task filters for advanced filtering conditions (by @msm-cert in #258)

Full Changelog: v5.4.0...v5.5.0

v5.4.0

16 May 15:35
c7d56b3
Compare
Choose a tag to compare

New features and improvements:

  • Task UIDs are in form {root_uid}:task_uid so we can inspect task tree status without fetching all tasks from Redis. This change should give essential performance gain when there are lots of pending tasks in queues (by @psrok1 in #255)
  • Removed orjson to json fallback (by @psrok1 in #257)

Bugfixes:

  • Fix Task.unserialize docs suggesting that orjson is optional dependency (by @psrok1 in #256)

Full Changelog: v5.3.4...v5.4.0

v5.3.4

26 Mar 13:47
5ca095a
Compare
Choose a tag to compare

Bugfixes:

  • Fix TaskTimeoutException regression: it was left unhandled by Consumer.internal_process, so whole service was crashed instead of a single task. Bug introduced in v5.3.2 (fix by @nazywam in #251)
  • Fix negated filters non-boolean AND/OR logic (by @psrok1 in #247)
  • Use error logging level instead of warning when tasks are killed due to inactivity (by @nazywam in #248)

Full Changelog: v5.3.3...v5.3.4

v5.3.3

07 Feb 15:20
9964de1
Compare
Choose a tag to compare

What's changed

  • certpl/karton-system Docker images are published also for arm64 (by @BonusPlay in #243)

Full Changelog: v5.3.2...v5.3.3

v5.3.2

17 Jan 11:36
43b0c14
Compare
Choose a tag to compare

What's Changed

Bugfixes:

  • TaskTimeoutError is derived from BaseException instead of Exception, so it's not accidentally consumed by try..except blocks in consumer (by @psrok1 in #241)

Full Changelog: v5.3.1...v5.3.2

v5.3.1

15 Jan 14:47
5da29b4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.3.0...v5.3.1

v5.3.0

04 Sep 10:36
8406853
Compare
Choose a tag to compare

New features and improvements:

Bugfixes:

  • Fixed logic behind negated filters (#223, thanks @Antelox)
  • Fallback to regular json module when orjson fails to deserialize Task (#225, thanks @Antelox)

v5.2.0

20 Jul 15:57
fee4947
Compare
Choose a tag to compare

New features and improvements:

  • Performance improvements (#218)
    • Faster task serialization/deserialization using orjson
    • Utilizing SCAN instead of KEYS to not block Redis for a long time when there are lots of tasks
  • Persistent headers that apply to all tasks within analysis (#215)
  • --debug option for Karton consumers to create non-persistent instance with randomized suffix (#220)
  • Task.to_dict method that returns Python dict without JSON serialization (#216)

v5.1.0

16 May 12:18
6e652ee
Compare
Choose a tag to compare

New features and improvements:

  • Dashes are allowed in environment keys for dashed config section names (#210)
  • Hostname is exposed in log record (#213)
  • New KartonBackend.restart_task method for restarting crashed task back to the consumer queue (#205)
  • Backend for service information for non-consumer services (#206)

v5.0.1

06 Feb 13:16
e146436
Compare
Choose a tag to compare

Bugfixes:

  • Fixed bulk listing and removing objects from S3 (#198, thanks @Antelox!)
  • Fixed KartonTestCase.get_resource_sha256 (#202, thanks @conitrade-as!)