Skip to content

Release v1.4.0#287

Merged
derek73 merged 1 commit into
masterfrom
release/v1.4.0
Jul 12, 2026
Merged

Release v1.4.0#287
derek73 merged 1 commit into
masterfrom
release/v1.4.0

Conversation

@derek73

@derek73 derek73 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

Version bump for the v1.4 milestone (4/4 issues closed: #260, #262, #263, #265):

  • Bump VERSION to (1, 4, 0) in nameparser/_version.py
  • Sync CITATION.cff's version: field to match (it had drifted since 1.3.0 -- the 1.3.1 patch release didn't touch it)
  • Stamp docs/release_log.rst's 1.4.0 - Unreleased header with today's date

Also included: AGENTS.md staleness fixes

Caught during the pre-release doc review (step 0 of the release checklist):

  • TupleManager/RegexTupleManager.__getattr__'s description said it "answer[s] any unknown attribute lookup" -- no longer accurate since TupleManager unknown-key access silently returns None / EMPTY_REGEX; raise AttributeError in 2.0 #256 added a DeprecationWarning on unknown-key access. Corrected, and documented the warning's dunder/sunder exclusions plus the consequence that internal parser code reading self.C.regexes.<key> unconditionally now warns against partial custom regexes overrides.
  • The new _EmptyAttributeDefaultAttribute descriptor (Remove empty_attribute_default; empty attributes always return '' #255) wasn't documented alongside the existing _SetManagerAttribute/_CachedUnionMember descriptors -- added, including why __get__(obj=None) returns '' instead of self (load-bearing for Constants.__repr__, not just mypy) and why __getstate__/__setstate__ need inspect.getattr_static instead of plain getattr to detect it.

Test plan

  • Full suite: 1540 passed / 22 xfailed, noise-free
  • Sphinx doctest + html builds clean
  • python -c "from nameparser import __version__; print(__version__)"1.4.0

🤖 Generated with Claude Code

Bump version to 1.4.0, date the release log entry, and sync
CITATION.cff. Also fixes AGENTS.md drift caught during the release
readiness check: TupleManager/RegexTupleManager.__getattr__'s
unknown-key description was stale after #256 added a deprecation
warning there, and the new _EmptyAttributeDefaultAttribute descriptor
(#255) and its inspect.getattr_static requirement in
__getstate__/__setstate__ were undocumented.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@derek73 derek73 self-assigned this Jul 12, 2026
@derek73 derek73 added this to the v1.4 milestone Jul 12, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.67%. Comparing base (b6c0679) to head (37a6e8f).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #287   +/-   ##
=======================================
  Coverage   97.67%   97.67%           
=======================================
  Files          13       13           
  Lines         947      947           
=======================================
  Hits          925      925           
  Misses         22       22           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@derek73 derek73 merged commit ac37e57 into master Jul 12, 2026
8 checks passed
@derek73 derek73 deleted the release/v1.4.0 branch July 12, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Constants.copy(); deprecate constants=None

2 participants