solrpy v2.0.8 Release Notes

Release Date: 2026-03-27 // 3 months ago
  • Summary

    Decimal serialization fix and confirmation that all legacy reported issues are resolved.

    What's new

    👍 Decimal support

    • ⚡️ decimal.Decimal values now serialize correctly in both JSON and XML update paths
    • JSON: converted to float via solr_json_default()
    • XML: converted via str() to clean numeric strings

    Resolved legacy issues

    All previously reported issues from the old solrpy repository are confirmed resolved:

    Issue Status
    🛠 {'set': None} serialized as "None" instead of null
    🛠 Decimal causing TypeError in JSON
    🛠 eval() security vulnerability in field settings
    🔊 Debug print() in add_many() leaking docs to logs
    🛠 UTF-8 encoding error in setup.py
    👌 q.op parameter hard to specify

    Stats

    • ✅ 515 tests passing
    • mypy --strict: 0 errors