Skip to content

Release 3.2.0 - #1538

Merged
derek73 merged 10 commits into
masterfrom
release/3.2.0
Nov 22, 2026
Merged

derek73 merged 10 commits into
masterfrom
release/3.2.0

Conversation

@derek73

@derek73 derek73 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Release 3.2.0: steps 1 to 3 of root AGENTS.md's release checklist. This PR has no tag, no GitHub release and no milestone change; those follow the merge.

What it changes

  • docs/release_log.rst:

  • README.rst: a 3.2 notice after the 3.0 and 3.1 notices, which are untouched, so the three read in release order. Its "More shapes the parser reads" section also gains two Hindi examples:

    • in "Other scripts", parse("श्री रवि कुमार वर्मा").title gives 'श्री';
    • in "Language packs", Shri Ravi Kumar Verma reads given Shri by default and title Shri under parser_for(locales.HI).

    Each was re-run on the tree. No docs page includes or mirrors the README.

  • nameparser/_version.py: PRE_RELEASE cleared, so __version__ is 3.2.0. CITATION.cff: version: "3.2.0"; the file has no date field.

  • docs/migrate.rst: the Abdul entry counts name words, as Count abdul's four name words in the parse, not in classify #1531 made it.

Step 1: what the release moved

uv run python tools/differential/snapshot.py --since v3.1.0 on bd9c62f: 607 entries differ, 136 of their names held only by corpus_cldr.jsonl. By field:

Field group Entries Release-log bullet
initials 348 Arabic-script names give no initials (#1149, 329 of them); Lao names give none (#1380, 19)
new to the corpus 209 corpora added this cycle
removed from the corpus 12 corpora changed this cycle
capitalized_force 12 д-р (#1519): case repair now keeps the credential as written (11); #1517's mixed-case credential (1)
capitalized_force, suffix, title 4 д-р after a comma (#1519)
capitalized_force, initials, middle, suffix 3 д-р ending a name (#1519); Abd after a family comma no longer the credential (#1464, #1531)
family/given, initials, middle 6 pairs with الدين, الله and ذو (#1072)
given, initials, middle, title 2 Dut.ra (#1520): recorded as accepted in decisions/vocabulary-collisions
alternatives, ambiguities, given, initials, title 2 Imam opening a name (#1206)
capitalized_force, family, initials, middle, patronymic 2 a/l, a/p (#1468)
single entries 7 job after a comma (#1457), GBS (#1361), BCh (#1361), Abd Allah (#1464), M.B. ChB (#1517), the @ alias (#1164), д-р (#1519)

Every move traces to a merged change and its bullet. Two were checked by their history:

Each quantified claim and its source

README notice

As committed:

📣 nameparser 3.2 adds new vocabulary and locale packs. Four packs are new (Malay, Burmese, Dutch, Portugal), and three more now read two family names (Croatian, Slovenian, Brazilian Portuguese). It also reads a name written after @ as a nickname, and a parse makes about a third fewer function calls than in 3.1.

The wording is the decided one. Only the first sentence is bold, as in the 3.0 and 3.1 notices; the rendered HTML holds one <strong> in the notice.

Placement: after the 3.1 notice's two bullets and before the "Getting started" paragraph, which now closes all three notices. That paragraph's "takes you through both" now reads "takes you through suggest and matching", since "both" lost its referent once the 3.2 notice stood above it; docs/getting-started.rst covers both tools, in its sections "A list of names: let suggest choose the settings" and "Names from several sources: matching". The rendered HTML shows 3.1's list closed, the 3.2 notice as a paragraph of its own, then the Getting started paragraph, then Installation.

Checks

  • the full suite: 58,142 passed on 3.11, and the same on 3.15 in its own environment;
  • -n0 -m serial: 41 passed;
  • mypy and ruff: clean;
  • the docs doctest and HTML builds: silent;
  • the README: python -m doctest README.rst and the readme_renderer command are clean;
  • parity_check.py: 0 of 814 parity rows read otherwise under 1.4.0;
  • the snapshot test passes in the suite;
  • uv build: the sdist and wheel build, and the wheel installed outside the repo reports nameparser.__version__ == '3.2.0'.

Not verified here

  • The release date is the coordinator's, to be corrected if the release slips.
  • No wall-clock speed is claimed: the parse cost is counted in calls, by decision.

Reviews

  1. Claims review of the release log, the README notice and this body, by a reviewer who did not write them:
  2. Review of the fix commit (05bf2a8):
    • The parse-cost bullet holds as written: REFERENCE is Dr. Juan{i:04d} de la Vega III over range(50), and the four figures were recomputed on 3.11 and 3.15.
    • It found the Malay clause still too wide: Tan and Sri report title-or-name only where they open a name, while Ahmad Tan Ali and Devi Sri Rajan report nothing.
    • Fixed in d29db80 with the reviewer's wording, re-run on those four inputs. That last one-clause commit was checked by running it; no further review round was run.

🤖 Generated with Claude Code

derek73 and others added 3 commits November 22, 2026 13:30
The 3.2.0 release-log entry gets its summary and its date, and two
bullets it lacked: the parse cost (#1435, #1436), counted with
tools/perf/call_count.py against v3.1.0 (285.72 to 195.72 calls on
py3.11, 277.72 to 186.72 on py3.15), and the pickles 3.1 cannot load
(a Lexicon, Parser or matcher pickled by 3.2), re-checked with the
3.1.0 wheel outside the tree. README.rst announces 3.2 above the 3.0
and 3.1 notices; its Spanish and Argentine figures, re-taken with
decisions/readme-figures' recipe, read as they did. PRE_RELEASE is
cleared and CITATION.cff names 3.2.0. migrate.rst's Abdul entry counts
name words, as #1531 made it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73 derek73 added this to the 3.2 milestone Nov 22, 2026
@derek73 derek73 added the docs Documentation fixes and updates label Nov 22, 2026
@derek73 derek73 self-assigned this Nov 22, 2026
derek73 and others added 7 commits November 22, 2026 13:42
The parse-cost figure is a mean over the reference name's 50 forms
(Juan0000 to Juan0049), and the bullet keeps one example, as the
release-log rule asks. The Malay pack's Tuan stays a name word with no
report, where Tan and Sri outside their phrase report title-or-name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only opening a name: Ahmad Tan Ali and Devi Sri Rajan report nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The notices now read 3.0, 3.1, 3.2; the 3.2 notice follows the whole 3.1
block, its closing paragraph included, and stands before Installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…graph

The paragraph now closes all three notices: 3.0, 3.1 and 3.2, then
Getting started, then Installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der through

"Both" lost its referent once the 3.2 notice stood between it and the
3.1 notice's two tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Devanagari salutation in the Other scripts block, and the romanized
Shri read as a name by default and as the title under locales.HI in the
Language packs block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73
derek73 merged commit 9d6b715 into master Nov 22, 2026
14 checks passed
@derek73
derek73 deleted the release/3.2.0 branch November 22, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation fixes and updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant