From 1c788a54f2b2d6f829f7fbe3b4b79ca26654963e Mon Sep 17 00:00:00 2001 From: Derek Gulbranson Date: Mon, 16 Nov 2026 11:26:40 -0800 Subject: [PATCH] Write the 3.1.0 summary and highlights in the release log Replaces the 'under development' placeholder with the release's opening paragraph and six highlights, and sets the existing bullets under an 'All changes' heading so the two lists stay apart. Co-Authored-By: Claude Fable 5.2 --- docs/release_log.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/release_log.rst b/docs/release_log.rst index 37c7284ce..96e2ea05e 100644 --- a/docs/release_log.rst +++ b/docs/release_log.rst @@ -2,7 +2,16 @@ Release Log =========== * 3.1.0 - Unreleased - nameparser 3.1 is under development. It refuses a ``Lexicon``, ``Parser`` or locale pack pickled by 2.x, which 3.0 loads with a ``DeprecationWarning``. + **nameparser 3.1** introduces two new tools for working with lists of names: one for configuration and one for matching. ``Parser.suggest()`` suggests the ``Policy`` settings for the list of names you give it, and ``Parser.matching()`` provides tools for joining records from different sources. It also reads family names written in capitals (``DUPONT Jean``), Thai titles, and a given name written as a run of initials, and adds Mongolian, Arabic and Hebrew packs. :doc:`migrate` lists the names whose reading moved, and which pickles load where. Highlights: + + - **Derive a list's settings from the list itself.** Give ``Parser.suggest()`` the names from one source and it works out how they are written: family name first or last, with patronymics, with the family name in capitals or as trailing letters. It returns a parser set up that way, shows what it saw in each name, and leaves the base parser alone where the list gives no clear answer. It never guesses a language, so choosing a pack is still yours. See :doc:`suggest`. + - **Find the records that could be the same person.** The same person is ``J. Smith`` in one source, ``John Smith`` in another and ``Smith, John Q.`` in a third. ``Parser.matching()`` says whether two names are consistent and why, role by role, and you choose how much difference to accept: an initial for a full name by default, ``Bill`` for ``William`` if you ask. For a long list it gives each name keys to group on, so you never compare every pair. See :doc:`matching`. + - **Read a family name written in capitals.** Many lists mark the family name by writing it in capitals (``DUPONT Jean``), which tells a reader which word is the surname whichever end it is written at. A new setting has the parser take the capitals at their word, so a list that mixes ``DUPONT Jean`` with ``Jean DUPONT`` reads the same way throughout, and a surname of several words stays whole. A second setting does the same for a family name written as trailing letters. ``Parser.suggest()`` turns either on when a list calls for it. See :ref:`capitals-as-family` and :ref:`initials-as-family`. + - **Read Thai titles.** ``parse("นายสมชาย ใจดี")`` gives title ``นาย``, given ``สมชาย``, family ``ใจดี``, the salutation split from the given name it is written joined to; ranks, academic titles and the noble family names that open with ``ณ`` are read too. + - **Read a run of initials as initials.** ``parse("J.R.R. Tolkien")`` gives given ``J.``, middle ``R.R.``, where 1.4.0 through 3.0.1 gave given ``J.R.R.``, and ``initials()`` reads every letter of a dotted run. + - **New packs.** ``locales.MN``, ``locales.AR`` and ``locales.HE``, for Mongolian, Arabic and Hebrew names. + + **All changes** - **Change README's License section to credit the sources nameparser's word lists were measured on.** The ``License-Expression`` stays ``LGPL-2.1-or-later``, as in every release through 3.0.1: no list copied whole from a third party ships, the familiar forms being pairs the project found in ORCID and US public records and reviewed. No release shipped data from nam_dict (GNU FDL) or Old Dominion University's nicknames list (Apache 2.0), which the 3.1 cycle's familiar forms, and for nam_dict the suggester's table, held until they were rebuilt. The section names Spain's INE and Taiwan's surname ranking, whose counts two locale lists were measured on. :issue:`1370`, :issue:`1382` - **Change locales.ZH's simplified surnames to the ones Wikidata's family-name items write, no longer Unihan's.** ``parser_for(locales.ZH).parse("谌龙")`` gives family ``谌龙``, undivided, where 2.5.0 through 3.0.1 gave family ``谌``, given ``龙``; seven simplified forms no Wikidata item attests (买, 厐, 盖, 篮, 芈, 诸, 谌) left the list, and their traditional forms (``諶龍``) still divide. 2.5.0 through 3.0.1 shipped those forms from Unihan, whose Unicode License v3 their metadata did not name; 3.1 ships no Unihan-derived data. :issue:`1370`