Skip to content

Commit e8f45c9

Browse files
derek73claude
andcommitted
docs: prepare 1.3.0 release log and update customize attribute list
Expand the 1.3.0 release log entry with all fixes merged since v1.2.1 and add initials_separator to the editable-attributes list in customize.rst. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0bcb679 commit e8f45c9

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

docs/customize.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Other editable attributes
6060
* :py:obj:`~nameparser.config.Constants.capitalize_name` - If set, applies :py:meth:`~nameparser.parser.HumanName.capitalize` to :py:class:`~nameparser.parser.HumanName` instance.
6161
* :py:obj:`~nameparser.config.Constants.force_mixed_case_capitalization` - If set, forces the capitalization of mixed case strings when :py:meth:`~nameparser.parser.HumanName.capitalize` is called.
6262
* :py:obj:`~nameparser.config.Constants.suffix_delimiter` - additional delimiter used to split suffix groups after comma-splitting, e.g. ``" - "`` for names like ``"Jane Smith, RN - CRNA"``. Defaults to ``None`` (disabled).
63+
* :py:obj:`~nameparser.config.Constants.initials_separator` - string placed between consecutive initials within the same name group (after the delimiter). Defaults to ``" "``, so ``"A. K."``; set to ``""`` for compact ``"A.K."``.
6364

6465

6566

docs/release_log.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
Release Log
22
===========
3-
* 1.2.2 - June 28, 2026
3+
* 1.3.0 - June 28, 2026
44
- Add ``suffix_delimiter`` to ``Constants`` and ``HumanName`` for parsing suffixes separated by arbitrary delimiters, e.g. ``"RN - CRNA"`` (#156)
5+
- Add ``initials_separator`` to ``Constants`` and ``HumanName`` to control spacing between consecutive initials within a name group (#171)
6+
- Fix ``Constants`` customizations, singleton identity, and ``TupleManager`` subclass being lost across ``pickle``/``deepcopy`` round-trips (#167, #168, #169)
7+
- Fix capitalization of suffix acronyms written with dots, e.g. ``"M.D."`` (closes #141)
8+
- Fix recognition of single-letter roman numeral suffixes (e.g. ``"I"``, ``"V"``) in suffix-comma format (closes #136)
9+
- Fix recognition of trailing ``suffix_not_acronyms`` (e.g. ``"Jr."``) in lastname-comma format (closes #144)
10+
- Fix single-character symbol conjunctions (e.g. ``"&"``, ``"/"``) being ignored in short names (#173)
11+
- Fix spurious leading space in surnames and empty token in suffix list after ``capitalize()`` with an empty middle or suffix (#164)
12+
- Fix extra whitespace before punctuation in ``str()`` output when a ``string_format`` field is empty (closes #139)
13+
- Fix ``'apn aprn'`` split into separate ``suffix_acronyms`` entries so each is recognized independently (closes #155)
514
* 1.2.1 - June 19, 2026
615
- Fix ``initials()`` interpolating the literal ``None`` for empty name parts when ``empty_attribute_default = None`` (e.g. ``"J. None D."``); empty parts now render as an empty string and a fully-empty result returns ``empty_attribute_default``
716
- Add ``python -m nameparser "Name String"`` command-line helper that prints a parsed name

0 commit comments

Comments
 (0)