Skip to content

v6.0.0

Latest

Choose a tag to compare

@msm-cert msm-cert released this 12 Nov 13:02
8f38556

First major release in 4 years!

Version 6.0.0 breaks compatibility with Karton 4.x and older. Before upgrade, ensure that your services are using at least karton-core 5.0.0. The breaking changes are purely internal - service code shouldn’t require any changes. It is nevertheless recommended to wait a bit before migrating, in case major bugs are discovered.

See the detailed documentation for:

This major release is focused on bringing the (long awaited) "gateway" feature - a HTTP server that stands between redis and all services and enforces permissions, increases observability, makes future major changes possible without breaking the API, and simplifies deployment in corporate environments. Karton Gateway is considered the primary backend going forward. The Redis-based interface (called “Direct backend”) still works but is considered legacy and may be removed in the next major version.

Breaking changes:

  • Karton 4.x (and older) support is dropped.
  • Python 3.12 or newer is now required.
  • Backend instances should be created using get_backend factory, instead of being constructed directly.

New features and improvements:

  • Karton gatway is a new HTTP backend, that should be used instead of direct redis connection from every service.
  • Support for JWT based authentication for services, including CLI for token generation.
  • Migration from MinIO to silo for development docker compose
  • Karton E2E tests introduced

Full Changelog: v5.9.1...v6.0.0