pysolr v3.4.0 Release Notes
Release Date: 2016-02-02 // about 8 years ago-
โก๏ธ Update version numbers for v3.4.0. [Chris Adams]
๐ฒ Logging: better message for HTTP status != 200. [Chris Adams]
We already extract error message from Solr responses and that is great. Unfortunately it can contain the data that may change with every request (like document id).
This creates an issue when user uses Sentry or other solution that captures logging or exceptions. Previous implementation causes many duplicated events in Sentry if message extracted using
self._extract_error(resp)
contained such variable data.This change uses 'non-mutable' message that is complemented with extracted data that using string formatting option supplied by Python logging. Thanks to this, Sentry and other solutions can perform better grouping of loging messages (by status code).
This is approach that is already used in handling other errors.
- ๐ Fix response error handling on Python 3 (closes #162) [Chris Adams]
Previously the error handling did not work correctly on Python 3 because a byte-string response wasn't decoded before processing.
Thanks to Emmanuel Leblond (@touilleMan) for the patch.
- ๐ Merge pull request #167 from swistakm/master. [Chris Adams]
Refactor common response processing to Results class
๐ Move response manipulation responsibility to Results class and allow custom results classes. [mjaworski]
โ Add Python 3.5 to automated test matrix. [Chris Adams]