Skip to content

Call out breaking change in 5.3.0 #1821

@mrcljx

Description

@mrcljx

I spent two hours trying to figure out why Kombu suddenly started decoding datetime objects. After searching the issues, I learned this was a fix of a long-standing regression.

But since 5.2.4 had this issue for 15 months and people will have written code based on that behavior, it would be great if this was called out in the changelog, maybe even offering a workaround:

kombu.serialization.unregister("json")
kombu.serialization.register(
    "json",
    json.dumps,
    json.loads,
    content_type="application/json",
    content_encoding="utf-8",
)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions