v2.0.0rc2
Pre-release
Pre-release
Second release candidate for nameparser 2.0.0. Install it with pip install --pre nameparser (a plain pip install will not select a pre-release). Please report anything the migration missed on #284.
rc2 is rc1 plus the post-rc1 API-polish bundle (#290). If you tested rc1, the release log's "Changed since 2.0.0rc1" section lists exactly what you'd notice:
Rolebecame aStrEnum— members compare and stringify as their field namesParsedName.tokens_for()raisesValueErrorfor unknown roles instead of silently returning no tokens, and accepts role-name stringsParsedName.as_dict()'sinclude_emptyis keyword-onlyHumanNamesubscripting acceptsRolemembers- The eight multi-word vocabulary entries that could never match were repaired (
chargé d'affairessplit into chainable words, both spellings; seven credential acronyms removed), and storing a new multi-word entry now warns — a restored pre-2.0Constantspickle carrying all eight is cleaned up silently PolicyPatch's repr shows only the fields a patch sets- New API since rc1:
STABLE_TAGS,Policy.patched(),Parser.matches(),Parser.capitalized(), andParser.revise()
🤖 Generated with Claude Code