Files
deepset-ai--haystack/releasenotes/notes/remove-serialize-deserialize-class-instance-41e4cb639a3e415d.yaml
wehub-resource-sync c56bef871b
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:22:28 +08:00

9 lines
522 B
YAML

---
upgrade:
- |
Removed the unused ``serialize_class_instance`` and ``deserialize_class_instance`` functions from
``haystack.utils.base_serialization``. These were internal helpers not used anywhere in Haystack. If you were
importing them directly, inline their logic: use ``{"type": generate_qualified_class_name(type(obj)), "data": obj.to_dict()}``
to serialize, and ``obj_class.from_dict(data["data"])`` (after resolving ``obj_class`` with
``import_class_by_name(data["type"])``) to deserialize.