Skip to content

v1.3.1

Choose a tag to compare

@derek73 derek73 released this 11 Jul 08:55
17d1946

Patch release with two output-corruption bug fixes. No API changes. Full details in the release log.

Bug fixes

  • Invisible Unicode bidirectional control characters are now stripped during preprocessing (#266, thanks @apoorva-01) — LRM/RLM/ALM, the embedding/override marks, and the isolates U+2066–U+2069 previously survived parsing and stuck to first/last/etc., so a copy-pasted right-to-left name silently failed equality and dedup. Disable via CONSTANTS.regexes.bidi = False.
  • str() no longer corrupts name text containing the substring "None" when empty_attribute_default is None (#254) — e.g. "Nonez Smith" rendered as "z Smith". Empty attributes are now substituted as '' before the format string is applied, instead of scrubbing the interpolated "None" from the output afterward. Present since 2016; the default '' configuration was never affected.