v1.2.6
What's changed
Four correctness and forward-compatibility fixes.
parser.py:_unescapeno longer skips HTML unescaping of an entire list when any element is blank — the
blank-string guardlen(v.strip()) > 0has been removedcli.py:merge_facetsnow returns a list of single-key dicts instead of a flat dict, so repeated--facetkeys
(e.g.--facet type=book --facet type=article) are no longer silently droppedurlparse.py: theSORTregex now matches field names containing underscores and digits (e.g.score_sort asc,
pub_date desc)utils.py: replaced deprecatedresponse.codewithresponse.status
Full Changelog: v1.2.5...v1.2.6