Skip to content

v1.4.2 — README Hero/Why/Quickstart + test packaging fix

Choose a tag to compare

@shiro-0x shiro-0x released this 28 Jun 10:23
· 129 commits to main since this release

v1.4.2 — 2026-06-28

Patch release. Documentation enrichment + test-only fix; no production-code change.

📝 Changed

  • README EN/JA Hero: now leads with the quantitative hook (195 reusable character attributes), adds PyPI / Downloads / MCP / Docs badges, and a Docs · PyPI · Repository quick-link row.
  • README EN/JA — ## Why Hersona? (new): positions Hersona against the system-prompt-copy-paste pain point and lists the 5 categories × counts.
  • README EN/JA — ## 5-Minute Quickstart (new): copy-pasteable pip installhersona list / show / blendhersona export --format openai_assistants flow.
  • EN/JA kept in sync per CLAUDE.md rules.
  • No content change to existing sections (Install / License / What it covers / Overview / Usage / Schema / Contributing).

🐛 Fixed

  • tests/test_packaging.py::test_paths_resolve_in_repo_layout was failing on hosts where ~/.hermes/data/attributes exists — hersona.core.paths._resolve's data-cache priority shadowed the repo root path the test expected. Added autouse _isolate_data_dir fixture (mirroring the existing one in tests/test_update.py) that redirects HERSONA_DATA_DIR to a tmp path during the test.

✅ Verified

  • python3 scripts/validate.py → exit 0
  • pytest tests/1354 passed (was 1350 passed / 1 failed)
  • pytest tests/test_packaging.py → 4/4 passed (was 3/4)

📦 Install

pip install hersona==1.4.2

Or upgrade from 1.4.1:

pip install --upgrade hersona

🔗 Links