Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,13 @@ uv run sphinx-build -b html docs dist/docs
# 4. git commit + git tag -a vX.Y.Z -m "Release X.Y.Z"
# 5. git push origin master && git push origin vX.Y.Z ← tag must be pushed separately before gh release create
# 6. gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."
# 7. Close the vX.Y.Z milestone and create a new "Next Release" one:
# MILESTONE=$(gh api repos/derek73/python-nameparser/milestones --jq '.[] | select(.title=="vX.Y.Z") | .number')
# 7. Close the milestone of the minor just shipped and open one named for
# the next minor. Milestones are titled by minor, "X.Y" (3.2, 3.3), never
# "Next Release" (decided 2026-11-22), so the PRs of a cycle carry its
# number from the start. For 3.2.0:
# MILESTONE=$(gh api repos/derek73/python-nameparser/milestones --jq '.[] | select(.title=="3.2") | .number')
# gh api -X PATCH repos/derek73/python-nameparser/milestones/$MILESTONE -f state=closed
# gh api -X POST repos/derek73/python-nameparser/milestones -f title="Next Release"
# gh api -X POST repos/derek73/python-nameparser/milestones -f title="3.3"
# 8. Set DEFAULT_BASELINE in tools/differential/compare.py to the version
# just released, so a bare compare.py measures against it. This runs
# on the branch released from, so a release cut from a maintenance
Expand Down
4 changes: 4 additions & 0 deletions docs/release_log.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Release Log
===========
* 3.3.0 - Unreleased

nameparser 3.3 is under development.

* 3.2.0 - November 22, 2026

**nameparser 3.2** adds four locale packs: ``locales.MS`` for Malay names, ``locales.MY`` for Burmese names, ``locales.NL`` for Dutch names and ``locales.PT_PT`` for names from Portugal. A second name written after ``@`` or ``urf`` is read as the nickname (``Rahim @ Jaki bin Osman``), ``a/l``, ``a/p`` and ``anak`` as patronymic particles, a job or degree written after a name and a comma as the title, and an Arabic title written short as the title. ``locales.HR``, ``locales.SL`` and ``locales.PT_BR`` now read two family names, and ``Parser.suggest()`` can suggest ``two_family_names`` for a list. A parse makes about a third fewer Python function calls than in 3.1, with no reading moved, and ``Lexicon.remove`` warns where an edit can take nothing. :doc:`migrate` lists the names whose reading moved, and which pickles load where.
Expand Down
10 changes: 5 additions & 5 deletions nameparser/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
#:
#: Bumped when a cycle OPENS, not when it ships, so the tree says what
#: it is building. Note the cost of the tuple being purely numeric: it
#: cannot carry the dev marker, so `VERSION >= (3, 2, 0)` is already
#: true here while 3.2.0 is unreleased. Compare `__version__` instead
#: cannot carry the dev marker, so `VERSION >= (3, 3, 0)` is already
#: true here while 3.3.0 is unreleased. Compare `__version__` instead
#: where that distinction matters.
VERSION = (3, 2, 0)
VERSION = (3, 3, 0)
#: PEP 440 pre-release/dev segment appended to the numeric version, or
#: "" for a final release. Joined WITHOUT a dot ("2.0.0rc1", not
#: "2.0.0.rc1"); setuptools reads __version__ as the package version.
#:
#: "dev" through the cycle, cleared at release. It normalizes to
#: 3.2.0.dev0, which sorts above 3.1.0 and BELOW 3.2.0, so an install
#: 3.3.0.dev0, which sorts above 3.2.0 and BELOW 3.3.0, so an install
#: from master can never masquerade as the release it precedes.
PRE_RELEASE = ""
PRE_RELEASE = "dev"
__version__ = ".".join(map(str, VERSION)) + PRE_RELEASE
2 changes: 1 addition & 1 deletion tools/differential/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from typing import NamedTuple

HERE = Path(__file__).resolve().parent
DEFAULT_BASELINE = "3.1.0"
DEFAULT_BASELINE = "3.2.0"
REPO_ROOT = HERE.parents[1]


Expand Down